Commit 2f8ab96d by wangzhihui

```

feat(evection): 调整差旅报表字段显示和样式优化

- 将"超标次数"改为"超标人次"
- 为金额相关字段添加现金格式标识
- 调整数据项左右间距样式
- 修复条件渲染语法错误
- 优化重点关注区域布局对齐方式
- 移除个人页面中不适用的警告标识
```
1 parent 75e9efed
...@@ -170,7 +170,7 @@ export default { ...@@ -170,7 +170,7 @@ export default {
isCash: true isCash: true
}, },
{ {
title: '超标次数', title: '超标人次',
key: 'exceedCount' key: 'exceedCount'
} }
], ],
...@@ -338,11 +338,13 @@ $boxWidth: 351; ...@@ -338,11 +338,13 @@ $boxWidth: 351;
font-size: 18px; font-size: 18px;
font-family: numberBold; font-family: numberBold;
margin: 4px 0; margin: 4px 0;
margin-left:14px;
} }
.data-item-ratio { .data-item-ratio {
display: flex; display: flex;
align-items: center; align-items: center;
font-size: 11px; font-size: 11px;
margin-left:14px;
.data-item-label { .data-item-label {
color: #999999; color: #999999;
} }
......
...@@ -54,10 +54,10 @@ ...@@ -54,10 +54,10 @@
<div class="row mb14"> <div class="row mb14">
<div class="text">当月最贵</div> <div class="text">当月最贵</div>
<div class="value"> <div class="value">
{{ infoData.reportDetail &&infoData.reportDetail.topDinnerStaffName || '-' }}于 {{ (infoData.reportDetail && infoData.reportDetail.topDinnerStaffName) || '-' }}于
<span>{{ infoData.reportDetail &&infoData.reportDetail.topDinnerMonth || '-' }}月{{ infoData.reportDetail &&infoData.reportDetail.topDinnerDay || '-' }}日</span> <span>{{ (infoData.reportDetail && infoData.reportDetail.topDinnerMonth) || '-' }}月{{ (infoData.reportDetail && infoData.reportDetail.topDinnerDay) || '-' }}日</span>
在 在
<span>{{ infoData.reportDetail &&infoData.reportDetail.topDinnerShopName || '-' }}</span> <span>{{ (infoData.reportDetail && infoData.reportDetail.topDinnerShopName) || '-' }}</span>
消费最多 消费最多
</div> </div>
</div> </div>
...@@ -83,23 +83,24 @@ ...@@ -83,23 +83,24 @@
<div class="row mb14"> <div class="row mb14">
<div class="text">当月最贵</div> <div class="text">当月最贵</div>
<div class="value"> <div class="value">
{{ infoData.reportDetail &&infoData.reportDetail.topTravelStaffName || '-' }}于 {{ (infoData.reportDetail && infoData.reportDetail.topTravelStaffName) || '-' }}于
<span>{{infoData.reportDetail && infoData.reportDetail.topTravelMonth || '-' }}月{{ infoData.reportDetail &&infoData.reportDetail.topTravelDay || '-' }}日</span> <span>{{ (infoData.reportDetail && infoData.reportDetail.topTravelMonth) || '-' }}月{{ (infoData.reportDetail && infoData.reportDetail.topTravelDay) || '-' }}日</span>
在 在
<span>{{ infoData.reportDetail &&infoData.reportDetail.topTravelCityName || '-' }}</span> <span>{{ (infoData.reportDetail && infoData.reportDetail.topTravelCityName) || '-' }}</span>
的 的
<span>{{infoData.reportDetail && infoData.reportDetail.topTravelShopName }}</span> <span>{{ infoData.reportDetail && infoData.reportDetail.topTravelShopName }}</span>
入住房价最贵 入住房价最贵
</div> </div>
</div> </div>
<div class="row"> <div class="row">
<div class="text">共计消费</div> <div class="text">共计消费</div>
<div class="value price">{{infoData.reportDetail && infoData.reportDetail.topTravelAmount||0 }}元/晚</div> <div class="value price">{{ (infoData.reportDetail && infoData.reportDetail.topTravelAmount) || 0 }}元/晚</div>
</div> </div>
</div> </div>
</div> </div>
<div class="box focusIssues" v-if="focusIssuesRows.length">
<div class="box focusIssues" v-if="infoData.focusIssues.length">
<SectionTitle title="重点问题聚集" :titleIcon="focusIssues"></SectionTitle> <SectionTitle title="重点问题聚集" :titleIcon="focusIssues"></SectionTitle>
<div class="focusIssues"> <div class="focusIssues">
<div class="focusIssues-list"> <div class="focusIssues-list">
...@@ -180,6 +181,7 @@ export default { ...@@ -180,6 +181,7 @@ export default {
title: '总消费金额', title: '总消费金额',
key: 'travelAmount', key: 'travelAmount',
className: 'block-145', className: 'block-145',
isCash: true,
ratioKey: 'travelAmountRing' ratioKey: 'travelAmountRing'
}, },
{ {
...@@ -190,7 +192,8 @@ export default { ...@@ -190,7 +192,8 @@ export default {
{ {
title: '平均房价/晚', title: '平均房价/晚',
key: 'avgTravelRoomPrice', key: 'avgTravelRoomPrice',
ratioKey: 'avgTravelRoomPriceRing' ratioKey: 'avgTravelRoomPriceRing',
isCash: true
} }
] ]
} }
...@@ -279,6 +282,7 @@ $boxWidth: 351; ...@@ -279,6 +282,7 @@ $boxWidth: 351;
@return percentage($val / $base); @return percentage($val / $base);
} }
.evection-wrapper { .evection-wrapper {
padding-bottom: 8px;
.container { .container {
background: #fff; background: #fff;
} }
...@@ -324,11 +328,13 @@ $boxWidth: 351; ...@@ -324,11 +328,13 @@ $boxWidth: 351;
font-size: 18px; font-size: 18px;
font-family: numberBold; font-family: numberBold;
margin: 4px 0; margin: 4px 0;
margin-left: 14px;
} }
.data-item-ratio { .data-item-ratio {
display: flex; display: flex;
align-items: center; align-items: center;
font-size: 11px; font-size: 11px;
margin-left: 14px;
.data-item-label { .data-item-label {
color: #999999; color: #999999;
} }
...@@ -461,14 +467,14 @@ $boxWidth: 351; ...@@ -461,14 +467,14 @@ $boxWidth: 351;
// padding: 4px 8px; // padding: 4px 8px;
.focusIssues-list { .focusIssues-list {
display: flex; display: flex;
align-items: flex-start; align-items: stretch;
height: auto; height: auto;
.focusIssues-group { .focusIssues-group {
flex: 1; flex: 1;
padding: 4px 8px; padding: 4px 8px;
box-sizing: border-box; box-sizing: border-box;
margin-right: 4px; margin-right: 4px;
height:auto; height: auto;
.group-title { .group-title {
color: #666666; color: #666666;
font-size: 14px; font-size: 14px;
......
...@@ -124,7 +124,6 @@ export default { ...@@ -124,7 +124,6 @@ export default {
{ {
title: '平均房价/晚', title: '平均房价/晚',
key: 'avgRoomPrice', key: 'avgRoomPrice',
isWarning: true,
className: 'block-110', className: 'block-110',
isCash: true isCash: true
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!