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