From 10db00d52c495183578eb490c16401d0b325fc21 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期一, 20 十月 2025 10:41:22 +0800
Subject: [PATCH] fix: bug
---
packages/constants/task.ts | 66 +++++++++++++++++++++++++++++++++
1 files changed, 66 insertions(+), 0 deletions(-)
diff --git a/packages/constants/task.ts b/packages/constants/task.ts
index c03f939..bc91100 100644
--- a/packages/constants/task.ts
+++ b/packages/constants/task.ts
@@ -13,6 +13,8 @@
GetTaskInfoQueryResultHireButton,
GetTaskInfoQueryResultApplyButton,
EnumTaskUserSubmitCheckReceiveStatus,
+ EnumTaskUserSubmitCheckHistoryType,
+ EnumTaskCheckReceiveMethod,
} from './apiEnum';
export const EnumBillingMethodText = {
@@ -20,6 +22,7 @@
[EnumBillingMethod.Day]: '鎸夋棩',
[EnumBillingMethod.Hour]: '鎸夋椂',
[EnumBillingMethod.Piece]: '璁′欢',
+ [EnumBillingMethod.Face]: '闈㈣',
};
export const EnumUserGenderText = {
@@ -45,6 +48,50 @@
[EnumBillingMethod.Hour]: '鍏�/灏忔椂',
[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]: '鍙戝竷涓�',
@@ -111,3 +158,22 @@
[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,
+};
+
+export const EnumTaskCheckReceiveMethodText = {
+ [EnumTaskCheckReceiveMethod.CheckIn]: '浜哄伐绛惧埌',
+ [EnumTaskCheckReceiveMethod.Submit]: '鑷富鎻愪氦',
+};
--
Gitblit v1.9.1