From bd4fdac0fee9cf4f96dd947fef6f6ae950a450fe Mon Sep 17 00:00:00 2001 From: zouyu <2723363702@qq.com> Date: 星期五, 01 九月 2023 17:07:48 +0800 Subject: [PATCH] modified: package.json modified: src/components/experiment/template_testReport/index.vue modified: src/views/experiment/checkTheReport/index.vue modified: src/views/experiment/inspectionApplication/index.vue modified: src/views/inspectionManagement/commissionInspection/index.vue modified: src/views/inspectionManagement/reportForInspection/index.vue --- src/views/inspectionManagement/commissionInspection/index.vue | 22 +++++++++++++++------- 1 files changed, 15 insertions(+), 7 deletions(-) diff --git a/src/views/inspectionManagement/commissionInspection/index.vue b/src/views/inspectionManagement/commissionInspection/index.vue index 8b327ee..783bb85 100644 --- a/src/views/inspectionManagement/commissionInspection/index.vue +++ b/src/views/inspectionManagement/commissionInspection/index.vue @@ -71,7 +71,6 @@ <el-table-column prop="inspectionTime" label="閫佹牱鏃堕棿" min-width="8%" /> <el-table-column prop="completionDeadline" label="瀹屾垚鏈熼檺" min-width="8%" /> <el-table-column prop="contacts" label="濮旀墭缂栧埗浜�" min-width="8%" /> - <el-table-column prop="insTime" label="妫�楠屾棩鏈�" min-width="8%" /> <el-table-column prop="inspection_status" label="鐘舵��" min-width="8%"> <template slot-scope="scope"> <div v-if="scope.row.inspection_status === 0"> @@ -194,7 +193,7 @@ value: '1', label: '閮ㄩ棬1' }], - radioValue: 0, + radioValue: null, commisionTable: [{ specifications_models: "GGXH-AAAAA", inspectionTime: "2023-08-03", @@ -210,15 +209,15 @@ }], conditionsOptions: [{ label: '鍏ㄩ儴', - value: 0 + value: null }, { label: '宸叉楠�', - value: 1 + value: 0 }, { label: '寰呮楠�', - value: 2 + value: 1 } ], currentPage: 1, @@ -279,6 +278,7 @@ "startTime": dateArr[0], "supplier": val.entrusted, "type": 2, + // "unit": "mm", "version": this.addInspectionForm.version } this.createReport(obj); @@ -405,8 +405,6 @@ async radioclick() { // 澶勭悊鐐瑰嚮radio鐨勬椂闂� if (this.radioValue === 0) { - this.getCommisionList() - } else { const res = await getCommisionList({ pageNo: this.currentPage, pageSize: this.pageSize, @@ -414,6 +412,16 @@ }) this.commisionTable = res.data.row this.total = res.data.total + } else if(this.radioValue === 1) { + const res = await getCommisionList({ + pageNo: this.currentPage, + pageSize: this.pageSize, + inspectionStatus: this.radioValue + }) + this.commisionTable = res.data.row + this.total = res.data.total + }else{ + this.getCommisionList(); } }, -- Gitblit v1.9.3