[update] 法规符合性评估库

This commit is contained in:
lideqin
2024-07-18 16:14:57 +08:00
parent 0e05749c15
commit 563565435e
@@ -84,6 +84,13 @@
:scroll="{x: '100%', y: 'calc(100vh - 500px)'}"
@change="handleTableChange">
<template slot="text" slot-scope="text">
<a-tooltip overlay-class-name="tooltip-style">
<template slot="title">{{ text || text === 0 ? text : global.emptyLine }}</template>
<div class="table-text">{{ text || text === 0 ? text : global.emptyLine }}</div>
</a-tooltip>
</template>
<!-- 佐证材料 -->
<template v-slot:material="text, record">
<a v-if="text" class="link-a" @click="handleMaterialClick(record)">{{ $t('view') }}</a>
@@ -99,19 +106,9 @@
<script>
import { JeroListMixin } from '@/mixins/JeroListMixin'
import Vue from 'vue'
import { previewPdf } from '@/utils/previewPdf'
import { kkFilePreview } from '@/utils/kkFilePreview'
import { downloadFile, getFileAccessHttpUrl } from '@/api/manage'
import { queryDepartTreeList } from '../../../../api/api'
import { ACCESS_TOKEN } from '@/store/mutation-types'
import UploadFile from '@/components/UploadFile'
// 支持预览的文件后缀
const CAN_PREVIEW_FILE_SUFFIX = ['jpg', 'jpeg', 'png', 'pdf', 'doc', 'docx', 'xls', 'xlsx', 'ppt', 'pptx']
const FILE_TYPE_IMGS = ['jpg', 'jpeg', 'png', 'raw']
const FILE_TYPE_PDF = 'pdf'
export default {
name: 'AssessmentLookModal',
components: { UploadFile },