[update] 法规符合性评估库
This commit is contained in:
+7
-10
@@ -84,6 +84,13 @@
|
|||||||
:scroll="{x: '100%', y: 'calc(100vh - 500px)'}"
|
:scroll="{x: '100%', y: 'calc(100vh - 500px)'}"
|
||||||
@change="handleTableChange">
|
@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">
|
<template v-slot:material="text, record">
|
||||||
<a v-if="text" class="link-a" @click="handleMaterialClick(record)">{{ $t('view') }}</a>
|
<a v-if="text" class="link-a" @click="handleMaterialClick(record)">{{ $t('view') }}</a>
|
||||||
@@ -99,19 +106,9 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { JeroListMixin } from '@/mixins/JeroListMixin'
|
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 { queryDepartTreeList } from '../../../../api/api'
|
||||||
import { ACCESS_TOKEN } from '@/store/mutation-types'
|
|
||||||
import UploadFile from '@/components/UploadFile'
|
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 {
|
export default {
|
||||||
name: 'AssessmentLookModal',
|
name: 'AssessmentLookModal',
|
||||||
components: { UploadFile },
|
components: { UploadFile },
|
||||||
|
|||||||
Reference in New Issue
Block a user