浏览代码

订单详情、报价详情加各保司评分展示

@dongkboy 2 月之前
父节点
当前提交
2cd966bb2d
共有 2 个文件被更改,包括 10 次插入2 次删除
  1. 5 1
      pages/quote/modules/insuranceInfo.vue
  2. 5 1
      pages/quote/quoteRecordDetail.vue

+ 5 - 1
pages/quote/modules/insuranceInfo.vue

@@ -5,6 +5,10 @@
 				<text class="mr-2">评分</text>
 				<text>{{scoreVo.score}}</text>
 			</view>
+			<view class="item" v-for="(item,index) in scoreVo.scoreJson" :key="index">
+				<text class="mr-2">{{item.scoreName}}</text>
+				<text>{{item.score}}</text>
+			</view>
 			<view class="item">
 				<text class="mr-2">交强险系数</text>
 				<text>0.751</text>
@@ -105,7 +109,7 @@
 							class="td">{{item.amount}}%</text>
 						<text v-else-if="['TY1', 'TY2', 'TY3', 'TY4'].includes(item.kindCode)"
 							class="td">{{item.serviceTimes}}次</text>
-						<text v-else class="td">{{convertedValue(item.amount)}}</text>
+						<text v-else class="td">{{item.kindCode=='J1'?'--':convertedValue(item.amount)}}</text>
 						<text class="td">{{item.premium?item.premium:'-'}}</text>
 					</view>
 				</view>

+ 5 - 1
pages/quote/quoteRecordDetail.vue

@@ -287,6 +287,10 @@
 						<text>商业折扣</text>
 						<text>{{costs.biRatio}}</text>
 					</view>
+					<view class="item dis a-start j-s" v-for="(item,index) in scoreVo.scoreJson" :key="index">
+						<text>{{item.scoreName}}</text>
+						<text>{{item.score}}</text>
+					</view>
 				</view>
 				<!-- 查看更多 -->
 				<view v-if="premiumFactorHeight>collapsedHeight" class="loadMore dis a-c j-c"
@@ -340,7 +344,7 @@
 								class="td">{{item.amount}}%</text>
 							<text v-else-if="['TY1', 'TY2', 'TY3', 'TY4'].includes(item.kindCode)"
 								class="td">{{item.serviceTimes}}次</text>
-							<text v-else class="td">{{convertedValue(item.amount)}}</text>
+							<text v-else class="td">{{item.kindCode=='J1'?'--':convertedValue(item.amount)}}</text>
 							<text class="td">{{item.premium?item.premium:'-'}}</text>
 						</view>
 					</view>