对接虚拟清单详情

This commit is contained in:
qq787203167
2022-04-14 17:56:47 +08:00
parent 2c4bd9543b
commit 1d288acfff
3 changed files with 20 additions and 23 deletions
@@ -109,7 +109,7 @@
this.$message.success(this.$t('OperationSuccessful'))
this.visible = false
this.confirmLoading = false
this.$emit('editModelList')
this.$emit('batSettingList')
} else {
this.$message.warning(this.$t('operationFailed'))
this.confirmLoading = false
@@ -239,12 +239,12 @@
{
title: this.$t('certificationType'),
align: 'center',
dataIndex: 'attestationType'
dataIndex: 'attestationType_dictText'
},
{
title: this.$t('certificationLevel'),
align: 'center',
dataIndex: 'attestationRank'
dataIndex: 'attestationRank_dictText'
},
{
title: this.$t('technicalField'),
@@ -254,7 +254,7 @@
{
title: this.$t('areaOfResponsibility'),
align: 'center',
dataIndex: 'dutyTerritory'
dataIndex: 'dutyTerritory_dictText'
},
{
title: this.$t('remarks'),
@@ -332,14 +332,12 @@
],
selectedRowKeys: [],
isTrue: false,
total: 0,
pageSize: 10,
pageNo: 1
}
},
mounted() {
this.title = this.$route.query.title
this.isTrue = this.$route.query.title == '虚拟清单详情' ? false : true
this.getList()
},
computed: {
columns() {
@@ -360,12 +358,10 @@
this.$refs.UpdateLogRef.getList()
},
searchQuery() {
this.pageNo = 1
this.getList()
},
searchReset() {
this.queryParam = {}
this.pageNo = 1
this.getList()
},
//模板下载
@@ -408,17 +404,13 @@
}
},
addModelList() {
this.pageNo = 1
this.getList()
},
editModelList() {
this.pageNo = 1
this.getList()
},
getList() {
let query = {
pageNo: this.pageNo,
pageSize: this.pageSize,
...this.queryParam
}
this.loading = true
@@ -432,7 +424,6 @@
})
},
batSettingList() {
this.pageNo = 1
this.getList()
},
batSettingClick() {