Commit 784f72d4 by Mr. Lan

fix: 修复部门无法调整状态的bug。

parent 39e4701f
Showing with 16 additions and 1 deletions
...@@ -129,6 +129,17 @@ ...@@ -129,6 +129,17 @@
<el-input v-model="form.email" placeholder="请输入邮箱" maxlength="50" /> <el-input v-model="form.email" placeholder="请输入邮箱" maxlength="50" />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12">
<el-form-item label="部门状态">
<el-radio-group v-model="form.status">
<el-radio
v-for="dict in statusOptions"
:key="dict.value"
:label="dict.value"
>{{ dict.label }}</el-radio>
</el-radio-group>
</el-form-item>
</el-col>
</el-row> </el-row>
</el-form> </el-form>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
...@@ -197,7 +208,11 @@ export default { ...@@ -197,7 +208,11 @@ export default {
trigger: 'blur' trigger: 'blur'
} }
] ]
} },
statusOptions: [
{ label: '正常', value: '0' },
{ label: '停用', value: '1' }
]
} }
}, },
created() { created() {
......
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 sign in to comment