From c96cb749fc131b5d220ac40a9134ce544e9ef070 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期二, 07 五月 2024 18:32:07 +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