@ -113,18 +113,25 @@
< / div >
< div class = "question " >
< h4 > 4. Would you give < span > {{webcode=='ah' ? 'Asia' : 'Global'}}< / span > Highlights permission to use photos taken by your tour guide(s) that contain your picture?< / h4 >
< judgment-item question = "photo" v-bind:qitem = "{id: 'photo_permission', rate: feedbackEvaluation .usePhotos}" si = "photo" qi = "photo" key = "photo" v-bind:disabled = "resultPage" > < / judgment-item >
< judgment-item question = "photo" v-bind:qitem = "{id: 'photo_permission', rate: feedbackEvaluation [0] .usePhotos}" si = "photo" qi = "photo" key = "photo" v-bind:disabled = "resultPage" > < / judgment-item >
< / div >
< div class = "feedback question" >
< h4 > Any other comments that you would like to share with us?< / h4 >
< p v-if = "resultPage" > {{feedbackEvaluation.otherComments ? feedbackEvaluation.otherComments : '--'}}< / p >
< textarea v-else name = "comments" rows = "4" v-bind:value = "feedbackEvaluation.otherComments" v-bind:disabled = "resultPage" > < / textarea >
< div v-if = "resultPage" >
< p v-for = "eva in feedbackEvaluation" v-bind:key = "eva.feedbackId" >
{{eva.otherComments ? eva.otherComments : ''}}
< / p >
< / div >
< textarea v-else name = "comments" rows = "4" v-bind:value = "feedbackEvaluation[0].otherComments" v-bind:disabled = "resultPage" > < / textarea >
< / div >
< div class = "feedback question" >
< h4 > Where is your desired destination for your next trip? (Save USD 200 per trip with our 2024 Destinations Voucher for Europe, Africa, the Middle East, and South America.)
< / h4 >
< p v-if = "resultPage" > {{feedbackEvaluation.desired_next ? feedbackEvaluation.desired_next : '--'}}< / p >
< textarea v-else name = "desired_next" rows = "4" v-bind:value = "feedbackEvaluation.desired_next" v-bind:disabled = "resultPage" > < / textarea >
< div v-if = "resultPage" >
< p v-for = "eva in feedbackEvaluation" v-bind:key = "eva.feedbackId" >
{{eva.desired_next ? eva.desired_next : ''}}
< / p > < / div >
< textarea v-else name = "desired_next" rows = "4" v-bind:value = "feedbackEvaluation[0].desired_next" v-bind:disabled = "resultPage" > < / textarea >
< / div >
< div class = "signature" >
< h4 > Signature:< / h4 >
@ -135,7 +142,7 @@
< / div >
< / div >
< div v-else >
< img id = "signature-img" v-bind:src = "feedbackEvaluation .signatureDataUrl" v-bind:width = "drawWidth" / >
< img id = "signature-img" v-bind:src = "feedbackEvaluation [0] .signatureDataUrl" v-bind:width = "drawWidth" / >
< / div >
< / div >
< template v-if = "!resultPage" >
@ -300,7 +307,7 @@
feedbackItemList: [],
feedbackItem: { guide: [], driver: [], experience: [], hotel: [] },
tourGuideList: [],
feedbackEvaluation: {} ,
feedbackEvaluation: [] ,
group: {},
showPhotos: false,
@ -390,6 +397,7 @@
return false;
}
// this.cityListPage = false;
this.feedbackEvaluation = [];
this.loading = true;
const _param = {
GRI_SN: this.param.g,
@ -486,7 +494,7 @@
that.feedbackItemList = res.feedbackItemList;
that.tourGuideList = res.tourGuideList;
that.feedbackEvaluation = res.feedbackEvaluation[0] ;
that.feedbackEvaluation = [].concat(that.feedbackEvaluation, res.feedbackEvaluation) ;
that.group = res.group[0];
// 已经填写过了