[update] 标准法规符合性排查中佐证材料查看改成弹框查看
This commit is contained in:
+11
-7
@@ -15,24 +15,25 @@
|
||||
|
||||
<!-- 佐证材料 -->
|
||||
<template v-slot:material="{text, record}">
|
||||
<a-tooltip overlay-class-name="tooltip-style">
|
||||
<template slot="title">{{ text || text === 0 ? record.material_dictText : global.emptyLine }}</template>
|
||||
<a v-if="text" class="link-a" @click="previewFile(record)">{{ record.material_dictText }}</a>
|
||||
<div v-else class="table-text">{{ global.emptyLine }}</div>
|
||||
</a-tooltip>
|
||||
<a v-if="text" class="link-a" @click="handleMaterialClick(record)">{{ $t('view') }}</a>
|
||||
<div v-else class="table-text">{{ global.emptyLine }}</div>
|
||||
</template>
|
||||
|
||||
</j-table>
|
||||
<!-- 文件列表查看 -->
|
||||
<upload-file ref="uploadFile" disabled></upload-file>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import JTable from '@/components/jero/JTable'
|
||||
import UploadFile from '@/components/UploadFile'
|
||||
|
||||
export default {
|
||||
name: 'FinishAuditBaseInfo',
|
||||
components: {
|
||||
JTable
|
||||
JTable,
|
||||
UploadFile
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
@@ -185,10 +186,13 @@ export default {
|
||||
},
|
||||
// 外层获取数据要过校验,返回false表示没有通过校验
|
||||
async getDataValidate () {
|
||||
let data = {}
|
||||
const data = {}
|
||||
data.detailInfoList = JSON.parse(JSON.stringify(this.dataSource))
|
||||
return data
|
||||
},
|
||||
handleMaterialClick (record) {
|
||||
this.$refs.uploadFile.open(record.material)
|
||||
},
|
||||
handleTableChange (pagination, filters, sorter) {
|
||||
// 分页、排序、筛选变化时触发
|
||||
this.ipagination = pagination
|
||||
|
||||
+9
-6
@@ -22,11 +22,8 @@
|
||||
|
||||
<!-- 佐证材料 -->
|
||||
<template v-slot:material="{text, record}">
|
||||
<a-tooltip overlay-class-name="tooltip-style">
|
||||
<template slot="title">{{ text || text === 0 ? record.material_dictText : global.emptyLine }}</template>
|
||||
<a v-if="text" class="link-a" @click="previewFile(record)">{{ record.material_dictText }}</a>
|
||||
<div v-else class="table-text">{{ global.emptyLine }}</div>
|
||||
</a-tooltip>
|
||||
<a v-if="text" class="link-a" @click="handleMaterialClick(record)">{{ $t('view') }}</a>
|
||||
<div v-else class="table-text">{{ global.emptyLine }}</div>
|
||||
</template>
|
||||
|
||||
<!-- 操作栏 -->
|
||||
@@ -96,6 +93,8 @@
|
||||
</a-form-model>
|
||||
<!-- 编辑弹框 -->
|
||||
<main-finder-collect-edit-modal ref="editRef" @ok="editOk"/>
|
||||
<!-- 文件列表查看 -->
|
||||
<upload-file ref="uploadFile" disabled></upload-file>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -104,10 +103,11 @@ import JTable from '@/components/jero/JTable'
|
||||
import UserSelection from '@/components/selection/UserSelection'
|
||||
import { downFile } from '../../../../api/manage'
|
||||
import MainFinderCollectEditModal from './MainFinderCollectEditModal'
|
||||
import UploadFile from '@/components/UploadFile'
|
||||
|
||||
export default {
|
||||
name: 'MainFinderCollectBaseInfo',
|
||||
components: { JTable, UserSelection, MainFinderCollectEditModal },
|
||||
components: { JTable, UserSelection, MainFinderCollectEditModal, UploadFile },
|
||||
props: {
|
||||
disabled: {
|
||||
type: Boolean,
|
||||
@@ -319,6 +319,9 @@ export default {
|
||||
handleTableChange (pagination) {
|
||||
this.ipagination = pagination
|
||||
},
|
||||
handleMaterialClick (record) {
|
||||
this.$refs.uploadFile.open(record.material)
|
||||
},
|
||||
handleExportXls (fileName, fileSuffix = '.xls') {
|
||||
if (!fileName || typeof fileName !== 'string') {
|
||||
fileName = this.$t('exportFile')
|
||||
|
||||
+11
-7
@@ -22,25 +22,26 @@
|
||||
|
||||
<!-- 佐证材料 -->
|
||||
<template v-slot:material="{text, record}">
|
||||
<a-tooltip overlay-class-name="tooltip-style">
|
||||
<template slot="title">{{ text || text === 0 ? record.material_dictText : global.emptyLine }}</template>
|
||||
<a v-if="text" class="link-a" @click="previewFile(record)">{{ record.material_dictText }}</a>
|
||||
<div v-else class="table-text">{{ global.emptyLine }}</div>
|
||||
</a-tooltip>
|
||||
<a v-if="text" class="link-a" @click="handleMaterialClick(record)">{{ $t('view') }}</a>
|
||||
<div v-else class="table-text">{{ global.emptyLine }}</div>
|
||||
</template>
|
||||
|
||||
</j-table>
|
||||
<!-- 文件列表查看 -->
|
||||
<upload-file ref="uploadFile" disabled></upload-file>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import JTable from '@/components/jero/JTable'
|
||||
import { downFile } from '../../../../api/manage'
|
||||
import UploadFile from '@/components/UploadFile'
|
||||
|
||||
export default {
|
||||
name: 'MainFinderSingleAuditBaseInfo',
|
||||
components: {
|
||||
JTable
|
||||
JTable,
|
||||
UploadFile
|
||||
},
|
||||
props: {
|
||||
disabled: {
|
||||
@@ -203,13 +204,16 @@ export default {
|
||||
},
|
||||
// 外层获取数据要过校验,返回false表示没有通过校验
|
||||
async getDataValidate () {
|
||||
let data = {}
|
||||
const data = {}
|
||||
data.detailInfoList = JSON.parse(JSON.stringify(this.dataSource))
|
||||
return data
|
||||
},
|
||||
handleTableChange (pagination) {
|
||||
this.ipagination = pagination
|
||||
},
|
||||
handleMaterialClick (record) {
|
||||
this.$refs.uploadFile.open(record.material)
|
||||
},
|
||||
handleExportXls (fileName, fileSuffix = '.xls') {
|
||||
if (!fileName || typeof fileName !== 'string') {
|
||||
fileName = this.$t('exportFile')
|
||||
|
||||
Reference in New Issue
Block a user