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/new-application/new-application.vue | 54 +++++++++++++++++++++++++++++++++---------------------
1 files changed, 33 insertions(+), 21 deletions(-)
diff --git a/pages/new-application/new-application.vue b/pages/new-application/new-application.vue
index bb029e0..797a895 100644
--- a/pages/new-application/new-application.vue
+++ b/pages/new-application/new-application.vue
@@ -15,15 +15,36 @@
</view> -->
<combined-title title="鐢宠妯℃澘"></combined-title>
<!-- 鍗$墖鍖哄煙 -->
- <view class="newApplicationCard" @click="toNewApplicationDetails" v-for="(item, index) in newApplicationData" :key="index">
+ <template v-if="permissions.yunxiao_xswaybill_add">
+ <view
+ class="newApplicationCard"
+ @click="toNewApplicationDetails"
+ v-for="(item, index) in newApplicationData" :key="index">
+ <view class="card">
+ <view class="card-left">
+ <view class="card-left_top">
+ <text>{{ item.description }}</text>
+ </view>
+ <view class="card-left_bottom">
+ <text>鐗堟湰锛歷{{ item.version }}</text>
+ <text>鎵�灞炲垎绫伙細{{ item.categoryTitle|| '' }}</text>
+ </view>
+ </view>
+ <view class="card-right">
+ <view class="icon"><image src="@/static/groupAppTotalImg/back_1.png" mode=""></image></view>
+ </view>
+ </view>
+ </view>
+ </template>
+
+ <view
+ v-if="permissions.yunxiao_gatheringbill_add"
+ class="newApplicationCard shoukuanDetailCard"
+ @click="ToPaymentForm">
<view class="card">
<view class="card-left">
- <view class="card-left_top">
- <text>{{ item.description }}</text>
- </view>
<view class="card-left_bottom">
- <text>鐗堟湰锛歷{{ item.version }}</text>
- <text>鎵�灞炲垎绫伙細{{ item.categoryTitle|| '' }}</text>
+ <text>鏂板鏀舵</text>
</view>
</view>
<view class="card-right">
@@ -31,19 +52,7 @@
</view>
</view>
</view>
- <view class="newApplicationCard shoukuanDetailCard" @click="ToPaymentForm">
- <view class="card">
- <view class="card-left">
- <view class="card-left_bottom">
- <text>娣诲姞鏀舵鏄庣粏</text>
- </view>
- </view>
- <view class="card-right">
- <view class="icon"><image src="@/static/groupAppTotalImg/back_1.png" mode=""></image></view>
- </view>
- </view>
- </view>
-
+
<!-- 閫夋嫨鍣� -->
<u-picker @cancel="statusSeletShow = false" @confirm="statusConfirm" :show="statusSeletShow" :columns="statusList"></u-picker>
@@ -56,8 +65,12 @@
<script>
import popupMenu from '@/components/common/popup-menu/popup-menu.vue';
import combinedTitle from '@/components/common/combined-title/combined-title.vue';
+import {mapGetters} from 'vuex'
export default {
name: 'new-application',
+ computed:{
+ ...mapGetters(['permissions']),
+ },
data() {
return {
searchData: '',
@@ -71,7 +84,7 @@
filter: true,
status: 1,
pageNumber: 1,
- pageSize: 10,
+ pageSize: 100,
sort: 'createTime',
order: 'desc'
},
@@ -85,7 +98,6 @@
this.init();
},
getCurrentPages(e) {
- console.log(e);
},
// 鐐瑰嚮瀵艰埅鏍忚彍鍗曞悗
onNavigationBarButtonTap(e) {
--
Gitblit v1.9.1