From b2c2a77b5632b7e5f29a6cdce816bd977bc8604d Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期四, 25 四月 2024 16:33: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