对接虚拟清单详情
This commit is contained in:
@@ -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() {
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
<j-dict-select-tag class="box-input" v-model="queryParam.targetMarket"
|
||||
:placeholder="$t('PleaseSelect')+$t('targetMarket')"
|
||||
:type="'select'"
|
||||
:triggerChange="false" :dictCode="''"/>
|
||||
:triggerChange="false" :dictCode="'region'"/>
|
||||
</div>
|
||||
</a-col>
|
||||
<a-col :md="6" :sm="8">
|
||||
@@ -30,7 +30,7 @@
|
||||
<j-dict-select-tag class="box-input" v-model="queryParam.projectStatus"
|
||||
:placeholder="$t('PleaseSelect')+$t('projectStatus')"
|
||||
:type="'select'"
|
||||
:triggerChange="false" :dictCode="''"/>
|
||||
:triggerChange="false" :dictCode="'project_status'"/>
|
||||
</div>
|
||||
</a-col>
|
||||
<template v-if="toggleSearchStatus">
|
||||
@@ -78,7 +78,7 @@
|
||||
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
|
||||
:columns="columns"
|
||||
>
|
||||
<span slot="entryName" slot-scope="text,record">
|
||||
<span slot="projectName" slot-scope="text,record">
|
||||
<a @click="entryNameClick(record)">{{text}}</a>
|
||||
</span>
|
||||
<span slot="operation" slot-scope="text,record">
|
||||
@@ -121,7 +121,13 @@
|
||||
visible: false,
|
||||
dataSource: [],
|
||||
confirmLoading: false,
|
||||
url: {},
|
||||
url: {
|
||||
list:'project/projectLibraryBase/list',
|
||||
add:'project/projectLibraryBase/add',
|
||||
edit:'project/projectLibraryBase/edit',
|
||||
deleteBatch:'project/projectLibraryBase/delete',
|
||||
deleteAll:'project/projectLibraryBase/deleteBatch',
|
||||
},
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
pageNo: 1,
|
||||
@@ -130,8 +136,8 @@
|
||||
{
|
||||
title: this.$t('entryName'),
|
||||
align: 'center',
|
||||
dataIndex: 'entryName',
|
||||
scopedSlots: { customRender: 'entryName' }
|
||||
dataIndex: 'projectName',
|
||||
scopedSlots: { customRender: 'projectName' }
|
||||
},
|
||||
{
|
||||
title: this.$t('targetMarket'),
|
||||
@@ -146,17 +152,17 @@
|
||||
{
|
||||
title: this.$t('StudioEngineer'),
|
||||
align: 'center',
|
||||
dataIndex: 'StudioEngineer'
|
||||
dataIndex: 'studioEngineer'
|
||||
},
|
||||
{
|
||||
title: this.$t('certifiedEngineer'),
|
||||
align: 'center',
|
||||
dataIndex: 'certifiedEngineer'
|
||||
dataIndex: 'certificationEngineer'
|
||||
},
|
||||
{
|
||||
title: this.$t('CertificationTime'),
|
||||
align: 'center',
|
||||
dataIndex: 'CertificationTime'
|
||||
dataIndex: 'createTime'
|
||||
},
|
||||
{
|
||||
title: this.$t('NTplatform'),
|
||||
|
||||
Reference in New Issue
Block a user