Commit f90ef17f by zhangxw

带教目标添加百分号

1 parent 433f6635
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
</view> </view>
<view class="item-box column_box"> <view class="item-box column_box">
<view class="label">带教目标</view> <view class="label">带教目标</view>
<view style="word-break: break-all;margin-bottom: 20rpx;">{{orderObj.teachingTarget || '-'}}</view> <view style="word-break: break-all;margin-bottom: 20rpx;">{{orderObj.teachingTarget != null && orderObj.teachingTarget !== "" ? orderObj.teachingTarget + '%' : '-'}}</view>
</view> </view>
<view class="image-box"> <view class="image-box">
<view class="label">带教照片佐证<text class='required'>*</text></view> <view class="label">带教照片佐证<text class='required'>*</text></view>
......
...@@ -157,7 +157,8 @@ export function normalizeMatterItem(dto = {}, index = 0) { ...@@ -157,7 +157,8 @@ export function normalizeMatterItem(dto = {}, index = 0) {
// 格式化目标触客率,加上百分号 // 格式化目标触客率,加上百分号
const targetCustomerContactRateValue = dto.targetCustomerContactRate != null && dto.targetCustomerContactRate !== "" ? `${dto.targetCustomerContactRate}%` : "-"; const targetCustomerContactRateValue = dto.targetCustomerContactRate != null && dto.targetCustomerContactRate !== "" ? `${dto.targetCustomerContactRate}%` : "-";
// 带教目标加上百分号
const teachingTarget = dto.teachingTarget != null && dto.teachingTarget !== "" ? `${dto.teachingTarget}%` : "-"
// 格式化督导带教的完成时间 // 格式化督导带教的完成时间
const teachCompleteTimeValue = dto.teachCompleteTime || "-"; const teachCompleteTimeValue = dto.teachCompleteTime || "-";
...@@ -198,6 +199,7 @@ export function normalizeMatterItem(dto = {}, index = 0) { ...@@ -198,6 +199,7 @@ export function normalizeMatterItem(dto = {}, index = 0) {
showView: completed || overdue, showView: completed || overdue,
listFields: getMatterListFields(dto.taskType, false), listFields: getMatterListFields(dto.taskType, false),
completedListFields: getMatterListFields(dto.taskType, true), completedListFields: getMatterListFields(dto.taskType, true),
teachingTarget: teachingTarget
}; };
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!