diff --git a/pagesB/Serviceevaluation/Serviceevaluation.vue b/pagesB/Serviceevaluation/Serviceevaluation.vue index 7cb0830..fd41d41 100644 --- a/pagesB/Serviceevaluation/Serviceevaluation.vue +++ b/pagesB/Serviceevaluation/Serviceevaluation.vue @@ -237,8 +237,10 @@ this.list.openId = this.openId console.log(this.list, '45') - if (this.orderType == "FAMILY_DOCTOR" || this.orderType == "INTEGRAL_EXCHANGE" || this.orderType == - "DIRECT_BUY") { + if (this.orderType == "HEALTH_CONSULTATION" || this.orderType == "INTEGRAL_EXCHANGE" || this.orderType == + "DIRECT_BUY" || this.orderType == "FAMILY_DOCTOR") { + this.list.evaluateSatisfaction=this.evaluateSatisfaction + this.list.compositeScore=this.rateval insertGoodsEvaluate(this.list).then(res => { if (res.code == 200) { this.$refs.uToast.show({ @@ -257,7 +259,7 @@ } }) // 满意度 - } else if (this.orderType == "HEALTH_CONSULTATION" || this.orderType == "APPOINTMENT_ORDER") { + } else if (this.orderType == "APPOINTMENT_ORDER") { var obj = { "patientId": this.list.patientId, "openid": this.list.openId,