对接为符合项导出

This commit is contained in:
qq787203167
2022-05-12 10:07:04 +08:00
parent 09b6dff601
commit fff7d43cc4
@@ -20,6 +20,18 @@
v-model="queryParam.title"></j-input> v-model="queryParam.title"></j-input>
</div> </div>
</a-col> </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"> <a-col :md="6" :sm="8">
<div class="box-title-text"> <div class="box-title-text">
<div class="title-text" :title="$t('ProcessType')"> <div class="title-text" :title="$t('ProcessType')">
@@ -47,7 +59,6 @@
</a-select> </a-select>
</div> </div>
</a-col> </a-col>
<template v-if="toggleSearchStatus">
<a-col :md="6" :sm="8"> <a-col :md="6" :sm="8">
<div class="box-title-text"> <div class="box-title-text">
<div class="title-text" :title="$t('RelatedItems')"> <div class="title-text" :title="$t('RelatedItems')">
@@ -183,27 +194,38 @@
{ {
title: this.$t('standard'), title: this.$t('standard'),
align: 'center', align: 'center',
dataIndex: 'serialNumber' dataIndex: 'serialNumber',
ellipsis: true
}, },
{ {
title: this.$t('title'), title: this.$t('title'),
align: 'center', align: 'center',
dataIndex: 'title' dataIndex: 'title',
ellipsis: true
},
{
title: this.$t('areaOfResponsibility'),
align: 'center',
dataIndex: 'dutyTerritory_dictText',
ellipsis: true
}, },
{ {
title: this.$t('ProcessType'), title: this.$t('ProcessType'),
align: 'center', align: 'center',
dataIndex: 'flowType' dataIndex: 'flowType',
ellipsis: true
}, },
{ {
title: this.$t('RelatedItems'), title: this.$t('RelatedItems'),
align: 'center', align: 'center',
dataIndex: 'projectName' dataIndex: 'projectName',
ellipsis: true
}, },
{ {
title: this.$t('problemType'), title: this.$t('problemType'),
align: 'center', align: 'center',
dataIndex: 'problemType' dataIndex: 'problemType',
ellipsis: true
}, },
{ {
title: this.$t('Sponsor'), title: this.$t('Sponsor'),
@@ -221,7 +243,7 @@
pageNo: 1, pageNo: 1,
url: { url: {
page: '/project/ncrTrackController/queryPage', page: '/project/ncrTrackController/queryPage',
exportData: '' exportData: '/project/ncrTrackController/exportData'
} }
} }
}, },
@@ -287,7 +309,10 @@
...this.queryParam, ...this.queryParam,
ids: selectedRowKeys.join(',') 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) { PersonnelSelectionChange(value, id) {
this.queryParam[value] = id this.queryParam[value] = id