法规清单-责任人进入项目详情-法规清单中,看不见数据
This commit is contained in:
@@ -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,39 +1998,43 @@
|
|||||||
moduleFlag: '法规清单'
|
moduleFlag: '法规清单'
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.columnsAll = res.result
|
if (res.result && res.result.length > 0) {
|
||||||
for (let j = 0; j < this.columnsAll.length; j++) {
|
this.columnsAll = res.result
|
||||||
for (let i = 0; i < this.column.length; i++) {
|
for (let j = 0; j < this.columnsAll.length; j++) {
|
||||||
if (this.columnsAll[j].title == this.$t('confirmationOfDesignConformity')) {
|
for (let i = 0; i < this.column.length; i++) {
|
||||||
if (this.column[i].title == this.$t('confirmationOfDesignConformity')) {
|
if (this.columnsAll[j].title == this.$t('confirmationOfDesignConformity')) {
|
||||||
if (this.columnsAll[j].children && this.columnsAll[j].children.length > 0) {
|
if (this.column[i].title == this.$t('confirmationOfDesignConformity')) {
|
||||||
for (let k = 0; k < this.columnsAll[j].children.length; k++) {
|
if (this.columnsAll[j].children && this.columnsAll[j].children.length > 0) {
|
||||||
for (let l = 0; l < this.column[i].children.length; l++) {
|
for (let k = 0; k < this.columnsAll[j].children.length; k++) {
|
||||||
if (this.columnsAll[j].children[k].title == this.column[i].children[l].title) {
|
for (let l = 0; l < this.column[i].children.length; l++) {
|
||||||
this.columnsAll[j].children[k] = this.column[i].children[l]
|
if (this.columnsAll[j].children[k].title == this.column[i].children[l].title) {
|
||||||
|
this.columnsAll[j].children[k] = this.column[i].children[l]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
} else if (this.columnsAll[j].title == this.$t('verificationAndConformityconfirmation')) {
|
||||||
} else if (this.columnsAll[j].title == this.$t('verificationAndConformityconfirmation')) {
|
if (this.column[i].title == this.$t('verificationAndConformityconfirmation')) {
|
||||||
if (this.column[i].title == this.$t('verificationAndConformityconfirmation')) {
|
if (this.columnsAll[j].children && this.columnsAll[j].children.length > 0) {
|
||||||
if (this.columnsAll[j].children && this.columnsAll[j].children.length > 0) {
|
for (let k = 0; k < this.columnsAll[j].children.length; k++) {
|
||||||
for (let k = 0; k < this.columnsAll[j].children.length; k++) {
|
for (let l = 0; l < this.column[i].children.length; l++) {
|
||||||
for (let l = 0; l < this.column[i].children.length; l++) {
|
if (this.columnsAll[j].children[k].title == this.column[i].children[l].title) {
|
||||||
if (this.columnsAll[j].children[k].title == this.column[i].children[l].title) {
|
this.columnsAll[j].children[k] = this.column[i].children[l]
|
||||||
this.columnsAll[j].children[k] = this.column[i].children[l]
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
} else {
|
||||||
} else {
|
if (this.column[i].dataIndex == this.columnsAll[j].dataIndex) {
|
||||||
if (this.column[i].dataIndex == this.columnsAll[j].dataIndex) {
|
this.columnsAll[j] = this.column[i]
|
||||||
this.columnsAll[j] = this.column[i]
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
this.columnsAll = this.column
|
||||||
}
|
}
|
||||||
this.columnsAll.push({
|
this.columnsAll.push({
|
||||||
title: this.$t('operation'),
|
title: this.$t('operation'),
|
||||||
|
|||||||
Reference in New Issue
Block a user