|
|
|
@ -2,9 +2,9 @@ |
|
|
|
<div class="project-handle"> |
|
|
|
<el-form :model="dataForm" ref="dataForm" style="width: 100%; height: 100%;"> |
|
|
|
<div class="project-detail"> |
|
|
|
<div class="project-detail-tip">议题详情</div> |
|
|
|
<div class="project-detail-tip">项目详情</div> |
|
|
|
<el-form label-position="right" label-width="145px"> |
|
|
|
<el-form-item label="议题内容:"> |
|
|
|
<el-form-item label="项目内容:"> |
|
|
|
<div>{{dataForm.itemContent}}</div> |
|
|
|
<el-image v-for="url in dataForm.images" |
|
|
|
style="width: 100px; height: 100px; margin-right: 10px" |
|
|
|
@ -181,11 +181,17 @@ export default { |
|
|
|
} else if (item.state === 0 && item.itemDeptDTOS && item.itemDeptDTOS.length === 0) { |
|
|
|
return '回应' |
|
|
|
} else if (item.state === 5) { |
|
|
|
return '关闭' |
|
|
|
return '不予受理' |
|
|
|
} else if (item.state === 10) { |
|
|
|
return '结案' |
|
|
|
} else if (item.state === 11) { |
|
|
|
return '结案申请' |
|
|
|
} else if (item.state === 12) { |
|
|
|
return '响应拟办' |
|
|
|
} else if (item.state === 13) { |
|
|
|
return '直接办理' |
|
|
|
} else if (item.state === 15) { |
|
|
|
return '上报网格化平台' |
|
|
|
return '社区吹哨' |
|
|
|
} else if (item.state === 20) { |
|
|
|
return '网格化平台-受理' |
|
|
|
} else if (item.state === 25) { |
|
|
|
@ -246,30 +252,30 @@ export default { |
|
|
|
this.previewImgList.push(url) |
|
|
|
}, |
|
|
|
deleteComment (val) { |
|
|
|
this.$confirm('是否屏蔽评论?', '提示', { |
|
|
|
confirmButtonText: '确定', |
|
|
|
cancelButtonText: '取消', |
|
|
|
type: 'warning' |
|
|
|
}).then(() => { |
|
|
|
this.$http['post']('/events/item/deleteComment', { commentIds: [val] }).then(({ data: res }) => { |
|
|
|
if (res.code !== 0) { |
|
|
|
return this.$message.error(res.msg) |
|
|
|
} |
|
|
|
this.$message({ |
|
|
|
message: this.$t('prompt.success'), |
|
|
|
type: 'success', |
|
|
|
duration: 500, |
|
|
|
onClose: () => { |
|
|
|
this.getCommentList() |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
}).catch(() => { |
|
|
|
this.$message({ |
|
|
|
type: 'info', |
|
|
|
message: '已取消屏蔽' |
|
|
|
}); |
|
|
|
}); |
|
|
|
this.$confirm('是否屏蔽评论?', '提示', { |
|
|
|
confirmButtonText: '确定', |
|
|
|
cancelButtonText: '取消', |
|
|
|
type: 'warning' |
|
|
|
}).then(() => { |
|
|
|
this.$http['post']('/events/item/deleteComment', { commentIds: [val] }).then(({ data: res }) => { |
|
|
|
if (res.code !== 0) { |
|
|
|
return this.$message.error(res.msg) |
|
|
|
} |
|
|
|
this.$message({ |
|
|
|
message: this.$t('prompt.success'), |
|
|
|
type: 'success', |
|
|
|
duration: 500, |
|
|
|
onClose: () => { |
|
|
|
this.getCommentList() |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
}).catch(() => { |
|
|
|
this.$message({ |
|
|
|
type: 'info', |
|
|
|
message: '已取消屏蔽' |
|
|
|
}) |
|
|
|
}) |
|
|
|
}, |
|
|
|
getInfo () { |
|
|
|
this.$http.get(`/events/item/contentDetail/${this.dataForm.id}`).then(({ data: res }) => { |
|
|
|
@ -281,11 +287,12 @@ export default { |
|
|
|
...res.data |
|
|
|
} |
|
|
|
this.dataForm.handleProgressResultDTOS.forEach((item, index, arr) => { |
|
|
|
if (index === arr.length - 1) { |
|
|
|
item.type = 'issue-project' |
|
|
|
} else { |
|
|
|
item.type = 'project' |
|
|
|
} |
|
|
|
// if (index === arr.length - 1) { |
|
|
|
// item.type = 'issue-project' |
|
|
|
// } else { |
|
|
|
// item.type = 'project' |
|
|
|
// } |
|
|
|
item.type = 'project' |
|
|
|
}) |
|
|
|
this.dataForm.issueProgressResultDTOS.forEach((item, index, arr) => { |
|
|
|
if (index === arr.length - 1) { |
|
|
|
|