From b6ca6fb3b017b4882abfd01c7202f1a14d2297de Mon Sep 17 00:00:00 2001 From: liuyp Date: Tue, 4 Jun 2024 16:42:48 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AD=BE=E6=94=B6=E5=BC=82=E5=B8=B8=E9=A1=B5?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=8F=8C=E5=87=BB=E5=BC=B9=E5=87=BA=E6=98=8E?= =?UTF-8?q?=E7=BB=86=E7=9A=84=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../signatureAbnormalComparison.vue | 83 ++++++++----------- 1 file changed, 36 insertions(+), 47 deletions(-) diff --git a/src/views/emis/emisTmsScanRecord/signatureAbnormalComparison.vue b/src/views/emis/emisTmsScanRecord/signatureAbnormalComparison.vue index 2d279af9..54db7b95 100644 --- a/src/views/emis/emisTmsScanRecord/signatureAbnormalComparison.vue +++ b/src/views/emis/emisTmsScanRecord/signatureAbnormalComparison.vue @@ -34,7 +34,7 @@ - + - - +
- + - - + + -
- - - - 导出 - - -
@@ -217,8 +199,9 @@
-
- + +
@@ -301,6 +284,7 @@ export default { beginScanDate:null, endScanDate:null, },//扩展参数 + tempQueryParams:{} }, // 表单参数 form: {}, @@ -329,13 +313,13 @@ export default { this.getList(); }, methods: { - handleClick(){ - if(this.activeName=="first"){ - this.getList(); - }else if(this.activeName=="second"){ - this.getDetailList(); - } - }, + // handleClick(){ + // if(this.activeName=="first"){ + // this.getList(); + // }else if(this.activeName=="second"){ + // this.getDetailList(); + // } + // }, /** 查询统计信息 */ getList() { this.loading = true; @@ -348,6 +332,7 @@ export default { this.queryParams.params.beginScanDate = null; this.queryParams.params.endScanDate = null; } + this.tempQueryParams = {...this.queryParams}; queryStatList(this.queryParams).then(response => { if(!response ||response.code != 200){ this.$message.error(response && response.msg || "未知错误") @@ -359,23 +344,27 @@ export default { }); }, /** 查询明细列表 */ - getDetailList() { + getDetailList(row, column, event) { this.loading = true; - console.log("---->this.queryParams,", this.dateTimeRange); - if (null != this.dateTimeRange && '' != this.dateTimeRange) { - this.queryParams.params.beginScanDate = dateToStr(this.dateTimeRange[0]); - this.queryParams.params.endScanDate = dateToStr(this.dateTimeRange[1]); - }else{ - this.queryParams.params.beginScanDate = null; - this.queryParams.params.endScanDate = null; - } - queryScanStatRecordList(this.queryParams).then(response => { + // console.log("---->this.queryParams,", this.dateTimeRange); + // if (null != this.dateTimeRange && '' != this.dateTimeRange) { + // this.queryParams.params.beginScanDate = dateToStr(this.dateTimeRange[0]); + // this.queryParams.params.endScanDate = dateToStr(this.dateTimeRange[1]); + // }else{ + // this.queryParams.params.beginScanDate = null; + // this.queryParams.params.endScanDate = null; + // } + debugger; + this.tempQueryParams.scanSiteCode = row.scanSiteCode; + queryScanStatRecordList(this.tempQueryParams).then(response => { if(!response ||response.code != 200){ this.$message.error(response && response.msg || "未知错误") return; } this.emisStatRecordList = response.rows; this.recordTotal = response.total; + this.openForm = true; + this.titleForm = row.scanSiteName; this.loading = false; }); },