origanization.vue 713 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <template>
  2. <view class="">
  3. <!-- 组织架构 -->
  4. <!-- 枣泉 -->
  5. <view v-if="mine_code == 'zaoquan'">
  6. <t-o-zaoquan></t-o-zaoquan>
  7. </view>
  8. <view v-if="mine_code != 'zaoquan' && mine_code != 'ningdongyunying'">
  9. <t-o-origanization></t-o-origanization>
  10. </view>
  11. <view v-if="mine_code == 'ningdongyunying'">
  12. <t-o-news></t-o-news>
  13. </view>
  14. </view>
  15. </template>
  16. <script>
  17. export default {
  18. data() {
  19. return {
  20. // 当前煤矿编码
  21. mine_code:"",
  22. }
  23. },
  24. onLoad() {
  25. // 初始化当前煤矿编码
  26. this.mine_code = uni.getStorageSync('mine_code')
  27. },
  28. methods: {
  29. }
  30. }
  31. </script>
  32. <style lang="scss">
  33. page{
  34. background-color: #F3F8F7;
  35. }
  36. </style>