Commit 2f8ab96d by wangzhihui

```

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

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