|
|
@ -74,9 +74,9 @@ |
|
|
</div> --> |
|
|
</div> --> |
|
|
<div :id="`content${index}`" style="line-height:25px; "> |
|
|
<div :id="`content${index}`" style="line-height:25px; "> |
|
|
<div |
|
|
<div |
|
|
:style="{ marginBottom: '10px', width: '35px', height: '20px', fontSize: '12px', borderRadius: '4px', background: item.type === 'project' ? '#009688': item.type === 'issue' ? '#ffa546' : '', color: '#fff', textAlign: 'center', lineHeight: '20px'}" |
|
|
:style="{ marginBottom: '10px', width: '35px', height: '20px', fontSize: '12px', borderRadius: '4px', background: item.type === 'project' ? '#009688': item.type === 'issue' || item.type === 'issue-project' ? '#ffa546' : '', color: '#fff', textAlign: 'center', lineHeight: '20px'}" |
|
|
v-if="item.type !== 'init'"> |
|
|
v-if="item.type !== 'init'"> |
|
|
{{item.type === 'project' ? '项目': item.type === 'issue' ? '议题' : ''}} |
|
|
{{item.type === 'project' ? '项目': item.type === 'issue' || item.type === 'issue-project' ? '议题' : ''}} |
|
|
</div> |
|
|
</div> |
|
|
<div><span style="font-weight: bold; color: rgb(96, 98, 102);">[{{item | formatState}}]</span> {{item.createdTime}}</div> |
|
|
<div><span style="font-weight: bold; color: rgb(96, 98, 102);">[{{item | formatState}}]</span> {{item.createdTime}}</div> |
|
|
<div><span style="font-weight: bold; color: rgb(96, 98, 102);">处理部门:</span>{{item.handlerDept}}</div> |
|
|
<div><span style="font-weight: bold; color: rgb(96, 98, 102);">处理部门:</span>{{item.handlerDept}}</div> |
|
|
@ -164,7 +164,7 @@ export default { |
|
|
filters: { |
|
|
filters: { |
|
|
formatState (item) { |
|
|
formatState (item) { |
|
|
console.log(item) |
|
|
console.log(item) |
|
|
if (item.type === 'project') { |
|
|
if (item.type === 'project' || item.type === 'issue-project') { |
|
|
if (item.state === '0' && item.itemDeptDTOS.length > 0) { |
|
|
if (item.state === '0' && item.itemDeptDTOS.length > 0) { |
|
|
return '吹哨' |
|
|
return '吹哨' |
|
|
} else if (item.state === '0' && item.itemDeptDTOS.length === 0) { |
|
|
} else if (item.state === '0' && item.itemDeptDTOS.length === 0) { |
|
|
@ -236,7 +236,7 @@ export default { |
|
|
} |
|
|
} |
|
|
this.dataForm.handleProgressResultDTOS.forEach((item, index, arr) => { |
|
|
this.dataForm.handleProgressResultDTOS.forEach((item, index, arr) => { |
|
|
if (index === arr.length - 1) { |
|
|
if (index === arr.length - 1) { |
|
|
item.type = 'issue' |
|
|
item.type = 'issue-project' |
|
|
} else { |
|
|
} else { |
|
|
item.type = 'project' |
|
|
item.type = 'project' |
|
|
} |
|
|
} |
|
|
|