|
|
@ -385,7 +385,6 @@ import 'quill/dist/quill.snow.css' |
|
|
export default { |
|
|
export default { |
|
|
name: 'itemDealDetailView', |
|
|
name: 'itemDealDetailView', |
|
|
data () { |
|
|
data () { |
|
|
|
|
|
|
|
|
return { |
|
|
return { |
|
|
idea: '', |
|
|
idea: '', |
|
|
isWhistle: true, // 吹哨按钮 |
|
|
isWhistle: true, // 吹哨按钮 |
|
|
@ -539,13 +538,13 @@ export default { |
|
|
computed: { |
|
|
computed: { |
|
|
dataRule () { |
|
|
dataRule () { |
|
|
var checkPhone = (rule, value, callback) => { |
|
|
var checkPhone = (rule, value, callback) => { |
|
|
let moblie=/^1(3|4|5|6|7|8|9)\d{9}$/; let tel=/^(0[0-9]{2,3}\-)([2-9][0-9]{4,7})+(\-[0-9]{1,4})?$/; |
|
|
let moblie = /^1(3|4|5|6|7|8|9)\d{9}$/; let tel = /^(0[0-9]{2,3}\-)([2-9][0-9]{4,7})+(\-[0-9]{1,4})?$/ |
|
|
if (!moblie.test(this.postDataForm.handlePeopleMobile) && !tel.test(this.postDataForm.handlePeopleMobile)) { |
|
|
if (!moblie.test(this.postDataForm.handlePeopleMobile) && !tel.test(this.postDataForm.handlePeopleMobile)) { |
|
|
return callback(new Error('请输入正确的手机号或座机号!')); |
|
|
return callback(new Error('请输入正确的手机号或座机号!')) |
|
|
}else{ |
|
|
} else { |
|
|
callback(); |
|
|
callback() |
|
|
} |
|
|
} |
|
|
}; |
|
|
} |
|
|
return { |
|
|
return { |
|
|
handleAdvice: [ |
|
|
handleAdvice: [ |
|
|
{ |
|
|
{ |
|
|
@ -641,12 +640,10 @@ export default { |
|
|
'postDataForm.handleCategoryShow': function (val) { |
|
|
'postDataForm.handleCategoryShow': function (val) { |
|
|
if (this.typeKey == 'community_party') { |
|
|
if (this.typeKey == 'community_party') { |
|
|
if (val == 6) { |
|
|
if (val == 6) { |
|
|
|
|
|
|
|
|
this.isShowDeal = true |
|
|
this.isShowDeal = true |
|
|
this.showAdvice = false |
|
|
this.showAdvice = false |
|
|
this.isWhistle = false |
|
|
this.isWhistle = false |
|
|
this.postDataForm.handleAdviceRadios = '历史遗留暂不具备解决条件的事项' |
|
|
this.postDataForm.handleAdviceRadios = '历史遗留暂不具备解决条件的事项' |
|
|
this.postDataForm.handleAdvice = '历史遗留暂不具备解决条件的事项' |
|
|
|
|
|
} else { |
|
|
} else { |
|
|
this.isShowDeal = false |
|
|
this.isShowDeal = false |
|
|
this.showAdvice = true |
|
|
this.showAdvice = true |
|
|
@ -720,9 +717,9 @@ export default { |
|
|
}/oss/file/uploadImg?token=${Cookies.get('token')}` |
|
|
}/oss/file/uploadImg?token=${Cookies.get('token')}` |
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
cc(){ |
|
|
cc () { |
|
|
console.log(this.dataForm); |
|
|
console.log(this.dataForm) |
|
|
console.log(this.postDataForm) |
|
|
console.log(this.postDataForm) |
|
|
}, |
|
|
}, |
|
|
refreshProgress () { |
|
|
refreshProgress () { |
|
|
this.timeloading = true |
|
|
this.timeloading = true |
|
|
@ -1158,7 +1155,6 @@ export default { |
|
|
return this.$message.error('项目处理意见不能为空') |
|
|
return this.$message.error('项目处理意见不能为空') |
|
|
} |
|
|
} |
|
|
if (this.postDataForm.handleAdvice.length > 500) { |
|
|
if (this.postDataForm.handleAdvice.length > 500) { |
|
|
|
|
|
|
|
|
return this.$message.error('项目处理意见不能超过500字') |
|
|
return this.$message.error('项目处理意见不能超过500字') |
|
|
} |
|
|
} |
|
|
if (this.evaluateDeptDTOSVisible) { |
|
|
if (this.evaluateDeptDTOSVisible) { |
|
|
@ -1212,7 +1208,6 @@ export default { |
|
|
}) |
|
|
}) |
|
|
this.postDataForm.outHandleImagesPC = imagesAttr |
|
|
this.postDataForm.outHandleImagesPC = imagesAttr |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.postDataForm.outHandleImages = this.postDataForm.handleImages |
|
|
this.postDataForm.outHandleImages = this.postDataForm.handleImages |
|
|
console.log(this.postDataForm) |
|
|
console.log(this.postDataForm) |
|
|
|
|
|
|
|
|
|