From a272691bfb1d184e07b91debd9d38f40d2920917 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期三, 12 六月 2024 10:49:23 +0800
Subject: [PATCH] ''

---
 h5/pages/staff/task/index.vue |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/h5/pages/staff/task/index.vue b/h5/pages/staff/task/index.vue
index 39d32d6..12ce321 100644
--- a/h5/pages/staff/task/index.vue
+++ b/h5/pages/staff/task/index.vue
@@ -114,10 +114,11 @@
           <view class="box_list_item_nr_x"></view>
           <view class="box_list_item_nr_text">
             <text class="time">{{ item.createDate }}鎻愪氦</text>
-            <text class="btn" @click="handleAppr(item)">鍘诲鐞�</text>
+            <text v-if="item.status == '0'" class="btn" @click="handleAppr(item)">鍘诲鐞�</text>
           </view>
         </view>
       </view>
+      <image v-if="dataList.length === 0" src="@/static/empty.png" style="width: 320rpx;margin: 120rpx auto;" mode="widthFix" />
     </view>
     <!-- 绛涢�� -->
     <u-popup
@@ -279,7 +280,9 @@
       }).then(res => {
         this.dataList = [...this.dataList, ...res.data.records]
         this.dataList.forEach(i => {
-          i.param1 = JSON.parse(i.param1)
+          if(i.param1){
+            i.param1 = JSON.parse(i.param1)
+          }
         })
         console.log('dataList', this.dataList)
       })

--
Gitblit v1.9.3