Browse Source

历史记录状态更改

XhuiCoder 1 năm trước cách đây
mục cha
commit
d61d924573
1 tập tin đã thay đổi với 6 bổ sung11 xóa
  1. 6 11
      pages/lr/shxxList.vue

+ 6 - 11
pages/lr/shxxList.vue

@@ -6,23 +6,18 @@
         <uni-list-item v-for="(item,index) in dataList" :key="index" :title="item.lrXm"
           :thumb="item.lrTx?config.baseUrl+item.lrTx:config.baseUrl + config.head" :note="item.sqyy" thumbSize="lg" :showArrow="false">
           <template v-slot:footer>
-            <view v-if="item.lzzt == '0'" class="item-right">
-              <text>{{item.sqsj.substring(0,8) }}</text>
-              <image class="item-img" src="@/static/images/caogao.png" mode=""></image>
-              <!-- <text>{{item.lrSpyj || '无'}}</text> -->
-            </view>
-            <view v-else-if="item.lzzt == '1' || item.lzzt == '2' || item.lzzt == '5'|| item.lzzt == '7'" class="item-right">
-              <text>{{item.sqsj.substring(0,8) }}</text>
-              <image class="item-img" src="@/static/images/daishenhe.png" mode=""></image>
-            </view>
-            <view v-else-if="item.lzzt == '3'" class="item-right">
+            <view v-if="item.spjg == '0'" class="item-right">
               <text>{{item.sqsj.substring(0,8) }}</text>
               <image class="item-img" src="@/static/images/tongguo.png" mode=""></image>
             </view>
-            <view v-else-if="item.lzzt == '4'" class="item-right">
+            <view v-else-if="item.spjg == '1'" class="item-right">
               <text>{{item.sqsj.substring(0,8) }}</text>
               <image class="item-img" src="@/static/images/jujue.png" mode=""></image>
             </view>
+            <view v-else class="item-right">
+              <text>{{item.sqsj.substring(0,8) }}</text>
+              <image class="item-img" src="@/static/images/daishenhe.png" mode=""></image>
+            </view>
           </template>
         </uni-list-item>
       </uni-list>