法规清单-责任人进入项目详情-法规清单中,看不见数据

This commit is contained in:
范强强
2023-03-27 14:31:59 +08:00
parent 4a216291ba
commit 0e69863928
@@ -761,14 +761,14 @@
scopedSlots: { customRender: 'verifyDeliverableTemplateName' } scopedSlots: { customRender: 'verifyDeliverableTemplateName' }
} }
] ]
},
{
title: this.$t('operation'),
align: 'left',
fixed: 'right',
width: 260,
scopedSlots: { customRender: 'operation' }
} }
// {
// title: this.$t('operation'),
// align: 'left',
// fixed: 'right',
// width: 260,
// scopedSlots: { customRender: 'operation' }
// }
], ],
columnsAll: [], columnsAll: [],
columnsFileAll: [ columnsFileAll: [
@@ -1998,6 +1998,7 @@
moduleFlag: '法规清单' moduleFlag: '法规清单'
}).then((res) => { }).then((res) => {
if (res.success) { if (res.success) {
if (res.result && res.result.length > 0) {
this.columnsAll = res.result this.columnsAll = res.result
for (let j = 0; j < this.columnsAll.length; j++) { for (let j = 0; j < this.columnsAll.length; j++) {
for (let i = 0; i < this.column.length; i++) { for (let i = 0; i < this.column.length; i++) {
@@ -2032,6 +2033,9 @@
} }
} }
} }
} else {
this.columnsAll = this.column
}
this.columnsAll.push({ this.columnsAll.push({
title: this.$t('operation'), title: this.$t('operation'),
align: 'left', align: 'left',