From 4d78cc06f23934f604ec09ef4fe53cea72441fd2 Mon Sep 17 00:00:00 2001 From: zy Date: Mon, 19 May 2025 16:21:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B8=88=E5=BE=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/modules/remaining.ts | 19 +++ src/utils/dict.ts | 5 + .../quotation/components/RevenueAnalysis.vue | 2 +- .../hrm/mentorsapply/MentorsApplyForm.vue | 139 +++++++++++++----- src/views/hrm/mentorsapply/index.vue | 100 ++++++------- 5 files changed, 176 insertions(+), 89 deletions(-) diff --git a/src/router/modules/remaining.ts b/src/router/modules/remaining.ts index 9f076183a..337ff952a 100644 --- a/src/router/modules/remaining.ts +++ b/src/router/modules/remaining.ts @@ -961,6 +961,25 @@ const remainingRouter: AppRouteRecordRaw[] = [ }, ] }, + { + path: '/hrm', + component: Layout, + name: 'HrmCenter', + meta: { hidden: true }, + children: [ + { + path: 'mentorsapply/MentorsApplyForm', + name: 'MentorsApplyAdd', + meta: { + title: '师徒新增', + noCache: true, + hidden: true, + activeMenu: '/hrm/mentorsapply' + }, + component: () => import('@/views/hrm/mentorsapply/MentorsApplyForm.vue') + }, + ] + }, { path: '/ai', component: Layout, diff --git a/src/utils/dict.ts b/src/utils/dict.ts index 0bc8cd2e1..38c6896be 100644 --- a/src/utils/dict.ts +++ b/src/utils/dict.ts @@ -247,6 +247,11 @@ export enum DICT_TYPE { TTS_APPLY_STATUS = 'tts_apply_status', + // ========== HRM ========== + HRM_MENTORS_TYPE = 'hrm_mentors_type', + + + // ========== ERP - 企业资源计划模块 ========== ERP_AUDIT_STATUS = 'erp_audit_status', // ERP 审批状态 ERP_STOCK_RECORD_BIZ_TYPE = 'erp_stock_record_biz_type', // 库存明细的业务类型 diff --git a/src/views/crm/quotation/components/RevenueAnalysis.vue b/src/views/crm/quotation/components/RevenueAnalysis.vue index 8f031fea4..5032bef48 100644 --- a/src/views/crm/quotation/components/RevenueAnalysis.vue +++ b/src/views/crm/quotation/components/RevenueAnalysis.vue @@ -72,7 +72,7 @@ const props = defineProps<{ products: undefined }>() -const loading = ref(true) // 列表的加载中 +const loading = ref(false) // 列表的加载中 const formLoading = ref(false) // 表单的加载中 const formData = ref([]) interface RevenueAnalysisVO { diff --git a/src/views/hrm/mentorsapply/MentorsApplyForm.vue b/src/views/hrm/mentorsapply/MentorsApplyForm.vue index e0aa80c17..52bab034a 100644 --- a/src/views/hrm/mentorsapply/MentorsApplyForm.vue +++ b/src/views/hrm/mentorsapply/MentorsApplyForm.vue @@ -1,5 +1,5 @@ \ No newline at end of file diff --git a/src/views/hrm/mentorsapply/index.vue b/src/views/hrm/mentorsapply/index.vue index 09c94bb4d..c76ef5a28 100644 --- a/src/views/hrm/mentorsapply/index.vue +++ b/src/views/hrm/mentorsapply/index.vue @@ -8,25 +8,21 @@ :inline="true" label-width="68px" > - - + + > + + - - - - + + @@ -51,27 +47,18 @@ /> - - - - - - - + + 新增 @@ -109,19 +96,17 @@ - - - - - + + + + - - + - \ No newline at end of file