[update] 市场法规清单

This commit is contained in:
lideqin
2024-07-04 18:30:20 +08:00
parent e50f7c8760
commit 3c2b4f9010
3 changed files with 8 additions and 20 deletions
@@ -87,21 +87,8 @@
<template v-slot:toDetail="text, record">
<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>
<!--TODO 暂时没有跳转这边先正常显示-->
<!--<a-tooltip overlay-class-name="tooltip-style">-->
<!-- <template slot="title">{{ text || text === 0 ? text : global.emptyLine }}</template>-->
<!-- <a v-if="text" class="link-a" @click="handleGoDetail(record)">{{ text }}</a>-->
<!-- <div v-else class="table-text">{{ global.emptyLine }}</div>-->
<!--</a-tooltip>-->
</template>
<!-- 清单版本 -->
<template v-slot:manifestVersion="text">
<a-tooltip overlay-class-name="tooltip-style">
<template slot="title">{{ text || text === 0 ? ('V' + text + '.0') : global.emptyLine }}</template>
<div class="table-text">{{ text || text === 0 ? ('V' + text + '.0') : global.emptyLine }}</div>
<a v-if="text" class="link-a" @click="handleGoDetail(record)">{{ text }}</a>
<div v-else class="table-text">{{ global.emptyLine }}</div>
</a-tooltip>
</template>
@@ -208,7 +195,7 @@ export default {
align: 'center',
width: 180,
dataIndex: 'manifestVersion',
scopedSlots: { customRender: 'manifestVersion' }
scopedSlots: { customRender: 'text' }
},
{ // 发布时间
title: this.$t('standardRegulationLibrary.marketRegulationsList.releaseTime'),
@@ -358,11 +345,12 @@ export default {
},
// 点击跳转标准详情
handleGoDetail (record) {
let path = ''
const path = '/standardRegulationLibrary/marketRegulationsList/marketRegulationsDetailPage'
this.$openPageNewSheet({
path: path,
query: {
id: record.id
ids: record.id,
title: this.$t('view')
}
})
}
@@ -20,7 +20,7 @@
<!-- 清单名称 -->
<a-col :span="12">
<label>{{ $t('standardRegulationLibrary.marketRegulationsList.listName') }}</label>
<span>{{ model.manifest.mainfestName || global.emptyLine }}</span>
<span>{{ model.manifest.manifestName || global.emptyLine }}</span>
</a-col>
<!-- 驾驶位置 -->
<a-col :span="12">
@@ -496,7 +496,7 @@ export default {
showList: false, // 是否展示清单
url: {
importExcelUrl: '/laws/marketStandardDetail/importExcel',
downTemplateUrl: ''
downTemplateUrl: '/laws/marketStandardDetail/downloadTemplate'
}
}
},