|
@@ -2,7 +2,7 @@
|
|
<div class="oing pagePadding">
|
|
<div class="oing pagePadding">
|
|
<ex-table
|
|
<ex-table
|
|
v-loading="loading"
|
|
v-loading="loading"
|
|
- v-if=" powers.some((i) => i == '001')"
|
|
|
|
|
|
+ v-if="powers.some((i) => i == '001')"
|
|
:table="table"
|
|
:table="table"
|
|
:data="tableData"
|
|
:data="tableData"
|
|
:columns="columns"
|
|
:columns="columns"
|
|
@@ -24,8 +24,7 @@
|
|
<template #table-header="{}">
|
|
<template #table-header="{}">
|
|
<div style="width: 100%; height: 30px">
|
|
<div style="width: 100%; height: 30px">
|
|
<el-row :gutter="10" style="padding-left: 80px">
|
|
<el-row :gutter="10" style="padding-left: 80px">
|
|
- <el-col :span="7" style="width:350px">
|
|
|
|
-
|
|
|
|
|
|
+ <el-col :span="7" style="width: 350px">
|
|
<period-date-picker
|
|
<period-date-picker
|
|
:type="1"
|
|
:type="1"
|
|
:width="'155px'"
|
|
:width="'155px'"
|
|
@@ -35,7 +34,7 @@
|
|
@timeReturned="handleTime"
|
|
@timeReturned="handleTime"
|
|
/>
|
|
/>
|
|
</el-col>
|
|
</el-col>
|
|
- <el-col :span="5" style="width:205px; float:left;">
|
|
|
|
|
|
+ <el-col :span="5" style="width: 205px; float: left">
|
|
<el-select
|
|
<el-select
|
|
v-model="parmValue.xiugai2"
|
|
v-model="parmValue.xiugai2"
|
|
:size="'mini'"
|
|
:size="'mini'"
|
|
@@ -120,9 +119,7 @@ export default {
|
|
//组件SIZE设置
|
|
//组件SIZE设置
|
|
...mapGetters(["tablebtnSize", "searchSize", "size"]),
|
|
...mapGetters(["tablebtnSize", "searchSize", "size"]),
|
|
powers() {
|
|
powers() {
|
|
- const tran =
|
|
|
|
- this.$store.getters.btnList.find((i) => i.menu_route == "oing") ||
|
|
|
|
- {};
|
|
|
|
|
|
+ const tran = this.$store.getters.btnList.find((i) => i.menu_route == "oing") || {};
|
|
const { action } = tran ?? {};
|
|
const { action } = tran ?? {};
|
|
return action ?? [];
|
|
return action ?? [];
|
|
},
|
|
},
|
|
@@ -136,8 +133,8 @@ export default {
|
|
parmValue: {
|
|
parmValue: {
|
|
xiugai1: "",
|
|
xiugai1: "",
|
|
xiugai2: "",
|
|
xiugai2: "",
|
|
- start:"",
|
|
|
|
- end:"",
|
|
|
|
|
|
+ start: "",
|
|
|
|
+ end: "",
|
|
page: 1, // 页码
|
|
page: 1, // 页码
|
|
size: 15, // 每页显示条数
|
|
size: 15, // 每页显示条数
|
|
},
|
|
},
|
|
@@ -173,14 +170,12 @@ export default {
|
|
}
|
|
}
|
|
this.searchList();
|
|
this.searchList();
|
|
|
|
|
|
- this.searchProList();
|
|
|
|
|
|
+ // this.searchProList();
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
getRouter(row) {
|
|
getRouter(row) {
|
|
const { order_type, order_id, order_code } = row;
|
|
const { order_type, order_id, order_code } = row;
|
|
- let index = this.process_router_list.findIndex(
|
|
|
|
- (y) => y.type === order_type
|
|
|
|
- );
|
|
|
|
|
|
+ let index = this.process_router_list.findIndex((y) => y.type === order_type);
|
|
if (index !== -1) {
|
|
if (index !== -1) {
|
|
const { toRouter, to } = this.process_router_list[index];
|
|
const { toRouter, to } = this.process_router_list[index];
|
|
let model = {
|
|
let model = {
|
|
@@ -222,12 +217,12 @@ export default {
|
|
this.parmValue = {
|
|
this.parmValue = {
|
|
xiugai1: "",
|
|
xiugai1: "",
|
|
xiugai2: "",
|
|
xiugai2: "",
|
|
- start:"",
|
|
|
|
- end:"",
|
|
|
|
|
|
+ start: "",
|
|
|
|
+ end: "",
|
|
page: 1, // 页码
|
|
page: 1, // 页码
|
|
size: 15, // 每页显示条数
|
|
size: 15, // 每页显示条数
|
|
- },
|
|
|
|
- this.searchProList();
|
|
|
|
|
|
+ };
|
|
|
|
+ // this.searchProList();
|
|
this.searchList();
|
|
this.searchList();
|
|
},
|
|
},
|
|
|
|
|
|
@@ -284,5 +279,4 @@ export default {
|
|
};
|
|
};
|
|
</script>
|
|
</script>
|
|
|
|
|
|
-<style lang="scss" scoped>
|
|
|
|
-</style>
|
|
|
|
|
|
+<style lang="scss" scoped></style>
|