| | |
| | | <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() { |
| | |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style> |
| | | |
| | | page{ |
| | | background-color: #F7F7F7; |
| | | } |
| | | </style> |
| | | <style scoped lang="scss"> |
| | | @import "./policyIndex.scss"; |
| | | </style> |