From 3fd7a79bbd187610d7551c199a0429c515ceba49 Mon Sep 17 00:00:00 2001 From: caoyang Date: Fri, 6 May 2022 10:53:35 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=9F=E6=88=90=E5=A4=9A=E6=9D=A1=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/components/OcrTable/index.vue | 5 +++++ .../views/documentManage/splitting/modules/SplitAddForm.vue | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/jero-web/src/components/OcrTable/index.vue b/jero-web/src/components/OcrTable/index.vue index 8908df52c..2c0ee74d1 100644 --- a/jero-web/src/components/OcrTable/index.vue +++ b/jero-web/src/components/OcrTable/index.vue @@ -189,6 +189,11 @@ this.loading = true postAction(this.url.tableList, params).then((res) => { if (res.success) { + if (res.result.current > 1 && res.result.records.length == 0) { + this.pageNo = res.result.current - 1 + this.getTableList() + return + } this.dataSource = res.result.records this.total = res.result.total this.loading = false diff --git a/jero-web/src/views/documentManage/splitting/modules/SplitAddForm.vue b/jero-web/src/views/documentManage/splitting/modules/SplitAddForm.vue index 6094fa4a8..df1f8a44a 100644 --- a/jero-web/src/views/documentManage/splitting/modules/SplitAddForm.vue +++ b/jero-web/src/views/documentManage/splitting/modules/SplitAddForm.vue @@ -641,7 +641,7 @@ if(res.success){ // todo - console.log(res,'res...') + // console.log(res,'res...') this.formInline=[...res.result] } }) @@ -776,6 +776,8 @@ .catch( (error) =>{ console.log(error); }).finally(()=>{ + this.visible=false + this.$emit('closeVisible',false) this.loading=false this.submitFlag=false })