对接为符合项导出
This commit is contained in:
@@ -22,32 +22,43 @@
|
|||||||
</a-col>
|
</a-col>
|
||||||
<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" style="width: 64px" :title="$t('areaOfResponsibility')">
|
||||||
<span>{{$t('ProcessType')}}</span>
|
<span>{{$t('areaOfResponsibility')}}</span>
|
||||||
</div>
|
</div>
|
||||||
<a-select allowClear
|
<j-dict-select-tag class="box-input" v-model="queryParam.dutyTerritory"
|
||||||
class="box-input"
|
:placeholder="$t('PleaseSelect')+$t('areaOfResponsibility')"
|
||||||
v-model="queryParam.flowType"
|
:type="'select'"
|
||||||
:placeholder="$t('PleaseSelect')+$t('ProcessType')">
|
:triggerChange="false" :dictCode="'duty_territory'"/>
|
||||||
<a-select-option :value="this.$t('designComplianceReview')">
|
|
||||||
<span class="itemOption">
|
|
||||||
{{ $t('designComplianceReview') }}
|
|
||||||
</span>
|
|
||||||
</a-select-option>
|
|
||||||
<a-select-option :value="this.$t('preHomeConfirmation')">
|
|
||||||
<span class="itemOption">
|
|
||||||
{{ $t('preHomeConfirmation') }}
|
|
||||||
</span>
|
|
||||||
</a-select-option>
|
|
||||||
<a-select-option :value="this.$t('verificationComplianceReview')">
|
|
||||||
<span class="itemOption">
|
|
||||||
{{ $t('verificationComplianceReview') }}
|
|
||||||
</span>
|
|
||||||
</a-select-option>
|
|
||||||
</a-select>
|
|
||||||
</div>
|
</div>
|
||||||
</a-col>
|
</a-col>
|
||||||
<template v-if="toggleSearchStatus">
|
<template v-if="toggleSearchStatus">
|
||||||
|
<a-col :md="6" :sm="8">
|
||||||
|
<div class="box-title-text">
|
||||||
|
<div class="title-text" :title="$t('ProcessType')">
|
||||||
|
<span>{{$t('ProcessType')}}</span>
|
||||||
|
</div>
|
||||||
|
<a-select allowClear
|
||||||
|
class="box-input"
|
||||||
|
v-model="queryParam.flowType"
|
||||||
|
:placeholder="$t('PleaseSelect')+$t('ProcessType')">
|
||||||
|
<a-select-option :value="this.$t('designComplianceReview')">
|
||||||
|
<span class="itemOption">
|
||||||
|
{{ $t('designComplianceReview') }}
|
||||||
|
</span>
|
||||||
|
</a-select-option>
|
||||||
|
<a-select-option :value="this.$t('preHomeConfirmation')">
|
||||||
|
<span class="itemOption">
|
||||||
|
{{ $t('preHomeConfirmation') }}
|
||||||
|
</span>
|
||||||
|
</a-select-option>
|
||||||
|
<a-select-option :value="this.$t('verificationComplianceReview')">
|
||||||
|
<span class="itemOption">
|
||||||
|
{{ $t('verificationComplianceReview') }}
|
||||||
|
</span>
|
||||||
|
</a-select-option>
|
||||||
|
</a-select>
|
||||||
|
</div>
|
||||||
|
</a-col>
|
||||||
<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
|
||||||
|
|||||||
Reference in New Issue
Block a user