From 1c7b86f984498eab66968c8d9e9ece42634b96bb Mon Sep 17 00:00:00 2001 From: 819527061@qq.com <123456> Date: 星期二, 28 十一月 2023 14:10:48 +0800 Subject: [PATCH] 收款明细页面及对接接口、详情页面 测试bug调整 --- pages/new-application/new-application.vue | 50 +++++++++++++++++++++++++++++++------------------- 1 files changed, 31 insertions(+), 19 deletions(-) diff --git a/pages/new-application/new-application.vue b/pages/new-application/new-application.vue index bb029e0..201f39a 100644 --- a/pages/new-application/new-application.vue +++ b/pages/new-application/new-application.vue @@ -15,23 +15,32 @@ </view> --> <combined-title title="鐢宠妯℃澘"></combined-title> <!-- 鍗$墖鍖哄煙 --> - <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> - <view class="newApplicationCard shoukuanDetailCard" @click="ToPaymentForm"> + <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_bottom"> @@ -43,7 +52,7 @@ </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: '', @@ -85,7 +98,6 @@ this.init(); }, getCurrentPages(e) { - console.log(e); }, // 鐐瑰嚮瀵艰埅鏍忚彍鍗曞悗 onNavigationBarButtonTap(e) { -- Gitblit v1.9.1