From 8aa4bb3f8bd7b28e962e90748b53d76944ca83fc Mon Sep 17 00:00:00 2001 From: zouyu <2723363702@qq.com> Date: 星期三, 08 十一月 2023 19:16:44 +0800 Subject: [PATCH] new file: public/img/image002.png new file: src/views/quality/finishedProductInspection/finishedProduct-print.vue modified: src/views/quality/finishedProductInspection/index.vue modified: src/views/quality/processInspect/index.vue new file: src/views/quality/processInspect/processInspect-print.vue --- src/views/common/ztt-table.vue | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/views/common/ztt-table.vue b/src/views/common/ztt-table.vue index 1cae22a..6367bee 100644 --- a/src/views/common/ztt-table.vue +++ b/src/views/common/ztt-table.vue @@ -819,6 +819,7 @@ this.isCleanInfo = true } } + this.$emit("queryParam",this.queryParam) }, deep: true }, @@ -959,7 +960,6 @@ arr.push(this.paramArr[i]) } } - return this.doCallback(this.ajaxFun, arr, selectedId) }, doCallback(fn, args, selectedId) { @@ -967,7 +967,12 @@ .apply(this, args) .then((response) => { var _this = this - _this.tableData = response.data.data.records + var resultData = response.data.data.records + if(resultData == undefined){ + _this.tableData = response.data.data + }else{ + _this.tableData = response.data.data.records + } _this.pagination.total = response.data.data.total // 缃┖閫変腑 this.$refs.lmesTable.setCurrentRow() @@ -995,6 +1000,7 @@ this.clickTable(selectObj) } } + this.$emit('change',resultData); }) .catch((error) => { this.dataListLoading = false @@ -1527,6 +1533,7 @@ } } } + console.log(this.columnList); this.tableKey = Math.random() // this.$forceUpdate(); const currPathColumnOrder = this.currPath + '_column' -- Gitblit v1.9.3