|
|
@@ -60,13 +60,13 @@
|
|
60
|
60
|
methods: {
|
|
61
|
61
|
submit(ref,state) {
|
|
62
|
62
|
this.disabledButton = true
|
|
63
|
|
- if(this.stateType == 0 && (this.valiFormData.attitude >= 3 || this.valiFormData.quality >= 3 || this.valiFormData.finishTime >= 3)) {
|
|
|
63
|
+ if(this.stateType == 0 && (this.valiFormData.attitude < 3 || this.valiFormData.quality < 3 || this.valiFormData.finishTime < 3)) {
|
|
64
|
64
|
if(!this.valiFormData.content) {
|
|
65
|
65
|
this.$mHelper.toast('请输入评价内容')
|
|
66
|
66
|
this.disabledButton = false
|
|
67
|
67
|
return
|
|
68
|
68
|
}
|
|
69
|
|
- }else if(this.stateType == 1 && this.valiFormData.attitude >= 3) {
|
|
|
69
|
+ }else if(this.stateType == 1 && this.valiFormData.attitude < 3) {
|
|
70
|
70
|
if(!this.valiFormData.content) {
|
|
71
|
71
|
this.$mHelper.toast('请输入评价内容')
|
|
72
|
72
|
this.disabledButton = false
|