导出历史表头固定
This commit is contained in:
@@ -40,7 +40,7 @@
|
|||||||
:dataSource='areaTable'
|
:dataSource='areaTable'
|
||||||
:pagination='false'
|
:pagination='false'
|
||||||
:loading='loading'
|
:loading='loading'
|
||||||
:scroll="{x: '100%',y:600}"
|
:scroll="{x: '100%',y:370}"
|
||||||
:rowSelection='{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}'
|
:rowSelection='{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}'
|
||||||
@change='handleTableChange'>
|
@change='handleTableChange'>
|
||||||
|
|
||||||
|
|||||||
@@ -232,6 +232,7 @@
|
|||||||
searchReset() {
|
searchReset() {
|
||||||
this.queryParam = {}
|
this.queryParam = {}
|
||||||
this.$route.query.serialNumber = ''
|
this.$route.query.serialNumber = ''
|
||||||
|
this.$route.query.gatherResult = ''
|
||||||
this.pageNo = 1
|
this.pageNo = 1
|
||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -301,6 +301,7 @@
|
|||||||
searchReset() {
|
searchReset() {
|
||||||
this.queryParam = {}
|
this.queryParam = {}
|
||||||
this.$route.query.serialNumber = ''
|
this.$route.query.serialNumber = ''
|
||||||
|
this.$route.query.flowStatus = ''
|
||||||
this.pageNo = 1
|
this.pageNo = 1
|
||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -57,6 +57,30 @@
|
|||||||
:scroll='{x: 600}'
|
:scroll='{x: 600}'
|
||||||
|
|
||||||
@change='handleTableChange'>
|
@change='handleTableChange'>
|
||||||
|
<span slot="status" slot-scope="text,record" :title="text" >
|
||||||
|
<a v-if="record.designFlowTaskStatus_dicText == '符合'" style='color: #26BD4B'>{{ text }}</a>
|
||||||
|
<a v-if="record.designFlowTaskStatus_dicText == '不符合'" style='color: #E83030'>{{ text }}</a>
|
||||||
|
<a v-if="record.designFlowTaskStatus_dicText == '待追踪'" style='color: #FDA71C'>{{ text }}</a>
|
||||||
|
<a v-if="record.designFlowTaskStatus_dicText == '不涉及'" style='color: #707486'>{{ text }}</a>
|
||||||
|
<a v-if="record.designFlowTaskStatus_dicText == '待确认'" style='color: #00B3BE'>{{ text }}</a>
|
||||||
|
<a v-if="record.designFlowTaskStatus_dicText == '任务终止'" style='color: #E83030'>{{ text }}</a>
|
||||||
|
</span>
|
||||||
|
<span slot="statusprehomo" slot-scope="text,record" :title="text" >
|
||||||
|
<a v-if="record.prehomoFlowTaskStatus_dicText == '符合'" style='color: #26BD4B'>{{ text }}</a>
|
||||||
|
<a v-if="record.prehomoFlowTaskStatus_dicText == '不符合'" style='color: #E83030'>{{ text }}</a>
|
||||||
|
<a v-if="record.prehomoFlowTaskStatus_dicText == '待追踪'" style='color: #FDA71C'>{{ text }}</a>
|
||||||
|
<a v-if="record.prehomoFlowTaskStatus_dicText == '不涉及'" style='color: #707486'>{{ text }}</a>
|
||||||
|
<a v-if="record.prehomoFlowTaskStatus_dicText == '待确认'" style='color: #00B3BE'>{{ text }}</a>
|
||||||
|
<a v-if="record.prehomoFlowTaskStatus_dicText == '任务终止'" style='color: #E83030'>{{ text }}</a>
|
||||||
|
</span>
|
||||||
|
<span slot="filstatuse" slot-scope="text,record" :title="text" >
|
||||||
|
<a v-if="record.verifyFlowTaskStatus_dicText == '符合'" style='color: #26BD4B'>{{ text }}</a>
|
||||||
|
<a v-if="record.verifyFlowTaskStatus_dicText == '不符合'" style='color: #E83030'>{{ text }}</a>
|
||||||
|
<a v-if="record.verifyFlowTaskStatus_dicText == '待追踪'" style='color: #FDA71C'>{{ text }}</a>
|
||||||
|
<a v-if="record.verifyFlowTaskStatus_dicText == '不涉及'" style='color: #707486'>{{ text }}</a>
|
||||||
|
<a v-if="record.verifyFlowTaskStatus_dicText == '待确认'" style='color: #00B3BE'>{{ text }}</a>
|
||||||
|
<a v-if="record.verifyFlowTaskStatus_dicText == '任务终止'" style='color: #E83030'>{{ text }}</a>
|
||||||
|
</span>
|
||||||
|
|
||||||
<!-- <template slot="file" slot-scope="text, record">-->
|
<!-- <template slot="file" slot-scope="text, record">-->
|
||||||
<!-- <a class="action-edit" href="javascript:;" @click="dowloadfile(record)" v-has="'bqnrzdpzxlbj'">{{record.exportFileName}}</a>-->
|
<!-- <a class="action-edit" href="javascript:;" @click="dowloadfile(record)" v-has="'bqnrzdpzxlbj'">{{record.exportFileName}}</a>-->
|
||||||
@@ -125,22 +149,24 @@ export default {
|
|||||||
title: this.$t('designComplianceReview'),
|
title: this.$t('designComplianceReview'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 250,
|
width: 250,
|
||||||
dataIndex: 'designStatus_dicText',
|
dataIndex: 'designFlowTaskStatus_dicText',
|
||||||
|
scopedSlots: { customRender: 'status' },
|
||||||
ellipsis: true
|
ellipsis: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('preHomeConfirmation'),
|
title: this.$t('preHomeConfirmation'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 270,
|
width: 270,
|
||||||
dataIndex: 'prehomoStatus_dicText',
|
dataIndex: 'prehomoFlowTaskStatus_dicText',
|
||||||
|
scopedSlots: { customRender: 'statusprehomo' },
|
||||||
ellipsis: true
|
ellipsis: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('verificationComplianceReview'),
|
title: this.$t('verificationComplianceReview'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: 270,
|
width: 270,
|
||||||
dataIndex: 'verifyStatus_dicText',
|
dataIndex: 'verifyFlowTaskStatus_dicText',
|
||||||
scopedSlots: { customRender: 'file' },
|
scopedSlots: { customRender: 'filstatuse' },
|
||||||
ellipsis: true
|
ellipsis: true
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user