|
|
|
@ -164,7 +164,7 @@ export default { |
|
|
|
filters: { |
|
|
|
formatState (item) { |
|
|
|
console.log(item) |
|
|
|
if (item.type === 'project' || item.type === 'issue-project') { |
|
|
|
if (item.type === 'project') { |
|
|
|
if (item.state === '0' && item.itemDeptDTOS.length > 0) { |
|
|
|
return '吹哨' |
|
|
|
} else if (item.state === '0' && item.itemDeptDTOS.length === 0) { |
|
|
|
@ -182,6 +182,8 @@ export default { |
|
|
|
} else if (item.state === '2') { |
|
|
|
return '关闭' |
|
|
|
} |
|
|
|
} else if (item.type === 'issue-project') { |
|
|
|
return '转项目' |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
@ -248,8 +250,7 @@ export default { |
|
|
|
item.type = 'issue' |
|
|
|
} |
|
|
|
}) |
|
|
|
const issueList = this.dataForm.issueProgressResultDTOS.reverse() |
|
|
|
this.timeLineList = [...this.dataForm.handleProgressResultDTOS, ...issueList] |
|
|
|
this.timeLineList = [...this.dataForm.handleProgressResultDTOS, ...this.dataForm.issueProgressResultDTOS] |
|
|
|
console.log('timelinelist', this.timeLineList) |
|
|
|
this.$nextTick(() => { |
|
|
|
this.timeLineList.forEach((item, index) => { |
|
|
|
|