From ccc3df0d565f52a4da17584a7ace4d43960e1ef3 Mon Sep 17 00:00:00 2001
From: wuyouming666 <2265557248@qq.com>
Date: 星期二, 19 九月 2023 13:54:42 +0800
Subject: [PATCH] 修改 admin 设置电气密码
---
CanadaMes-ui/src/layout/index.vue | 19 ++++++++++++-------
1 files changed, 12 insertions(+), 7 deletions(-)
diff --git a/CanadaMes-ui/src/layout/index.vue b/CanadaMes-ui/src/layout/index.vue
index ee09077..fa2c7b6 100644
--- a/CanadaMes-ui/src/layout/index.vue
+++ b/CanadaMes-ui/src/layout/index.vue
@@ -1,5 +1,5 @@
<template>
- <el-container style="flex: 1;">
+ <el-container style="flex: 1;height:100%;">
<div style="width: 200px;background-color: #222f3e" :style="{width: isCollapse?'70px':'250px'}">
<el-aside :width="isCollapse?'70px':'250px'">
<el-col :gutter="20">
@@ -13,12 +13,12 @@
background-color="#222f3e" text-color="#fff" active-text-color="#ffd04b"
:collapse="isCollapse" :unique-opened="true"
:collapse-transition="false" :router="true">
- <!-- <el-menu-item index="/" @click="goToHome">
+ <!-- <el-menu-item index="/" @click="youhua">
<template slot="title">
<i class="el-icon-menu"></i>
- <span>{{ $t('home') }}</span>
+ <span>浼樺寲</span>
</template>
</el-menu-item> -->
<!--涓�绾ц彍鍗�-->
@@ -157,6 +157,9 @@
goToHome() {
this.$router.push('/home');
},
+ youhua() {
+ this.$router.push('/device/talk');
+ },
...mapMutations('tags', ['addTag', 'removeTag', 'switchTag']),
addTag(router) {
let submenuItem;
@@ -204,15 +207,17 @@
'鐢ㄦ埛绠$悊': 'UserManagement',
'鐢ㄦ埛鍒楄〃': 'UserList',
'璁惧绠$悊': 'DeviceManagement',
- '鎶ヨ淇℃伅': 'AlarmInformation',
- '鍙傛暟涓嬪彂': 'ParameterSetting',
- '寮�鍏虫帶鍒�': 'SwitchControl',
- 'I/O鐘舵��': 'I/O Status',
+ '鎶ヨ淇℃伅': 'Alarm',
+ '鍙傛暟涓嬪彂': 'Parameter',
+ '寮�鍏虫帶鍒�': 'Action',
+ 'IO鐘舵��': 'Sign',
'鏉冮檺绠$悊': 'PermissionManagement',
'鏉冮檺鍒楄〃': 'PermissionList',
'瑙掕壊绠$悊': 'RoleManagement',
'瑙掕壊鍒楄〃': 'RoleList',
'鐢垫皵绠$悊': 'Electrical management',
+ '璁惧鐘舵��':'State',
+
'涓婚〉': 'Home'
// 鏍规嵁瀹為檯闇�姹傜户缁坊鍔犲鐓у叧绯�
};
--
Gitblit v1.8.0