完善前端菜单和顶部导航框架
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
<template>
|
||||
<div class="consoleView">
|
||||
<el-row :gutter="20">
|
||||
<el-col :span="10" :md="10" :sm="10" :xs="24">8990</el-col>
|
||||
<el-col :span="10">8990</el-col>
|
||||
<el-col :span="4">8990</el-col>
|
||||
</el-row>
|
||||
<el-row :gutter="20">
|
||||
<el-col :span="9">8990</el-col>
|
||||
<el-col :span="9">8990</el-col>
|
||||
<el-col :span="6">8990</el-col>
|
||||
</el-row>
|
||||
<el-row :gutter="20">
|
||||
<el-col :span="9">8990</el-col>
|
||||
<el-col :span="9">8990</el-col>
|
||||
<el-col :span="6">8990</el-col>
|
||||
</el-row>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "index"
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
||||
@@ -11,6 +11,7 @@
|
||||
</div>
|
||||
<work v-if="dashboard=='1'" @on-mounted="onMounted"></work>
|
||||
<widgets v-else @on-mounted="onMounted"></widgets>
|
||||
|
||||
</template>
|
||||
|
||||
<script>
|
||||
@@ -27,11 +28,11 @@
|
||||
data(){
|
||||
return {
|
||||
pageLoading: true,
|
||||
dashboard: '0'
|
||||
dashboard: '1'
|
||||
}
|
||||
},
|
||||
created(){
|
||||
this.dashboard = this.$TOOL.data.get("USER_INFO").dashboard || '0';
|
||||
// this.dashboard = this.$TOOL.data.get("USER_INFO").dashboard || '0';
|
||||
},
|
||||
mounted(){
|
||||
|
||||
@@ -44,5 +45,6 @@
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
<style scoped lang="scss">
|
||||
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user