From 59ad7ba6452b2028fd7faca000c626a148256620 Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@iotlink.com>
Date: 星期二, 01 九月 2020 23:29:50 +0800
Subject: [PATCH] fix: do not allow empty data to be saved. for area manager
---
src/pages/desktop/index/mock/userData.json | 146 ++++++++++++++++++++++++------------------------
1 files changed, 73 insertions(+), 73 deletions(-)
diff --git a/src/pages/desktop/index/mock/userData.json b/src/pages/desktop/index/mock/userData.json
index 20a2a50..1ef5859 100644
--- a/src/pages/desktop/index/mock/userData.json
+++ b/src/pages/desktop/index/mock/userData.json
@@ -5,157 +5,157 @@
"docks": [
{
"id": "5",
+ "name": "gb28181",
"src": "../../images/app-mid/GB-config.png",
"alt": "GB28181閰嶇疆",
"type": "2",
"url": "/view/gb28181",
- "name": "GB28181閰嶇疆"
+ "title": "GB28181閰嶇疆",
+ "width": 600,
+ "height": 670
},
{
"id": "12",
+ "name": "cameraVideo",
"src": "../../images/app-mid/monitor.png",
"alt": "瀹炴椂鐩戞帶",
"type": "2",
"url": "/view/cameraVideo",
- "name": "瀹炴椂鐩戞帶",
- "width": 1528,
- "height": 915
+ "title": "瀹炴椂鐩戞帶",
+ "width": 1328,
+ "height": 690
},
{
"id": "9",
- "src": "../../images/app-mid/algorithm-manage.png",
- "alt": "绠楁硶绠$悊",
+ "name": "algorithmManage",
+ "src": "../../images/app-mid/algorithm-store.png",
+ "alt": "搴旂敤涓績",
"type": "2",
- "url": "/view/algorithmManage",
- "name": "绠楁硶绠$悊",
- "width": 1528,
- "height": 915
+ "url": "/view/ai",
+ "title": "搴旂敤涓績",
+ "width": 1243,
+ "height": 670
},
{
"id": "1",
+ "name": "cameraAccess",
"src": "../../images/app-mid/camera-access.png",
"alt": "camera-access",
"type": "2",
"url": "/view/cameraAccess",
- "name": "鎽勫儚鏈洪厤缃�",
- "width": 1876,
- "height": 900
+ "title": "鎽勫儚鏈洪厤缃�",
+ "width": 1200,
+ "height": 670
},
{
"id": "2",
+ "name": "dataStack",
"src": "../../images/app-mid/datastack-config.png",
"alt": "datastack-config",
"type": "2",
"url": "/view/cameraAccess?dataStack=1",
- "name": "鏁版嵁鏍堥厤缃�",
- "width": 1876,
- "height": 750
- },
- {
- "id": "3",
- "src": "../../images/app-mid/DVR-access.png",
- "alt": "DVR",
- "type": "2",
- "url": "/view/DVR",
- "name": "纭洏褰曞儚鏈烘帴鍏�"
+ "title": "鏁版嵁鏍堥厤缃�",
+ "width": 1200,
+ "height": 670
},
{
"id": "4",
+ "name": "datapush",
"src": "../../images/app-mid/data-push.png",
"alt": "data-push",
"type": "2",
"url": "/view/datapush",
- "name": "鏁版嵁鎺ㄩ��"
+ "title": "鏁版嵁鎺ㄩ��",
+ "width": 1024,
+ "height": 512
},
{
"id": "7",
+ "name": "library",
"src": "../../images/app-mid/library.png",
"alt": "姣斿搴撶鐞�",
"type": "2",
"url": "/view/library",
- "name": "姣斿搴撶鐞�",
- "width": 1542,
- "height": 800
- },
- {
- "id": "8",
- "src": "../../images/app-mid/poll.png",
- "alt": "杞绠$悊",
- "type": "2",
- "url": "/view/poll",
- "name": "杞绠$悊"
- },
- {
- "id": "10",
- "src": "../../images/app-mid/algorithm-store.png",
- "alt": "绠楁硶鍟嗗煄",
- "type": "2",
- "url": "/view/algorithmStore",
- "name": "搴旂敤涓績"
+ "title": "姣斿搴撶鐞�",
+ "width": 1200,
+ "height": 670
},
{
"id": "11",
+ "name": "analysisPower",
"src": "../../images/app-mid/hashrate-manage.png",
"alt": "绠楀姏绠$悊",
"type": "2",
"url": "/view/analysisPower",
- "name": "绠楀姏绠$悊",
- "width": 1720,
- "height": 800
+ "title": "绠楀姏绠$悊",
+ "width": 1200,
+ "height": 670
},
{
"id": "13",
+ "name": "search",
"src": "../../images/app-mid/search.png",
"alt": "缁熻鏌ヨ",
"type": "2",
"url": "/view/search",
- "name": "缁熻鏌ヨ",
- "width": 1663,
- "height": 890
- },
- {
- "id": "14",
- "src": "../../images/app-mid/360.png",
- "alt": "鍏ㄦ櫙瑙嗛",
- "type": "2",
- "url": "/view/panoramicVideo",
- "name": "鍏ㄦ櫙瑙嗛"
+ "title": "缁熻鏌ヨ",
+ "width": 1344,
+ "height": 675
},
{
"id": "15",
+ "name": "syslog",
"src": "../../images/app-mid/log-manage.png",
"alt": "鏃ュ織绠$悊",
"type": "2",
"url": "/view/syslog",
- "name": "鏃ュ織绠$悊",
- "width": 1246,
- "height": 590
- },
- {
- "id": "16",
- "src": "../../images/app-mid/device.png",
- "alt": "璁惧绠$悊",
- "type": "2",
- "url": "/view/device",
- "name": "璁惧绠$悊"
+ "title": "鏃ュ織绠$悊",
+ "width": 1200,
+ "height": 600
},
{
"id": "17",
+ "name": "settings",
"src": "../../images/app-mid/settings.png",
"alt": "绯荤粺璁剧疆",
"type": "2",
"url": "/view/settings",
- "name": "绯荤粺璁剧疆",
- "width": 1450,
- "height": 808
+ "title": "绯荤粺璁剧疆",
+ "width": 1200,
+ "height": 650
},
{
"id": "18",
+ "name": "vindicate",
"src": "../../images/app-mid/vindicate.png",
"alt": "绯荤粺缁存姢",
"type": "2",
"url": "/view/vindicate",
- "name": "绯荤粺缁存姢"
+ "title": "绯荤粺缁存姢",
+ "width": 760,
+ "height": 534
+ },
+ {
+ "id": "19",
+ "name": "heatCamera",
+ "src": "../../images/app-mid/algorithm-manage.png",
+ "alt": "鐑姏鍥�",
+ "type": "2",
+ "url": "/view/heatCamera",
+ "title": "鐑姏鍥�",
+ "width": 760,
+ "height": 600
+ },
+ {
+ "id": "20",
+ "name": "areaManage",
+ "src": "../../images/app-mid/device.png",
+ "alt": "鎽勫儚鏈哄尯鍩熺鐞�",
+ "type": "2",
+ "url": "/view/areaManage",
+ "title": "鎽勫儚鏈哄尯鍩熺鐞�",
+ "width": 1200,
+ "height": 600
}
]
}
--
Gitblit v1.8.0