[update] 市场法规清单
This commit is contained in:
@@ -87,21 +87,8 @@
|
|||||||
<template v-slot:toDetail="text, record">
|
<template v-slot:toDetail="text, record">
|
||||||
<a-tooltip overlay-class-name="tooltip-style">
|
<a-tooltip overlay-class-name="tooltip-style">
|
||||||
<template slot="title">{{ text || text === 0 ? text : global.emptyLine }}</template>
|
<template slot="title">{{ text || text === 0 ? text : global.emptyLine }}</template>
|
||||||
<div class="table-text">{{ text || text === 0 ? text : global.emptyLine }}</div>
|
<a v-if="text" class="link-a" @click="handleGoDetail(record)">{{ text }}</a>
|
||||||
</a-tooltip>
|
<div v-else class="table-text">{{ global.emptyLine }}</div>
|
||||||
<!--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-tooltip>
|
</a-tooltip>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -208,7 +195,7 @@ export default {
|
|||||||
align: 'center',
|
align: 'center',
|
||||||
width: 180,
|
width: 180,
|
||||||
dataIndex: 'manifestVersion',
|
dataIndex: 'manifestVersion',
|
||||||
scopedSlots: { customRender: 'manifestVersion' }
|
scopedSlots: { customRender: 'text' }
|
||||||
},
|
},
|
||||||
{ // 发布时间
|
{ // 发布时间
|
||||||
title: this.$t('standardRegulationLibrary.marketRegulationsList.releaseTime'),
|
title: this.$t('standardRegulationLibrary.marketRegulationsList.releaseTime'),
|
||||||
@@ -358,11 +345,12 @@ export default {
|
|||||||
},
|
},
|
||||||
// 点击跳转标准详情
|
// 点击跳转标准详情
|
||||||
handleGoDetail (record) {
|
handleGoDetail (record) {
|
||||||
let path = ''
|
const path = '/standardRegulationLibrary/marketRegulationsList/marketRegulationsDetailPage'
|
||||||
this.$openPageNewSheet({
|
this.$openPageNewSheet({
|
||||||
path: path,
|
path: path,
|
||||||
query: {
|
query: {
|
||||||
id: record.id
|
ids: record.id,
|
||||||
|
title: this.$t('view')
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -20,7 +20,7 @@
|
|||||||
<!-- 清单名称 -->
|
<!-- 清单名称 -->
|
||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
<label>{{ $t('standardRegulationLibrary.marketRegulationsList.listName') }}</label>
|
<label>{{ $t('standardRegulationLibrary.marketRegulationsList.listName') }}</label>
|
||||||
<span>{{ model.manifest.mainfestName || global.emptyLine }}</span>
|
<span>{{ model.manifest.manifestName || global.emptyLine }}</span>
|
||||||
</a-col>
|
</a-col>
|
||||||
<!-- 驾驶位置 -->
|
<!-- 驾驶位置 -->
|
||||||
<a-col :span="12">
|
<a-col :span="12">
|
||||||
|
|||||||
+1
-1
@@ -496,7 +496,7 @@ export default {
|
|||||||
showList: false, // 是否展示清单
|
showList: false, // 是否展示清单
|
||||||
url: {
|
url: {
|
||||||
importExcelUrl: '/laws/marketStandardDetail/importExcel',
|
importExcelUrl: '/laws/marketStandardDetail/importExcel',
|
||||||
downTemplateUrl: ''
|
downTemplateUrl: '/laws/marketStandardDetail/downloadTemplate'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user