调整目录结构

This commit is contained in:
zlwu committed 2025-06-30 21:16:32 +08:00
1 parent 4db7c70511
commit 7a5b9d1bea
112 files changed
+863 -376

No files matched your search

@@ -269,8 +269,8 @@ import {
addRepairCategory,
updateRepairCategory,
getRepairCategoryTree
} from '@/api/pm/repairCategory';
import { RepairCategoryVO, RepairCategoryForm, RepairCategoryQuery } from '@/api/pm/types';
} from '@/api/hq/pm/repairCategory';
import { RepairCategoryVO, RepairCategoryForm, RepairCategoryQuery } from '@/api/hq/pm/types';
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
@@ -365,8 +365,8 @@ const getList = async () => {
res = await getRepairCategoryTree();
if (res.code === 200 && res.data) {
categoryList.value = res.data;
} else {
categoryList.value = [];
} else {
categoryList.value = [];
}
}
@@ -1172,8 +1172,8 @@ import {
uploadAttachment,
uploadAttachments,
deleteAttachment
} from '@/api/pm/repairOrder';
import { getRepairCategoryOptions, getRepairCategoryTree } from '@/api/pm/repairCategory';
} from '@/api/hq/pm/repairOrder';
import { getRepairCategoryOptions, getRepairCategoryTree } from '@/api/hq/pm/repairCategory';
import {
RepairOrderVO,
RepairOrderForm,
@@ -1185,7 +1185,7 @@ import {
ServiceEvaluationForm,
ServiceEvaluationVO,
RepairCategoryVO
} from '@/api/pm/types';
} from '@/api/hq/pm/types';
import { useUserStore } from '@/store/modules/user';
import { getInfo } from '@/api/login'; // 添加获取用户详细信息的API
import { getToken } from '@/utils/auth'; // 修复:添加getToken导入