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