From 0f9b3d3417d1b9f9d1db6e818cd02b4de2867987 Mon Sep 17 00:00:00 2001
From: zhangxiaoxu <819527061@qq.com>
Date: 星期二, 25 十一月 2025 15:59:03 +0800
Subject: [PATCH] 批量通过和批量驳回bug修改
---
pages/my-have-todo/my-have-todo.vue | 39 +++++++++++++++++++++++++++++----------
1 files changed, 29 insertions(+), 10 deletions(-)
diff --git a/pages/my-have-todo/my-have-todo.vue b/pages/my-have-todo/my-have-todo.vue
index e6f6b9e..9fef375 100644
--- a/pages/my-have-todo/my-have-todo.vue
+++ b/pages/my-have-todo/my-have-todo.vue
@@ -51,7 +51,7 @@
</view>
<view class="center-content__two center-margin">
<view>
- <text>鍙戣捣浜猴細{{ item.actBusiness.createByName }}</text>
+ <text>鍙戣捣浜猴細{{ item.actBusiness.createByName || '' }}</text>
</view>
<view>
<text>瀹℃壒鎿嶄綔锛歿{ item.deleteReason }}</text>
@@ -59,7 +59,7 @@
</view>
<view class="center-content__three center-margin">
<view class="">
- <text>瀹℃壒鎰忚锛歿{ item.comment == 'undefined' ? '' : item.comment || '' }}</text>
+ <text>瀹℃壒鎰忚锛歿{ item.comment == 'undefined' ? '鏈~鍐�' : item.comment || '鏈~鍐�' }}</text>
</view>
<view class="">
<text>
@@ -82,15 +82,15 @@
<view class="bottom-container">
<!-- 宸插姙鎸夐挳 -->
<view class="bottom-content__item">
- <view @click="theFormDataClick(item.tableId)" v-if="item.procDefId == 'WAY_BILL:4:87504'">
+ <view @click="() => theFormDataClick(item)" v-if="item.actBusiness.actType == 'Offsetting' || item.actBusiness.actType == 'XsWaybill'">
<image src="@/static/home/biaodan.png" mode=""></image>
<view>鐢宠璇︽儏</view>
</view>
- <view @click="approvalHistoryClick(item.procInstId)">
+ <view @click="() => approvalHistoryClick(item.procInstId)">
<image src="@/static/home/history.png" mode=""></image>
<view>瀹℃壒鍘嗗彶</view>
</view>
- <view @click="deleteApplicationClick(item.id)">
+ <view @click="() => deleteApplicationClick(item.id)">
<image src="@/static/home/delete.png" mode=""></image>
<view>鍒犻櫎</view>
</view>
@@ -99,6 +99,10 @@
</template>
</combination-card>
</u-checkbox-group>
+ </view>
+
+ <view class="empty-placeH">
+
</view>
<!-- 搴曢儴鍏ㄩ�� -->
<view class="bottomTabbar">
@@ -370,15 +374,23 @@
// console.log(a)
// },
// 琛ㄥ崟鏁版嵁
- theFormDataClick(v) {
- uni.navigateTo({
- url: `/pages/the-form-data/the-form-data?index=${v}`
- });
+ theFormDataClick(item) {
+ if(item?.actBusiness?.actType == 'Offsetting') { //鏀舵 actType = 鈥極ffsetting鈥�
+ uni.navigateTo({
+ url: `/pages/payment-form-data/payment-form-data?id=${item.tableId}`,
+
+ })
+ }else if(item?.actBusiness?.actType == 'XsWaybill') {
+ uni.navigateTo({
+ url: `/pages/new-application-form-data/new-application-form-data?id=${item.tableId}`
+ })
+ }
},
// 瀹℃壒鍘嗗彶
approvalHistoryClick(v) {
uni.navigateTo({
- url: `/pages/approval-history/approval-history?index=${v}`
+ //url: `/pages/approval-history/approval-history?index=${v}`
+ url: `/pages/check-the-schedule/check-the-schedule?index=${v}`
});
}
}
@@ -387,6 +399,8 @@
<style lang="scss" scoped>
::v-deep.my-have-todo {
+ width: 100%;
+ height: 100%;
// 鎼滅储鍖哄煙
.searchContainer {
width: 94%;
@@ -601,6 +615,11 @@
}
}
+ // 搴曢儴绔欎綅
+ .empty-placeH{
+ height:vww(5);
+ }
+
// 搴曢儴
.bottomTabbar {
position: fixed;
--
Gitblit v1.9.1