From 450f5ef33f160775064b6ea9ae365a881f3ff47d Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期一, 14 四月 2025 15:35:41 +0800 Subject: [PATCH] fix: bug --- src/views/MaterialReview/MaterialReviewDetail.vue | 25 ++++++++++++++++--------- 1 files changed, 16 insertions(+), 9 deletions(-) diff --git a/src/views/MaterialReview/MaterialReviewDetail.vue b/src/views/MaterialReview/MaterialReviewDetail.vue index d63cedd..fe0ee17 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,7 +152,7 @@ searchKeyWord: '', }, columnsRenderProps: { - authType: { type: 'enum', valueEnum: AuthTypeText }, + authType: { type: 'enum', valueEnum: EnterpriseTypeText }, licenseUrl: { type: 'url', formatter: (row: API.UserCertificationAuditListDto) => setOSSLink(row.licenseUrl), -- Gitblit v1.9.1