mirror of
https://gitee.com/beecue/fastbee.git
synced 2025-12-17 16:36:03 +08:00
界面和权限调整
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
<div class="app-container home">
|
<div class="app-container home">
|
||||||
<el-row :gutter="40" style="margin-bottom:10px;">
|
<el-row :gutter="40" style="margin-bottom:10px;">
|
||||||
<el-col :xs="24" :sm="24" :md="24" :lg="14" :xl="14">
|
<el-col :xs="24" :sm="24" :md="24" :lg="14" :xl="14">
|
||||||
<el-card shadow="hover" style="margin:-10px;margin-bottom:20px;font-size:14px;min-height:170px;">
|
<el-card shadow="hover" style="margin:-10px;margin-bottom:20px;font-size:14px;min-height:170px;background-color:#fafafa;">
|
||||||
<div style="font-size:16px;font-weight:bold;margin-bottom:18px;">物美智能生活物联网平台</div>
|
<div style="font-size:16px;font-weight:bold;margin-bottom:18px;">物美智能生活物联网平台</div>
|
||||||
<div style="display:table;margin-bottom:10px;">
|
<div style="display:table;margin-bottom:10px;">
|
||||||
<div style="width:70px;font-weight: bold;display:table-cell;">个人用户:</div>
|
<div style="width:70px;font-weight: bold;display:table-cell;">个人用户:</div>
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
</el-card>
|
</el-card>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :xs="24" :sm="24" :md="24" :lg="10" :xl="10">
|
<el-col :xs="24" :sm="24" :md="24" :lg="10" :xl="10">
|
||||||
<el-card shadow="hover" style="margin:-10px;margin-bottom:20px;font-size:14px;min-height:170px;">
|
<el-card shadow="hover" style="margin:-10px;margin-bottom:20px;font-size:14px;min-height:170px;background-color:#fafafa;">
|
||||||
<div style="float:left;width:170px;">
|
<div style="float:left;width:170px;">
|
||||||
<el-image style="width:154px;" :src="require('@/assets/images/code.jpg')"></el-image>
|
<el-image style="width:154px;" :src="require('@/assets/images/code.jpg')"></el-image>
|
||||||
</div>
|
</div>
|
||||||
@@ -24,7 +24,13 @@
|
|||||||
<div style="display:table;margin-bottom:10px;">
|
<div style="display:table;margin-bottom:10px;">
|
||||||
<div style="width:70px;font-weight: bold;display:table-cell;">官方网站</div>
|
<div style="width:70px;font-weight: bold;display:table-cell;">官方网站</div>
|
||||||
<div style="display:table-cell;">
|
<div style="display:table-cell;">
|
||||||
<span>www.wumei.live</span>
|
<span>www.wumei.live</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div style="display:table;margin-bottom:10px;">
|
||||||
|
<div style="width:70px;font-weight: bold;display:table-cell;">联系作者</div>
|
||||||
|
<div style="display:table-cell;">
|
||||||
|
<span>QQ164770707</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="display:table;margin-bottom:15px;">
|
<div style="display:table;margin-bottom:15px;">
|
||||||
@@ -42,13 +48,13 @@
|
|||||||
|
|
||||||
<el-row :gutter="40" style="margin-bottom:80px;">
|
<el-row :gutter="40" style="margin-bottom:80px;">
|
||||||
<el-col :xs="24" :sm="24" :md="24" :lg="14" :xl="14">
|
<el-col :xs="24" :sm="24" :md="24" :lg="14" :xl="14">
|
||||||
<el-card style="margin:-10px;" shadow="hover" body-style="background-color:#F8F8F8;">
|
<el-card style="margin:-10px;" shadow="hover" body-style="background-color:#eee;">
|
||||||
<div ref="map" style="height:650px;margin:-10px;margin-top:-5px;"></div>
|
<div ref="map" style="height:650px;margin:-17px;margin-top:-12px;"></div>
|
||||||
</el-card>
|
</el-card>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
||||||
<el-col :xs="24" :sm="24" :md="24" :lg="10" :xl="10">
|
<el-col :xs="24" :sm="24" :md="24" :lg="10" :xl="10">
|
||||||
<el-card style="margin:-10px;" shadow="hover">
|
<el-card style="margin:-10px;" shadow="never">
|
||||||
<h3 style="font-weight:bold">Mqtt 统计指标</h3>
|
<h3 style="font-weight:bold">Mqtt 统计指标</h3>
|
||||||
<el-row :gutter="40" class="panel-group">
|
<el-row :gutter="40" class="panel-group">
|
||||||
<el-col :span="12" class="card-panel-col">
|
<el-col :span="12" class="card-panel-col">
|
||||||
@@ -132,7 +138,7 @@
|
|||||||
</el-row>
|
</el-row>
|
||||||
</el-card>
|
</el-card>
|
||||||
<el-card style="margin:-10px;margin-top:20px;" shadow="hover">
|
<el-card style="margin:-10px;margin-top:20px;" shadow="hover">
|
||||||
<div ref="statsChart" style="height:296px;"></div>
|
<div ref="statsChart" style="height:283px;"></div>
|
||||||
</el-card>
|
</el-card>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
||||||
@@ -153,17 +159,17 @@
|
|||||||
</el-card>
|
</el-card>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :xs="24" :sm="12" :md="12" :lg="8" :xl="4">
|
<el-col :xs="24" :sm="12" :md="12" :lg="8" :xl="4">
|
||||||
<el-card style="margin:-10px;height:218px;margin-bottom:30px;" shadow="hover">
|
<el-card style="margin:-10px;height:218px;margin-bottom:30px;background-color:#fafafa;" shadow="hover">
|
||||||
<div ref="pieCpu" style="height:200px;margin-bottom:-20px;"></div>
|
<div ref="pieCpu" style="height:200px;margin-bottom:-20px;"></div>
|
||||||
</el-card>
|
</el-card>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :xs="24" :sm="12" :md="12" :lg="8" :xl="4">
|
<el-col :xs="24" :sm="12" :md="12" :lg="8" :xl="4">
|
||||||
<el-card style="margin:-10px;height:218px;margin-bottom:30px;" shadow="hover">
|
<el-card style="margin:-10px;height:218px;margin-bottom:30px;background-color:#fafafa;" shadow="hover">
|
||||||
<div ref="pieMemery" style="height:200px;margin-bottom:-20px;"></div>
|
<div ref="pieMemery" style="height:200px;margin-bottom:-20px;"></div>
|
||||||
</el-card>
|
</el-card>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :xs="24" :sm="12" :md="12" :lg="8" :xl="4">
|
<el-col :xs="24" :sm="12" :md="12" :lg="8" :xl="4">
|
||||||
<el-card style="margin:-10px;height:218px;margin-bottom:30px;" shadow="hover">
|
<el-card style="margin:-10px;height:218px;margin-bottom:30px;background-color:#fafafa;" shadow="hover">
|
||||||
<div ref="pieDisk" style="height:200px;margin-bottom:-20px;"></div>
|
<div ref="pieDisk" style="height:200px;margin-bottom:-20px;"></div>
|
||||||
</el-card>
|
</el-card>
|
||||||
</el-col>
|
</el-col>
|
||||||
@@ -376,7 +382,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
bmap: {
|
bmap: {
|
||||||
center: [133, 37],
|
center: [133, 38],
|
||||||
zoom: 5,
|
zoom: 5,
|
||||||
roam: true,
|
roam: true,
|
||||||
mapStyle: {
|
mapStyle: {
|
||||||
@@ -391,7 +397,7 @@ export default {
|
|||||||
featureType: 'land',
|
featureType: 'land',
|
||||||
elementType: 'all',
|
elementType: 'all',
|
||||||
stylers: {
|
stylers: {
|
||||||
color: '#FFFFFF'
|
color: '#f0f0f0' // ##fffeee 黄色
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -755,7 +761,9 @@ export default {
|
|||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
color: #666;
|
color: #666;
|
||||||
box-shadow: 2px 2px 10px rgba(0, 0, 0, .1);
|
border:1px solid #eee;
|
||||||
|
border-radius:5px;
|
||||||
|
box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.08);
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
.card-panel-icon-wrapper {
|
.card-panel-icon-wrapper {
|
||||||
@@ -789,7 +797,7 @@ export default {
|
|||||||
|
|
||||||
.card-panel-icon {
|
.card-panel-icon {
|
||||||
float: left;
|
float: left;
|
||||||
font-size: 32px;
|
font-size: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-panel-description {
|
.card-panel-description {
|
||||||
|
|||||||
@@ -123,7 +123,7 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||||
<template slot-scope="scope" v-if="scope.row.roleId !== 1">
|
<template slot-scope="scope" v-if="scope.row.roleId !== 1 && scope.row.roleId !== 2 && scope.row.roleId !== 3">
|
||||||
<el-button
|
<el-button
|
||||||
size="mini"
|
size="mini"
|
||||||
type="text"
|
type="text"
|
||||||
@@ -137,7 +137,6 @@
|
|||||||
icon="el-icon-delete"
|
icon="el-icon-delete"
|
||||||
@click="handleDelete(scope.row)"
|
@click="handleDelete(scope.row)"
|
||||||
v-hasPermi="['system:role:remove']"
|
v-hasPermi="['system:role:remove']"
|
||||||
:disabled="scope.row.roleKey !== 'visitor'"
|
|
||||||
>删除</el-button>
|
>删除</el-button>
|
||||||
<el-dropdown size="mini" @command="(command) => handleCommand(command, scope.row)" v-hasPermi="['system:role:edit']">
|
<el-dropdown size="mini" @command="(command) => handleCommand(command, scope.row)" v-hasPermi="['system:role:edit']">
|
||||||
<span class="el-dropdown-link">
|
<span class="el-dropdown-link">
|
||||||
|
|||||||
Reference in New Issue
Block a user