表格添加边框

release
YCC 2 years ago
parent 74e169a166
commit 52cd2728a6

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

Loading…
Cancel
Save