|
|
@ -50,7 +50,7 @@ |
|
|
<el-input :rows="4" v-model="dataForm.advice" type="textarea" placeholder="请您填写居民诉求的处理情况及答复意见,向居民公开展示,500字以内"></el-input> |
|
|
<el-input :rows="4" v-model="dataForm.advice" type="textarea" placeholder="请您填写居民诉求的处理情况及答复意见,向居民公开展示,500字以内"></el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item style="float: right;"> |
|
|
<el-form-item style="float: right;"> |
|
|
<el-button size="small" style="width: 95px" type="primary":disabled="isAble" @click="dataFormSubmitHandle()">{{ $t('confirm') }}</el-button> |
|
|
<el-button size="small" style="width: 95px" type="primary" :disabled="isAble" @click="dataFormSubmitHandle()">{{ $t('confirm') }}</el-button> |
|
|
<el-button size="small" style="width: 95px" @click="backToItemDeal">{{ '返回' }}</el-button> |
|
|
<el-button size="small" style="width: 95px" @click="backToItemDeal">{{ '返回' }}</el-button> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-form> |
|
|
</el-form> |
|
|
@ -182,9 +182,9 @@ export default { |
|
|
if (this.dataForm.advice.length > 500) { |
|
|
if (this.dataForm.advice.length > 500) { |
|
|
return this.$message.error('处理意见不超过500字') |
|
|
return this.$message.error('处理意见不超过500字') |
|
|
} |
|
|
} |
|
|
this.isAble =true |
|
|
this.isAble = true |
|
|
this.$http['post']('/events/epdcevents/review', this.dataForm).then(({ data: res }) => { |
|
|
this.$http['post']('/events/epdcevents/review', this.dataForm).then(({ data: res }) => { |
|
|
this.isAble =false |
|
|
this.isAble = false |
|
|
if (res.code !== 0) { |
|
|
if (res.code !== 0) { |
|
|
return this.$message.error(res.msg) |
|
|
return this.$message.error(res.msg) |
|
|
} |
|
|
} |
|
|
|