问题管理问题修改

This commit is contained in:
高嵩
2023-09-06 11:28:46 +08:00
parent 33acabdb77
commit bfaa8387cd
3 changed files with 24 additions and 2 deletions
@@ -519,6 +519,15 @@ export default {
if(this.formInline.problemState == null){
this.formInline.problemState = undefined
}
if(this.formInline.progressTrackingList == null){
this.formInline.progressTrackingList = [{}]
}
if(this.formInline.approvalEvidenceLinkList == null){
this.formInline.approvalEvidenceLinkList = [{}]
}
if(this.formInline.fileLinkList == null){
this.formInline.fileLinkList = [{}]
}
if(this.formInline.projectId != null){
this.formInline.projectId = this.formInline.projectId.split(',')
}else{
@@ -152,6 +152,9 @@
{{result.problemState ? result.problemState : ''}}
</span>
</div>
<span slot="problemType" slot-scope="text,result">
<span>{{result.flag== 'NEW'?result.problemType_dictText:result.problemType}}</span>
</span>
<span slot="operation" slot-scope="text,record">
<a class="text-operation"
@click="detil(record)">
@@ -249,7 +252,8 @@
dataIndex: 'problemType_dictText',
width: 170,
sorter:true,
ellipsis: true
ellipsis: true,
scopedSlots: { customRender: 'problemType' }
},
{
title: this.$t('statisticalNodes'),
@@ -262,7 +266,7 @@
{
title: this.$t('creator'),
align: 'left',
dataIndex: 'creator',
dataIndex: 'createBy',
width: 100,
sorter:true,
ellipsis: true
@@ -519,6 +519,15 @@ export default {
if(this.formInline.problemState == null){
this.formInline.problemState = undefined
}
if(this.formInline.progressTrackingList == null){
this.formInline.progressTrackingList = [{}]
}
if(this.formInline.approvalEvidenceLinkList == null){
this.formInline.approvalEvidenceLinkList = [{}]
}
if(this.formInline.fileLinkList == null){
this.formInline.fileLinkList = [{}]
}
if(this.formInline.projectId != null){
this.formInline.projectId = this.formInline.projectId.split(',')
}else{