From 5a98e5f9ce50bb5de56a54cae14e5ea49fbe2c07 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期一, 17 三月 2025 16:19:29 +0800 Subject: [PATCH] 更新流程实现 --- src/views/system/dept/index.vue | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/views/system/dept/index.vue b/src/views/system/dept/index.vue index 7317111..cfc38bf 100644 --- a/src/views/system/dept/index.vue +++ b/src/views/system/dept/index.vue @@ -181,7 +181,7 @@ // 鏄惁鏄剧ず寮瑰嚭灞� open: false, // 鏄惁灞曞紑锛岄粯璁ゅ叏閮ㄥ睍寮� - isExpandAll: true, + isExpandAll: false, // 閲嶆柊娓叉煋琛ㄦ牸鐘舵�� refreshTable: true, // 鏌ヨ鍙傛暟 @@ -226,10 +226,11 @@ /** 鏌ヨ閮ㄩ棬鍒楄〃 */ getList() { this.loading = true; - listDept(this.queryParam.then(response => { + console.log(this.queryParams, "dddddd") + listDept(this.queryParams).then(response => { this.deptList = this.handleTree(response.data, "deptId"); this.loading = false; - })); + }); }, /** 杞崲閮ㄩ棬鏁版嵁缁撴瀯 */ -- Gitblit v1.8.0