wjt
2024-06-20 5470b3652246095d9d73d8aa03ce8830459af8c9
policy/policyIndex/policyIndex.vue
@@ -1,19 +1,26 @@
<template>
   <view>
      <u-button @click="applyPulicy">执法申请</u-button>
      <u-button v-if="isJudge">执法审批</u-button>
      <u-button>执法结果上报</u-button>
      <u-button>记录查询</u-button>
      <u-button>数据看板</u-button>
      <policyIndexVue v-if="activeNumber == 0"></policyIndexVue>
      <minePage v-if="activeNumber == 1"></minePage>
      <tabsCom :activeNumber.sync="activeNumber"></tabsCom>
   </view>
</template>
<script>
   import {  getInfo } from '@/api/auth.js'
   import tabsCom from '@/policy/components/tabs.vue'
   import policyIndexVue from '@/policy/components/index.vue'
   import minePage from '@/policy/components/mine.vue'
   export default {
      components: {
         tabsCom,
         policyIndexVue,
         minePage
      },
      data() {
         return {
            isJudge: false
            isJudge: false,
            activeNumber: 1
         }
      },
      onShow() {
@@ -34,7 +41,11 @@
      }
   }
</script>
<style>
   page{
      background-color: #F7F7F7;
   }
</style>
<style scoped lang="scss">
@import "./policyIndex.scss";
</style>