From 4acf2dd771619afee364a9db3d2f527b087dddb3 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期五, 11 七月 2025 16:02:45 +0800
Subject: [PATCH] feat: 页面
---
src/constants/fourStreams.ts | 16 +-
src/views/Reward/RewardGrant.vue | 48 +++--
src/views/EnterpriseInfo/components/RewardGrantRecordView.vue | 4
src/services/api/User.ts | 14 +
src/constants/reward.ts | 2
src/services/api/typings.d.ts | 201 +++++++++++++++++++++++++
src/views/EnterpriseInfo/EnterpriseInfo.vue | 16 +-
src/services/api/ParkBountyApply.ts | 138 +++++++++++++++++
src/views/Reward/components/RegisterDialog.vue | 23 +-
9 files changed, 411 insertions(+), 51 deletions(-)
diff --git a/src/constants/fourStreams.ts b/src/constants/fourStreams.ts
index 69f654b..59a436b 100644
--- a/src/constants/fourStreams.ts
+++ b/src/constants/fourStreams.ts
@@ -41,15 +41,15 @@
} as const;
export enum ApplyTransferFileBusinessTypeEnum {
- /** 鎷ㄤ粯鍑瘉*/
+ /** 璐㈡斂鎷ㄤ粯鍑瘉*/
FinanceToFileUrl = 100,
- /** 鍏呭�煎嚟璇�*/
+ /** 骞冲彴鎷ㄤ粯鍑瘉*/
TransferToFileUrl = 110,
}
export const ApplyTransferFileBusinessTypeEnumText = {
- [ApplyTransferFileBusinessTypeEnum.FinanceToFileUrl]: '鎷ㄤ粯鍑瘉',
- [ApplyTransferFileBusinessTypeEnum.TransferToFileUrl]: '鍏呭�煎嚟璇�',
+ [ApplyTransferFileBusinessTypeEnum.FinanceToFileUrl]: '璐㈡斂鎷ㄤ粯鍑瘉',
+ [ApplyTransferFileBusinessTypeEnum.TransferToFileUrl]: '骞冲彴鎷ㄤ粯鍑瘉',
};
export const ApplyTransferFileBusinessTypeEnumKey = {
@@ -58,15 +58,15 @@
} as const;
export enum TransferFileEnumInRewardGrand {
- /** 鎷ㄤ粯鍑瘉*/
+ /** 璐㈡斂鎷ㄤ粯鍑瘉*/
FinanceFileUrl = 200,
- /** 鍏呭�煎嚟璇�*/
+ /** 骞冲彴鎷ㄤ粯鍑瘉*/
SettleFileUrl = 210,
}
export const TransferFileEnumInRewardGrandText = {
- [TransferFileEnumInRewardGrand.FinanceFileUrl]: '鎷ㄤ粯鍑瘉',
- [TransferFileEnumInRewardGrand.SettleFileUrl]: '鍏呭�煎嚟璇�',
+ [TransferFileEnumInRewardGrand.FinanceFileUrl]: '璐㈡斂鎷ㄤ粯鍑瘉',
+ [TransferFileEnumInRewardGrand.SettleFileUrl]: '骞冲彴鎷ㄤ粯鍑瘉',
};
export const TransferFileEnumInRewardGrandKey = {
diff --git a/src/constants/reward.ts b/src/constants/reward.ts
index 8304a23..a97d833 100644
--- a/src/constants/reward.ts
+++ b/src/constants/reward.ts
@@ -140,7 +140,7 @@
export const IncomeTypeEnumText = {
[IncomeTypeEnum.Fiscal]: '璐㈡斂鎷ㄤ粯',
- [IncomeTypeEnum.Platform]: '骞冲彴鍏呭��',
+ [IncomeTypeEnum.Platform]: '骞冲彴鎷ㄤ粯',
};
export enum EnterpriseRechargeStatusEnum {
diff --git a/src/services/api/ParkBountyApply.ts b/src/services/api/ParkBountyApply.ts
index e5828b4..c5f1a4b 100644
--- a/src/services/api/ParkBountyApply.ts
+++ b/src/services/api/ParkBountyApply.ts
@@ -107,6 +107,39 @@
});
}
+/** 杩愯惀绔�-濂栧姳閲戠粺璁℃姤琛ㄥ鍑� POST /api/ParkBountyApply/ExportBonusStatistics */
+export async function exportBonusStatistics(
+ body: API.GetBonusStatisticsListInput,
+ options?: API.RequestConfig
+) {
+ return request<any>('/api/ParkBountyApply/ExportBonusStatistics', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 杩愯惀绔�-濂栧姳閲戠粺璁℃姤琛� POST /api/ParkBountyApply/GetBonusStatisticsList */
+export async function getBonusStatisticsList(
+ body: API.GetBonusStatisticsListInput,
+ options?: API.RequestConfig
+) {
+ return request<API.GetBonusStatisticsListOutputPageOutput>(
+ '/api/ParkBountyApply/GetBonusStatisticsList',
+ {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ }
+ );
+}
+
/** 鑾峰彇鍙�夋嫨鍏徃鍜屽凡鍓旈櫎鍏徃 POST /api/ParkBountyApply/GetCompanyNameList */
export async function getCompanyNameList(
body: API.GetCompanyNameListInput,
@@ -129,6 +162,24 @@
) {
return request<API.GetParkBountyApplyListOutputPageOutput>(
'/api/ParkBountyApply/GetCustmoerParkBountyApplyList',
+ {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ }
+ );
+}
+
+/** 濂栧姳閲戠粺璁℃姤琛�--鑾峰彇浼佷笟娑堣垂鏄庣粏鍒楄〃 POST /api/ParkBountyApply/GetEnterpriseConsumptionList */
+export async function getEnterpriseConsumptionList(
+ body: API.GetRewardsDetailsInput,
+ options?: API.RequestConfig
+) {
+ return request<API.GetEnterpriseConsumptionListOutputPageOutput>(
+ '/api/ParkBountyApply/GetEnterpriseConsumptionList',
{
method: 'POST',
headers: {
@@ -273,6 +324,60 @@
params: {
...params,
},
+ ...(options || {}),
+ }
+ );
+}
+
+/** 杩愯惀绔�-濂栧姳閲戣幏鍙栦紒涓氬厖鍊兼槑缁嗗垪琛� POST /api/ParkBountyApply/GetEnterpriseRechargeList */
+export async function getEnterpriseRechargeList(
+ body: API.GetRewardsDetailsInput,
+ options?: API.RequestConfig
+) {
+ return request<API.GetEnterpriseRechargeListOutputPageOutput>(
+ '/api/ParkBountyApply/GetEnterpriseRechargeList',
+ {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ }
+ );
+}
+
+/** 濂栧姳閲戠粺璁℃姤琛�--鑾峰彇鎻愮幇鏄庣粏鍒楄〃 POST /api/ParkBountyApply/GetEnterpriseWithdrawList */
+export async function getEnterpriseWithdrawList(
+ body: API.GetRewardsDetailsInput,
+ options?: API.RequestConfig
+) {
+ return request<API.GetEnterpriseDrawWithOutputPageOutput>(
+ '/api/ParkBountyApply/GetEnterpriseWithdrawList',
+ {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ }
+ );
+}
+
+/** 濂栧姳閲戠粺璁℃姤琛�--鑾峰彇璐㈡斂鎷ㄤ粯鍒楄〃 POST /api/ParkBountyApply/GetFiscalAllocationList */
+export async function getFiscalAllocationList(
+ body: API.GetRewardsDetailsInput,
+ options?: API.RequestConfig
+) {
+ return request<API.GetFiscalAllocationOutputPageOutput>(
+ '/api/ParkBountyApply/GetFiscalAllocationList',
+ {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
...(options || {}),
}
);
@@ -661,6 +766,39 @@
);
}
+/** 濂栧姳閲戠粺璁℃姤琛�--鑾峰彇骞冲彴鎷ㄤ粯鍒楄〃 POST /api/ParkBountyApply/GetPlatformAllocationList */
+export async function getPlatformAllocationList(
+ body: API.GetRewardsDetailsInput,
+ options?: API.RequestConfig
+) {
+ return request<API.GetPlatformAllocationOutputPageOutput>(
+ '/api/ParkBountyApply/GetPlatformAllocationList',
+ {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ }
+ );
+}
+
+/** 濂栧姳閲戞姤琛�--浣欓鍒楄〃 POST /api/ParkBountyApply/GetRemainAmountList */
+export async function getRemainAmountList(
+ body: API.GetRewardsDetailsInput,
+ options?: API.RequestConfig
+) {
+ return request<API.GetRemainAmountOutput>('/api/ParkBountyApply/GetRemainAmountList', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
/** 瀵煎叆濂栧姳閲戝叆璐� POST /api/ParkBountyApply/ImportParkBountyData */
export async function importParkBountyData(
body: API.ImportBountyApplyDataInput,
diff --git a/src/services/api/User.ts b/src/services/api/User.ts
index 62c8e00..3e7a25b 100644
--- a/src/services/api/User.ts
+++ b/src/services/api/User.ts
@@ -306,6 +306,20 @@
});
}
+/** 鑾峰彇姹熶綉淇濈敤鎴蜂俊鎭� GET /api/User/GetJybUserInfo/${param0} */
+export async function getJybUserInfoId(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: API.APIgetJybUserInfoIdParams,
+ options?: API.RequestConfig
+) {
+ const { id: param0, ...queryParams } = params;
+ return request<API.JybUserInfoDto>(`/api/User/GetJybUserInfo/${param0}`, {
+ method: 'GET',
+ params: { ...queryParams },
+ ...(options || {}),
+ });
+}
+
/** 鑾峰彇浜掔浉鍏虫敞鍒嗛〉鍒楄〃 POST /api/User/GetMutualFollowUserPage */
export async function getMutualFollowUserPage(body: API.PageInput, options?: API.RequestConfig) {
return request<API.FollowUserListOutputPageOutput>('/api/User/GetMutualFollowUserPage', {
diff --git a/src/services/api/typings.d.ts b/src/services/api/typings.d.ts
index 289d356..341d709 100644
--- a/src/services/api/typings.d.ts
+++ b/src/services/api/typings.d.ts
@@ -1535,6 +1535,10 @@
suppierType?: number;
}
+ interface APIgetJybUserInfoIdParams {
+ id: string;
+ }
+
interface APIgetLgGigWorkUserDetailParams {
id?: string;
}
@@ -6531,6 +6535,63 @@
listDeleteChooseCompany?: GetCompanyNameListOutput[];
}
+ interface GetBonusStatisticsListInput {
+ pageModel?: Pagination;
+ /** 浼佷笟鍚�/淇$敤浠g爜/鑱旂郴浜�/鎵嬫満鍙� */
+ searchKeyWord?: string;
+ /** 鎵�灞炲洯鍖� */
+ industrialParkId?: string;
+ /** 鐢宠濂栧姳閲戞湀浠� */
+ applyMonth?: string;
+ }
+
+ interface GetBonusStatisticsListOutput {
+ enterpriseId?: string;
+ /** 浼佷笟鍚嶇О */
+ enterpriseName?: string;
+ /** 淇$敤浠g爜 */
+ societyCreditCode?: string;
+ /** 鎵�灞炲洯鍖� */
+ industrialParkName?: string;
+ parkId?: string;
+ /** 鑱旂郴浜� */
+ contact?: string;
+ /** 鑱旂郴浜虹數璇� */
+ contactPhone?: string;
+ /** 鐢宠濂栧姳閲戞湀浠� */
+ applyMonth?: string;
+ /** 鐢虫姤鎵规鍙� */
+ batchNo?: string;
+ /** 璐㈡斂鎷ㄤ粯閲戦 */
+ financeSumAmount?: number;
+ /** 骞冲彴鎷ㄤ粯閲戦 */
+ transferSumAmount?: number;
+ /** 浼佷笟鍏呭�兼�婚 */
+ prechargeSumAmount?: number;
+ /** 浼佷笟鍑鸿处鎬婚 */
+ tradeSumAmount?: number;
+ /** 浼佷笟鎻愮幇鎬婚 */
+ withDrawalAmount?: number;
+ /** 璐︽埛浣欓 */
+ remainAmount?: number;
+ /** 鏄惁鏀寔骞冲彴鍏呭�� */
+ suportPlatRecharge?: boolean;
+ /** 鏄惁鏀寔鐢ㄦ埛鎻愮幇 */
+ suportWithDraw?: boolean;
+ /** 鏄惁鏄剧ず浼佷笟鍏呭�� */
+ enablePrecharge?: boolean;
+ /** 鏄惁鏄剧ず浼佷笟娑堣垂 */
+ enableTrade?: boolean;
+ /** 鏄惁鏄剧ず浣欓鍒� */
+ enableRemain?: boolean;
+ }
+
+ interface GetBonusStatisticsListOutputPageOutput {
+ pageModel?: Pagination;
+ objectData?: any;
+ data?: GetBonusStatisticsListOutput[];
+ }
+
interface GetBusinessPayInfoInput {
pageModel?: Pagination;
settleNo?: string;
@@ -6903,6 +6964,25 @@
data?: GetEnterpriseBuntyTradeDto[];
}
+ interface GetEnterpriseConsumptionListOutput {
+ id?: string;
+ /** 娑堣垂鏃ユ湡 */
+ tradeTime?: string;
+ /** 娑堣垂绫诲瀷 */
+ payRemark?: string;
+ /** 娑堣垂閲戦 */
+ tradeAmount?: number;
+ /** 娑堣垂鍑瘉 */
+ payFileUrl?: string;
+ financeType?: FinanceTypeEnum;
+ }
+
+ interface GetEnterpriseConsumptionListOutputPageOutput {
+ pageModel?: Pagination;
+ objectData?: any;
+ data?: GetEnterpriseConsumptionListOutput[];
+ }
+
interface GetEnterpriseCredentialDataResponse {
contactMobile?: string;
address?: string;
@@ -6976,6 +7056,24 @@
pageModel?: Pagination;
objectData?: any;
data?: GetEnterpriseDrawWithListOutput[];
+ }
+
+ interface GetEnterpriseDrawWithOutput {
+ id?: string;
+ /** 鐢宠鎻愮幇鏃ユ湡 */
+ creationTime?: string;
+ /** 瀹℃牳閫氳繃鏃ユ湡 */
+ checkDateTime?: string;
+ /** 鎻愮幇閲戦 */
+ withdrawalAmount?: number;
+ /** 鎻愮幇鍑瘉 */
+ checkFileUrl?: string;
+ }
+
+ interface GetEnterpriseDrawWithOutputPageOutput {
+ pageModel?: Pagination;
+ objectData?: any;
+ data?: GetEnterpriseDrawWithOutput[];
}
interface GetEnterpriseMonthApplyFileOutput {
@@ -7090,6 +7188,24 @@
creationTime?: string;
}
+ interface GetEnterpriseRechargeListOutput {
+ id?: string;
+ /** 鍏呭�兼棩鏈� */
+ creationTime?: string;
+ /** 瀹℃牳閫氳繃鏃ユ湡 */
+ checkDateTime?: string;
+ /** 鍏呭�奸噾棰� */
+ prechargeAmount?: number;
+ /** 鍏呭�煎嚟璇� */
+ rechargeVoucherFileUrl?: string;
+ }
+
+ interface GetEnterpriseRechargeListOutputPageOutput {
+ pageModel?: Pagination;
+ objectData?: any;
+ data?: GetEnterpriseRechargeListOutput[];
+ }
+
interface GetExternalSystemInput {
pageModel?: Pagination;
/** 鍏抽敭瀛� */
@@ -7105,6 +7221,24 @@
account?: string;
/** 婧愭枃浠秈d */
fid?: string;
+ }
+
+ interface GetFiscalAllocationOutput {
+ id?: string;
+ /** 鎷ㄤ粯鏃ユ湡 */
+ financeToTime?: string;
+ /** 鍏ヨ处鏃ユ湡 */
+ financeIncomeTime?: string;
+ /** 鎷ㄤ粯閲戦 */
+ financeSumAmount?: number;
+ /** 鍏ヨ处鍑瘉 */
+ financeToFileUrl?: string;
+ }
+
+ interface GetFiscalAllocationOutputPageOutput {
+ pageModel?: Pagination;
+ objectData?: any;
+ data?: GetFiscalAllocationOutput[];
}
interface GetFrontConsultListInput {
@@ -8795,6 +8929,24 @@
platformServiceType?: PlatformServiceTypeEnum;
}
+ interface GetPlatformAllocationOutput {
+ id?: string;
+ /** 鍏呭�兼棩鏈� */
+ settleTime?: string;
+ /** 鍏ヨ处鏃ユ湡 */
+ incomeTime?: string;
+ /** 鍏呭�奸噾棰� */
+ settleSumAmount?: number;
+ /** 鍑瘉 */
+ settleFileUrl?: string;
+ }
+
+ interface GetPlatformAllocationOutputPageOutput {
+ pageModel?: Pagination;
+ objectData?: any;
+ data?: GetPlatformAllocationOutput[];
+ }
+
interface GetPlatFormPurchasesInput {
pageModel?: Pagination;
/** 绫诲埆Id */
@@ -8894,9 +9046,36 @@
queryCondition?: string;
}
+ interface GetRemainAmountOutput {
+ id?: string;
+ applyMonth?: string;
+ /** 鐢虫姤鎵规鍙� */
+ batchNo?: string;
+ /** 璐㈡斂鎷ㄤ粯浣欓 */
+ financeRemain?: number;
+ /** 骞冲彴鎷ㄤ粯浣欓 */
+ platformRemain?: number;
+ /** 棰勫厖鍊间綑棰� */
+ prechargeRemain?: number;
+ /** 鏄惁鏀寔骞冲彴鍏呭�� */
+ suportPlatRecharge?: boolean;
+ /** 鏄惁鏀寔鐢ㄦ埛鎻愮幇 */
+ suportWithDraw?: boolean;
+ }
+
interface GetRewardPercentagesInput {
/** 鎺掑簭淇℃伅锛氶粯璁ゆ寜Up涓荤瓑绾э細UpLevel鍗囧簭 */
orderInput?: OrderInput[];
+ }
+
+ interface GetRewardsDetailsInput {
+ pageModel?: Pagination;
+ /** 鐢ㄦ埛id */
+ id?: string;
+ /** 鐢宠鏈堜唤 */
+ applyMonth?: string;
+ /** 鐢虫姤鎵规鍙� */
+ batchNo?: string;
}
interface GetRolesInput {
@@ -13003,6 +13182,28 @@
properties?: Record<string, any>;
}
+ interface JybUserInfoDto {
+ id?: string;
+ /** 浼佷笟鍚嶇О */
+ enterpriseName?: string;
+ /** 鑱旂郴浜� */
+ contact?: string;
+ /** 鑱旂郴鐢佃瘽 */
+ contactPhone?: string;
+ /** 缁熶竴绀句細淇$敤浠g爜 */
+ societyCreditCode?: string;
+ /** 璇︾粏鍦板潃 */
+ addressDetail?: string;
+ /** 鐢ㄦ埛鎵嬫満鍙� */
+ phoneNumber?: string;
+ /** 閾惰鎬昏鍚嶇О */
+ bankName?: string;
+ /** 閾惰鍗″彿 */
+ bankCardNumber?: string;
+ /** 缁戝畾閭鍦板潃 */
+ bindEmailAddress?: string;
+ }
+
interface KeyInput {
id?: string;
}
diff --git a/src/views/EnterpriseInfo/EnterpriseInfo.vue b/src/views/EnterpriseInfo/EnterpriseInfo.vue
index 09d00de..bfe6b5c 100644
--- a/src/views/EnterpriseInfo/EnterpriseInfo.vue
+++ b/src/views/EnterpriseInfo/EnterpriseInfo.vue
@@ -14,7 +14,7 @@
@change="getList()"
></FieldDatePicker>
</QueryFilterItem>
- <QueryFilterItem tip-content="鏈�杩戞嫧浠樻棩鏈�">
+ <QueryFilterItem tip-content="鏈�杩戣储鏀挎嫧浠樻棩鏈�">
<FieldDatePicker
v-model="extraParamState.lastPayTime"
type="daterange"
@@ -25,7 +25,7 @@
@change="getList()"
></FieldDatePicker>
</QueryFilterItem>
- <QueryFilterItem tip-content="鏈�杩戝厖鍊兼棩鏈�">
+ <QueryFilterItem tip-content="鏈�杩戝钩鍙版嫧浠樻棩鏈�">
<FieldDatePicker
v-model="extraParamState.lastSettleTime"
type="daterange"
@@ -129,37 +129,37 @@
{
id: '9',
enCode: 'lastFinanceTime',
- name: '鏈�杩戞嫧浠樻棩鏈�',
+ name: '鏈�杩戣储鏀挎嫧浠樻棩鏈�',
width: 180,
},
{
id: '10',
enCode: 'financeSumAmount',
- name: '鎷ㄤ粯鎬婚',
+ name: '璐㈡斂鎷ㄤ粯鎬婚',
width: 150,
},
{
id: '11',
enCode: 'settleCount',
- name: '骞冲彴鍏呭�兼鏁�',
+ name: '骞冲彴鎷ㄤ粯娆℃暟',
width: 150,
},
{
id: '12',
enCode: 'lastSettleTime',
- name: '鏈�杩戝厖鍊兼棩鏈�',
+ name: '鏈�杩戝钩鍙版嫧浠樻棩鏈�',
width: 180,
},
{
id: '13',
enCode: 'settleSumAmount',
- name: '鍏呭�兼�婚',
+ name: '骞冲彴鎷ㄤ粯鎬婚',
width: 150,
},
{
id: '14',
enCode: 'bountyAmount',
- name: '骞冲彴鍏呭�间綑棰�',
+ name: '骞冲彴鎷ㄤ粯浣欓',
width: 150,
},
];
diff --git a/src/views/EnterpriseInfo/components/RewardGrantRecordView.vue b/src/views/EnterpriseInfo/components/RewardGrantRecordView.vue
index a7013dc..a5167f1 100644
--- a/src/views/EnterpriseInfo/components/RewardGrantRecordView.vue
+++ b/src/views/EnterpriseInfo/components/RewardGrantRecordView.vue
@@ -58,12 +58,12 @@
{
id: '5',
enCode: 'transferToAmount',
- name: '骞冲彴鍏呭�奸噾棰�',
+ name: '骞冲彴鎷ㄤ粯閲戦',
},
{
id: '6',
enCode: 'settleTime',
- name: '骞冲彴鍏呭�兼棩鏈�',
+ name: '骞冲彴鎷ㄤ粯鏃ユ湡',
},
];
diff --git a/src/views/Reward/RewardGrant.vue b/src/views/Reward/RewardGrant.vue
index 563ce13..e6b15e0 100644
--- a/src/views/Reward/RewardGrant.vue
+++ b/src/views/Reward/RewardGrant.vue
@@ -14,7 +14,7 @@
@change="getList()"
></FieldDatePicker>
</QueryFilterItem>
- <QueryFilterItem tip-content="鎷ㄤ粯鏃ユ湡">
+ <QueryFilterItem tip-content="璐㈡斂鎷ㄤ粯鐧昏鏃ユ湡">
<FieldDatePicker
v-model="extraParamState.financeTime"
type="daterange"
@@ -25,7 +25,7 @@
@change="getList()"
></FieldDatePicker>
</QueryFilterItem>
- <QueryFilterItem tip-content="鍏呭�兼棩鏈�">
+ <QueryFilterItem tip-content="骞冲彴鎷ㄤ粯鐧昏鏃ユ湡">
<FieldDatePicker
v-model="extraParamState.settleTime"
type="daterange"
@@ -36,7 +36,7 @@
@change="getList()"
></FieldDatePicker>
</QueryFilterItem>
- <QueryFilterItem tip-content="璐㈡斂鎷ㄤ粯鐘舵��">
+ <QueryFilterItem tip-content="璐㈡斂鎷ㄤ粯鐧昏鐘舵��">
<FieldRadio
v-model="extraParamState.financeStatus"
:value-enum="FinanceStatusEnumTextV2Query"
@@ -45,7 +45,7 @@
@change="getList()"
/>
</QueryFilterItem>
- <QueryFilterItem tip-content="骞冲彴鍏呭�肩姸鎬�">
+ <QueryFilterItem tip-content="骞冲彴鎷ㄤ粯鐧昏鐘舵��">
<FieldRadio
v-model="extraParamState.settleStatus"
:value-enum="SettleStatusEnumTextV2Query"
@@ -174,19 +174,19 @@
{
id: '8',
enCode: 'financeTime',
- name: '鐧昏鎷ㄤ粯鏃ユ湡',
+ name: '璐㈡斂鎷ㄤ粯鐧昏鏃ユ湡',
width: 180,
},
{
id: '9',
enCode: 'settleStatus',
- name: '骞冲彴鍏呭�肩櫥璁扮姸鎬�',
+ name: '骞冲彴鎷ㄤ粯鐧昏鐘舵��',
width: 160,
},
{
id: '10',
enCode: 'settleTime',
- name: '鐧昏鍏呭�兼棩鏈�',
+ name: '骞冲彴鎷ㄤ粯鐧昏鏃ユ湡',
width: 180,
},
];
@@ -243,22 +243,22 @@
),
},
},
- {
- data: {
- enCode: 'uploadCertBtn',
- name: '涓婁紶鍑瘉',
- },
- emits: {
- onClick: (role) => openCertRewardDialog(role),
- },
- extraProps: {
- hide: (row: API.GetParkBountyApplyListOutput) =>
- !(
- row.settleStatus === SettleStatusEnum.HasSettle ||
- row.financeStatus === FinanceStatusEnum.HasIncome
- ),
- },
- },
+ // {
+ // data: {
+ // enCode: 'uploadCertBtn',
+ // name: '涓婁紶鍑瘉',
+ // },
+ // emits: {
+ // onClick: (role) => openCertRewardDialog(role),
+ // },
+ // extraProps: {
+ // hide: (row: API.GetParkBountyApplyListOutput) =>
+ // !(
+ // row.settleStatus === SettleStatusEnum.HasSettle ||
+ // row.financeStatus === FinanceStatusEnum.HasIncome
+ // ),
+ // },
+ // },
{
data: {
enCode: 'checkBtn',
@@ -411,6 +411,7 @@
defaultFormParams: {
incomeType: '' as any as IncomeTypeEnum,
parkBountyApplyId: '',
+ fileUrl: [] as UploadUserFile[],
financeSumAmount: 0,
showSuportPlatRecharge: false,
showSuportFiscalRecharge: false,
@@ -420,6 +421,7 @@
function openRegisterDialog(row?: API.GetParkBountyApplyListOutput) {
handleRegisterEdit({
incomeType: '' as any as IncomeTypeEnum,
+ fileUrl: [] as UploadUserFile[],
showSuportPlatRecharge: row.settleStatus === SettleStatusEnum.WaitForSettle,
showSuportFiscalRecharge: row.financeStatus === FinanceStatusEnum.WaitForIncome,
parkBountyApplyId: row.id,
diff --git a/src/views/Reward/components/RegisterDialog.vue b/src/views/Reward/components/RegisterDialog.vue
index 902453b..c0f5fe5 100644
--- a/src/views/Reward/components/RegisterDialog.vue
+++ b/src/views/Reward/components/RegisterDialog.vue
@@ -32,6 +32,17 @@
:precision="2"
></ProFormInputNumber>
</ProFormItemV2>
+ <ProFormItemV2
+ label="涓婁紶鍏ヨ处鍑瘉:"
+ prop="fileUrl"
+ :check-rules="[{ message: '璇蜂笂浼犲叆璐﹀嚟璇�', type: 'upload' }]"
+ >
+ <ProFormUpload
+ v-model:file-url="form.fileUrl"
+ :limitFileSize="50"
+ accept="doc,docx,pdf,xls,xlsx,jpg/jpeg,png"
+ ></ProFormUpload>
+ </ProFormItemV2>
</ProForm>
<template #footer>
<span class="dialog-footer">
@@ -50,6 +61,8 @@
ProFormItemV2,
ProFormInputNumber,
ProFormRadio,
+ ProFormUpload,
+ UploadUserFile,
} from '@bole-core/components';
import { IncomeTypeEnumText, IncomeTypeEnum, FinanceStatusEnum } from '@/constants';
@@ -57,20 +70,12 @@
name: 'RegisterDialog',
});
-type Props = {
- /**
- * @deprecated
- */
- financeSumAmount?: number;
-};
-
-const props = withDefaults(defineProps<Props>(), {});
-
const visible = defineModel({ type: Boolean });
type Form = {
title?: string;
financeSumAmount: number;
+ fileUrl: UploadUserFile[];
incomeType: IncomeTypeEnum;
showSuportPlatRecharge: boolean;
showSuportFiscalRecharge: boolean;
--
Gitblit v1.9.1