完善前端菜单和顶部导航框架

This commit is contained in:
龙运模
2024-06-27 10:10:24 +08:00
parent c77310c675
commit af63c0fccd
8 changed files with 65 additions and 10 deletions
+29
View File
@@ -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>
+5 -3
View File
@@ -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>