diff --git a/src/views/inm/mio_form.vue b/src/views/inm/mio_form.vue index 976ccc28..88965f1e 100644 --- a/src/views/inm/mio_form.vue +++ b/src/views/inm/mio_form.vue @@ -102,7 +102,7 @@ v-model="form.belong_dept" clearable style="width: 100%" - @change="deptChange" + @change="getgetDeptUsers" > { - this.userOptions = res; - }); + getgetDeptUsers(){ + this.$API.system.user.list.req({ depts: this.form.belong_dept, page: 0 }).then((res) => { + this.userOptions = res; + }); }, getDeptUser() { this.$API.system.user.list diff --git a/src/views/wpm_bx/inm.vue b/src/views/wpm_bx/inm.vue index 48c3e8f5..234760f7 100644 --- a/src/views/wpm_bx/inm.vue +++ b/src/views/wpm_bx/inm.vue @@ -113,7 +113,7 @@