system_manage.vue
1.31 KB
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
<template>
<div class="contentBox minHeight">
<div :style="{ background: '#FFFFFF', 'min-height': height }">
<el-tabs v-model="activeName" @tab-click="handleClick">
<el-tab-pane label="校时设置" name="first">
<proofreadtime></proofreadtime>
</el-tab-pane>
<el-tab-pane label="系统维护" name="second">
<sytemset></sytemset>
</el-tab-pane>
<!-- <el-tab-pane label="展示设置" name="third">
<showset></showset>
</el-tab-pane> -->
<el-tab-pane label="登录设置" name="four" v-if="uname=='admin'">
<setlogin></setlogin>
</el-tab-pane>
</el-tabs>
</div>
</div>
</template>
<script>
import proofreadtime from "./systemComponents/proofreadtime";
import sytemset from "./systemComponents/sytemSet";
import showset from "./systemComponents/showSet";
import setlogin from './systemComponents/setlogin.vue'
export default {
data() {
return {
activeName: "first",
height: "",
uname:localStorage.getItem('uname'),
};
},
components: {
proofreadtime,
sytemset,
showset,
setlogin
},
mounted() {
this.height = document.body.clientHeight - 140 + "px";
},
methods: {
handleClick(tab, event) {
}
}
};
</script>
<style lang="scss" scoped></style>