mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-25 01:09:19 +08:00
fix(account): 创建账户时不传status字段,避免默认禁用的bug
This commit is contained in:
-2
@@ -66,7 +66,6 @@ const formData = ref<AccountDTO.CreateAccountDTO & { status?: number }>({
|
|||||||
departmentId: undefined,
|
departmentId: undefined,
|
||||||
positionId: undefined,
|
positionId: undefined,
|
||||||
remark: '',
|
remark: '',
|
||||||
status: 0,
|
|
||||||
});
|
});
|
||||||
const departmentPath = ref<number[]>([]);
|
const departmentPath = ref<number[]>([]);
|
||||||
const departmentTreeOptions = ref<DepartmentCascaderOption[]>([]);
|
const departmentTreeOptions = ref<DepartmentCascaderOption[]>([]);
|
||||||
@@ -100,7 +99,6 @@ function resetForm() {
|
|||||||
departmentId: undefined,
|
departmentId: undefined,
|
||||||
positionId: undefined,
|
positionId: undefined,
|
||||||
remark: '',
|
remark: '',
|
||||||
status: 0,
|
|
||||||
};
|
};
|
||||||
departmentPath.value = [];
|
departmentPath.value = [];
|
||||||
formRef.value?.resetFields();
|
formRef.value?.resetFields();
|
||||||
|
|||||||
Reference in New Issue
Block a user