From 55363f488c35aaf3a9bfd6ca0584eeb0fd8e0c95 Mon Sep 17 00:00:00 2001
From: gaoluyang <gaoluyang@rengu.cc>
Date: 星期五, 19 七月 2024 09:44:55 +0800
Subject: [PATCH] 场所或设施,能力范围表格操作后刷新当前页数不变
---
src/components/tool/value-table.vue | 2 +-
src/components/view/a5-laboratory-qualifications.vue | 6 +++---
src/components/view/a5-laboratory-management.vue | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/components/tool/value-table.vue b/src/components/tool/value-table.vue
index cf0b8b7..cb75b80 100644
--- a/src/components/tool/value-table.vue
+++ b/src/components/tool/value-table.vue
@@ -1134,7 +1134,7 @@
return
}
this.$message.success('鍒犻櫎鎴愬姛')
- this.selectList()
+ this.selectList('page')
}).catch(e => {
this.$message.error('鍒犻櫎澶辫触')
})
diff --git a/src/components/view/a5-laboratory-management.vue b/src/components/view/a5-laboratory-management.vue
index 560acea..3e6b5fe 100644
--- a/src/components/view/a5-laboratory-management.vue
+++ b/src/components/view/a5-laboratory-management.vue
@@ -302,7 +302,7 @@
this.fileVisible = true;
this.fileComponentData.entity.labId = row.id;
this.$nextTick(function () {
- this.$refs['ValueTable0'].selectList()
+ this.$refs['ValueTable0'].selectList('page')
})
},
confirmConnect(){
@@ -327,7 +327,7 @@
if (res.code === 201) {
return
}
- this.$refs['ValueTable0'].selectList()
+ this.$refs['ValueTable0'].selectList('page')
this.upFileVisible = false;
})
},
diff --git a/src/components/view/a5-laboratory-qualifications.vue b/src/components/view/a5-laboratory-qualifications.vue
index 9094057..6850540 100644
--- a/src/components/view/a5-laboratory-qualifications.vue
+++ b/src/components/view/a5-laboratory-qualifications.vue
@@ -351,9 +351,9 @@
this.refreshTable();
}
},
- refreshTable() {
+ refreshTable(e) {
if (this.radio === '0') {
- this.$refs['itemParameterTable'].selectList()
+ this.$refs['itemParameterTable'].selectList(e)
} else {
if(this.currentPage>1){
this.isLoding = true
@@ -504,7 +504,7 @@
this.loading = false
if (res.code == 201) return
this.$message.success('宸叉彁浜�')
- this.refreshTable()
+ this.refreshTable('page')
this.qualificationsConnectVisible = false
})
},
--
Gitblit v1.9.3