update dept/index.vue

This commit is contained in:
不做码农 2023-07-13 19:26:29 +08:00
parent dd87d9f305
commit 10c67a15bf

View File

@ -112,7 +112,7 @@
<el-col :lg="12"> <el-col :lg="12">
<el-form-item label="部门状态"> <el-form-item label="部门状态">
<el-radio-group v-model="form.status"> <el-radio-group v-model="form.status">
<el-radio v-for="dict in statusOptions" :key="dict.dictValue" :label="dict.dictValue">{{ dict.dictLabel }}</el-radio> <el-radio v-for="dict in statusOptions" :key="dict.dictValue" :label="parseInt(dict.dictValue)">{{ dict.dictLabel }}</el-radio>
</el-radio-group> </el-radio-group>
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -197,7 +197,7 @@ function reset() {
deptId: undefined, deptId: undefined,
parentId: undefined, parentId: undefined,
deptName: undefined, deptName: undefined,
orderNum: undefined, orderNum: 999,
leader: undefined, leader: undefined,
phone: undefined, phone: undefined,
email: undefined, email: undefined,