feat(src/views/user): 用户信息模块添加状态选项

duizhaopin_ui
duan 2 years ago
parent 79327b463b
commit 9c763b3fe9

@ -12,7 +12,10 @@
:value="item.module_id" :value="item.module_id"
/> />
</el-select> </el-select>
<el-select v-model="is_enabled" placeholder="账号状态" :value="manageer" /> <el-select v-model="is_enabled" placeholder="账号状态" :value="manageer">
<el-option label="启用" :value="1" />
<el-option label="未启用" :value="0" />
</el-select>
<el-button type="primary" icon="el-icon-search" @click="handleSearch"></el-button> <el-button type="primary" icon="el-icon-search" @click="handleSearch"></el-button>
<el-button type="primary" plain @click="handleAddUser"><i class="el-icon-plus" />新增用户</el-button> <el-button type="primary" plain @click="handleAddUser"><i class="el-icon-plus" />新增用户</el-button>
<div class="header-right"> <div class="header-right">
@ -275,7 +278,7 @@ export default {
del(stringify({ 'user_id': this.multipleSelection[0].user })).then( del(stringify({ 'user_id': this.multipleSelection[0].user })).then(
res => this.$message.success({ res => this.$message.success({
type: 'success', type: 'success',
message: '删除成功!' message: res.msg
}) })
) )
).catch(() => { ).catch(() => {

Loading…
Cancel
Save