wupengfei
2025-04-15 a7c71cf6ad69da0fc2ada301f32decc8e3cb8bde
src/views/MaterialReview/MaterialReviewDetail.vue
@@ -6,13 +6,14 @@
          <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 class="page-form-layout-title-item remark">
              <TextOverTooltip v-if="form.outCheckStatus === BountyCheckStatusEnum.CheckReject">
                {{ `审核未通过原因:${form.outCheckRemark ?? ''}` }}
              </TextOverTooltip>
            </span>
          </div>
        </template>
@@ -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: '查看',
      // },
    },
  }
);