车间能级提升-智能设备管理系统
朱桂飞
2025-01-09 3e8f7f239bedae0b4f04a1ac6bd443ba6298f73c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<script lang="ts" setup>
import { ref } from 'vue';
 
import { Tabs } from 'ant-design-vue';
 
import Browser from './pages/browser.vue';
import Device from './pages/device.vue';
import Isp from './pages/isp.vue';
import LoginLine from './pages/loginLine.vue';
import VisitMap from './pages/map.vue';
 
const TabPane = Tabs.TabPane;
 
const activeKey = ref<number>(1);
</script>
<template>
  <div class="pt-[16px]">
    <Tabs v-model:activeKey="activeKey" class="h-full" tab-position="left">
      <TabPane :key="1" tab="访问量数据"> <VisitMap /> </TabPane>
      <TabPane :key="2" tab="使用设备"><Device /></TabPane>
      <TabPane :key="3" tab="使用浏览器"><Browser /></TabPane>
      <TabPane :key="4" tab="登录量"><LoginLine /></TabPane>
      <TabPane :key="5" tab="运营商占比"><Isp /></TabPane>
    </Tabs>
  </div>
</template>