数据总览

This commit is contained in:
shijingjing
2022-12-26 11:02:06 +08:00
parent 11ae87af67
commit e5fbbb2bb9
2 changed files with 161 additions and 0 deletions

View File

@@ -14,6 +14,8 @@
<div :class="index == tabIndex ? 'tab-item active' : 'tab-item'" v-for="(item, index) in tabList" :key="index" @click="tabClick(index)">{{ item.text }}<span></span></div>
</div>
<component ref='list' :is="tabList[tabIndex].component" :areaId="areaId" class="component" />
<button @click="toOverData">按钮</button>
</div>
</template>
@@ -60,6 +62,9 @@ export default {
tabClick(index) {
this.tabIndex = index
},
toOverData() {
uni.navigateTo({url:'./AppDataOverview'})
},
areaSelect(e) {
this.areaId = e
this.refreshList()