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; }); },