对接为符合项导出
This commit is contained in:
@@ -20,6 +20,18 @@
|
||||
v-model="queryParam.title"></j-input>
|
||||
</div>
|
||||
</a-col>
|
||||
<a-col :md="6" :sm="8">
|
||||
<div class="box-title-text">
|
||||
<div class="title-text" style="width: 64px" :title="$t('areaOfResponsibility')">
|
||||
<span>{{$t('areaOfResponsibility')}}</span>
|
||||
</div>
|
||||
<j-dict-select-tag class="box-input" v-model="queryParam.dutyTerritory"
|
||||
:placeholder="$t('PleaseSelect')+$t('areaOfResponsibility')"
|
||||
:type="'select'"
|
||||
:triggerChange="false" :dictCode="'duty_territory'"/>
|
||||
</div>
|
||||
</a-col>
|
||||
<template v-if="toggleSearchStatus">
|
||||
<a-col :md="6" :sm="8">
|
||||
<div class="box-title-text">
|
||||
<div class="title-text" :title="$t('ProcessType')">
|
||||
@@ -47,7 +59,6 @@
|
||||
</a-select>
|
||||
</div>
|
||||
</a-col>
|
||||
<template v-if="toggleSearchStatus">
|
||||
<a-col :md="6" :sm="8">
|
||||
<div class="box-title-text">
|
||||
<div class="title-text" :title="$t('RelatedItems')">
|
||||
@@ -183,27 +194,38 @@
|
||||
{
|
||||
title: this.$t('standard'),
|
||||
align: 'center',
|
||||
dataIndex: 'serialNumber'
|
||||
dataIndex: 'serialNumber',
|
||||
ellipsis: true
|
||||
},
|
||||
{
|
||||
title: this.$t('title'),
|
||||
align: 'center',
|
||||
dataIndex: 'title'
|
||||
dataIndex: 'title',
|
||||
ellipsis: true
|
||||
},
|
||||
{
|
||||
title: this.$t('areaOfResponsibility'),
|
||||
align: 'center',
|
||||
dataIndex: 'dutyTerritory_dictText',
|
||||
ellipsis: true
|
||||
},
|
||||
{
|
||||
title: this.$t('ProcessType'),
|
||||
align: 'center',
|
||||
dataIndex: 'flowType'
|
||||
dataIndex: 'flowType',
|
||||
ellipsis: true
|
||||
},
|
||||
{
|
||||
title: this.$t('RelatedItems'),
|
||||
align: 'center',
|
||||
dataIndex: 'projectName'
|
||||
dataIndex: 'projectName',
|
||||
ellipsis: true
|
||||
},
|
||||
{
|
||||
title: this.$t('problemType'),
|
||||
align: 'center',
|
||||
dataIndex: 'problemType'
|
||||
dataIndex: 'problemType',
|
||||
ellipsis: true
|
||||
},
|
||||
{
|
||||
title: this.$t('Sponsor'),
|
||||
@@ -221,7 +243,7 @@
|
||||
pageNo: 1,
|
||||
url: {
|
||||
page: '/project/ncrTrackController/queryPage',
|
||||
exportData: ''
|
||||
exportData: '/project/ncrTrackController/exportData'
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -287,7 +309,10 @@
|
||||
...this.queryParam,
|
||||
ids: selectedRowKeys.join(',')
|
||||
}
|
||||
downloadFile(this.url.exportData, this.$route.query.projectName + this.$t('listOfRegulations') + '.zip', query, this.Deselect)
|
||||
downloadFile(this.url.exportData, this.$t('NonConformance') + '.xls', query, this.Deselect)
|
||||
},
|
||||
Deselect() {
|
||||
this.selectedRowKeys = []
|
||||
},
|
||||
PersonnelSelectionChange(value, id) {
|
||||
this.queryParam[value] = id
|
||||
|
||||
Reference in New Issue
Block a user