From a11bc1bed7953b88213330582c2085f60b5a73b1 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期三, 12 六月 2024 15:01:56 +0800
Subject: [PATCH] Merge branch 'master' of http://139.186.142.91:10010/r/productDev/dmvisit

---
 h5/pages/staff/task/index.vue |   14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/h5/pages/staff/task/index.vue b/h5/pages/staff/task/index.vue
index 8410340..84cd0a7 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,9 +114,13 @@
           <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>
+      <view v-if="dataList.length === 0"  style="text-align: center;">
+        <image src="@/static/empty.png" style="width: 320rpx;margin: 120px auto 0" mode="widthFix" />
+        <view class="placeholder9 fs24">鏆傛棤鏁版嵁</view>
       </view>
     </view>
     <!-- 绛涢�� -->
@@ -279,7 +283,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