Browse Source

更新表单验证失败问题

epdc-admin-dangqun
fengyu 3 years ago
parent
commit
ba980f971e
  1. 7
      src/views/modules/events/item-deal-detail-view.vue

7
src/views/modules/events/item-deal-detail-view.vue

@ -621,7 +621,6 @@ export default {
this.dataForm.handleAdvice = val
},
'postDataForm.handleAdviceRadios': function (val) {
console.log(123)
this.postDataForm.handleAdvice = val
},
@ -642,6 +641,7 @@ export default {
this.showAdvice = false
this.isWhistle = false
this.postDataForm.handleAdviceRadios = '历史遗留暂不具备解决条件的事项'
this.postDataForm.handleAdvice = '历史遗留暂不具备解决条件的事项'
} else {
this.isShowDeal = false
this.showAdvice = true
@ -1153,6 +1153,7 @@ export default {
return this.$message.error('项目处理意见不能为空')
}
if (this.postDataForm.handleAdvice.length > 500) {
return this.$message.error('项目处理意见不能超过500字')
}
if (this.evaluateDeptDTOSVisible) {
@ -1205,8 +1206,8 @@ export default {
item.uid = item.uid + '77000'
})
this.postDataForm.outHandleImagesPC = imagesAttr
this.postDataForm.handleAdvice = this.postDataForm.handleAdviceRadios
this.postDataForm.outHandleImages = this.postDataForm.handleImages
console.log(this.postDataForm)

Loading…
Cancel
Save