819527061@qq.com
2023-12-01 c56e67c77e2a36c894346830c1ab1e6df36fe935
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>版本:v{{ 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>版本:v{{ item.version }}</text>
                  <text>所属分类:{{ item.categoryTitle|| '' }}</text>
                  <text>新增收款</text>
               </view>
            </view>
            <view class="card-right">
@@ -31,6 +52,7 @@
            </view>
         </view>
      </view>
      <!-- 选择器 -->
      <u-picker @cancel="statusSeletShow = false" @confirm="statusConfirm" :show="statusSeletShow" :columns="statusList"></u-picker>
@@ -43,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: '',
@@ -72,7 +98,6 @@
      this.init();
   },
   getCurrentPages(e) {
      console.log(e);
   },
   // 点击导航栏菜单后
   onNavigationBarButtonTap(e) {
@@ -113,6 +138,12 @@
         uni.navigateTo({
            url: '/pages/new-application-form-data/new-application-form-data'
         });
      },
      //新增收款明细
      ToPaymentForm() {
         uni.navigateTo({
            url:'/pages/payment-form-data/payment-form-data'
         })
      }
   }
};
@@ -209,5 +240,17 @@
         }
      }
   }
   .shoukuanDetailCard{
      .card{
         height: auto;
         .card-left_bottom {
            font-size: vww(13);
            margin: vww(12) 0;
            text {
               margin-right: vww(16);
            }
         }
      }
   }
}
</style>