From b3fda48ba53b36f6770f399f58290ed4d95d04a6 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期三, 30 四月 2025 09:19:52 +0800
Subject: [PATCH] feat: 接口
---
src/views/Reward/RewardDeclareDetail.vue | 25 +++++++++++++++----------
1 files changed, 15 insertions(+), 10 deletions(-)
diff --git a/src/views/Reward/RewardDeclareDetail.vue b/src/views/Reward/RewardDeclareDetail.vue
index 765c22e..02342ea 100644
--- a/src/views/Reward/RewardDeclareDetail.vue
+++ b/src/views/Reward/RewardDeclareDetail.vue
@@ -16,7 +16,6 @@
:show-upload-btn="false"
:show-delete-btn="false"
:show-check-btn="false"
- downloadBtnText="鏌ョ湅"
/>
</ChunkCellV2>
</DetailView>
@@ -43,7 +42,7 @@
import DeclareEnterpriseTableView from '@/components/commonView/DeclareEnterpriseTableView.vue';
import { useQuery } from '@tanstack/vue-query';
import * as parkBountyApplyServices from '@/services/api/ParkBountyApply';
-import { convertApi2FormUrlOnlyOne, setOSSLink } from '@/utils';
+import { convertApi2FormUrlObjectBySeparator, setOSSLink } from '@/utils';
import { useRouteView } from '@/hooks';
import { OrderInputType } from '@bole-core/core';
import { EnterpriseTypeText } from '@/constants';
@@ -68,6 +67,7 @@
enterpriseOperateFileUrl: [] as UploadUserFile[],
bountyAssignFileUlr: [] as UploadUserFile[],
bountyCollectFileUrl: [] as UploadUserFile[],
+ enterpriseRelateFileUrl: [] as UploadUserFile[],
});
const { data: detail, isLoading } = useQuery({
@@ -80,17 +80,24 @@
}
);
},
- placeholderData: () => ({} as API.ParkBountyApplyBaseInfo),
+ placeholderData: () => ({} as API.OutCheckParkBountyApplyBaseInfo),
onSuccess(data) {
form.batchNo = data.batchNo;
form.parkName = data.parkName;
form.parkTypeName = data.parkTypeName;
form.applyMonth = data.applyMonth;
form.applySumAmount = data.applySumAmount;
- form.enterpriseTaxSubFileUrl = convertApi2FormUrlOnlyOne(data?.enterpriseTaxSubFileUrl);
- form.enterpriseOperateFileUrl = convertApi2FormUrlOnlyOne(data?.enterpriseOperateFileUrl);
- form.bountyAssignFileUlr = convertApi2FormUrlOnlyOne(data?.bountyAssignFileUlr);
- form.bountyCollectFileUrl = convertApi2FormUrlOnlyOne(data?.bountyCollectFileUrl);
+ form.enterpriseTaxSubFileUrl = convertApi2FormUrlObjectBySeparator(
+ data?.enterpriseTaxSubFileUrl
+ );
+ form.enterpriseOperateFileUrl = convertApi2FormUrlObjectBySeparator(
+ data?.enterpriseOperateFileUrl
+ );
+ form.bountyAssignFileUlr = convertApi2FormUrlObjectBySeparator(data?.bountyAssignFileUlr);
+ form.bountyCollectFileUrl = convertApi2FormUrlObjectBySeparator(data?.bountyCollectFileUrl);
+ form.enterpriseRelateFileUrl = convertApi2FormUrlObjectBySeparator(
+ data?.enterpriseRelateFileUrl
+ );
getList();
},
@@ -126,10 +133,8 @@
columnsRenderProps: {
authType: { type: 'enum', valueEnum: EnterpriseTypeText },
licenseUrl: {
- type: 'url',
+ type: 'urlV2',
formatter: (row: API.UserCertificationAuditListDto) => setOSSLink(row.licenseUrl),
- modal: true,
- showDownloadBtn: false,
},
},
}
--
Gitblit v1.9.1