zsysview 0.0.55 → 0.0.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +33 -0
- package/package.json +2 -3
- package/docs/1/345/205/250/345/261/200/345/217/230/351/207/217.md +0 -10
- package/docs/2/345/267/246/344/276/247/350/217/234/345/215/225.md +0 -18
- package/docs/3/350/267/257/347/224/261.md +0 -7
- package/docs/4/345/270/270/347/224/250/347/273/204/344/273/266 +0 -0
- package/docs/readme.md +0 -1
package/README.md
CHANGED
|
@@ -21,3 +21,36 @@ server: {
|
|
|
21
21
|
},
|
|
22
22
|
},
|
|
23
23
|
```
|
|
24
|
+
|
|
25
|
+
#### 左侧菜单
|
|
26
|
+
```
|
|
27
|
+
zsysapp.provide('app_menus',[
|
|
28
|
+
{ name: '首页', icon: markRaw(House), url: '/desktop'},
|
|
29
|
+
{ name: '数据看板', icon: markRaw(Odometer), url: '/chart' },
|
|
30
|
+
{ name: '事件管理', icon: markRaw(Collection), url: '/eventgroup/event'},
|
|
31
|
+
// {
|
|
32
|
+
// name: '事件管理', icon: markRaw(Collection), url: '/111', show: false,
|
|
33
|
+
// children: [
|
|
34
|
+
// { name: '数据看板', icon: markRaw(Odometer), url: '/user', show: false },
|
|
35
|
+
// { name: '事件', icon: markRaw(Collection), url: '/eventgroup/event', show: false },
|
|
36
|
+
// ]
|
|
37
|
+
// },
|
|
38
|
+
{ name: '行为分析引擎', icon: markRaw(SetUp), url: '/engine' },
|
|
39
|
+
{ name: '设备管理', icon: markRaw(VideoCamera), url: '/equipment' },
|
|
40
|
+
{ name: '区域管理', icon: markRaw(Location), url: '/area' },
|
|
41
|
+
{ name: '报表与统计', icon: markRaw(Document), url: '/building?1' },
|
|
42
|
+
{ name: '报警与通知', icon: markRaw(Bell), url: '/building?2'},
|
|
43
|
+
|
|
44
|
+
])
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
#### 路由
|
|
48
|
+
```
|
|
49
|
+
import {addFrameRouter} from 'zsysview'
|
|
50
|
+
|
|
51
|
+
addFrameRouter({
|
|
52
|
+
path: "/department",
|
|
53
|
+
meta: { title: '组织架构' },
|
|
54
|
+
component: () => import("../view/department/department.vue"),
|
|
55
|
+
})
|
|
56
|
+
```
|
package/package.json
CHANGED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
zsysapp.provide('app_menus',[
|
|
2
|
-
{ name: '首页', icon: markRaw(House), url: '/desktop'},
|
|
3
|
-
{ name: '数据看板', icon: markRaw(Odometer), url: '/chart' },
|
|
4
|
-
{ name: '事件管理', icon: markRaw(Collection), url: '/eventgroup/event'},
|
|
5
|
-
// {
|
|
6
|
-
// name: '事件管理', icon: markRaw(Collection), url: '/111', show: false,
|
|
7
|
-
// children: [
|
|
8
|
-
// { name: '数据看板', icon: markRaw(Odometer), url: '/user', show: false },
|
|
9
|
-
// { name: '事件', icon: markRaw(Collection), url: '/eventgroup/event', show: false },
|
|
10
|
-
// ]
|
|
11
|
-
// },
|
|
12
|
-
{ name: '行为分析引擎', icon: markRaw(SetUp), url: '/engine' },
|
|
13
|
-
{ name: '设备管理', icon: markRaw(VideoCamera), url: '/equipment' },
|
|
14
|
-
{ name: '区域管理', icon: markRaw(Location), url: '/area' },
|
|
15
|
-
{ name: '报表与统计', icon: markRaw(Document), url: '/building?1' },
|
|
16
|
-
{ name: '报警与通知', icon: markRaw(Bell), url: '/building?2'},
|
|
17
|
-
|
|
18
|
-
])
|
|
File without changes
|
package/docs/readme.md
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
# 全局变量11111
|