Browse Source

更新表单验证失败问题

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

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

@ -179,6 +179,7 @@
style="width:480px">
<i class="el-icon-plus"></i>
</el-upload>
<el-dialog :visible.sync="dialogVisible">
<img width="100%" :src="dialogImageUrl" alt="">
</el-dialog>
@ -200,7 +201,7 @@
prop="handleAdvice" v-if="showAdvice && typeKey == 'grid_party'">
<el-input v-model="postDataForm.handleAdvice"
type="textarea"
maxlength="100"
maxlength="300"
:rows="6"
show-word-limit
placeholder="网格层面无法办理,请点击“吹哨报到”,写明当前办理情况及无法办理的原因。网格层面已办理完成,请上传照片,点击“结案申请”,写明答复依据、办理结果等要素(态度要真诚、容易接受,语言要朴实简练,杜绝出现错字别字、表述不清等现象,此内容经区级平台核查后,反馈给诉求人)。"></el-input>
@ -211,7 +212,7 @@
prop="handleAdvice" v-if="showAdvice && typeKey == 'community_party'">
<el-input v-model="postDataForm.handleAdvice"
type="textarea"
maxlength="100"
maxlength="300"
:rows="6"
show-word-limit
placeholder="社区层面无法办理,请点击“吹哨报到”,写明当前办理情况及无法办理的原因。社区层面已办理完成,请上传照片,点击“结案申请”,写明答复依据、办理结果等要素(态度要真诚、容易接受,语言要朴实简练,杜绝出现错字别字、表述不清等现象,此内容经区级平台核查后,反馈给诉求人)。"></el-input>
@ -223,7 +224,7 @@
<el-input v-model="postDataForm.handleAdvice"
type="textarea"
:rows="6"
maxlength="100"
maxlength="300"
show-word-limit
:placeholder="'您反映的诉求属于 “ {{postDataForm.handleAdvice}} ” 情形,不属于平台受理范围,感谢您对“北尚诉办”台的持!'"></el-input>
</el-form-item>
@ -601,6 +602,11 @@ export default {
required: true,
message: '请输入办理人办公电话',
trigger: 'blur'
},
{
pattern: /^(0[0-9]{2,3}\-)([2-9][0-9]{4,7})+(\-[0-9]{1,4})?$/,
message: '请输入正确的办公电话',
trigger: 'blur'
}
],
categoryIds: [
@ -617,6 +623,11 @@ export default {
'postDataForm.handleAdvice': function (val) {
this.dataForm.handleAdvice = val
},
'postDataForm.handleAdviceRadios': function (val) {
console.log(123)
this.postDataForm.handleAdvice = val
},
'postDataForm.outHandleAdvice': function (val) {
this.dataForm.outHandleAdvice = val
},
@ -629,6 +640,7 @@ export default {
'postDataForm.handleCategoryShow': function (val) {
if (this.typeKey == 'community_party') {
if (val == 6) {
this.isShowDeal = true
this.showAdvice = false
this.isWhistle = false
@ -706,6 +718,10 @@ export default {
}/oss/file/uploadImg?token=${Cookies.get('token')}`
},
methods: {
cc(){
console.log(this.dataForm);
console.log(this.postDataForm)
},
refreshProgress () {
this.timeloading = true
this.$http

Loading…
Cancel
Save