[update] 部署调整
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
// 阿里妈妈数黑体
|
// 阿里妈妈数黑体
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Alimama ShuHeiTi';
|
font-family: 'Alimama ShuHeiTi';
|
||||||
src: url('~@assets/font/AlimamaShuHeiTi-Bold.ttf') format('truetype');
|
src: url('~@assets/font/AlimamaShuHeiTi-Bold.ttf');
|
||||||
}
|
}
|
||||||
/*列表上方操作按钮区域*/
|
/*列表上方操作按钮区域*/
|
||||||
.ant-card-body .table-operator {
|
.ant-card-body .table-operator {
|
||||||
|
|||||||
@@ -52,6 +52,10 @@ export default {
|
|||||||
if (item.hidden) {
|
if (item.hidden) {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
// 移动端菜单不显示
|
||||||
|
if (item.path === '/mobile') {
|
||||||
|
return false
|
||||||
|
}
|
||||||
return true
|
return true
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@@ -70,13 +74,13 @@ export default {
|
|||||||
// 选择菜单
|
// 选择菜单
|
||||||
selectMenu (menu) {
|
selectMenu (menu) {
|
||||||
console.log(menu)
|
console.log(menu)
|
||||||
// if (menu.path !== '/systemOverview') {
|
if (menu.path !== '/systemOverview') {
|
||||||
// this.$warning({
|
this.$warning({
|
||||||
// title: '系统建设中',
|
title: '系统建设中',
|
||||||
// onOk: () => {}
|
onOk: () => {}
|
||||||
// })
|
})
|
||||||
// return
|
return
|
||||||
// }
|
}
|
||||||
this.selectPath = menu.path
|
this.selectPath = menu.path
|
||||||
if (menu.children && menu.children.length > 0) {
|
if (menu.children && menu.children.length > 0) {
|
||||||
this.$router.push({ path: menu.children[0].path })
|
this.$router.push({ path: menu.children[0].path })
|
||||||
|
|||||||
@@ -201,7 +201,7 @@ export default {
|
|||||||
@height: 48px;
|
@height: 48px;
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'UnidreamLED';
|
font-family: 'UnidreamLED';
|
||||||
src: url('~@assets/font/UnidreamLED.ttf') format('truetype');
|
src: url('~@assets/font/UnidreamLED.ttf');
|
||||||
}
|
}
|
||||||
.system-title {
|
.system-title {
|
||||||
user-select: none;
|
user-select: none;
|
||||||
|
|||||||
@@ -317,49 +317,49 @@ export default {
|
|||||||
dataSource: [
|
dataSource: [
|
||||||
{
|
{
|
||||||
id: '1',
|
id: '1',
|
||||||
triggerTime: '2024-3-15 13:55:26',
|
triggerTime: '2024-4-15 13:55:26',
|
||||||
messageType: '用户登录',
|
messageType: '用户登录',
|
||||||
messageContent: '张三登录系统'
|
messageContent: '张三登录系统'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: '2',
|
id: '2',
|
||||||
triggerTime: '2024-3-15 13:55:26',
|
triggerTime: '2024-4-15 13:55:26',
|
||||||
messageType: '设备上线',
|
messageType: '设备上线',
|
||||||
messageContent: '树101-1RTU控制器上线'
|
messageContent: '树101-1RTU控制器上线'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: '3',
|
id: '3',
|
||||||
triggerTime: '2024-3-15 13:55:26',
|
triggerTime: '2024-4-15 13:55:26',
|
||||||
messageType: '设备下线',
|
messageType: '设备下线',
|
||||||
messageContent: '树101-1RTU控制器上线'
|
messageContent: '树101-1RTU控制器上线'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: '4',
|
id: '4',
|
||||||
triggerTime: '2024-3-15 13:55:26',
|
triggerTime: '2024-4-15 13:55:26',
|
||||||
messageType: '设备上线',
|
messageType: '设备上线',
|
||||||
messageContent: '树101-1RTU控制器上线'
|
messageContent: '树101-1RTU控制器上线'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: '5',
|
id: '5',
|
||||||
triggerTime: '2024-3-15 13:55:26',
|
triggerTime: '2024-4-15 13:55:26',
|
||||||
messageType: '设备上线',
|
messageType: '设备上线',
|
||||||
messageContent: '树101-1RTU控制器上线'
|
messageContent: '树101-1RTU控制器上线'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: '6',
|
id: '6',
|
||||||
triggerTime: '2024-3-15 13:55:26',
|
triggerTime: '2024-4-15 13:55:26',
|
||||||
messageType: '设备上线',
|
messageType: '设备上线',
|
||||||
messageContent: '树101-1RTU控制器上线'
|
messageContent: '树101-1RTU控制器上线'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: '7',
|
id: '7',
|
||||||
triggerTime: '2024-3-15 13:55:26',
|
triggerTime: '2024-4-15 13:55:26',
|
||||||
messageType: '设备下线',
|
messageType: '设备下线',
|
||||||
messageContent: '树101-1RTU控制器下线'
|
messageContent: '树101-1RTU控制器下线'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: '8',
|
id: '8',
|
||||||
triggerTime: '2024-3-15 13:55:26',
|
triggerTime: '2024-4-15 13:55:26',
|
||||||
messageType: '用户退出',
|
messageType: '用户退出',
|
||||||
messageContent: '张三退出系统'
|
messageContent: '张三退出系统'
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -300,50 +300,50 @@ export default {
|
|||||||
dataSource: [
|
dataSource: [
|
||||||
{
|
{
|
||||||
id: '1',
|
id: '1',
|
||||||
time: '2024-3-15 13:55:26',
|
time: '2024-4-15 13:55:26',
|
||||||
msgType: 'Host-》Device',
|
msgType: msgType.hostToDevice.label,
|
||||||
msgContent: '01 03 00 00 00 05 89 C5'
|
msgContent: '01 03 00 00 00 05 89 C5'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: '2',
|
id: '2',
|
||||||
time: '2024-3-15 13:55:26',
|
time: '2024-4-15 13:55:26',
|
||||||
msgType: 'Device-》Host',
|
msgType: msgType.deviceToHost.label,
|
||||||
msgContent: '01 03 00 00 00 05 89 C5'
|
msgContent: '01 03 00 00 00 05 89 C5'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: '3',
|
id: '3',
|
||||||
time: '2024-3-15 13:55:26',
|
time: '2024-4-15 13:55:26',
|
||||||
msgType: 'Host-》Device',
|
msgType: msgType.hostToDevice.label,
|
||||||
msgContent: '01 03 00 00 00 05 89 C5'
|
msgContent: '01 03 00 00 00 05 89 C5'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: '4',
|
id: '4',
|
||||||
time: '2024-3-15 13:55:26',
|
time: '2024-4-15 13:55:26',
|
||||||
msgType: 'Device-》Host',
|
msgType: msgType.deviceToHost.label,
|
||||||
msgContent: '01 03 00 00 00 05 89 C5'
|
msgContent: '01 03 00 00 00 05 89 C5'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: '5',
|
id: '5',
|
||||||
time: '2024-3-15 13:55:26',
|
time: '2024-4-15 13:55:26',
|
||||||
msgType: 'Host-》Device',
|
msgType: msgType.hostToDevice.label,
|
||||||
msgContent: '01 03 00 00 00 05 89 C5'
|
msgContent: '01 03 00 00 00 05 89 C5'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: '6',
|
id: '6',
|
||||||
time: '2024-3-15 13:55:26',
|
time: '2024-4-15 13:55:26',
|
||||||
msgType: 'Device-》Host',
|
msgType: msgType.deviceToHost.label,
|
||||||
msgContent: '01 03 00 00 00 05 89 C5'
|
msgContent: '01 03 00 00 00 05 89 C5'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: '7',
|
id: '7',
|
||||||
time: '2024-3-15 13:55:26',
|
time: '2024-4-15 13:55:26',
|
||||||
msgType: 'Host-》Device',
|
msgType: msgType.hostToDevice.label,
|
||||||
msgContent: '01 03 00 00 00 05 89 C5'
|
msgContent: '01 03 00 00 00 05 89 C5'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: '8',
|
id: '8',
|
||||||
time: '2024-3-15 13:55:26',
|
time: '2024-4-15 13:55:26',
|
||||||
msgType: 'Device-》Host',
|
msgType: msgType.deviceToHost.label,
|
||||||
msgContent: '01 03 00 00 00 05 89 C5'
|
msgContent: '01 03 00 00 00 05 89 C5'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user