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 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,11 +1,10 @@
1
1
  {
2
2
  "name": "zsysview",
3
3
  "private": false,
4
- "version": "0.0.55",
4
+ "version": "0.0.56",
5
5
  "type": "module",
6
6
  "files": [
7
- "dist",
8
- "docs/"
7
+ "dist"
9
8
  ],
10
9
  "style": "./dist/zsysview.css",
11
10
  "main": "./dist/zsysview.umd.js",
@@ -1,10 +0,0 @@
1
- # 全局变量
2
- ```
3
- import {inject} from 'vue'
4
- inject('变量名')
5
- ```
6
-
7
- 名称 | 变量名 | 描述
8
- ---------|----------|---------
9
- 系统名称 | appname | 管理员可以修改的系统名称
10
- 备案信息 | icp | 系统的ICP备案描述
@@ -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
- ])
@@ -1,7 +0,0 @@
1
- import {addFrameRouter} from 'zsysview'
2
-
3
- addFrameRouter({
4
- path: "/department",
5
- meta: { title: '组织架构' },
6
- component: () => import("../view/department/department.vue"),
7
- })
package/docs/readme.md DELETED
@@ -1 +0,0 @@
1
- # 全局变量11111