From dface8e086f20da29a22c6a5e61bc7b1aefaa984 Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@smartai.com>
Date: 星期三, 06 九月 2023 11:14:34 +0800
Subject: [PATCH] 修复系统设置菜单交互

---
 public/apps.json |  357 +++++++++++++++++++++++++++++++++++------------------------
 1 files changed, 212 insertions(+), 145 deletions(-)

diff --git a/public/apps.json b/public/apps.json
index 762222f..c30c9ce 100644
--- a/public/apps.json
+++ b/public/apps.json
@@ -1,171 +1,238 @@
 {
-  "code": "200",
-  "success": true,
+  "code": 200,
   "data": [
     {
-      "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",
-      "name": "cameraAccess",
-      "src": "../../images/app-mid/camera-access.png",
-      "alt": "camera-access",
-      "type": "2",
-      "url": "/view/cameraAccess/",
-      "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",
-      "title": "鏁版嵁鏍堥厤缃�",
-      "width": 1200,
-      "height": 670
-    },
-    {
-      "id": "4",
-      "name": "datapush",
-      "src": "../../images/app-mid/data-push.png",
-      "alt": "data-push",
-      "type": "2",
-      "url": "/view/datapush/",
-      "title": "鏁版嵁鎺ㄩ��",
-      "width": 1024,
-      "height": 512
-    },
-    {
-      "id": "7",
-      "name": "library",
-      "src": "../../images/app-mid/library.png",
-      "alt": "姣斿搴撶鐞�",
-      "type": "2",
-      "url": "/view/library/",
-      "title": "姣斿搴撶鐞�",
-      "width": 1200,
-      "height": 670
-    },
-    {
-      "id": "11",
-      "name": "analysisPower",
-      "src": "../../images/app-mid/hashrate-manage.png",
-      "alt": "绠楀姏绠$悊",
-      "type": "2",
-      "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": "鏃ュ織绠$悊",
+      "id": "850b5e86-dbcf-40f2-8511-745a4d06ec84",
+      "name": "鏃ュ織绠$悊",
+      "package": "syslog",
       "type": "2",
       "url": "/view/syslog/",
       "title": "鏃ュ織绠$悊",
       "width": 1200,
-      "height": 600
+      "height": 680,
+      "iconBlob": "",
+      "icon": "../../images/app-mid/log-manage.png",
+      "version": "1.0.0",
+      "create_time": "2020-10-09 14:00:09",
+      "create_by": "",
+      "update_time": "",
+      "update_by": "",
+      "isDelete": 0,
+      "isDefault": true,
+      "remoteVersion": "",
+      "installed": true,
+      "isUpgrade": false,
+      "progressMsg": ""
     },
     {
-      "id": "17",
-      "name": "settings",
-      "src": "../../images/app-mid/settings.png",
-      "alt": "绯荤粺璁剧疆",
+      "id": "850b5e86-dbcf-40f2-8511-745a4d06ec85",
+      "name": "鏃ュ織绠$悊(鏂扮増)",
+      "package": "logCenter",
+      "type": "2",
+      "url": "/view/logCenter/",
+      "title": "鏃ュ織绠$悊(鏂扮増)",
+      "width": 1200,
+      "height": 600,
+      "iconBlob": "",
+      "icon": "../../images/app-mid/log-manage.png",
+      "version": "1.0.0",
+      "create_time": "2020-10-09 14:00:09",
+      "create_by": "",
+      "update_time": "",
+      "update_by": "",
+      "isDelete": 0,
+      "isDefault": true,
+      "remoteVersion": "",
+      "installed": true,
+      "isUpgrade": false,
+      "progressMsg": ""
+    },
+    {
+      "id": "5a5e0610-0a62-4de3-8021-2c6652c29ebf",
+      "name": "绯荤粺璁剧疆",
+      "package": "settings",
       "type": "2",
       "url": "/view/settings/",
       "title": "绯荤粺璁剧疆",
-      "width": 1200,
-      "height": 650
+      "width": 1024,
+      "height": 650,
+      "iconBlob": "",
+      "icon": "../../images/app-mid/settings.png",
+      "version": "1.0.0",
+      "create_time": "2020-10-09 14:00:10",
+      "create_by": "",
+      "update_time": "",
+      "update_by": "",
+      "isDelete": 0,
+      "isDefault": true,
+      "remoteVersion": "",
+      "installed": true,
+      "isUpgrade": false,
+      "progressMsg": ""
     },
     {
-      "id": "18",
-      "name": "vindicate",
-      "src": "../../images/app-mid/vindicate.png",
-      "alt": "绯荤粺缁存姢",
+      "id": "5a5e0610-0a62-4de3-8021-2c6652c29ebe",
+      "name": "绯荤粺璁剧疆(鏂扮増)",
+      "package": "systemSettings",
+      "type": "2",
+      "url": "/view/systemSettings/",
+      "title": "绯荤粺璁剧疆(鏂扮増)",
+      "width": 1200,
+      "height": 650,
+      "iconBlob": "",
+      "icon": "../../images/app-mid/settings.png",
+      "version": "1.0.0",
+      "create_time": "2020-10-09 14:00:10",
+      "create_by": "",
+      "update_time": "",
+      "update_by": "",
+      "isDelete": 0,
+      "isDefault": true,
+      "remoteVersion": "",
+      "installed": true,
+      "isUpgrade": false,
+      "progressMsg": ""
+    },
+    {
+      "id": "ee64fe23-7631-4ef9-9aca-ea09673693be",
+      "name": "绯荤粺缁存姢",
+      "package": "vindicate",
       "type": "2",
       "url": "/view/vindicate/",
       "title": "绯荤粺缁存姢",
-      "width": 760,
-      "height": 534
+      "width": 1024,
+      "height": 650,
+      "iconBlob": "",
+      "icon": "../../images/app-mid/vindicate.png",
+      "version": "1.0.0",
+      "create_time": "2020-10-09 14:00:11",
+      "create_by": "",
+      "update_time": "",
+      "update_by": "",
+      "isDelete": 0,
+      "isDefault": true,
+      "remoteVersion": "",
+      "installed": true,
+      "isUpgrade": false,
+      "progressMsg": ""
     },
     {
-      "id": "19",
-      "name": "heatCamera",
-      "src": "../../images/app-mid/algorithm-manage.png",
-      "alt": "鐑姏鍥�",
+      "id": "ee64fe23-7631-4ef9-9aca-ea09673693bf",
+      "name": "绯荤粺缁存姢(鏂扮増)",
+      "package": "maintain",
       "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": "鎽勫儚鏈哄尯鍩熺鐞�",
+      "url": "/view/maintain/",
+      "title": "绯荤粺缁存姢(鏂扮増)",
       "width": 1200,
-      "height": 600
+      "height": 650,
+      "iconBlob": "",
+      "icon": "../../images/app-mid/vindicate.png",
+      "version": "1.0.0",
+      "create_time": "2020-10-09 14:00:11",
+      "create_by": "",
+      "update_time": "",
+      "update_by": "",
+      "isDelete": 0,
+      "isDefault": true,
+      "remoteVersion": "",
+      "installed": true,
+      "isUpgrade": false,
+      "progressMsg": ""
     },
     {
-      "id": "202",
-      "name": "visual",
-      "src": "../../images/app-mid/visual.png",
-      "alt": "鏁版嵁鍙鍖�",
+      "id": "fa5674ee-70cf-4e22-8a06-c17429fb777",
+      "name": "鐢熶骇浠诲姟",
+      "package": "shuohuangMonitorAnalyze",
       "type": "1",
-      "url": "/view/visual/",
-      "title": "鏁版嵁鍙鍖�",
+      "url": "http://192.168.20.125:8080",
+      "title": "鐢熶骇浠诲姟",
+      "width": 0,
+      "height": 0,
+      "iconBlob": "",
+      "icon": "../../images/app-mid/productionSign.png",
+      "version": "1.0.0",
+      "create_time": "2020-10-09 14:00:08",
+      "create_by": "",
+      "update_time": "",
+      "update_by": "",
+      "isDelete": 0,
+      "isDefault": false,
+      "remoteVersion": "",
+      "installed": true,
+      "isUpgrade": false,
+      "progressMsg": ""
+    },
+    {
+      "id": "fa5674ee-70cf-4e22-8a06-c17429fb777",
+      "name": "璋冭瘯宸ュ叿",
+      "package": "debuggTool",
+      "type": "2",
+      "url": "/view/debuggTool/",
+      "title": "璋冭瘯宸ュ叿",
+      "width": 1500,
+      "height": 750,
+      "iconBlob": "",
+      "icon": "../../images/app-mid/debuggTool.png",
+      "version": "1.0.0",
+      "create_time": "2020-10-09 14:00:08",
+      "create_by": "",
+      "update_time": "",
+      "update_by": "",
+      "isDelete": 0,
+      "isDefault": false,
+      "remoteVersion": "",
+      "installed": true,
+      "isUpgrade": false,
+      "progressMsg": ""
+    },
+    {
+      "id": "1e51abbf-a4dd-4cf9-9eee-2149102d6d43",
+      "name": "绯荤粺鐩戞帶",
+      "package": "systemMonitor",
+      "type": "2",
+      "url": "/view/systemMonitor/",
+      "title": "绯荤粺鐩戞帶",
       "width": 1200,
-      "height": 600
+      "height": 670,
+      "iconBlob": "",
+      "icon": "../../images/app-mid/library.png",
+      "version": "1.0.0",
+      "create_time": "2020-10-10 20:39:25",
+      "create_by": "basic",
+      "update_time": "",
+      "update_by": "",
+      "isDelete": 0,
+      "isDefault": true,
+      "remoteVersion": "",
+      "installed": true,
+      "isUpgrade": false,
+      "progressMsg": ""
+    },
+   
+    {
+      "id": "fa5674ee-70cf-4e22-8a06-c171292b777",
+      "name": "绯荤粺鐩戞帶",
+      "package": "systemMonitor",
+      "type": "2",
+      "url": "/view/systemMonitor/",
+      "title": "绯荤粺鐩戞帶",
+      "width": 1220,
+      "height": 800,
+      "iconBlob": "",
+      "icon": "../../images/app-mid/visual.png",
+      "version": "1.0.0",
+      "create_time": "2020-10-09 14:00:08",
+      "create_by": "",
+      "update_time": "",
+      "update_by": "",
+      "isDelete": 0,
+      "isDefault": false,
+      "remoteVersion": "",
+      "installed": true,
+      "isUpgrade": false,
+      "progressMsg": ""
     }
-  ]
-}
\ No newline at end of file
+  ],
+  "msg": "璇锋眰澶勭悊鎴愬姛",
+  "success": true
+}

--
Gitblit v1.8.0