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 |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/h5/pages/staff/task/index.vue b/h5/pages/staff/task/index.vue
index 8410340..12ce321 100644
--- a/h5/pages/staff/task/index.vue
+++ b/h5/pages/staff/task/index.vue
@@ -27,13 +27,13 @@
           @click="statusClick(1)"
           :class="{ active: search.queryType === 1 }"
           class="box_head_item"
-          >宸插鐞� {{ headData.noticeDealNum }}</view
+          >宸插鐞�</view
         >
         <view
           @click="statusClick(2)"
           :class="{ active: search.queryType === 2 }"
           class="box_head_item"
-          >鎴戝彂璧风殑 {{ headData.noticeCreateNum }}</view
+          >鎴戝彂璧风殑</view
         >
         <view
           @click="statusClick(3)"
@@ -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