|
|
@ -147,15 +147,14 @@ |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="回复居民意见:" |
|
|
|
prop="outHandleAdvice"> |
|
|
|
<el-form-item v-if="!hideResident" label="回复居民意见:" prop="outHandleAdvice"> |
|
|
|
<el-input v-model="postDataForm.outHandleAdvice" |
|
|
|
type="textarea" |
|
|
|
maxlength="100" |
|
|
|
show-word-limit |
|
|
|
placeholder="请您选择居民诉求的处理情况及答复意见,向居民公开展示"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="居民意见图片:" v-loading="loading" prop="outHandleImagesPC"> |
|
|
|
<el-form-item v-if="!hideResident" label="居民意见图片:" v-loading="loading" prop="outHandleImagesPC"> |
|
|
|
<el-upload |
|
|
|
:action="uploadUrl" |
|
|
|
:disabled="isAble" |
|
|
@ -345,7 +344,8 @@ export default { |
|
|
|
hideUploadOut: false, |
|
|
|
hideUploadIn: false, |
|
|
|
dialogImageUrl: '', |
|
|
|
dialogVisible: false |
|
|
|
dialogVisible: false, |
|
|
|
hideResident: false |
|
|
|
} |
|
|
|
}, |
|
|
|
mounted () { |
|
|
@ -359,11 +359,17 @@ export default { |
|
|
|
if (item.state === 0 && item.itemDeptDTOS && item.itemDeptDTOS.length > 0) { |
|
|
|
return '吹哨' |
|
|
|
} else if (item.state === 0 && item.itemDeptDTOS && item.itemDeptDTOS.length === 0) { |
|
|
|
return '回应' |
|
|
|
return '办理' |
|
|
|
} else if (item.state === 12) { |
|
|
|
return '响应拟办' |
|
|
|
} else if (item.state === 13) { |
|
|
|
return '直接办理' |
|
|
|
} else if (item.state === 5) { |
|
|
|
return '关闭' |
|
|
|
return '不予受理' |
|
|
|
} else if (item.state === 10) { |
|
|
|
return '结案' |
|
|
|
} else if (item.state === 11) { |
|
|
|
return '结案申请' |
|
|
|
} else if (item.state === 15) { |
|
|
|
return '上报网格化平台' |
|
|
|
} else if (item.state === 20) { |
|
|
@ -386,7 +392,7 @@ export default { |
|
|
|
return '网格化平台-结案' |
|
|
|
} else if (item.state === 85) { |
|
|
|
return '项目延期-审核通过' |
|
|
|
}else if (item.state === 90) { |
|
|
|
} else if (item.state === 90) { |
|
|
|
return '项目熔断-审核通过' |
|
|
|
} |
|
|
|
} else if (item.type === 'issue' || item.type === 'init') { |
|
|
@ -571,6 +577,12 @@ export default { |
|
|
|
if (this.dataForm.handleResultDTOS.length === 0 && this.dataForm.handlerDeptIdRule === '' && val === true) { |
|
|
|
return this.$message.error('请先选择操作人部门!') |
|
|
|
} |
|
|
|
// 处理选择【结案申请】时,隐藏居民处理意见 |
|
|
|
if (this.postDataForm.handleCategory === 11) { |
|
|
|
this.hideResident = true |
|
|
|
} else { |
|
|
|
this.hideResident = false |
|
|
|
} |
|
|
|
}, |
|
|
|
changeHandle (value, selectedData) { |
|
|
|
this.postDataForm.handlerDept = this.$refs['name'].getCheckedNodes()[0].label |
|
|
@ -668,11 +680,11 @@ export default { |
|
|
|
}, |
|
|
|
deleteComment (val) { |
|
|
|
this.$confirm('确定要屏蔽该评论吗?屏蔽后不可恢复。', '提示', { |
|
|
|
confirmButtonText: '确定', |
|
|
|
cancelButtonText: '取消', |
|
|
|
type: 'warning' |
|
|
|
confirmButtonText: '确定', |
|
|
|
cancelButtonText: '取消', |
|
|
|
type: 'warning' |
|
|
|
}).then(() => { |
|
|
|
this.$http['post']('/events/item/deleteComment', { commentIds: [val] }).then(({ data: res }) => { |
|
|
|
this.$http['post']('/events/item/deleteComment', { commentIds: [val] }).then(({ data: res }) => { |
|
|
|
if (res.code !== 0) { |
|
|
|
return this.$message.error(res.msg) |
|
|
|
} |
|
|
@ -732,10 +744,10 @@ export default { |
|
|
|
} else { |
|
|
|
this.postDataForm.deptResultDTOS = [] |
|
|
|
} |
|
|
|
if (this.postDataForm.outHandleAdvice === '') { |
|
|
|
if (this.postDataForm.outHandleAdvice === '' && this.postDataForm.handleCategory !== '11') { |
|
|
|
return this.$message.error('回复居民意见不能为空') |
|
|
|
} |
|
|
|
if (this.postDataForm.outHandleAdvice.length > 500) { |
|
|
|
if (this.postDataForm.outHandleAdvice.length > 500 && this.postDataForm.handleCategory !== '11') { |
|
|
|
return this.$message.error('回复居民意见不能超过500字') |
|
|
|
} |
|
|
|
if (this.postDataForm.handleAdvice === '') { |
|
|
|