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 |  174 +++++++++++++++++++++++++++++++++++++++++++++------------
 1 files changed, 137 insertions(+), 37 deletions(-)

diff --git a/src/pages/desktop/index/mock/userData.json b/src/pages/desktop/index/mock/userData.json
index 1260c13..1ef5859 100644
--- a/src/pages/desktop/index/mock/userData.json
+++ b/src/pages/desktop/index/mock/userData.json
@@ -4,58 +4,158 @@
   "data": {
     "docks": [
       {
+        "id": "5",
+        "name": "gb28181",
+        "src": "../../images/app-mid/GB-config.png",
+        "alt": "GB28181閰嶇疆",
+        "type": "2",
+        "url": "/view/gb28181",
+        "title": "GB28181閰嶇疆",
+        "width": 600,
+        "height": 670
+      },
+      {
+        "id": "12",
+        "name": "cameraVideo",
+        "src": "../../images/app-mid/monitor.png",
+        "alt": "瀹炴椂鐩戞帶",
+        "type": "2",
+        "url": "/view/cameraVideo",
+        "title": "瀹炴椂鐩戞帶",
+        "width": 1328,
+        "height": 690
+      },
+      {
+        "id": "9",
+        "name": "algorithmManage",
+        "src": "../../images/app-mid/algorithm-store.png",
+        "alt": "搴旂敤涓績",
+        "type": "2",
+        "url": "/view/ai",
+        "title": "搴旂敤涓績",
+        "width": 1243,
+        "height": 670
+      },
+      {
         "id": "1",
-        "src": "../../images/finder.png",
-        "alt": "finder",
-        "type": "0"
+        "name": "cameraAccess",
+        "src": "../../images/app-mid/camera-access.png",
+        "alt": "camera-access",
+        "type": "2",
+        "url": "/view/cameraAccess",
+        "title": "鎽勫儚鏈洪厤缃�",
+        "width": 1200,
+        "height": 670
       },
       {
         "id": "2",
-        "src": "../../images/launchpad.png",
-        "alt": "launchpad",
-        "type": "0"
-      },
-      {
-        "id": "3",
-        "src": "../../images/gitee.png",
-        "alt": "gitee",
-        "type": "1",
-        "url": "https://gitee.com/justlive1"
+        "name": "dataStack",
+        "src": "../../images/app-mid/datastack-config.png",
+        "alt": "datastack-config",
+        "type": "2",
+        "url": "/view/cameraAccess?dataStack=1",
+        "title": "鏁版嵁鏍堥厤缃�",
+        "width": 1200,
+        "height": 670
       },
       {
         "id": "4",
-        "src": "../../images/github.png",
-        "alt": "github",
-        "type": "1",
-        "url": "https://github.com/justlive1"
-      },
-      {
-        "id": "5",
-        "src": "../../images/maps.png",
-        "alt": "maps",
+        "name": "datapush",
+        "src": "../../images/app-mid/data-push.png",
+        "alt": "data-push",
         "type": "2",
-        "url": "https://map.baidu.com"
-      },
-      {
-        "id": "6",
-        "src": "../../images/blog.png",
-        "alt": "blog",
-        "type": "2",
-        "url": "http://www.justlive.vip/blog"
+        "url": "/view/datapush",
+        "title": "鏁版嵁鎺ㄩ��",
+        "width": 1024,
+        "height": 512
       },
       {
         "id": "7",
-        "src": "../../images/iBooks.png",
-        "alt": "GB28181",
+        "name": "library",
+        "src": "../../images/app-mid/library.png",
+        "alt": "姣斿搴撶鐞�",
         "type": "2",
-        "url": "/view/gb28181"
+        "url": "/view/library",
+        "title": "姣斿搴撶鐞�",
+        "width": 1200,
+        "height": 670
       },
       {
-        "id": "8",
-        "src": "../../images/frost.png",
-        "alt": "鍒嗗竷寮忚皟搴�",
+        "id": "11",
+        "name": "analysisPower",
+        "src": "../../images/app-mid/hashrate-manage.png",
+        "alt": "绠楀姏绠$悊",
         "type": "2",
-        "url": "http://www.justlive.vip/center/"
+        "url": "/view/analysisPower",
+        "title": "绠楀姏绠$悊",
+        "width": 1200,
+        "height": 670
+      },
+      {
+        "id": "13",
+        "name": "search",
+        "src": "../../images/app-mid/search.png",
+        "alt": "缁熻鏌ヨ",
+        "type": "2",
+        "url": "/view/search",
+        "title": "缁熻鏌ヨ",
+        "width": 1344,
+        "height": 675
+      },
+      {
+        "id": "15",
+        "name": "syslog",
+        "src": "../../images/app-mid/log-manage.png",
+        "alt": "鏃ュ織绠$悊",
+        "type": "2",
+        "url": "/view/syslog",
+        "title": "鏃ュ織绠$悊",
+        "width": 1200,
+        "height": 600
+      },
+      {
+        "id": "17",
+        "name": "settings",
+        "src": "../../images/app-mid/settings.png",
+        "alt": "绯荤粺璁剧疆",
+        "type": "2",
+        "url": "/view/settings",
+        "title": "绯荤粺璁剧疆",
+        "width": 1200,
+        "height": 650
+      },
+      {
+        "id": "18",
+        "name": "vindicate",
+        "src": "../../images/app-mid/vindicate.png",
+        "alt": "绯荤粺缁存姢",
+        "type": "2",
+        "url": "/view/vindicate",
+        "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