From ca7a40da4382c849b2beb6e8413c6a35a7899c55 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期五, 26 四月 2024 14:49:53 +0800
Subject: [PATCH] 编辑薪资方案的接口联调+重组工种的数据用于工种的反显
---
src/views/systemSetting/dataDictionary/index.vue | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/views/systemSetting/dataDictionary/index.vue b/src/views/systemSetting/dataDictionary/index.vue
index 9c1b9da..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()
},
// 鏂板
@@ -247,12 +248,8 @@
})
},
rowClick(row,type){
- if(type==="鏌ョ湅"){
- this.editConfig.dialogTitle="鏌ョ湅"
- this.editConfig.visible=true
- this.editConfig.infomitton={...row,TabsIndex:this.TabsIndex}
- }else if(type==="淇敼"){
- this.editConfig.dialogTitle="淇敼"
+ if(type!=="鍒犻櫎"){
+ this.editConfig.dialogTitle=type
this.editConfig.visible=true
this.editConfig.infomitton={...row,TabsIndex:this.TabsIndex}
}else if(type==="鍒犻櫎"){
@@ -263,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',
@@ -270,7 +268,9 @@
});
}
})
- })
+ }).catch(() => {
+ console.log("鍙栨秷鍒犻櫎")
+ });
}
}
}
--
Gitblit v1.8.0