From 04b6295eec5740e1ac93de6f246dca937ad2f444 Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期一, 14 四月 2025 17:34:03 +0800 Subject: [PATCH] fix: bug --- src/views/MaterialReview/MaterialReviewDetail.vue | 39 ++++++++++++++++++++++++--------------- 1 files changed, 24 insertions(+), 15 deletions(-) diff --git a/src/views/MaterialReview/MaterialReviewDetail.vue b/src/views/MaterialReview/MaterialReviewDetail.vue index d63cedd..3869c8a 100644 --- a/src/views/MaterialReview/MaterialReviewDetail.vue +++ b/src/views/MaterialReview/MaterialReviewDetail.vue @@ -6,14 +6,15 @@ <div class="page-form-layout-title"> 鐢虫姤璇︽儏 <span class="page-form-layout-title-item status"> - {{ `瀹℃牳鐘舵��:${BountyCheckStatusEnumText[form.outCheckStatus]}` }} + 瀹℃牳鐘舵��:<span :style="{ color: BountyCheckStatusEnumColor[form.outCheckStatus] }">{{ + BountyCheckStatusEnumText[form.outCheckStatus] + }}</span> </span> - <span - v-if="form.outCheckStatus === BountyCheckStatusEnum.CheckReject" - class="page-form-layout-title-item remark" - > - {{ `瀹℃牳鏈�氳繃鍘熷洜:${form.outCheckRemark ?? ''}` }} - </span> + <TextOverTooltip v-if="form.outCheckStatus === BountyCheckStatusEnum.CheckReject"> + <span class="page-form-layout-title-item remark"> + {{ `瀹℃牳鏈�氳繃鍘熷洜:${form.outCheckRemark ?? ''}` }} + </span> + </TextOverTooltip> </div> </template> <DetailView :form="form"> @@ -50,6 +51,7 @@ PageFormLayout, useTable, useFormDialog, + TextOverTooltip, } from '@bole-core/components'; import ChunkCellV2 from '@/components/Layout/ChunkCellV2.vue'; import DetailView from '@/components/commonView/DetailView.vue'; @@ -60,7 +62,12 @@ import { convertApi2FormUrlOnlyOne, setOSSLink } from '@/utils'; import { useRouteView } from '@/hooks'; import { OrderInputType } from '@bole-core/core'; -import { AuthTypeText, BountyCheckStatusEnum, BountyCheckStatusEnumText } from '@/constants'; +import { + EnterpriseTypeText, + BountyCheckStatusEnum, + BountyCheckStatusEnumText, + BountyCheckStatusEnumColor, +} from '@/constants'; import { FourStreamsMaterialFileTableItem } from '@/components/commonView/types'; import { FourStreamsMaterialUtils } from '@/components/commonView/utils'; import { useIndustrialParkDropDownList } from '@/hooks/industrialPark'; @@ -145,13 +152,15 @@ searchKeyWord: '', }, columnsRenderProps: { - authType: { type: 'enum', valueEnum: AuthTypeText }, - licenseUrl: { - type: 'url', - formatter: (row: API.UserCertificationAuditListDto) => setOSSLink(row.licenseUrl), - modal: true, - showDownloadBtn: false, - }, + authType: { type: 'enum', valueEnum: EnterpriseTypeText }, + // licenseUrl: { + // type: 'url', + // formatter: (row: API.UserCertificationAuditListDto) => setOSSLink(row.licenseUrl), + // modal: true, + // showDownloadBtn: true, + // showPreviewBtn: false, + // downloadBtnText: '鏌ョ湅', + // }, }, } ); -- Gitblit v1.9.1