Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
L
laravelzh
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
冯超鹏
laravelzh
Commits
56afe8d5
Commit
56afe8d5
authored
May 05, 2020
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
导航
parent
d7ab67f9
Pipeline
#33
failed with stages
Changes
14
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
170 additions
and
17 deletions
+170
-17
history.svg
resources/js/icons/svg/history.svg
+1
-0
zh.js
resources/js/lang/zh.js
+9
-0
index.js
resources/js/router/index.js
+20
-16
device.js
resources/js/router/modules/device.js
+7
-1
history.js
resources/js/router/modules/history.js
+29
-0
monitor.js
resources/js/router/modules/monitor.js
+29
-0
users.js
resources/js/router/modules/users.js
+12
-0
categories.vue
resources/js/views/device/categories.vue
+9
-0
alarms.vue
resources/js/views/history/alarms.vue
+9
-0
index.vue
resources/js/views/history/index.vue
+9
-0
index.vue
resources/js/views/map/index.vue
+9
-0
chemicals.vue
resources/js/views/monitor/chemicals.vue
+9
-0
fire.vue
resources/js/views/monitor/fire.vue
+9
-0
installer.vue
resources/js/views/user/installer.vue
+9
-0
No files found.
resources/js/icons/svg/history.svg
0 → 100644
View file @
56afe8d5
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg
t=
"1588665671458"
class=
"icon"
viewBox=
"0 0 1024 1024"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
p-id=
"1995"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
width=
"128"
height=
"128"
><defs><style
type=
"text/css"
></style></defs><path
d=
"M812.459479 754.517158c10.779874 5.389937 16.168811 14.820826 17.515795 26.947684 0 10.778874-5.389937 21.557747-14.820827 28.293669-9.431889 6.736921-21.557747 6.736921-30.989636 1.347984l-127.9985-64.673242c-10.778874-5.389937-17.514795-16.167811-17.514795-28.294669V572.62529c0-17.515795 14.819826-32.336621 32.335621-32.336622s32.336621 14.819826 32.336621 32.336622v126.650515l109.135721 55.241353z m-629.212626-342.22699c-9.431889 0-18.863779 2.693968-25.5997 9.43089-5.389937 5.389937-9.431889 14.820826-9.43189 22.905732 0 9.430889 2.693968 17.514795 9.43089 24.251715 6.736921 6.736921 14.820826 9.431889 25.5997 9.43189h140.124358c9.431889 0 18.863779-2.694968 25.5997-9.43189 6.736921-6.736921 9.431889-14.819826 9.431889-24.251715s-2.694968-17.515795-9.431889-22.905732c-6.735921-6.736921-16.167811-9.430889-25.5997-9.43089H183.245853z m0-161.682105c-12.126858 0-22.905732 6.735921-29.642653 17.514795-6.736921 9.431889-6.736921 22.905732 0 32.336621 6.736921 10.779874 16.167811 16.168811 29.641653 16.168811h408.248215c9.430889 0 17.515795-2.694968 24.251716-9.43189 6.736921-5.389937 9.431889-14.820826 9.43189-22.904732 0-9.431889-2.694968-17.515795-9.43189-24.252715s-14.819826-9.430889-24.251716-9.43089H183.245853z m688.495931 635.949548c48.505432-48.504432 72.757147-107.788737 74.105132-177.849916-1.347984-74.104132-25.5997-133.388437-74.105132-180.545884-47.157447-47.156447-106.440753-72.756147-179.1979-75.451116-72.757147 2.694968-132.040453 26.946684-179.1979 74.104131s-72.757147 106.440753-74.104131 179.1979c2.694968 72.757147 26.946684 130.693468 75.452115 179.1979 47.157447 47.157447 106.440753 71.409163 179.1979 74.104132 71.409163-1.346984 130.692468-25.5997 177.849916-72.757147z m45.809463-402.858279c59.284305 59.283305 90.273942 134.735421 92.968911 223.660379-2.694968 88.925958-32.337621 164.378074-92.968911 223.661379-59.282305 59.283305-134.734421 90.271942-223.659379 92.96691-74.105132-1.346984-137.430389-22.904732-191.324757-63.325258H91.625926c-36.378574 0-64.673242-29.641653-64.673242-66.020226v-788.200763c0-35.031589 28.294668-66.021226 64.673242-66.021227h662.897232c36.379574 0 64.673242 29.641653 64.673242 66.020227v309.891368c36.378574 16.167811 70.062179 39.073542 98.356847 67.367211z m0 0"
p-id=
"1996"
fill=
"#333333"
></path></svg>
\ No newline at end of file
resources/js/lang/zh.js
View file @
56afe8d5
export
default
{
route
:
{
monitor
:
'实时监测'
,
dangerousChemicals
:
'危化监测'
,
fireControl
:
'消防监测'
,
map
:
'地图模式'
,
history
:
'记录'
,
historyAlarms
:
'报警记录'
,
historyData
:
'历史数据'
,
administrator
:
'超级管理员'
,
users
:
'用户'
,
dashboard
:
'首页'
,
introduction
:
'简述'
,
documentation
:
'文档'
,
...
...
resources/js/router/index.js
View file @
56afe8d5
...
...
@@ -24,6 +24,8 @@ import nestedRoutes from './modules/nested';
import
errorRoutes
from
'./modules/error'
;
import
excelRoutes
from
'./modules/excel'
;
import
permissionRoutes
from
'./modules/permission'
;
import
historyRoutes
from
'./modules/history.js'
;
import
monitorRoutes
from
'./modules/monitor.js'
;
/**
* Sub-menu only appear when children.length>=1
...
...
@@ -99,6 +101,24 @@ export const constantRoutes = [
},
],
},
{
path
:
'/map'
,
component
:
Layout
,
redirect
:
'/map'
,
children
:
[
{
path
:
'map'
,
component
:
()
=>
import
(
'@/views/map/index'
),
name
:
'Map'
,
meta
:
{
title
:
'map'
,
icon
:
'international'
,
noCache
:
false
},
},
],
},
monitorRoutes
,
historyRoutes
,
deviceRoutes
,
usersRoutes
,
adminRoutes
,
{
path
:
'/documentation'
,
component
:
Layout
,
...
...
@@ -134,9 +154,6 @@ export const asyncRoutes = [
chartsRoutes
,
nestedRoutes
,
tableRoutes
,
adminRoutes
,
deviceRoutes
,
usersRoutes
,
{
path
:
'/theme'
,
component
:
Layout
,
...
...
@@ -213,19 +230,6 @@ export const asyncRoutes = [
},
],
},
{
path
:
'/wx_user'
,
component
:
Layout
,
meta
:
{
permissions
:
[
'view menu wx_user'
]
},
children
:
[
{
path
:
'wxuser/wxlist'
,
component
:
()
=>
import
(
'@/views/wx_user'
),
name
:
'wx_user'
,
meta
:
{
title
:
'wx_user'
,
icon
:
'wechat'
},
},
],
},
{
path
:
'*'
,
redirect
:
'/404'
,
hidden
:
true
},
];
...
...
resources/js/router/modules/device.js
View file @
56afe8d5
...
...
@@ -16,7 +16,13 @@ const deviceRoutes = {
path
:
'device'
,
component
:
()
=>
import
(
'@/views/device/index'
),
name
:
'Device'
,
meta
:
{
title
:
'设备列表'
,
icon
:
'devicelist'
,
permissions
:
[
'manage user'
]
},
meta
:
{
title
:
'设备列表'
,
icon
:
'devicelist'
,
permissions
:
[
'manage device'
]
},
},
{
path
:
'categories'
,
component
:
()
=>
import
(
'@/views/device/categories'
),
name
:
'Categories'
,
meta
:
{
title
:
'设备分类'
,
icon
:
'tree-table'
,
permissions
:
[
'manage categories'
]
},
},
],
};
...
...
resources/js/router/modules/history.js
0 → 100644
View file @
56afe8d5
import
Layout
from
'@/layout'
;
const
historyRoutes
=
{
path
:
'/history'
,
component
:
Layout
,
redirect
:
'/history/alarms'
,
name
:
'HistoryAlarms'
,
meta
:
{
title
:
'history'
,
icon
:
'nested'
,
permissions
:
[
'view menu history alarms'
],
},
children
:
[
{
path
:
'alarms'
,
name
:
'Alarms'
,
component
:
()
=>
import
(
'@/views/history/alarms'
),
meta
:
{
title
:
'historyAlarms'
,
icon
:
'form'
},
},
{
path
:
'index'
,
component
:
()
=>
import
(
'@/views/history/index'
),
name
:
'Index'
,
meta
:
{
title
:
'historyData'
,
icon
:
'chart'
,
noCache
:
true
},
},
],
};
export
default
historyRoutes
;
resources/js/router/modules/monitor.js
0 → 100644
View file @
56afe8d5
import
Layout
from
'@/layout'
;
const
monitorRoutes
=
{
path
:
'/monitor'
,
component
:
Layout
,
redirect
:
'/monitor/dangerous_chemicals'
,
name
:
'Mointor'
,
meta
:
{
title
:
'monitor'
,
icon
:
'devicelist'
,
permissions
:
[
'view menu monitor'
],
},
children
:
[
{
path
:
'dangerous_chemicals'
,
name
:
'DangerousChemicals'
,
component
:
()
=>
import
(
'@/views/monitor/chemicals'
),
meta
:
{
title
:
'dangerousChemicals'
,
icon
:
'form'
},
},
{
path
:
'fire'
,
component
:
()
=>
import
(
'@/views/monitor/fire'
),
name
:
'Fire'
,
meta
:
{
title
:
'fireControl'
,
icon
:
'chart'
,
noCache
:
true
},
},
],
};
export
default
monitorRoutes
;
resources/js/router/modules/users.js
View file @
56afe8d5
...
...
@@ -18,6 +18,18 @@ const usersRoutes = {
name
:
'Userlist'
,
meta
:
{
title
:
'用户列表'
,
icon
:
'user'
,
permissions
:
[
'manage user'
]
},
},
{
path
:
'wechat'
,
component
:
()
=>
import
(
'@/views/wx_user'
),
name
:
'wechat'
,
meta
:
{
title
:
'wx_user'
,
icon
:
'wechat'
},
},
{
path
:
'installer'
,
component
:
()
=>
import
(
'@/views/user/installer'
),
name
:
'Installer'
,
meta
:
{
title
:
'装维人员'
,
icon
:
'role'
},
},
],
};
export
default
usersRoutes
;
resources/js/views/device/categories.vue
0 → 100644
View file @
56afe8d5
<
template
>
<div>
设备分类
</div>
</
template
>
<
script
>
</
script
>
<
style
>
</
style
>
resources/js/views/history/alarms.vue
0 → 100644
View file @
56afe8d5
<
template
>
<div>
报警记录
</div>
</
template
>
<
script
>
</
script
>
<
style
>
</
style
>
resources/js/views/history/index.vue
0 → 100644
View file @
56afe8d5
<
template
>
<div>
设备记录
</div>
</
template
>
<
script
>
</
script
>
<
style
>
</
style
>
resources/js/views/map/index.vue
0 → 100644
View file @
56afe8d5
<
template
>
<div>
地图模式
</div>
</
template
>
<
script
>
</
script
>
<
style
>
</
style
>
resources/js/views/monitor/chemicals.vue
0 → 100644
View file @
56afe8d5
<
template
>
<div>
危化监测
</div>
</
template
>
<
script
>
</
script
>
<
style
>
</
style
>
resources/js/views/monitor/fire.vue
0 → 100644
View file @
56afe8d5
<
template
>
<div>
消防监测
</div>
</
template
>
<
script
>
</
script
>
<
style
>
</
style
>
resources/js/views/user/installer.vue
0 → 100644
View file @
56afe8d5
<
template
>
<div>
装维人员
</div>
</
template
>
<
script
>
</
script
>
<
style
>
</
style
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment