Browse Source

eslint代码格式化

master
yujintao 6 years ago
parent
commit
1c1da7a021
  1. 6
      src/views/modules/events/issue-review-detail-view.vue

6
src/views/modules/events/issue-review-detail-view.vue

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

Loading…
Cancel
Save