表格添加边框

release
YCC 2 years ago
parent 74e169a166
commit 52cd2728a6

@ -125,9 +125,7 @@ function Index() {
return (
<Space direction="vertical" style={{ width: "100%" }}>
<Typography.Title level={3}>
<div></div>
</Typography.Title>
<Typography.Title level={3}></Typography.Title>
<Row gutter={16}>
<Col md={24} lg={8} xxl={6}>
<Space direction="horizontal">
@ -175,51 +173,38 @@ function Index() {
<Row ref={targetRef}>
<Col md={24} lg={24} xxl={16}>
<div className="ant-table-wrapper ant-spin-nested-loading css-dev-only-do-not-override-3op25v ant-spin-container">
<div className="ant-table ant-table-bordered">
<div className="ant-table-container ant-table-content">
<table style={{ textAlign: "center" }}>
<thead className="ant-table-thead">
<tr>
<th className="ant-table-cell" scope="col">
Groups
</th>
<th className="ant-table-cell" scope="col">
Number of People
</th>
<th className="ant-table-cell" scope="col">
Transaction AmountUSD)
</th>
<th className="ant-table-cell" scope="col">
Evaluation Score
</th>
<th className="ant-table-cell" scope="col">
TP Reviews
</th>
<th className="ant-table-cell" scope="col">
TP Reviews Rate
</th>
<th className="ant-table-cell" scope="col">
Complaints
</th>
<th className="ant-table-cell" scope="col">
Complaint Rate
</th>
</tr>
</thead>
<tbody className="ant-table-tbody">
<tr className="ant-table-row ant-table-row-level-0">
<td className="ant-table-cell">{evaluationScores.Groups}</td>
<td className="ant-table-cell">{evaluationScores.PersonNum}</td>
<td className="ant-table-cell">{evaluationScores.AmountUSD}</td>
<td className="ant-table-cell">{evaluationScores.EvaluationScore}</td>
<td className="ant-table-cell">{evaluationScores.TPReviews}</td>
<td className="ant-table-cell">{evaluationScores.TPReviewRate}</td>
<td className="ant-table-cell">{evaluationScores.Complaints}</td>
<td className="ant-table-cell">{evaluationScores.ComplaintRate}</td>
</tr>
</tbody>
</table>
<Divider orientation="left">Primary Data</Divider>
<div className="ant-table-wrapper ant-spin-nested-loading css-dev-only-do-not-override-3op25v ">
<div className="ant-spin-container ant-table ant-table-bordered">
<div className="ant-table-container">
<div className="ant-table-content">
<table style={{ textAlign: "center" }}>
<thead className="ant-table-thead">
<tr>
<th scope="col">Groups</th>
<th scope="col">Number of People</th>
<th scope="col">Transaction AmountUSD)</th>
<th scope="col">Evaluation Score</th>
<th scope="col">TP Reviews</th>
<th scope="col">TP Reviews Rate</th>
<th scope="col">Complaints</th>
<th scope="col">Complaint Rate</th>
</tr>
</thead>
<tbody className="ant-table-tbody">
<tr className="ant-table-row ant-table-row-level-0">
<td>{evaluationScores.Groups}</td>
<td>{evaluationScores.PersonNum}</td>
<td>{evaluationScores.AmountUSD}</td>
<td>{evaluationScores.EvaluationScore}</td>
<td>{evaluationScores.TPReviews}</td>
<td>{evaluationScores.TPReviewRate}</td>
<td>{evaluationScores.Complaints}</td>
<td>{evaluationScores.ComplaintRate}</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
@ -231,232 +216,184 @@ function Index() {
</Col>
<Col md={24} lg={24} xxl={16}>
<Divider orientation="center">
<Divider orientation="left">
地接考核分数 Final Scores:
<Typography.Title level={3} type="danger">
{evaluationScores.FinalScores}
</Typography.Title>
</Divider>
<div className="ant-table-wrapper ant-spin-nested-loading css-dev-only-do-not-override-3op25v ant-spin-container">
<div className="ant-table ant-table-bordered">
<div className="ant-table-container ant-table-content">
<table style={{ textAlign: "center" }}>
<thead className="ant-table-thead">
<tr>
<th className="ant-table-cell" scope="col">
Customer Satisfaction
</th>
<th className="ant-table-cell" scope="col">
3 scores
</th>
<th className="ant-table-cell" scope="col">
4 scores
</th>
<th className="ant-table-cell" scope="col">
5 scores
</th>
<th className="ant-table-cell" scope="col">
Your Scores
</th>
<th className="ant-table-cell" scope="col">
Final Scores
</th>
<th className="ant-table-cell" scope="col">
备注
</th>
</tr>
</thead>
<tbody className="ant-table-tbody">
<tr className="ant-table-row ant-table-row-level-0">
<td className="ant-table-cell">TP review rating</td>
<td className="ant-table-cell">\</td>
<td className="ant-table-cell">30%</td>
<td className="ant-table-cell">60%</td>
<td className="ant-table-cell">{evaluationScores.TPReviewRating}</td>
<td className="ant-table-cell" rowSpan="5">
{evaluationScores.AvgCusSatisfaction}
</td>
<td className="ant-table-cell">{evaluationScores.TPReviewRatingText}</td>
</tr>
<tr className="ant-table-row ant-table-row-level-0">
<td className="ant-table-cell">Post tour complaints</td>
<td className="ant-table-cell">1</td>
<td className="ant-table-cell">0</td>
<td className="ant-table-cell">0</td>
<td className="ant-table-cell">{evaluationScores.PostTourComplaints}</td>
<td className="ant-table-cell">{evaluationScores.PostTourComplaintsText}</td>
</tr>
<tr className="ant-table-row ant-table-row-level-0">
<td className="ant-table-cell">Complaints resolved during the tour</td>
<td className="ant-table-cell" colSpan={3}>
3
</td>
<td className="ant-table-cell">{evaluationScores.ComplaintsDuringTour}</td>
<td className="ant-table-cell">{evaluationScores.ComplaintsDuringTourText}</td>
</tr>
<tr className="ant-table-row ant-table-row-level-0">
<td className="ant-table-cell">Customer photos</td>
<td className="ant-table-cell">\</td>
<td className="ant-table-cell">30%</td>
<td className="ant-table-cell">50%</td>
<td className="ant-table-cell">{evaluationScores.CustomerPhotoRate}</td>
<td className="ant-table-cell">{evaluationScores.CustomerPhotoRateText}</td>
</tr>
<tr className="ant-table-row ant-table-row-level-0">
<td className="ant-table-cell">Evaluation scores</td>
<td className="ant-table-cell" colSpan={3}>
4.5
</td>
<td className="ant-table-cell">{evaluationScores.EvaluationFormScore}</td>
<td className="ant-table-cell">{evaluationScores.EvaluationFormScoreText}</td>
</tr>
</tbody>
</table>
<br />
<table style={{ textAlign: "center" }}>
<thead className="ant-table-thead">
<tr>
<th className="ant-table-cell" scope="col">
Operator Support & Local resources
</th>
<th className="ant-table-cell" scope="col">
3 scores
</th>
<th className="ant-table-cell" scope="col">
4 scores
</th>
<th className="ant-table-cell" scope="col">
5 scores
</th>
<th className="ant-table-cell" scope="col">
Your Scores
</th>
<th className="ant-table-cell" scope="col">
Final Scores
</th>
<th className="ant-table-cell" scope="col">
备注
</th>
</tr>
</thead>
<tbody className="ant-table-tbody">
<tr className="ant-table-row ant-table-row-level-0">
<td className="ant-table-cell">Response efficiency</td>
<td className="ant-table-cell">1d</td>
<td className="ant-table-cell">6hrs</td>
<td className="ant-table-cell">3hrs</td>
<td className="ant-table-cell">{evaluationScores.ResponseEfficiency}</td>
<td className="ant-table-cell" rowSpan="6">
{evaluationScores.AvgLocalResources}
</td>
<td className="ant-table-cell">{evaluationScores.ResponseEfficiencyText}</td>
</tr>
<tr className="ant-table-row ant-table-row-level-0">
<td className="ant-table-cell">Provide suggestions and alternatives</td>
<td className="ant-table-cell">\</td>
<td className="ant-table-cell"></td>
<td className="ant-table-cell"></td>
<td className="ant-table-cell">{evaluationScores.ProvideSuggestions}</td>
<td className="ant-table-cell">{evaluationScores.ProvideSuggestionsText}</td>
</tr>
<tr className="ant-table-row ant-table-row-level-0">
<td className="ant-table-cell">Provide local tourism information</td>
<td className="ant-table-cell">\</td>
<td className="ant-table-cell"></td>
<td className="ant-table-cell"></td>
<td className="ant-table-cell">{evaluationScores.ProvideLocalInfo}</td>
<td className="ant-table-cell">{evaluationScores.ProvideLocalInfoText}</td>
</tr>
<tr className="ant-table-row ant-table-row-level-0">
<td className="ant-table-cell">Assist in developing exclusive products</td>
<td className="ant-table-cell">\</td>
<td className="ant-table-cell">\</td>
<td className="ant-table-cell"></td>
<td className="ant-table-cell">{evaluationScores.ExclusiveProducts}</td>
<td className="ant-table-cell">{evaluationScores.ExclusiveProductsText}</td>
</tr>
<tr className="ant-table-row ant-table-row-level-0">
<td className="ant-table-cell">Dedicated tour guide team for AH</td>
<td className="ant-table-cell">\</td>
<td className="ant-table-cell"></td>
<td className="ant-table-cell"></td>
<td className="ant-table-cell">{evaluationScores.DedicatedTourGuide}</td>
<td className="ant-table-cell">{evaluationScores.DedicatedTourGuideText}</td>
</tr>
<tr className="ant-table-row ant-table-row-level-0">
<td className="ant-table-cell">Partner hotels with contracted rate</td>
<td className="ant-table-cell">\</td>
<td className="ant-table-cell"></td>
<td className="ant-table-cell"></td>
<td className="ant-table-cell">{evaluationScores.PartnerHotels}</td>
<td className="ant-table-cell">{evaluationScores.PartnerHotelsText}</td>
</tr>
</tbody>
</table>
<br />
<table style={{ textAlign: "center" }}>
<thead className="ant-table-thead">
<tr>
<th className="ant-table-cell" scope="col">
Pricing & Settlement 20%
</th>
<th className="ant-table-cell" scope="col">
3 scores
</th>
<th className="ant-table-cell" scope="col">
4 scores
</th>
<th className="ant-table-cell" scope="col">
5 scores
</th>
<th className="ant-table-cell" scope="col">
Your Scores
</th>
<th className="ant-table-cell" scope="col">
Final Scores
</th>
<th className="ant-table-cell" scope="col">
备注
</th>
</tr>
</thead>
<tbody className="ant-table-tbody">
<tr className="ant-table-row ant-table-row-level-0">
<td className="ant-table-cell">Quotation</td>
<td className="ant-table-cell">Package</td>
<td className="ant-table-cell">Day tours</td>
<td className="ant-table-cell">Individual services</td>
<td className="ant-table-cell">{evaluationScores.Quotation}</td>
<td className="ant-table-cell" rowSpan="3">
{evaluationScores.AvgPricingAndSettlement}
</td>
<td className="ant-table-cell">{evaluationScores.QuotationText}</td>
</tr>
<tr className="ant-table-row ant-table-row-level-0">
<td className="ant-table-cell">Settlement</td>
<td className="ant-table-cell">Prepayment</td>
<td className="ant-table-cell">Monthly Prepayment</td>
<td className="ant-table-cell">Monthly settlement after the tours</td>
<td className="ant-table-cell">{evaluationScores.Settlement}</td>
<td className="ant-table-cell">{evaluationScores.SettlementText}</td>
</tr>
<tr className="ant-table-row ant-table-row-level-0">
<td className="ant-table-cell">Cancellation policy</td>
<td className="ant-table-cell">30 days</td>
<td className="ant-table-cell">21 days</td>
<td className="ant-table-cell">1 day</td>
<td className="ant-table-cell">{evaluationScores.CancellationPolicy}</td>
<td className="ant-table-cell">{evaluationScores.CancellationPolicyText}</td>
</tr>
</tbody>
</table>
<div className="ant-table-wrapper ant-spin-nested-loading css-dev-only-do-not-override-3op25v ">
<div className="ant-spin-container ant-table ant-table-bordered">
<div className="ant-table-container">
<div className="ant-table-content">
<table style={{ textAlign: "center" }}>
<thead className="ant-table-thead">
<tr>
<th scope="col">Customer Satisfaction</th>
<th scope="col">3 scores</th>
<th scope="col">4 scores</th>
<th scope="col">5 scores</th>
<th scope="col">Your Scores</th>
<th scope="col">Final Scores</th>
<th scope="col">备注</th>
</tr>
</thead>
<tbody className="ant-table-tbody">
<tr className="ant-table-row ant-table-row-level-0">
<td>TP review rating</td>
<td>\</td>
<td>30%</td>
<td>60%</td>
<td>{evaluationScores.TPReviewRating}</td>
<td rowSpan="5">{evaluationScores.AvgCusSatisfaction}</td>
<td>{evaluationScores.TPReviewRatingText}</td>
</tr>
<tr className="ant-table-row ant-table-row-level-0">
<td>Post tour complaints</td>
<td>1</td>
<td>0</td>
<td>0</td>
<td>{evaluationScores.PostTourComplaints}</td>
<td>{evaluationScores.PostTourComplaintsText}</td>
</tr>
<tr className="ant-table-row ant-table-row-level-0">
<td>Complaints resolved during the tour</td>
<td colSpan={3}>3</td>
<td>{evaluationScores.ComplaintsDuringTour}</td>
<td>{evaluationScores.ComplaintsDuringTourText}</td>
</tr>
<tr className="ant-table-row ant-table-row-level-0">
<td>Customer photos</td>
<td>\</td>
<td>30%</td>
<td>50%</td>
<td>{evaluationScores.CustomerPhotoRate}</td>
<td>{evaluationScores.CustomerPhotoRateText}</td>
</tr>
<tr className="ant-table-row ant-table-row-level-0">
<td>Evaluation scores</td>
<td colSpan={3}>4.5</td>
<td>{evaluationScores.EvaluationFormScore}</td>
<td>{evaluationScores.EvaluationFormScoreText}</td>
</tr>
</tbody>
</table>
<br />
<table style={{ textAlign: "center" }}>
<thead className="ant-table-thead">
<tr>
<th scope="col">Operator Support & Local resources</th>
<th scope="col">3 scores</th>
<th scope="col">4 scores</th>
<th scope="col">5 scores</th>
<th scope="col">Your Scores</th>
<th scope="col">Final Scores</th>
<th scope="col">备注</th>
</tr>
</thead>
<tbody className="ant-table-tbody">
<tr className="ant-table-row ant-table-row-level-0">
<td>Response efficiency</td>
<td>1d</td>
<td>6hrs</td>
<td>3hrs</td>
<td>{evaluationScores.ResponseEfficiency}</td>
<td rowSpan="6">{evaluationScores.AvgLocalResources}</td>
<td>{evaluationScores.ResponseEfficiencyText}</td>
</tr>
<tr className="ant-table-row ant-table-row-level-0">
<td>Provide suggestions and alternatives</td>
<td>\</td>
<td></td>
<td></td>
<td>{evaluationScores.ProvideSuggestions}</td>
<td>{evaluationScores.ProvideSuggestionsText}</td>
</tr>
<tr className="ant-table-row ant-table-row-level-0">
<td>Provide local tourism information</td>
<td>\</td>
<td></td>
<td></td>
<td>{evaluationScores.ProvideLocalInfo}</td>
<td>{evaluationScores.ProvideLocalInfoText}</td>
</tr>
<tr className="ant-table-row ant-table-row-level-0">
<td>Assist in developing exclusive products</td>
<td>\</td>
<td>\</td>
<td></td>
<td>{evaluationScores.ExclusiveProducts}</td>
<td>{evaluationScores.ExclusiveProductsText}</td>
</tr>
<tr className="ant-table-row ant-table-row-level-0">
<td>Dedicated tour guide team for AH</td>
<td>\</td>
<td></td>
<td></td>
<td>{evaluationScores.DedicatedTourGuide}</td>
<td>{evaluationScores.DedicatedTourGuideText}</td>
</tr>
<tr className="ant-table-row ant-table-row-level-0">
<td>Partner hotels with contracted rate</td>
<td>\</td>
<td></td>
<td></td>
<td>{evaluationScores.PartnerHotels}</td>
<td>{evaluationScores.PartnerHotelsText}</td>
</tr>
</tbody>
</table>
<br />
<table style={{ textAlign: "center" }}>
<thead className="ant-table-thead">
<tr>
<th scope="col">Pricing & Settlement 20%</th>
<th scope="col">3 scores</th>
<th scope="col">4 scores</th>
<th scope="col">5 scores</th>
<th scope="col">Your Scores</th>
<th scope="col">Final Scores</th>
<th scope="col">备注</th>
</tr>
</thead>
<tbody className="ant-table-tbody">
<tr className="ant-table-row ant-table-row-level-0">
<td>Quotation</td>
<td>Package</td>
<td>Day tours</td>
<td>Individual services</td>
<td>{evaluationScores.Quotation}</td>
<td rowSpan="3">{evaluationScores.AvgPricingAndSettlement}</td>
<td>{evaluationScores.QuotationText}</td>
</tr>
<tr className="ant-table-row ant-table-row-level-0">
<td>Settlement</td>
<td>Prepayment</td>
<td>Monthly Prepayment</td>
<td>Monthly settlement after the tours</td>
<td>{evaluationScores.Settlement}</td>
<td>{evaluationScores.SettlementText}</td>
</tr>
<tr className="ant-table-row ant-table-row-level-0">
<td>Cancellation policy</td>
<td>30 days</td>
<td>21 days</td>
<td>1 day</td>
<td>{evaluationScores.CancellationPolicy}</td>
<td>{evaluationScores.CancellationPolicyText}</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<br />
<Typography>
<Typography.Title level={3}>Scoring Rules</Typography.Title>
<Typography.Paragraph>
<Typography.Title level={3} type="success">
Scoring Rules
</Typography.Title>
<Typography.Paragraph type="success">
<ol>
<li>The maximum score is 5</li>
<li>
@ -475,68 +412,56 @@ function Index() {
<br />
<Divider orientation="left">反馈表分析</Divider>
<div className="ant-table-wrapper ant-spin-nested-loading css-dev-only-do-not-override-3op25v ant-spin-container">
<div className="ant-table ant-table-bordered">
<div className="ant-table-container ant-table-content">
<table style={{ textAlign: "center" }}>
<thead className="ant-table-thead">
<tr>
<th className="ant-table-cell" scope="col">
项目
</th>
<th className="ant-table-cell" scope="col">
产品
</th>
<th className="ant-table-cell" scope="col">
得分
</th>
<th className="ant-table-cell" scope="col">
备注说明
</th>
</tr>
</thead>
<tbody className="ant-table-tbody">
<tr className="ant-table-row ant-table-row-level-0">
<td className="ant-table-cell" rowSpan="4">
地接接待
</td>
<td className="ant-table-cell">导游</td>
<td className="ant-table-cell">{evaluationScores.FRTGuide}</td>
<td className="ant-table-cell" rowSpan="7">
{evaluationScores.FRTText}
</td>
</tr>
<div className="ant-table-wrapper ant-spin-nested-loading css-dev-only-do-not-override-3op25v ">
<div className="ant-spin-container ant-table ant-table-bordered">
<div className="ant-table-container">
<div className="ant-table-content">
<table style={{ textAlign: "center" }}>
<thead className="ant-table-thead">
<tr>
<th scope="col">项目</th>
<th scope="col">产品</th>
<th scope="col">得分</th>
<th scope="col">备注说明</th>
</tr>
</thead>
<tbody className="ant-table-tbody">
<tr className="ant-table-row ant-table-row-level-0">
<td rowSpan="4">地接接待</td>
<td>导游</td>
<td>{evaluationScores.FRTGuide}</td>
<td rowSpan="7">{evaluationScores.FRTText}</td>
</tr>
<tr className="ant-table-row ant-table-row-level-0">
<td className="ant-table-cell">司机+</td>
<td className="ant-table-cell">{evaluationScores.FRTGriver}</td>
</tr>
<tr className="ant-table-row ant-table-row-level-0">
<td className="ant-table-cell"></td>
<td className="ant-table-cell">{evaluationScores.FRTMeal}</td>
</tr>
<tr className="ant-table-row ant-table-row-level-0">
<td className="ant-table-cell">产品体验</td>
<td className="ant-table-cell">{evaluationScores.FRTProduct}</td>
</tr>
<tr className="ant-table-row ant-table-row-level-0">
<td>司机+</td>
<td>{evaluationScores.FRTGriver}</td>
</tr>
<tr className="ant-table-row ant-table-row-level-0">
<td></td>
<td>{evaluationScores.FRTMeal}</td>
</tr>
<tr className="ant-table-row ant-table-row-level-0">
<td>产品体验</td>
<td>{evaluationScores.FRTProduct}</td>
</tr>
<tr className="ant-table-row ant-table-row-level-0">
<td className="ant-table-cell" rowSpan="3">
线路安排
</td>
<td className="ant-table-cell">酒店</td>
<td className="ant-table-cell">{evaluationScores.FRTHotel}</td>
</tr>
<tr className="ant-table-row ant-table-row-level-0">
<td className="ant-table-cell">游船</td>
<td className="ant-table-cell">{evaluationScores.FRTCruise}</td>
</tr>
<tr className="ant-table-row ant-table-row-level-0">
<td className="ant-table-cell">顾问服务</td>
<td className="ant-table-cell">{evaluationScores.FRTAdvisor}</td>
</tr>
</tbody>
</table>
<tr className="ant-table-row ant-table-row-level-0">
<td rowSpan="3">线路安排</td>
<td>酒店</td>
<td>{evaluationScores.FRTHotel}</td>
</tr>
<tr className="ant-table-row ant-table-row-level-0">
<td>游船</td>
<td>{evaluationScores.FRTCruise}</td>
</tr>
<tr className="ant-table-row ant-table-row-level-0">
<td>顾问服务</td>
<td>{evaluationScores.FRTAdvisor}</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>

Loading…
Cancel
Save