From 7f0a9e5c9064867187b54eb0ce7b2c90a99715ab Mon Sep 17 00:00:00 2001
From: gaoluyang <gaoluyang@rengu.cc>
Date: 星期四, 18 七月 2024 15:59:50 +0800
Subject: [PATCH] 检验下单检验任务表格刷新当前页数不变

---
 src/components/view/b1-inspection-order.vue |   13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/src/components/view/b1-inspection-order.vue b/src/components/view/b1-inspection-order.vue
index 4e6d293..e7ac309 100644
--- a/src/components/view/b1-inspection-order.vue
+++ b/src/components/view/b1-inspection-order.vue
@@ -156,7 +156,7 @@
 
 <template>
 	<div class="inspection_order">
-		<div style="width: 100%;height: 100%;" v-if="active == 0">
+		<div style="width: 100%;height: 100%;" v-show="active == 0">
 			<div>
 				<el-row class="title">
 					<el-col :span="12" style="padding-left: 20px;text-align: left;">妫�楠屼笅鍗�</el-col>
@@ -773,8 +773,8 @@
 					this.personList = data
 				})
 			},
-			refreshTable() {
-				this.$refs['ValueTable'].selectList()
+			refreshTable(e) {
+				this.$refs['ValueTable'].selectList(e)
 			},
 			refresh() {
 				this.componentData.entity = this.HaveJson(this.entityCopy)
@@ -901,7 +901,7 @@
 					this.$message.success('淇敼鎴愬姛')
 					this.upLoad = false
 					this.issuedDialogVisible = false
-					this.refreshTable()
+					this.refreshTable('page')
 				}).catch(e => {
 					this.$message.error('淇敼澶辫触')
 					this.upLoad = false
@@ -914,7 +914,7 @@
             if (res.code===200){
               this.upLoad=false
               this.quashDialogVisible=false
-              this.refreshTable()
+              this.refreshTable('page')
               this.$message.success("鏇存柊鎴愬姛")
             }
           })
@@ -923,7 +923,7 @@
             if (res.code===200){
               this.upLoad = false
               this.quashDialogVisible = false
-              this.refreshTable()
+              this.refreshTable('page')
               this.$message.success("鏇存柊鎴愬姛")
             }
           })
@@ -938,6 +938,7 @@
 			// 涓嬪崟
 			playOrder(num) {
 				this.active = num
+        this.refreshTable('page')
 			},
 			handleTab(m, i) {
 				this.tabIndex = i;

--
Gitblit v1.9.3