修改市场法规清单详情的更新记录的跳转
This commit is contained in:
@@ -10,12 +10,7 @@
|
|||||||
:loading="loading"
|
:loading="loading"
|
||||||
>
|
>
|
||||||
<span slot="content" slot-scope="text,record">
|
<span slot="content" slot-scope="text,record">
|
||||||
<a-tooltip placement="topLeft" overlayClassName="tooltipColor">
|
<a @click="versionNumClick(record)">{{record.versionNum}}</a>
|
||||||
<template slot="title">
|
|
||||||
<span v-html="text"></span>
|
|
||||||
</template>
|
|
||||||
<span v-html="text"></span>
|
|
||||||
</a-tooltip>
|
|
||||||
</span>
|
</span>
|
||||||
</a-table>
|
</a-table>
|
||||||
<div class="page" v-if="dataSource.length > 0">
|
<div class="page" v-if="dataSource.length > 0">
|
||||||
@@ -36,6 +31,7 @@
|
|||||||
<script>
|
<script>
|
||||||
import { getAction, postAction } from '@/api/manage'
|
import { getAction, postAction } from '@/api/manage'
|
||||||
import { ResizeHeader, ResizeColumnProvide } from '@/mixins/header'
|
import { ResizeHeader, ResizeColumnProvide } from '@/mixins/header'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'versionUpdatedRecordList',
|
name: 'versionUpdatedRecordList',
|
||||||
mixins: [ResizeHeader, ResizeColumnProvide],
|
mixins: [ResizeHeader, ResizeColumnProvide],
|
||||||
@@ -57,7 +53,8 @@
|
|||||||
dataIndex: 'versionNum',
|
dataIndex: 'versionNum',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
width: 100
|
width: 100,
|
||||||
|
scopedSlots: { customRender: 'content' }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('upgradeInstructions'),
|
title: this.$t('upgradeInstructions'),
|
||||||
@@ -116,6 +113,19 @@
|
|||||||
this.loading = false
|
this.loading = false
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
},
|
||||||
|
versionNumClick(row) {
|
||||||
|
let newUrl = this.$router.resolve({
|
||||||
|
path: '/virtualListDetails',
|
||||||
|
query: {
|
||||||
|
name: row.name,
|
||||||
|
useExplain: row.upgradeExplanation,
|
||||||
|
id: row.listId,
|
||||||
|
title: '市场清单详情',
|
||||||
|
isColophon: 'yes'
|
||||||
|
}
|
||||||
|
})
|
||||||
|
window.open(newUrl.href, '_blank')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -474,7 +474,7 @@
|
|||||||
exportTemplate: '/dummy/dummyInventoryInfoEO/exportTemplate',
|
exportTemplate: '/dummy/dummyInventoryInfoEO/exportTemplate',
|
||||||
getSysCategoryTree: '/sys/category/getSysCategoryTree',
|
getSysCategoryTree: '/sys/category/getSysCategoryTree',
|
||||||
logList: '/dummy/dummyLogEO/page',
|
logList: '/dummy/dummyLogEO/page',
|
||||||
versionList:'/log/marketListVersionUpdateLogEO/page',
|
versionList: '/log/marketListVersionUpdateLogEO/page'
|
||||||
},
|
},
|
||||||
loading: false,
|
loading: false,
|
||||||
dataSource: [],
|
dataSource: [],
|
||||||
@@ -722,7 +722,7 @@
|
|||||||
ellipsis: true
|
ellipsis: true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
}
|
||||||
// {
|
// {
|
||||||
// title: this.$t('operation'),
|
// title: this.$t('operation'),
|
||||||
// align: 'left',
|
// align: 'left',
|
||||||
@@ -1067,7 +1067,7 @@
|
|||||||
dictCode: 'duty_territory'//只要 dictCode 有值,无论 type 是什么,都显示为字典下拉框
|
dictCode: 'duty_territory'//只要 dictCode 有值,无论 type 是什么,都显示为字典下拉框
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
firstLevelDutyTerritoryList:[],
|
firstLevelDutyTerritoryList: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
@@ -1130,7 +1130,7 @@
|
|||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
UpdateLogClick() {
|
UpdateLogClick() {
|
||||||
this.$refs.UpdateLogRef.getList({ dummyInventoryBaseId: this.$route.query.id, },
|
this.$refs.UpdateLogRef.getList({ dummyInventoryBaseId: this.$route.query.id },
|
||||||
{ listId: this.$route.query.id, listType: 'Market Regulation List' })
|
{ listId: this.$route.query.id, listType: 'Market Regulation List' })
|
||||||
},
|
},
|
||||||
searchQuery() {
|
searchQuery() {
|
||||||
@@ -1324,7 +1324,13 @@
|
|||||||
pageSize: this.pageSize
|
pageSize: this.pageSize
|
||||||
}
|
}
|
||||||
this.loading = true
|
this.loading = true
|
||||||
getAction(this.url.list, query).then((res) => {
|
let url = ''
|
||||||
|
if (this.$route.query.isColophon && this.$route.query.isColophon == 'yes') {
|
||||||
|
url = '/dummy/dummyInventoryInfoHistoryEO/page'
|
||||||
|
} else {
|
||||||
|
url = this.url.list
|
||||||
|
}
|
||||||
|
getAction(url, query).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
if (res.result.current > 1 && res.result.records.length == 0) {
|
if (res.result.current > 1 && res.result.records.length == 0) {
|
||||||
this.pageNo = 1
|
this.pageNo = 1
|
||||||
@@ -1567,7 +1573,7 @@
|
|||||||
},
|
},
|
||||||
viewFileClick(item) {
|
viewFileClick(item) {
|
||||||
this.$refs.viewFileModelRef.clickButtonToUpload(item)
|
this.$refs.viewFileModelRef.clickButtonToUpload(item)
|
||||||
},
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
@@ -1800,18 +1806,22 @@
|
|||||||
/deep/ .ant-table-column-title {
|
/deep/ .ant-table-column-title {
|
||||||
font-weight: bold !important;
|
font-weight: bold !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
::v-deep .ant-table-thead > tr > th .ant-table-header-column {
|
::v-deep .ant-table-thead > tr > th .ant-table-header-column {
|
||||||
max-width: none !important;
|
max-width: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.viewFile {
|
.viewFile {
|
||||||
color: #00B3BE;
|
color: #00B3BE;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
::v-deep .ant-table-thead > tr > th[colspan]:not([colspan='1']) {
|
::v-deep .ant-table-thead > tr > th[colspan]:not([colspan='1']) {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
padding-left: 16px !important;
|
padding-left: 16px !important;
|
||||||
border-right: 1px solid #e8e8e8;
|
border-right: 1px solid #e8e8e8;
|
||||||
}
|
}
|
||||||
|
|
||||||
.page {
|
.page {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
|
|||||||
Reference in New Issue
Block a user