From 8567fe8a273da7c3d4a7c490ba0eec3cafd210ce Mon Sep 17 00:00:00 2001 From: wanglei Date: Sat, 1 Nov 2025 16:41:34 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=86=E5=AF=BC=E4=BF=A1=E6=81=AF=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/views/kaohe/ld_employee/index.vue | 2 +- ruoyi-ui/src/views/kaohe/pingce/index.vue | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ruoyi-ui/src/views/kaohe/ld_employee/index.vue b/ruoyi-ui/src/views/kaohe/ld_employee/index.vue index 1dca07e..1c0a6f4 100644 --- a/ruoyi-ui/src/views/kaohe/ld_employee/index.vue +++ b/ruoyi-ui/src/views/kaohe/ld_employee/index.vue @@ -427,7 +427,7 @@ export default { this.queryParams.wordId = userInfo.name } this.getList() - this.getDeptTree() + // this.getDeptTree() }, methods: { /** 查询职工信息列表 */ diff --git a/ruoyi-ui/src/views/kaohe/pingce/index.vue b/ruoyi-ui/src/views/kaohe/pingce/index.vue index 08594ca..44f4317 100644 --- a/ruoyi-ui/src/views/kaohe/pingce/index.vue +++ b/ruoyi-ui/src/views/kaohe/pingce/index.vue @@ -1659,7 +1659,8 @@ export default { } } if(flag1){ - let pcIds = this.ids.join(',') + this.ids.sort((a, b) => a - b); // 升序排序 + let pcIds = this.ids.join(','); let pcNames = pingceList1.map(item => item.pcName); this.drwScpfzhForm = { deptId: null, @@ -1706,6 +1707,7 @@ export default { this.drwScpfzhInfo.open = true; this.drwScpfzhInfo.ids = []; if(this.ids.length>0){ + this.ids.sort((a, b) => a - b); // 升序排序 this.drwScpfzhInfo.queryParams.pcIds = this.ids.join(','); }else { this.drwScpfzhInfo.queryParams.pcIds = null