refactor: ♻️ 项目重构(临时提交)
Former-commit-id: 14e64324f7556c095c38ad289690367cdac0ec56
This commit is contained in:
@@ -20,9 +20,10 @@ const deptFormRef = ref(ElForm);
|
||||
|
||||
const loading = ref(false);
|
||||
const ids = ref<number[]>([]);
|
||||
const dialog = reactive<DialogOption>({
|
||||
const dialog = {
|
||||
title: "",
|
||||
visible: false,
|
||||
});
|
||||
};
|
||||
|
||||
const queryParams = reactive<DeptQuery>({});
|
||||
const deptList = ref<DeptVO[]>();
|
||||
|
||||
@@ -53,9 +53,10 @@ const queryParams = reactive<DictQuery>({
|
||||
|
||||
const dictList = ref<DictPageVO[]>();
|
||||
|
||||
const dialog = reactive<DialogOption>({
|
||||
const dialog = {
|
||||
title: "",
|
||||
visible: false,
|
||||
});
|
||||
};
|
||||
|
||||
const formData = reactive<DictForm>({
|
||||
status: 1,
|
||||
|
||||
@@ -29,9 +29,10 @@ const queryParams = reactive<DictTypeQuery>({
|
||||
|
||||
const dictTypeList = ref<DictTypePageVO[]>();
|
||||
|
||||
const dialog = reactive<DialogOption>({
|
||||
const dialog = {
|
||||
title: "",
|
||||
visible: false,
|
||||
});
|
||||
};
|
||||
|
||||
const formData = reactive<DictTypeForm>({
|
||||
status: 1,
|
||||
@@ -148,9 +149,10 @@ function handleDelete(dictTypeId?: number) {
|
||||
});
|
||||
}
|
||||
|
||||
const dictDataDialog = reactive<DialogOption>({
|
||||
const dictDataDialog = {
|
||||
title: "",
|
||||
visible: false,
|
||||
});
|
||||
};
|
||||
|
||||
const selectedDictType = reactive({ typeCode: "", typeName: "" }); // 当前选中的字典类型
|
||||
|
||||
|
||||
@@ -24,9 +24,10 @@ const queryFormRef = ref(ElForm);
|
||||
const menuFormRef = ref(ElForm);
|
||||
|
||||
const loading = ref(false);
|
||||
const dialog = reactive<DialogOption>({
|
||||
const dialog = {
|
||||
title: "",
|
||||
visible: false,
|
||||
});
|
||||
};
|
||||
|
||||
const queryParams = reactive<MenuQuery>({});
|
||||
const menuList = ref<MenuVO[]>([]);
|
||||
|
||||
@@ -32,9 +32,10 @@ const queryParams = reactive<RoleQuery>({
|
||||
|
||||
const roleList = ref<RolePageVO[]>();
|
||||
|
||||
const dialog = reactive<DialogOption>({
|
||||
const dialog = {
|
||||
title: "",
|
||||
visible: false,
|
||||
});
|
||||
};
|
||||
|
||||
const formData = reactive<RoleForm>({
|
||||
sort: 1,
|
||||
|
||||
Reference in New Issue
Block a user