修改bug

This commit is contained in:
zyx.net
2022-08-11 16:57:40 +08:00
parent c552d3c390
commit 58a1f5571e
6 changed files with 32 additions and 14 deletions
@@ -211,7 +211,8 @@ export default {
this.$router.push({
path: '/collectionOfRegulatoryOpinions',
query:{
serialNumber:this.item.serialNumber
serialNumber:this.item.serialNumber,
gatherResult:'Completed'
}
})
},
@@ -228,7 +229,8 @@ export default {
this.$router.push({
path: '/technologyAssessment',
query:{
serialNumber:this.item.serialNumber
serialNumber:this.item.serialNumber,
flowStatus:'Completed'
}
})
},
@@ -257,7 +259,7 @@ export default {
id:this.paramsManifestId,
...this.formData
}
downloadFile('/project/lawsComplianceBoard/exportComplianceResultDetail', this.$t('complianceResults')+'.xls', query, this.Deselect)
downloadFile('/project/lawsComplianceBoard/exportComplianceResultDetail', this.item.serialNumber +'.xls', query, this.Deselect)
},
searchQuery() {
this.loadData()
+21 -8
View File
@@ -72,22 +72,29 @@
</div>
</div>
<div>
<!-- calc(100vh - 130px)-->
<a-table
ref="table"
size="middle"
:loading="loading"
:pagination="false"
:scroll="{x: '100%',y:'calc(100vh - 130px)'}"
class="table"
rowKey="id"
:data-source="dataSource"
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
:pagination="false"
:scroll="{x: '100%',y:'calc(100vh - 155px)'}"
:data-source="dataSource"
:loading="loading"
:columns="columns"
@change="tableOnChange"
>
<span slot="technicalField" slot-scope="text,record" :title="text">
<a @click="entryNameClick(record)">
{{ text && text.length > 23 ? text.slice(0, 22) + '...' : text }}
</a>
</span>
<span slot="standard" slot-scope="text,record" :title="text">
{{ text && text.length > 15 ? text.slice(0, 14) + '...' : text }}
</span>
<!-- <span slot="serialNumber" slot-scope="text,record" :title="text">-->
<!-- {{ text && text.length > 15 ? text.slice(0, 14) + '...' : text }}-->
<!-- </span>-->
<span slot="operation" slot-scope="text,record">
<a class="text-operation" @click="handlecody(record)">{{$t('ViewConformanceResults')}}</a>
</span>
@@ -161,13 +168,15 @@ export default {
title: this.$t('standard'),
align: 'center',
dataIndex: 'serialNumber',
width: 180
width: 180,
scopedSlots: { customRender: 'standard' }
},
{
title: this.$t('title'),
align: 'center',
dataIndex: 'title',
width: 180
width: 180,
scopedSlots: { customRender: 'standard' }
},
{
title: this.$t('status'),
@@ -256,7 +265,11 @@ export default {
this.toggleSearchStatus = !this.toggleSearchStatus
},
onSelectChange(value) {
this.selectedRowKeys = value
this.selectedRowKeysArray = this.selectedRowKeys.join(',')
console.log(this.selectedRowKeysArray)
},
tableOnChange(val) {
},
deriveconformanceresults(){
let query = {