From 8328df0f84dc6e24896d788166a67263ff029ae5 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期日, 19 十月 2025 14:38:50 +0800
Subject: [PATCH] Merge branch 'dev-1.2.0.1' of http://120.26.58.240:8888/r/flexJobMiniApp into dev-1.2.0.1
---
packages/constants/task.ts | 70 +++++++++++++++++++++++++++++++++++
1 files changed, 70 insertions(+), 0 deletions(-)
diff --git a/packages/constants/task.ts b/packages/constants/task.ts
index ab19a55..669badf 100644
--- a/packages/constants/task.ts
+++ b/packages/constants/task.ts
@@ -12,6 +12,8 @@
GetPersonalHireTaskInfosQueryStatus,
GetTaskInfoQueryResultHireButton,
GetTaskInfoQueryResultApplyButton,
+ EnumTaskUserSubmitCheckReceiveStatus,
+ EnumTaskUserSubmitCheckHistoryType,
} from './apiEnum';
export const EnumBillingMethodText = {
@@ -45,6 +47,50 @@
[EnumBillingMethod.Piece]: '鍏�/浠�',
};
+export const EnumSettlementCycleDateWeekArray = [
+ { label: '鏄熸湡涓�', value: 1 },
+ { label: '鏄熸湡浜�', value: 2 },
+ { label: '鏄熸湡涓�', value: 3 },
+ { label: '鏄熸湡鍥�', value: 4 },
+ { label: '鏄熸湡浜�', value: 5 },
+ { label: '鏄熸湡鍏�', value: 6 },
+ { label: '鏄熸湡鏃�', value: 7 },
+];
+
+export const EnumSettlementCycleDateMonthArray = [
+ { label: '1鏃�', value: 1 },
+ { label: '2鏃�', value: 2 },
+ { label: '3鏃�', value: 3 },
+ { label: '4鏃�', value: 4 },
+ { label: '5鏃�', value: 5 },
+ { label: '6鏃�', value: 6 },
+ { label: '7鏃�', value: 7 },
+ { label: '8鏃�', value: 8 },
+ { label: '9鏃�', value: 9 },
+ { label: '10鏃�', value: 10 },
+ { label: '11鏃�', value: 11 },
+ { label: '12鏃�', value: 12 },
+ { label: '13鏃�', value: 13 },
+ { label: '14鏃�', value: 14 },
+ { label: '15鏃�', value: 15 },
+ { label: '16鏃�', value: 16 },
+ { label: '17鏃�', value: 17 },
+ { label: '18鏃�', value: 18 },
+ { label: '19鏃�', value: 19 },
+ { label: '20鏃�', value: 20 },
+ { label: '21鏃�', value: 21 },
+ { label: '22鏃�', value: 22 },
+ { label: '23鏃�', value: 23 },
+ { label: '24鏃�', value: 24 },
+ { label: '25鏃�', value: 25 },
+ { label: '26鏃�', value: 26 },
+ { label: '27鏃�', value: 27 },
+ { label: '28鏃�', value: 28 },
+ { label: '29鏃�', value: 29 },
+ { label: '30鏃�', value: 30 },
+ { label: '31鏃�', value: 31 },
+];
+
export const EnumTaskReleaseStatusText = {
[EnumTaskReleaseStatus.InProcess]: '鍙戝竷涓�',
[EnumTaskReleaseStatus.Stopped]: '宸插仠姝�',
@@ -54,6 +100,13 @@
[EnumTaskCheckReceiveStatus.WaitSubmit]: '寰呮彁浜�',
[EnumTaskCheckReceiveStatus.WaitCheckReceive]: '寰呴獙鏀�',
[EnumTaskCheckReceiveStatus.Completed]: '宸查獙鏀�',
+};
+
+export const EnumTaskUserSubmitCheckReceiveStatusText = {
+ [EnumTaskUserSubmitCheckReceiveStatus.WaitSubmit]: '寰呮彁浜�',
+ [EnumTaskUserSubmitCheckReceiveStatus.WaitCheckReceive]: '寰呴獙鏀�',
+ [EnumTaskUserSubmitCheckReceiveStatus.Success]: '宸查獙鏀�',
+ [EnumTaskUserSubmitCheckReceiveStatus.Fail]: '楠屾敹鏈�氳繃',
};
export const EnumPersonalFreeTimeText = {
@@ -81,17 +134,20 @@
};
export const GetPersonalHireTaskInfosQueryStatusText = {
+ [GetPersonalHireTaskInfosQueryStatus.Wait]: '寰呭紑濮�',
[GetPersonalHireTaskInfosQueryStatus.InProcess]: '杩涜涓�',
[GetPersonalHireTaskInfosQueryStatus.Completed]: '宸插畬鎴�',
};
export const GetPersonalHireTaskInfosQueryStatusColor = {
+ [GetPersonalHireTaskInfosQueryStatus.Wait]: '#9FA4AC',
[GetPersonalHireTaskInfosQueryStatus.InProcess]: '#2A9E1B',
[GetPersonalHireTaskInfosQueryStatus.Completed]: '#9FA4AC',
};
export const GetTaskInfoQueryResultHireButtonText = {
[GetTaskInfoQueryResultHireButton.ApplyCheckReceive]: '鐢宠楠屾敹',
+ [GetTaskInfoQueryResultHireButton.Wait]: '寰呭紑濮�',
[GetTaskInfoQueryResultHireButton.InProcess]: '杩涜涓�',
[GetTaskInfoQueryResultHireButton.Completed]: '宸插畬鎴�',
};
@@ -100,3 +156,17 @@
[GetTaskInfoQueryResultApplyButton.WaitHire]: '寰呯‘璁�',
[GetTaskInfoQueryResultApplyButton.WaitSignContract]: '鍘荤绾�',
};
+
+export const EnumTaskUserSubmitCheckHistoryTypeText = {
+ [EnumTaskUserSubmitCheckHistoryType.CheckIn]: '绛惧埌',
+ [EnumTaskUserSubmitCheckHistoryType.CheckOut]: '绛惧嚭',
+ [EnumTaskUserSubmitCheckHistoryType.UnCheckIn]: '鏈埌宀�',
+ [EnumTaskUserSubmitCheckHistoryType.UnCheckOut]: '鏈鍑�',
+};
+
+export const EnumTaskUserSubmitCheckHistoryTypeColor = {
+ [EnumTaskUserSubmitCheckHistoryType.CheckIn]: Colors.Success,
+ [EnumTaskUserSubmitCheckHistoryType.CheckOut]: Colors.Success,
+ [EnumTaskUserSubmitCheckHistoryType.UnCheckIn]: Colors.Danger,
+ [EnumTaskUserSubmitCheckHistoryType.UnCheckOut]: Colors.Info,
+};
--
Gitblit v1.9.1