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/MaterialReview/MaterialReviewDetail.vue | 30 ++++++++++++++++-------------- 1 files changed, 16 insertions(+), 14 deletions(-) diff --git a/src/views/MaterialReview/MaterialReviewDetail.vue b/src/views/MaterialReview/MaterialReviewDetail.vue index e98db1f..0bdeee5 100644 --- a/src/views/MaterialReview/MaterialReviewDetail.vue +++ b/src/views/MaterialReview/MaterialReviewDetail.vue @@ -11,9 +11,9 @@ }}</span> </span> <span class="page-form-layout-title-item remark"> - <template v-if="form.outCheckStatus === BountyCheckStatusEnum.CheckReject"> + <TextOverTooltip v-if="form.outCheckStatus === BountyCheckStatusEnum.CheckReject"> {{ `瀹℃牳鏈�氳繃鍘熷洜:${form.outCheckRemark ?? ''}` }} - </template> + </TextOverTooltip> </span> </div> </template> @@ -31,7 +31,6 @@ :show-upload-btn="false" :show-delete-btn="false" :show-check-btn="false" - downloadBtnText="鏌ョ湅" /> </ChunkCellV2> </DetailView> @@ -51,6 +50,7 @@ PageFormLayout, useTable, useFormDialog, + TextOverTooltip, } from '@bole-core/components'; import ChunkCellV2 from '@/components/Layout/ChunkCellV2.vue'; import DetailView from '@/components/commonView/DetailView.vue'; @@ -58,7 +58,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 { @@ -88,6 +88,7 @@ enterpriseOperateFileUrl: [] as UploadUserFile[], bountyAssignFileUlr: [] as UploadUserFile[], bountyCollectFileUrl: [] as UploadUserFile[], + enterpriseRelateFileUrl: [] as UploadUserFile[], outCheckStatus: '' as any as BountyCheckStatusEnum, outCheckRemark: '', @@ -114,10 +115,17 @@ form.applySumAmount = data.applySumAmount; form.outCheckStatus = data.outCheckStatus; form.outCheckRemark = data.outCheckRemark; - 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(); }, @@ -152,12 +160,6 @@ }, columnsRenderProps: { authType: { type: 'enum', valueEnum: EnterpriseTypeText }, - licenseUrl: { - type: 'url', - formatter: (row: API.UserCertificationAuditListDto) => setOSSLink(row.licenseUrl), - modal: true, - showDownloadBtn: false, - }, }, } ); -- Gitblit v1.9.1