From 95b219ec596a10c2a98b485c0977f0c58257a8f4 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期四, 13 七月 2023 18:17:50 +0800 Subject: [PATCH] 主数据联调 --- Source/UBCS-WEB/src/components/Crud/VciMasterCrud.vue | 18 +++++++++++------- 1 files changed, 11 insertions(+), 7 deletions(-) diff --git a/Source/UBCS-WEB/src/components/Crud/VciMasterCrud.vue b/Source/UBCS-WEB/src/components/Crud/VciMasterCrud.vue index dda1009..9e419a2 100644 --- a/Source/UBCS-WEB/src/components/Crud/VciMasterCrud.vue +++ b/Source/UBCS-WEB/src/components/Crud/VciMasterCrud.vue @@ -442,10 +442,10 @@ await TableData({ templateOid: this.templateOid, codeClassifyOid: this.codeClassifyOid, - page: val.currentPage, - limit: val.pageSize, + page: this.page.currentPage, + limit: this.page.pageSize, }).then((res) => { - this.data = res.data.data; + this.tableData = res.data.data; }); }, //澶氶�� @@ -519,15 +519,19 @@ console.log(val) addSaveCode(val).then(res=>{ console.log(res) - this.onLoad() + this.$nextTick(() => { + this.onLoad() + }) }) }, EditSumbit(val) { this.editvisible = false; console.log(val) - editSaveCode(val).then(res=>{ - console.log(res) - this.onLoad() + editSaveCode(val).then(res=>{ + console.log(res) + this.$nextTick(() => { + this.onLoad() + }) }) }, openBatchImport(type) { -- Gitblit v1.9.3