修改消息标题展示

法规预警增加跳转文档库
This commit is contained in:
sunFlower
2022-11-09 13:50:03 +08:00
parent 8192de0fb2
commit 92618c37b8
4 changed files with 20 additions and 8 deletions
@@ -38,6 +38,9 @@
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
:columns="columns"
>
<span slot="serial_number" slot-scope="text,result">
<a @click="standClick(result)" :title="text">{{text}}</a>
</span>
<span slot="vehicleInProductionDate" slot-scope="text,result">
<span v-if="result.xin1_che1_xing2_shi2_shi1_ri4_qi1 == 'yellow'">
{{text}}
@@ -164,7 +167,7 @@
dataIndex: 'title',
ellipsis: true,
width: 170,
scopedSlots: { customRender: 'titleName' }
scopedSlots: { customRender: 'serial_number' }
},
{
title: this.$t('status'),
@@ -244,6 +247,15 @@
eventBUs.$off('searchQuery')
},
methods: {
standClick(val){
let newUrl = this.$router.resolve({
path: '/docManage/library/detail',
query: {
id: val.id
}
})
window.open(newUrl.href, '_blank')
},
callback(tab) {
this.selectedRowKeys = []
this.activeTab = tab