修改问题管理编辑
This commit is contained in:
@@ -620,9 +620,6 @@
|
||||
]
|
||||
},
|
||||
formInline: {
|
||||
fileLinkList: [{}],
|
||||
progressTrackingList: [],
|
||||
approvalEvidenceLinkList: [{}],
|
||||
dutyTerritory: undefined,
|
||||
projectId: undefined,
|
||||
problemState: undefined
|
||||
@@ -799,19 +796,21 @@
|
||||
if (this.formInline.problemState == null) {
|
||||
this.formInline.problemState = undefined
|
||||
}
|
||||
if (this.formInline.progressTrackingList == null) {
|
||||
if (!this.formInline.progressTrackingList) {
|
||||
this.formInline.progressTrackingList = []
|
||||
} else {
|
||||
this.formInline.progressTrackingList.forEach(val => {
|
||||
val.isDescription = true
|
||||
})
|
||||
}
|
||||
if (this.formInline.approvalEvidenceLinkList == null) {
|
||||
if (!this.formInline.approvalEvidenceLinkList || (this.formInline.approvalEvidenceLinkList && this.formInline.approvalEvidenceLinkList.length == 0)) {
|
||||
this.formInline.approvalEvidenceLinkList = [{}]
|
||||
}
|
||||
if (this.formInline.fileLinkList == null) {
|
||||
if (!this.formInline.fileLinkList || (this.formInline.fileLinkList && this.formInline.fileLinkList.length == 0)) {
|
||||
this.formInline.fileLinkList = [{}]
|
||||
}
|
||||
this.formInline = {...this.formInline}
|
||||
console.log(this.formInline)
|
||||
this.visible = true
|
||||
this.disabled = false
|
||||
this.templateDisabled = true
|
||||
|
||||
Reference in New Issue
Block a user