Parcourir la source

fix: 我的经营承诺,经营信用分初始值应为“待评估”,核查后展示信用分

梦辉 il y a 5 mois
Parent
commit
7b5964c130

+ 3 - 3
src/subPages/pages/commitment/enterpriseCommitment/components/score-list/index.vue

@@ -24,17 +24,17 @@ export default {
   <view class="box">
     <!--经营信用分-->
       <view class="box-item">
-        <view class="box-item-content" style="color: #FF6B00">{{creditScore}}</view>
+        <view class="box-item-content" style="color: #FF6B00">{{creditScore  === null || creditScore === undefined ? '待评估' : creditScore}}</view>
         <view class="box-item-title">经营信用分</view>
       </view>
     <!--经营性承诺数量-->
       <view class="box-item">
-        <view class="box-item-content" style="color: #FF1492FF">{{commitmentNum}}</view>
+        <view class="box-item-content" style="color: #FF1492FF">{{commitmentNum  === null || commitmentNum === undefined ? '待评估' : commitmentNum}}</view>
         <view class="box-item-title">经营性承诺数量</view>
       </view>
     <!--承诺项目提醒数-->
       <view class="box-item">
-        <view class="box-item-content" style="color: #d30302">{{commitmentRemindNum}}</view>
+        <view class="box-item-content" style="color: #d30302">{{ commitmentRemindNum  === null || commitmentRemindNum === undefined ? '待评估' : commitmentRemindNum}}</view>
         <view class="box-item-title">承诺项目提醒数</view>
       </view>
   </view>