From 613767916b008c7faf9780d7e0f54b0fe1f42b4e Mon Sep 17 00:00:00 2001 From: YCC Date: Mon, 1 Apr 2024 16:04:50 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A8=E6=A0=BC=E5=B1=95=E7=A4=BA=E6=95=B0?= =?UTF-8?q?=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/stores/Notice.js | 1 - src/stores/Report.js | 6 +- src/views/report/Index.jsx | 516 +++++++++++++++++++++---------------- 3 files changed, 290 insertions(+), 233 deletions(-) diff --git a/src/stores/Notice.js b/src/stores/Notice.js index c2b15eb..f650886 100644 --- a/src/stores/Notice.js +++ b/src/stores/Notice.js @@ -21,7 +21,6 @@ class Notice { fetch(config.HT_HOST + url) .then(response => response.json()) .then(json => { - console.log(json); runInAction(() => { this.noticeList = json.Result; }); diff --git a/src/stores/Report.js b/src/stores/Report.js index 2b7befc..f2f9528 100644 --- a/src/stores/Report.js +++ b/src/stores/Report.js @@ -28,7 +28,7 @@ class Report { getHWVendorScores(VEI_SN, StartDate, EndDate) { this.loading = true; //HT_HOST + const fetchUrl = prepareUrl("http://202.103.68.231:889/service-cusservice/PTGetHWVendorScores") - .append("VEI_SN", 32865) + .append("VEI_SN", VEI_SN) .append("StartDate", StartDate) .append("EndDate", EndDate) .append("StrDEI_SN", "(,-1,)") @@ -56,7 +56,7 @@ class Report { getHWProductScores(VEI_SN, StartDate, EndDate) { this.loading = true; //HT_HOST + const fetchUrl = prepareUrl("http://202.103.68.231:889/service-cusservice/PTGetHWProductScores") - .append("VEI_SN", 1511) + .append("VEI_SN", VEI_SN) .append("StartDate", StartDate) .append("EndDate", EndDate) .append("StrDEI_SN", "(,-1,)") @@ -84,7 +84,7 @@ class Report { getHWCommendScores(VEI_SN, StartDate, EndDate) { this.loading = true; //HT_HOST + const fetchUrl = prepareUrl("http://202.103.68.231:889/service-cusservice/PTGetHWCommendScores") - .append("VEI_SN", 1511) + .append("VEI_SN", VEI_SN) .append("StartDate", StartDate) .append("EndDate", EndDate) .append("StrDEI_SN", "(,-1,)") diff --git a/src/views/report/Index.jsx b/src/views/report/Index.jsx index f87522c..8b32240 100644 --- a/src/views/report/Index.jsx +++ b/src/views/report/Index.jsx @@ -268,7 +268,7 @@ function Index() { - + {evaluationScores.Groups} {evaluationScores.PersonNum} @@ -281,237 +281,231 @@ function Index() { - + Monthly Data - + 地接考核分数 Final Scores: {evaluationScores.FinalScores} -
-
-
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Customer Satisfaction - - 3 scores - - 4 scores - - 5 scores - - Your Scores - - Final Scores - - 备注 -
TP review rating\30%60%{evaluationScores.TPReviewRating} - {evaluationScores.AvgCusSatisfaction} - {evaluationScores.TPReviewRatingText}
Post tour complaints100{evaluationScores.PostTourComplaints}{evaluationScores.PostTourComplaintsText}
Complaints resolved during the tour - 3 - {evaluationScores.ComplaintsDuringTour}{evaluationScores.ComplaintsDuringTourText}
Customer photos\30%50%{evaluationScores.CustomerPhotoRate}{evaluationScores.CustomerPhotoRateText}
Evaluation scores - 4.5 - {evaluationScores.EvaluationFormScore}{evaluationScores.EvaluationFormScoreText}
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Operator Support & Local resources - - 3 scores - - 4 scores - - 5 scores - - Your Scores - - Final Scores - - 备注 -
Response efficiency1d6hrs3hrs{evaluationScores.ResponseEfficiency} - {evaluationScores.AvgLocalResources} - {evaluationScores.ResponseEfficiencyText}
Provide suggestions and alternatives\{evaluationScores.ProvideSuggestions}{evaluationScores.ProvideSuggestionsText}
Provide local tourism information\{evaluationScores.ProvideLocalInfo}{evaluationScores.ProvideLocalInfoText}
Assist in developing exclusive products\\{evaluationScores.ExclusiveProducts}{evaluationScores.ExclusiveProductsText}
Dedicated tour guide team for AH\{evaluationScores.DedicatedTourGuide}{evaluationScores.DedicatedTourGuideText}
Partner hotels with contracted rate\{evaluationScores.PartnerHotels}{evaluationScores.PartnerHotelsText}
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Pricing & Settlement (20%) - - 3 scores - - 4 scores - - 5 scores - - Your Scores - - Final Scores - - 备注 -
QuotationPackageDay toursIndividual services{evaluationScores.Quotation} - {evaluationScores.AvgPricingAndSettlement} - {evaluationScores.QuotationText}
SettlementPrepaymentMonthly PrepaymentMonthly settlement after the tours{evaluationScores.Settlement}{evaluationScores.SettlementText}
Cancellation policy30 days21 days1 day{evaluationScores.CancellationPolicy}{evaluationScores.CancellationPolicyText}
- - - +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Customer Satisfaction + + 3 scores + + 4 scores + + 5 scores + + Your Scores + + Final Scores + + 备注 +
TP review rating\30%60%{evaluationScores.TPReviewRating} + {evaluationScores.AvgCusSatisfaction} + {evaluationScores.TPReviewRatingText}
Post tour complaints100{evaluationScores.PostTourComplaints}{evaluationScores.PostTourComplaintsText}
Complaints resolved during the tour + 3 + {evaluationScores.ComplaintsDuringTour}{evaluationScores.ComplaintsDuringTourText}
Customer photos\30%50%{evaluationScores.CustomerPhotoRate}{evaluationScores.CustomerPhotoRateText}
Evaluation scores + 4.5 + {evaluationScores.EvaluationFormScore}{evaluationScores.EvaluationFormScoreText}
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Operator Support & Local resources + + 3 scores + + 4 scores + + 5 scores + + Your Scores + + Final Scores + + 备注 +
Response efficiency1d6hrs3hrs{evaluationScores.ResponseEfficiency} + {evaluationScores.AvgLocalResources} + {evaluationScores.ResponseEfficiencyText}
Provide suggestions and alternatives\{evaluationScores.ProvideSuggestions}{evaluationScores.ProvideSuggestionsText}
Provide local tourism information\{evaluationScores.ProvideLocalInfo}{evaluationScores.ProvideLocalInfoText}
Assist in developing exclusive products\\{evaluationScores.ExclusiveProducts}{evaluationScores.ExclusiveProductsText}
Dedicated tour guide team for AH\{evaluationScores.DedicatedTourGuide}{evaluationScores.DedicatedTourGuideText}
Partner hotels with contracted rate\{evaluationScores.PartnerHotels}{evaluationScores.PartnerHotelsText}
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Pricing & Settlement (20%) + + 3 scores + + 4 scores + + 5 scores + + Your Scores + + Final Scores + + 备注 +
QuotationPackageDay toursIndividual services{evaluationScores.Quotation} + {evaluationScores.AvgPricingAndSettlement} + {evaluationScores.QuotationText}
SettlementPrepaymentMonthly PrepaymentMonthly settlement after the tours{evaluationScores.Settlement}{evaluationScores.SettlementText}
Cancellation policy30 days21 days1 day{evaluationScores.CancellationPolicy}{evaluationScores.CancellationPolicyText}
@@ -529,20 +523,84 @@ function Index() { 3. For each category, you can only get the corresponding score if you meet the standards of all items under the score. 4. The final score is the sum of the scores of each category multiplied by the proportion of the category. +
+ 反馈表分析 +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ 项目 + + 产品 + + 得分 + + 备注说明 +
+ 地接接待 + 导游{evaluationScores.FRTGuide} + {evaluationScores.FRTText} +
司机+车{evaluationScores.FRTGriver}
{evaluationScores.FRTMeal}
产品体验{evaluationScores.FRTProduct}
+ 线路安排 + 酒店{evaluationScores.FRTHotel}
游船{evaluationScores.FRTCruise}
顾问服务{evaluationScores.FRTAdvisor}
+
+
+
- + 导游接待情况 - - + 表扬情况
- - + 投诉情况
- - + 批评建议