From a5722a151e11707adb7957e0b6c58376f103acc7 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期一, 15 四月 2024 18:04:57 +0800
Subject: [PATCH] 纤度登记表模块 根据车间组别庄口获取对应车号的接口联调+新增和编辑操作的时候,
---
src/views/systemSetting/dataDictionary/index.vue | 2 ++
src/views/systemSetting/workshopManage/index.vue | 4 +++-
2 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/src/views/systemSetting/dataDictionary/index.vue b/src/views/systemSetting/dataDictionary/index.vue
index 5a6c444..a1c12dc 100644
--- a/src/views/systemSetting/dataDictionary/index.vue
+++ b/src/views/systemSetting/dataDictionary/index.vue
@@ -122,6 +122,7 @@
// 鎼滅储
onFilterSearch(searchText) {
this.getDataParams.keyword=searchText,
+ this.pagerOptions.currPage = 1;
this.getData()
},
// 鏂板
@@ -259,6 +260,7 @@
}).then(() => {
deleteDict({id:row.ID}).then((res)=>{
if(res&&res.code===200){
+ this.pagerOptions.currPage = 1;
this.getData()
this.$message({
type: 'success',
diff --git a/src/views/systemSetting/workshopManage/index.vue b/src/views/systemSetting/workshopManage/index.vue
index 997ccbb..5d500cf 100644
--- a/src/views/systemSetting/workshopManage/index.vue
+++ b/src/views/systemSetting/workshopManage/index.vue
@@ -118,6 +118,7 @@
// 鎼滅储
onFilterSearch(searchText) {
this.getDataParams.keyWord = searchText,
+ this.pagerOptions.currPage = 1;
this.getData()
},
// 鏂板
@@ -203,11 +204,12 @@
}).then(() => {
deleteWorkshopManage({ id: row.ID }).then((res) => {
if (res && res.code === 200) {
- this.getData()
this.$message({
type: 'success',
message: '鍒犻櫎鎴愬姛!'
});
+ this.pagerOptions.currPage = 1;
+ this.getData()
}
})
}).catch(() => {
--
Gitblit v1.8.0