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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<template>
<div class="index_body">
<!-- <a-tabs type="card" :tabBarGutter="10" @change="changeActiveKey">
<a-tab-pane key="1" tab="在库管理">
<in-stock-manage v-if="activeKey == '1'"></in-stock-manage>
</a-tab-pane>
<a-tab-pane key="2" tab="叶酸发放登记">
<folvite-distribution v-if="activeKey == '2'"></folvite-distribution>
</a-tab-pane>
<a-tab-pane key="3" tab="分配入库(0)">
<distribution-warehousing v-if="activeKey == '3'"></distribution-warehousing>
</a-tab-pane>
<a-tab-pane key="4" tab="叶酸申请管理(0)">
Content of Tab Pane 4
</a-tab-pane>
<a-tab-pane key="5" tab="知情同意书管理">
Content of Tab Pane 5
</a-tab-pane>
</a-tabs>-->
</div>
</template>
<script>
import InStockManage from "./indexComponent/inStockManage/inStockManage";
import FolviteDistribution from "./indexComponent/folviteDistribution/folviteDistribution";
import DistributionWarehousing from "./indexComponent/distributionWarehousing/distributionWarehousing";
export default {
components: {DistributionWarehousing, FolviteDistribution, InStockManage},
data() {
return {
activeKey: '1'
}
},
created() {
let netWorkInfo = JSON.parse(window.sessionStorage.getItem('networkInfo'))
},
methods: {
changeActiveKey(key) {
this.activeKey = key
},
}
}
</script>
<style lang="less">
.index_body {
.ant-tabs-nav-scroll {
margin-left: 0px!important;
}
.ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-nav-container {
height: 35px!important;
}
.ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab {
height: 35px!important;
color: #F8F8FF!important;
line-height: 35px!important;
background: rgba(255,77,128, .5);
border-bottom: 0px solid #FF4D80;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
}
.ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab-active {
height: 35px!important;
color: #fff;
background: #FF4D80;
border-color: #FF4D80;
border-bottom: 0px solid #FF4D80;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
}
}
</style>