修改市场法规清单详情的更新记录的跳转
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')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -68,8 +68,8 @@
|
|||||||
<div class="title-text" :title="$t('areaOfResponsibility')">
|
<div class="title-text" :title="$t('areaOfResponsibility')">
|
||||||
<span>{{$t('areaOfResponsibility')}}</span>
|
<span>{{$t('areaOfResponsibility')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<!-- <j-input class="box-input" :placeholder="$t('PleaseEnter')+$t('subtitle')"-->
|
<!-- <j-input class="box-input" :placeholder="$t('PleaseEnter')+$t('subtitle')"-->
|
||||||
<!-- v-model="queryParam.dutyTerritory"></j-input>-->
|
<!-- v-model="queryParam.dutyTerritory"></j-input>-->
|
||||||
<j-multi-select-tag class="box-input-search" v-model="queryParam.dutyTerritory"
|
<j-multi-select-tag class="box-input-search" v-model="queryParam.dutyTerritory"
|
||||||
:placeholder="$t('PleaseSelect')+$t('areaOfResponsibility')"
|
:placeholder="$t('PleaseSelect')+$t('areaOfResponsibility')"
|
||||||
:type="'select'"
|
:type="'select'"
|
||||||
@@ -137,8 +137,8 @@
|
|||||||
<a-button class="box-button" style="margin-left: 8px" @click="searchReset">{{$t('reset')}}</a-button>
|
<a-button class="box-button" style="margin-left: 8px" @click="searchReset">{{$t('reset')}}</a-button>
|
||||||
<a-button class="box-button" style="margin-left: 8px" type="primary" @click="searchQuery">{{$t('query')}}</a-button>
|
<a-button class="box-button" style="margin-left: 8px" type="primary" @click="searchQuery">{{$t('query')}}</a-button>
|
||||||
<globalAdvancedQuery ref="globalAdvancedQueryRef"
|
<globalAdvancedQuery ref="globalAdvancedQueryRef"
|
||||||
@handleSuperQuery="handleSuperQuery"
|
@handleSuperQuery="handleSuperQuery"
|
||||||
:fieldList="fieldList"/>
|
:fieldList="fieldList"/>
|
||||||
</a-col>
|
</a-col>
|
||||||
</span>
|
</span>
|
||||||
</a-row>
|
</a-row>
|
||||||
@@ -350,9 +350,9 @@
|
|||||||
@showSizeChange="SizeChange"
|
@showSizeChange="SizeChange"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<!-- <div class="buttom-box" v-if="dataSource && dataSource.length > 0">-->
|
<!-- <div class="buttom-box" v-if="dataSource && dataSource.length > 0">-->
|
||||||
<!-- {{$t('total')+' '+this.dataSource.length+' '+ $t('strip')}}-->
|
<!-- {{$t('total')+' '+this.dataSource.length+' '+ $t('strip')}}-->
|
||||||
<!-- </div>-->
|
<!-- </div>-->
|
||||||
</div>
|
</div>
|
||||||
</a-card>
|
</a-card>
|
||||||
</div>
|
</div>
|
||||||
@@ -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,8 +1130,8 @@
|
|||||||
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() {
|
||||||
this.getList()
|
this.getList()
|
||||||
@@ -1235,9 +1235,9 @@
|
|||||||
moduleFlag: this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单'
|
moduleFlag: this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单'
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
if(res.result && res.result.length > 0){
|
if (res.result && res.result.length > 0) {
|
||||||
this.columnsAll = res.result
|
this.columnsAll = res.result
|
||||||
}else{
|
} else {
|
||||||
this.columnsAll = this.column
|
this.columnsAll = this.column
|
||||||
}
|
}
|
||||||
for (let j = 0; j < this.columnsAll.length; j++) {
|
for (let j = 0; j < this.columnsAll.length; j++) {
|
||||||
@@ -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
|
||||||
@@ -1469,7 +1475,7 @@
|
|||||||
edit(item) {
|
edit(item) {
|
||||||
this.$refs.editModelRef.editModel(JSON.parse(JSON.stringify(item)))
|
this.$refs.editModelRef.editModel(JSON.parse(JSON.stringify(item)))
|
||||||
},
|
},
|
||||||
viewClick(item){
|
viewClick(item) {
|
||||||
this.$refs.editModelRef.viewModel(JSON.parse(JSON.stringify(item)))
|
this.$refs.editModelRef.viewModel(JSON.parse(JSON.stringify(item)))
|
||||||
},
|
},
|
||||||
deleteLib(val) {
|
deleteLib(val) {
|
||||||
@@ -1567,13 +1573,13 @@
|
|||||||
},
|
},
|
||||||
viewFileClick(item) {
|
viewFileClick(item) {
|
||||||
this.$refs.viewFileModelRef.clickButtonToUpload(item)
|
this.$refs.viewFileModelRef.clickButtonToUpload(item)
|
||||||
},
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
@import'~@assets/less/common.less';
|
@import '~@assets/less/common.less';
|
||||||
|
|
||||||
.doc-detail {
|
.doc-detail {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
@@ -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