From 5c35457d2cc1fd0dcf8de9f3de838d58e8296cb8 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期一, 09 九月 2024 18:26:33 +0800 Subject: [PATCH] 测试完成 --- src/views/system/user/index.vue | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue index bb206c6..7322ae1 100644 --- a/src/views/system/user/index.vue +++ b/src/views/system/user/index.vue @@ -307,7 +307,7 @@ <el-col :span="12"> <el-form-item label="褰掑睘閮ㄩ棬" prop="deptId"> <treeselect - v-model="deptIds" + v-model="form.depts" :options="deptOptions" :multiple="true" :show-count="true" @@ -737,13 +737,15 @@ /** 鏂板鎸夐挳鎿嶄綔 */ handleAdd() { this.reset(); - getUser().then((response) => { - this.postOptions = response.posts; - this.roleOptions = response.roles; - this.open = true; + this.open = true; this.title = "娣诲姞鐢ㄦ埛"; this.form.password = this.initPassword; - }); + this.form.depts = []; + // getUser().then((response) => { + // this.postOptions = response.posts; + // this.roleOptions = response.roles; + + // }); }, /** 淇敼鎸夐挳鎿嶄綔 */ handleUpdate(row) { -- Gitblit v1.9.3