修改市场法规清单详情的更新记录的跳转

This commit is contained in:
范强强
2023-10-30 15:38:32 +08:00
parent b533edf18a
commit a1ffe86826
2 changed files with 47 additions and 27 deletions
@@ -68,8 +68,8 @@
<div class="title-text" :title="$t('areaOfResponsibility')">
<span>{{$t('areaOfResponsibility')}}</span>
</div>
<!-- <j-input class="box-input" :placeholder="$t('PleaseEnter')+$t('subtitle')"-->
<!-- v-model="queryParam.dutyTerritory"></j-input>-->
<!-- <j-input class="box-input" :placeholder="$t('PleaseEnter')+$t('subtitle')"-->
<!-- v-model="queryParam.dutyTerritory"></j-input>-->
<j-multi-select-tag class="box-input-search" v-model="queryParam.dutyTerritory"
:placeholder="$t('PleaseSelect')+$t('areaOfResponsibility')"
: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" type="primary" @click="searchQuery">{{$t('query')}}</a-button>
<globalAdvancedQuery ref="globalAdvancedQueryRef"
@handleSuperQuery="handleSuperQuery"
:fieldList="fieldList"/>
@handleSuperQuery="handleSuperQuery"
:fieldList="fieldList"/>
</a-col>
</span>
</a-row>
@@ -350,9 +350,9 @@
@showSizeChange="SizeChange"
/>
</div>
<!-- <div class="buttom-box" v-if="dataSource && dataSource.length > 0">-->
<!-- {{$t('total')+' '+this.dataSource.length+' '+ $t('strip')}}-->
<!-- </div>-->
<!-- <div class="buttom-box" v-if="dataSource && dataSource.length > 0">-->
<!-- {{$t('total')+' '+this.dataSource.length+' '+ $t('strip')}}-->
<!-- </div>-->
</div>
</a-card>
</div>
@@ -474,7 +474,7 @@
exportTemplate: '/dummy/dummyInventoryInfoEO/exportTemplate',
getSysCategoryTree: '/sys/category/getSysCategoryTree',
logList: '/dummy/dummyLogEO/page',
versionList:'/log/marketListVersionUpdateLogEO/page',
versionList: '/log/marketListVersionUpdateLogEO/page'
},
loading: false,
dataSource: [],
@@ -722,7 +722,7 @@
ellipsis: true
}
]
},
}
// {
// title: this.$t('operation'),
// align: 'left',
@@ -1067,7 +1067,7 @@
dictCode: 'duty_territory'//只要 dictCode 有值,无论 type 是什么,都显示为字典下拉框
}
],
firstLevelDutyTerritoryList:[],
firstLevelDutyTerritoryList: []
}
},
created() {
@@ -1130,8 +1130,8 @@
this.getList()
},
UpdateLogClick() {
this.$refs.UpdateLogRef.getList({ dummyInventoryBaseId: this.$route.query.id, },
{listId:this.$route.query.id,listType:'Market Regulation List'})
this.$refs.UpdateLogRef.getList({ dummyInventoryBaseId: this.$route.query.id },
{ listId: this.$route.query.id, listType: 'Market Regulation List' })
},
searchQuery() {
this.getList()
@@ -1235,9 +1235,9 @@
moduleFlag: this.$route.query.title == '市场清单详情' ? '虚拟清单详情' : '维护清单'
}).then((res) => {
if (res.success) {
if(res.result && res.result.length > 0){
if (res.result && res.result.length > 0) {
this.columnsAll = res.result
}else{
} else {
this.columnsAll = this.column
}
for (let j = 0; j < this.columnsAll.length; j++) {
@@ -1324,7 +1324,13 @@
pageSize: this.pageSize
}
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.result.current > 1 && res.result.records.length == 0) {
this.pageNo = 1
@@ -1469,7 +1475,7 @@
edit(item) {
this.$refs.editModelRef.editModel(JSON.parse(JSON.stringify(item)))
},
viewClick(item){
viewClick(item) {
this.$refs.editModelRef.viewModel(JSON.parse(JSON.stringify(item)))
},
deleteLib(val) {
@@ -1567,13 +1573,13 @@
},
viewFileClick(item) {
this.$refs.viewFileModelRef.clickButtonToUpload(item)
},
}
}
}
</script>
<style lang="less" scoped>
@import'~@assets/less/common.less';
@import '~@assets/less/common.less';
.doc-detail {
background: #fff;
@@ -1800,18 +1806,22 @@
/deep/ .ant-table-column-title {
font-weight: bold !important;
}
::v-deep .ant-table-thead > tr > th .ant-table-header-column {
max-width: none !important;
}
.viewFile {
color: #00B3BE;
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;
padding-left: 16px!important;
padding-left: 16px !important;
border-right: 1px solid #e8e8e8;
}
.page {
text-align: right;
margin-top: 20px;