Commit 5c37cfa5 authored by 杨贺晨吉's avatar 杨贺晨吉

feat: 1

parent e9ff63b7
...@@ -26,8 +26,8 @@ ...@@ -26,8 +26,8 @@
ref="dep" ref="dep"
></department-choose> ></department-choose>
</Form-item> </Form-item>
<Form-item label="角色" prop="mobile"> <Form-item label="角色" prop="roleId">
<Select v-model="searchForm.mobile" clearable> <Select v-model="searchForm.roleId" clearable>
<Option v-for="item in roleList" :value="item.id" :key="item.id">{{ <Option v-for="item in roleList" :value="item.id" :key="item.id">{{
item.name item.name
}}</Option> }}</Option>
...@@ -304,6 +304,7 @@ export default { ...@@ -304,6 +304,7 @@ export default {
sort: "gmt_create", sort: "gmt_create",
order: "desc", order: "desc",
adminType: null, adminType: null,
roleId: "",
}, },
modalType: 0, // 新增编辑标识 modalType: 0, // 新增编辑标识
userModalVisible: false, // 用户modal显隐 userModalVisible: false, // 用户modal显隐
...@@ -513,6 +514,7 @@ export default { ...@@ -513,6 +514,7 @@ export default {
getUserList() { getUserList() {
// 多条件搜索用户列表 // 多条件搜索用户列表
this.loading = true; this.loading = true;
console.log(typeof this.searchForm.departmentId);
getUserListData(this.searchForm).then((res) => { getUserListData(this.searchForm).then((res) => {
this.loading = false; this.loading = false;
if (res.success) { if (res.success) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment