From 91be21da8176ac08d30a6e94971393427cb98033 Mon Sep 17 00:00:00 2001 From: wwp <782568523@qq.com> Date: Wed, 4 Sep 2024 15:27:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E8=B0=83=E8=AF=95=E5=AE=8C?= =?UTF-8?q?=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- monitorMobile/api/monitor/index.js | 10 +- monitorMobile/manifest.json | 39 +- monitorMobile/pages.json | 6 - .../components/inspectionCenter.vue | 624 --------------- .../earlyWarning/components/warningInfo.vue | 696 ----------------- monitorMobile/pages/earlyWarning/detail.vue | 63 +- monitorMobile/pages/earlyWarning/index.vue | 714 ++++++++++++++++-- .../pages/earlyWarning/processingResults.vue | 64 -- monitorMobile/pages/monitor/index.vue | 235 +++--- 9 files changed, 820 insertions(+), 1631 deletions(-) delete mode 100644 monitorMobile/pages/earlyWarning/components/inspectionCenter.vue delete mode 100644 monitorMobile/pages/earlyWarning/components/warningInfo.vue delete mode 100644 monitorMobile/pages/earlyWarning/processingResults.vue diff --git a/monitorMobile/api/monitor/index.js b/monitorMobile/api/monitor/index.js index d261895..d3f646c 100644 --- a/monitorMobile/api/monitor/index.js +++ b/monitorMobile/api/monitor/index.js @@ -15,6 +15,14 @@ export const list = (params) => { params }) } +// 获取视频地址 +export const startUrl = (params) => { + return http.request({ + url: '/api/business/deviceApi/getStartVideoLive', + method: 'get', + params + }) +} // 停止视频流获取 export const stopUrl = (params) => { return http.request({ @@ -22,4 +30,4 @@ export const stopUrl = (params) => { method: 'get', params }) -} +} \ No newline at end of file diff --git a/monitorMobile/manifest.json b/monitorMobile/manifest.json index a3da677..61c2336 100644 --- a/monitorMobile/manifest.json +++ b/monitorMobile/manifest.json @@ -1,6 +1,6 @@ { "name" : "monitorMobile", - "appid" : "", + "appid" : "__UNI__F9792E9", "description" : "", "versionName" : "1.0.0", "versionCode" : "100", @@ -65,21 +65,28 @@ "mp-toutiao" : { "usingComponents" : true }, - "h5" : { - "devServer" : { - "port" : 1888, - "proxy" : { - "/api" : { - "target" : "http://192.168.10.186:8003", - "changeOrigin" : true, - "pathRewrite" : { - "^/api" : "" - } - } - }, - "https" : false - } - }, + "h5" : { + "devServer" : { + "port" : 1888, + "proxy" : { + "/api" : { + "target" : "http://192.168.10.186:8003", + "changeOrigin" : true, + "pathRewrite" : { + "^/api" : "" + } + }, + "/Files" : { + "target" : "http://192.168.10.186:8003/Files", + "changeOrigin" : true, + "pathRewrite" : { + "^/Files" : "" + } + } + }, + "https" : false + } + }, "uniStatistics" : { "enable" : false }, diff --git a/monitorMobile/pages.json b/monitorMobile/pages.json index 6c21822..23f76fd 100644 --- a/monitorMobile/pages.json +++ b/monitorMobile/pages.json @@ -114,12 +114,6 @@ "navigationBarTitleText": "处理意见" } }, - { - "path": "pages/earlyWarning/processingResults", - "style": { - "navigationBarTitleText": "处理结果" - } - }, // 我的 { "path": "pages/my/index", diff --git a/monitorMobile/pages/earlyWarning/components/inspectionCenter.vue b/monitorMobile/pages/earlyWarning/components/inspectionCenter.vue deleted file mode 100644 index 3540de3..0000000 --- a/monitorMobile/pages/earlyWarning/components/inspectionCenter.vue +++ /dev/null @@ -1,624 +0,0 @@ - - - - - \ No newline at end of file diff --git a/monitorMobile/pages/earlyWarning/components/warningInfo.vue b/monitorMobile/pages/earlyWarning/components/warningInfo.vue deleted file mode 100644 index 513794e..0000000 --- a/monitorMobile/pages/earlyWarning/components/warningInfo.vue +++ /dev/null @@ -1,696 +0,0 @@ - - - - - \ No newline at end of file diff --git a/monitorMobile/pages/earlyWarning/detail.vue b/monitorMobile/pages/earlyWarning/detail.vue index 909ee27..1cae53f 100644 --- a/monitorMobile/pages/earlyWarning/detail.vue +++ b/monitorMobile/pages/earlyWarning/detail.vue @@ -1,9 +1,9 @@