Commit a9a4f144 authored by 罗超's avatar 罗超

1

parent d506f411
...@@ -59,9 +59,9 @@ ...@@ -59,9 +59,9 @@
</div> </div>
</template> </template>
<el-dialog title="设置管理员" :visible.sync="isShowModule" width="600px"> <el-dialog title="设置管理员" :visible.sync="isShowModule" width="600px">
<el-form :model="usermsg" :rules="addMsgRules" ref="ruleForm" label-width="100px" class="demo-ruleForm"> <el-form :model="addMsg" :rules="addMsgRules" ref="ruleForm" label-width="100px" class="demo-ruleForm">
<el-form-item label="昵称搜索" prop="Name"> <el-form-item label="昵称搜索" prop="UserId">
<el-select v-model="usermsg.Name" placeholder="请选择" filterable :filter-method="ChangeListName"> <el-select v-model="addMsg.UserId" placeholder="请选择" filterable :filter-method="ChangeListName">
<el-option v-for="item in adminOptions" :key="item.Id" :label="item.Name" :value="item.Id"> <el-option v-for="item in adminOptions" :key="item.Id" :label="item.Name" :value="item.Id">
</el-option> </el-option>
</el-select> </el-select>
...@@ -188,6 +188,7 @@ ...@@ -188,6 +188,7 @@
}); });
}, },
ChangeListName(val) { ChangeListName(val) {
console.log('tag', val)
this.usermsg.Name = val; this.usermsg.Name = val;
this.getUserList(); this.getUserList();
}, },
......
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