From a88092021b14abc67c2f2e53ce722d609632aeb5 Mon Sep 17 00:00:00 2001
From: 付延余 <f-yanyu@outlook.com>
Date: 星期二, 23 八月 2022 08:07:36 +0800
Subject: [PATCH] 修改日计划,我的待办,等相应bug

---
 pages/home/home.vue |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/pages/home/home.vue b/pages/home/home.vue
index f52e647..d370212 100644
--- a/pages/home/home.vue
+++ b/pages/home/home.vue
@@ -29,7 +29,7 @@
 								<text>鎵�灞炴祦绋嬶細{{ item.processName }}</text>
 							</view>
 							<view class="">
-								<text>瀹℃壒鐜妭锛歿{ item.currTaskName }}</text>
+								<text>瀹℃壒鐜妭锛歿{ item.currTaskName || '' }}</text>
 							</view>
 						</view>
 						<view class="center-content__two center-margin">
@@ -62,7 +62,7 @@
 								<image src="@/static/home/jindu.png" mode=""></image>
 								<view>鏌ョ湅杩涘害</view>
 							</view>
-							<view @click="theFormDataClick(item.tableId)" v-if="item.status == 1 || item.status == 2">
+							<view @click="theFormDataClick(item.tableId)" v-if="(item.status == 1 || item.status == 2) && (item.procDefId == 'WAY_BILL:4:87504')">
 								<image src="@/static/home/biaodan.png" mode=""></image>
 								<view>琛ㄥ崟鏁版嵁</view>
 							</view>
@@ -70,7 +70,7 @@
 								<image src="@/static/home/history.png" mode=""></image>
 								<view>閲嶆柊鐢宠</view>
 							</view>
-							<view @click="editMyApplication(item)" v-if="item.status == 3">
+							<view @click="editMyApplication(item)" v-if="item.status == 3 && item.procDefId == 'WAY_BILL:4:87504'">
 								<image src="@/static/home/history.png" mode=""></image>
 								<view>缂栬緫</view>
 							</view>
@@ -105,10 +105,10 @@
 					<view class="center-container">
 						<view class="center-content__one center-margin">
 							<view class="">
-								<text>浠诲姟鍚嶇О锛歿{ item.name }}</text>
+								<text>浠诲姟鍚嶇О锛歿{ item.name || '' }}</text>
 							</view>
 							<view class="">
-								<text>鎵�灞炴祦绋嬶細{{ item.processName }}</text>
+								<text>鎵�灞炴祦绋嬶細{{ item.processName || '' }}</text>
 							</view>
 						</view>
 						<view class="center-content__two center-margin">
@@ -162,7 +162,7 @@
 								<text>浠诲姟鍚嶇О锛歿{ item.name }}</text>
 							</view>
 							<view>
-								<text>鎵�灞炴祦绋嬶細{{ item.processName }}</text>
+								<text>鎵�灞炴祦绋嬶細{{ item.processName || '' }}</text>
 							</view>
 						</view>
 						<view class="center-content__two center-margin">
@@ -175,7 +175,7 @@
 						</view>
 						<view class="center-content__three center-margin">
 							<view class="">
-								<text>瀹℃壒鎰忚锛歿{ item.comment }}</text>
+								<text>瀹℃壒鎰忚锛歿{ item.comment || '' }}</text>
 							</view>
 							<view class="">
 								<text>
@@ -198,7 +198,7 @@
 					<view class="bottom-container">
 						<!-- 宸插姙鎸夐挳 -->
 						<view class="bottom-content__item">
-							<view @click="theFormDataClick(item.tableId)">
+							<view @click="theFormDataClick(item.tableId)" v-if="item.procDefId == 'WAY_BILL:4:87504'">
 								<image src="@/static/home/biaodan.png" mode=""></image>
 								<view>琛ㄥ崟鏁版嵁</view>
 							</view>

--
Gitblit v1.9.1