Browse Source

修改项目进展样式

master
lihenian 6 years ago
parent
commit
2b036cf75b
  1. 7
      src/views/modules/events/item-close-detail-view.vue

7
src/views/modules/events/item-close-detail-view.vue

@ -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) => {

Loading…
Cancel
Save