12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- <template>
- <view class="">
- <!-- 组织架构 -->
- <!-- 枣泉 -->
- <view v-if="mine_code == 'zaoquan'">
- <t-o-zaoquan></t-o-zaoquan>
- </view>
- <view v-if="mine_code != 'zaoquan' && mine_code != 'ningdongyunying'">
- <t-o-origanization></t-o-origanization>
- </view>
- <view v-if="mine_code == 'ningdongyunying'">
- <t-o-news ref="tONews"></t-o-news>
- <!-- <t-o-origanization></t-o-origanization> -->
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- // 当前煤矿编码
- mine_code: "",
- }
- },
- onLoad() {
- // 初始化当前煤矿编码
- this.mine_code = uni.getStorageSync('mine_code')
-
- },
- onReachBottom() {
- console.log('++')
-
- this.$refs.tONews.tab_2_onReachBottom();
- },
- methods: {
- }
- }
- </script>
- <style lang="scss">
- page {
- background-color: #F3F8F7;
- }
- </style>
|