|
|
@ -37,8 +37,11 @@ |
|
|
|
<el-form-item label="电话:" prop="mobile"> |
|
|
|
<div>{{dataForm.mobile}}</div> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="所属类别:" prop="categoryName"> |
|
|
|
<!-- <el-form-item label="所属类别:" prop="categoryName"> |
|
|
|
<div>{{dataForm.categoryName}}</div> |
|
|
|
</el-form-item> --> |
|
|
|
<el-form-item label="事件位置:" prop="mobile"> |
|
|
|
<div>{{dataForm.issueAddress}}</div> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="议题态度:"> |
|
|
|
<span>表达态度 {{dataForm.approveNum + dataForm.opposeNum + dataForm.commentNum}}</span> |
|
|
@ -51,7 +54,7 @@ |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
<div class="container"> |
|
|
|
<div class="location"><span style="font-weight: bold;color: #606266">上报位置:</span> {{dataForm.address}}</div> |
|
|
|
<!-- <div class="location"><span style="font-weight: bold;color: #606266">上报位置:</span> {{dataForm.address}}</div> --> |
|
|
|
<div id="map"></div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -266,30 +269,30 @@ export default { |
|
|
|
}) |
|
|
|
}, |
|
|
|
deleteComment (val) { |
|
|
|
this.$confirm('是否屏蔽评论?', '提示', { |
|
|
|
confirmButtonText: '确定', |
|
|
|
cancelButtonText: '取消', |
|
|
|
type: 'warning' |
|
|
|
}).then(() => { |
|
|
|
this.$http['post']('/events/issue/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/issue/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: '已取消屏蔽' |
|
|
|
}) |
|
|
|
}) |
|
|
|
}, |
|
|
|
clickImg (url) { |
|
|
|
this.previewImgList = [] |
|
|
|