origanization.vue 765 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. <!-- <t-o-origanization></t-o-origanization> -->
  14. </view>
  15. </view>
  16. </template>
  17. <script>
  18. export default {
  19. data() {
  20. return {
  21. // 当前煤矿编码
  22. mine_code:"",
  23. }
  24. },
  25. onLoad() {
  26. // 初始化当前煤矿编码
  27. this.mine_code = uni.getStorageSync('mine_code')
  28. },
  29. methods: {
  30. }
  31. }
  32. </script>
  33. <style lang="scss">
  34. page{
  35. background-color: #F3F8F7;
  36. }
  37. </style>