删除多余代码

This commit is contained in:
lai
2024-08-15 15:31:02 +08:00
parent ea6fca405b
commit 2048b6f2db

View File

@@ -60,8 +60,6 @@ let queryParams = reactive({
userName: '',
/**手机号 */
phonenumber: '',
/**部门ID */
deptId: undefined,
/**租户ID */
tenantId: undefined,
/**用户状态 */
@@ -81,7 +79,6 @@ function fnQueryReset() {
queryParams = Object.assign(queryParams, {
userName: '',
phonenumber: '',
deptId: undefined,
tenantId: undefined,
status: undefined,
beginTime: '',
@@ -259,7 +256,6 @@ let modalState: ModalStateType = reactive({
userId: undefined,
userName: '',
password: '',
deptId: '100',
tenantId: '',
email: '',
loginDate: 0,
@@ -399,7 +395,6 @@ function fnModalVisibleByEdit(userId?: string | number) {
modalState.from = Object.assign(modalState.from, user);
modalState.from.roleIds = roleIds;
modalState.from.postIds = postIds;
modalState.from.deptId = deptTreeData.value[0].id;
modalState.title =
t('common.addText') + t('views.system.user.userInfo');
modalState.visibleByEdit = true;
@@ -800,7 +795,6 @@ function fnGetDeptTree() {
});
}
});
console.log(deptTreeData.value);
}
});
}