From 1789ce3650a2665b5abca7a3028611190d1983df Mon Sep 17 00:00:00 2001 From: zss <zss@example.com> Date: 星期四, 14 十二月 2023 09:45:26 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- src/views/common/ztt-table.vue | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/views/common/ztt-table.vue b/src/views/common/ztt-table.vue index e9cb8d8..64d8045 100644 --- a/src/views/common/ztt-table.vue +++ b/src/views/common/ztt-table.vue @@ -397,6 +397,7 @@ @size-change="sizeChangeHandle" :page-sizes="[10, 20, 50, 100]" :page-size="pagination.pageSize" + :page-count="pagination.size" :layout=" size ? 'total, prev, pager, next' @@ -718,6 +719,7 @@ currentPage: this.table.currentPage == null ? 1 : this.table.currentPage, pageSize: this.table.pageSize == null ? 20 : this.table.pageSize, + size: this.table.size == null ? 7 : this.table.size, total: this.table.total == null ? 0 : this.table.total }, // 鍒嗛〉淇℃伅 inMemoryColWidth: {}, // 璁板繂涓垪瀹斤紝榛樿鍒楀 @@ -1401,7 +1403,6 @@ } } } - console.log(this.multipleSelection) this.$emit('handleSelectionChange', this.multipleSelection) } else { this.multipleSelection = val @@ -1536,7 +1537,6 @@ } } } - console.log(this.columnList); this.tableKey = Math.random() // this.$forceUpdate(); const currPathColumnOrder = this.currPath + '_column' @@ -1578,10 +1578,18 @@ if (response.code != '0') { this.$message.warning(response.msg) } else { + if(response.data!=""&&response.data!=[]&&response.data!=null){ + this.$message({ + message: response.data, + type: 'success' + }) + }else{ this.$message({ message: '涓婁紶鎴愬姛', type: 'success' }) + } + this.importDialogVisible=false this.getDataList() } this.$refs.uploadScan.clearFiles() -- Gitblit v1.9.3