feat: 新增客户用电回路全链路功能

新增客户用电回路表及相关数据库迁移、后端服务、控制器、DTO、实体类和权限配置;新增前端API封装,同时调整路由名称以匹配新业务模块,复用现有菜单权限避免403错误。
This commit is contained in:
andyesfly committed 2026-10-12 15:20:08 +08:00
1 parent 3596462eca
commit f72644c24f
12 files changed
+1975 -411

No files matched your search

+3 -3
View File
@@ -809,7 +809,7 @@ onMounted(() => {
fetchWorkerOptions();
const preCustomerId = Number(route.query.customerId || 0);
if (preCustomerId) {
router.replace({ name: 'ProjectSurveyCreate', query: { customerId: String(preCustomerId) } });
router.replace({ name: 'DispatchSurveyCreate', query: { customerId: String(preCustomerId) } });
}
});
@@ -848,7 +848,7 @@ function handleExport() {
}
function handleAdd() {
router.push({ name: 'ProjectSurveyCreate' });
router.push({ name: 'DispatchSurveyCreate' });
}
// ==================== 行内操作 ====================
@@ -1136,7 +1136,7 @@ async function openDetail(record: SurveyOrderInfo) {
}
function goDetail(record: SurveyOrderInfo) {
router.push({ name: 'ProjectSurveyEdit', params: { id: record.id } });
router.push({ name: 'DispatchSurveyEdit', params: { id: record.id } });
}
// ==================== 展示辅助 ====================