From 05a07471a6e55cc82210f9ad8b74d4b5aa445cfc Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期一, 14 四月 2025 10:46:54 +0800
Subject: [PATCH] feat: 接口
---
src/constants/reward.ts | 23 ++++++++++++++++++++---
1 files changed, 20 insertions(+), 3 deletions(-)
diff --git a/src/constants/reward.ts b/src/constants/reward.ts
index 623df82..536b7df 100644
--- a/src/constants/reward.ts
+++ b/src/constants/reward.ts
@@ -1,4 +1,10 @@
+import { Colors } from './enum';
+
export enum BountyCheckStatusEnum {
+ /**
+ * 鏈彁浜�
+ */
+ NotSubmit = -10,
/**
* 寰呭鏍�
*/
@@ -16,7 +22,18 @@
export const BountyCheckStatusEnumText = {
[BountyCheckStatusEnum.WaitCheck]: '寰呭鏍�',
[BountyCheckStatusEnum.CheckPassed]: '瀹℃牳閫氳繃',
- [BountyCheckStatusEnum.CheckReject]: '瀹℃牳涓嶉�氳繃',
+ [BountyCheckStatusEnum.CheckReject]: '瀹℃牳鏈�氳繃',
+};
+export const BountyCheckStatusEnumTextForAudit = {
+ [BountyCheckStatusEnum.CheckPassed]: '瀹℃牳閫氳繃',
+ [BountyCheckStatusEnum.CheckReject]: '椹冲洖',
+};
+
+export const BountyCheckStatusEnumColor = {
+ [BountyCheckStatusEnum.NotSubmit]: '',
+ [BountyCheckStatusEnum.WaitCheck]: Colors.Warning,
+ [BountyCheckStatusEnum.CheckPassed]: Colors.Success,
+ [BountyCheckStatusEnum.CheckReject]: Colors.Danger,
};
export enum SettleStatusEnum {
@@ -53,9 +70,9 @@
export enum EnterpriseBountyPayTypeEnum {
/**鍑洪噾 */
- PayOut = 1,
+ PayOut = 10,
/**鍏ラ噾 */
- PayIn = 2,
+ PayIn = 20,
}
export const EnterpriseBountyPayTypeEnumText = {
--
Gitblit v1.9.1