修改服务记录
This commit is contained in:
parent
a0de8de7b6
commit
ac3328cdae
@ -137,7 +137,7 @@
|
|||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
count: 4,
|
count: 5,
|
||||||
value: 2,
|
value: 2,
|
||||||
tabslist: [{
|
tabslist: [{
|
||||||
name: '全部',
|
name: '全部',
|
||||||
@ -160,7 +160,8 @@
|
|||||||
openId: '',
|
openId: '',
|
||||||
orderNo: '',
|
orderNo: '',
|
||||||
orderSource: 'FAMILY_DOCTOR',
|
orderSource: 'FAMILY_DOCTOR',
|
||||||
evaluateChanne: 'WE_CHAT_APPLET',
|
evaluateChannel: 'WE_CHAT_APPLET',
|
||||||
|
evaluateSatisfaction:'',
|
||||||
},
|
},
|
||||||
query: {
|
query: {
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
@ -174,13 +175,27 @@
|
|||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
const value = uni.getStorageSync('userinfo');
|
const value = uni.getStorageSync('userinfo');
|
||||||
this.query.identity=value.cardNo
|
this.query.identity = value.cardNo
|
||||||
this.info()
|
this.info()
|
||||||
},
|
},
|
||||||
|
watch: { //监听
|
||||||
|
'list.compositeScore'() {
|
||||||
|
if (this.list.compositeScore == 5) {
|
||||||
|
this.list.evaluateSatisfaction = 'VERYSATISFIED'
|
||||||
|
} else if (this.list.compositeScore == 4) {
|
||||||
|
this.list.evaluateSatisfaction = 'SATISFIED'
|
||||||
|
} else if (this.list.compositeScore == 3) {
|
||||||
|
this.list.evaluateSatisfaction = 'COMMONLY'
|
||||||
|
} else if (this.list.compositeScore == 2) {
|
||||||
|
this.list.evaluateSatisfaction = 'DISSATISFIED'
|
||||||
|
} else if (this.list.compositeScore == 1) {
|
||||||
|
this.list.evaluateSatisfaction = 'VERYDISSATISFIED'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
cancel(){
|
cancel() {
|
||||||
this.evaluateshow=false
|
this.evaluateshow = false
|
||||||
},
|
},
|
||||||
submit(item) {
|
submit(item) {
|
||||||
console.log(this.list, '45')
|
console.log(this.list, '45')
|
||||||
@ -239,7 +254,7 @@
|
|||||||
this.list.patientId = uni.getStorageSync('patientId');
|
this.list.patientId = uni.getStorageSync('patientId');
|
||||||
this.list.openId = uni.getStorageSync('openid');
|
this.list.openId = uni.getStorageSync('openid');
|
||||||
this.list.orderSource = 'FAMILY_DOCTOR'
|
this.list.orderSource = 'FAMILY_DOCTOR'
|
||||||
this.list.evaluateChanne = 'WE_CHAT_APPLET'
|
this.list.evaluateChannel = 'WE_CHAT_APPLET'
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user