nayota-show-sdk 1.2.5 → 1.2.7
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/api/area.js +2 -0
- package/api/bmsRouter.js +2 -0
- package/index.js +3 -1
- package/package.json +1 -1
package/api/area.js
CHANGED
|
@@ -23,6 +23,7 @@ import { requestShow } from '../utils'
|
|
|
23
23
|
* @property {Array} bounds - 区域边界点
|
|
24
24
|
* @property {Array} statisticsComponent - 统计组件名称数组
|
|
25
25
|
* @property {Object} statisticsJson - 统计组件自定义json
|
|
26
|
+
* @property {string} areaClass - 区域类型id
|
|
26
27
|
* @example
|
|
27
28
|
* {
|
|
28
29
|
"_id": "67073bfe463d6e00099becdd",
|
|
@@ -32,6 +33,7 @@ import { requestShow } from '../utils'
|
|
|
32
33
|
"visible": true,
|
|
33
34
|
"opacity": 1,
|
|
34
35
|
"type": "办公区",
|
|
36
|
+
"areaClass": "67073bfe463d6e00099becdd",
|
|
35
37
|
"bounds": [
|
|
36
38
|
[
|
|
37
39
|
116.404,
|
package/api/bmsRouter.js
CHANGED
|
@@ -28,6 +28,7 @@ import { requestShow } from '../utils'
|
|
|
28
28
|
* @property {string} icon - 图标
|
|
29
29
|
* @property {String} statisticsComponent - 统计组件
|
|
30
30
|
* @property {String} statisticsJson - 统计组件自定义json
|
|
31
|
+
* @property {array} areaClass - 区域类型id数组
|
|
31
32
|
* @example
|
|
32
33
|
* {
|
|
33
34
|
"children": [],
|
|
@@ -109,6 +110,7 @@ import { requestShow } from '../utils'
|
|
|
109
110
|
"type": "页面",
|
|
110
111
|
"icon": null,
|
|
111
112
|
"path": "models-universal-device-subject",
|
|
113
|
+
"areaClass": ["67073bfe463d6e00099becdd"],
|
|
112
114
|
"createdAt": "2024-10-31T06:32:39.736Z",
|
|
113
115
|
"updatedAt": "2024-11-11T08:05:54.442Z",
|
|
114
116
|
"__v": 3
|
package/index.js
CHANGED
|
@@ -26,6 +26,7 @@ import inspectionTask from './api/inspectionTask'
|
|
|
26
26
|
import inspectionTaskSub from './api/inspectionTaskSub'
|
|
27
27
|
import product from './api/product'
|
|
28
28
|
import area from './api/area'
|
|
29
|
+
import areaClass from './api/areaClass'
|
|
29
30
|
|
|
30
31
|
const api = {
|
|
31
32
|
alarmRecord,
|
|
@@ -52,7 +53,8 @@ const api = {
|
|
|
52
53
|
inspectionTask,
|
|
53
54
|
inspectionTaskSub,
|
|
54
55
|
product,
|
|
55
|
-
area
|
|
56
|
+
area,
|
|
57
|
+
areaClass
|
|
56
58
|
}
|
|
57
59
|
|
|
58
60
|
export default {
|