origanization.vue 647 B

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