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 @@
-
-
-
-
-
-
-
-
-
-
- 选择分组
- 一号楼/厨房
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{searchForm.alarmType}}
-
-
-
-
-
-
-
-
-
-
-
- {{searchForm.warnHand}}
-
-
-
-
-
-
-
-
-
-
-
-
- {{searchForm.StartTick}}
-
- 至
-
- {{searchForm.EndTick}}
-
-
-
-
-
-
-
-
-
-
-
- 重置
-
-
- 确认
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 2560*1440
-
-
-
-
-
- 摄像头ID:SXT001
-
-
-
-
-
- 摄像头名称:厨房(良景)
-
-
-
-
-
- 设备IP:192.168.10.130
-
-
-
-
-
-
-
-
-
- 所属学校:演示学校
-
-
-
-
- 播放
-
-
-
-
-
-
-
-
-
-
- 是否确定删除该预警吗?
-
-
-
-
-
-
-
-
-
-
\ 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 @@
-
-
-
-
-
-
-
-
-
-
-
- 筛选
- 周界入侵,未处理,2024-8-24 18:06:12 - 2024-8-24 18:06:12
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{searchForm.$alarmType || '警告类型'}}
-
-
-
-
-
-
-
-
-
-
-
- {{searchForm.warnHand || '处理状态'}}
-
-
-
-
-
-
-
-
-
-
-
-
- {{searchForm.StartTick || '开始时间'}}
-
- 至
-
- {{searchForm.EndTick || '结束时间'}}
-
-
-
-
-
-
-
-
-
-
-
- 重置
-
-
- 确认
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 姓名:杨云
-
-
-
-
- 系部:安环部
-
-
-
-
-
-
- 专业:环艺
-
-
-
-
- 班级:第二班
-
-
-
-
-
-
-
-
-
-
- 警告类型:周界入侵
-
-
-
-
-
- 警告摄像头:厨房(良景)
-
-
-
-
-
-
- 时间:2024-08-15 11:59:12
-
-
-
- 查看
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ 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 @@
- 周界入侵-2024-08-20 18:01:41
+ {{detailData.alarmTypeDesc ? detailData.alarmTypeDesc + '-' + detailData.tick : ''}}
-
+
所属学校:
@@ -17,31 +17,39 @@
班级:
- 班级
+ --
- 告警摄像头:
+ 姓名:
- 摄像头
+ {{ detailData.personName || "--" }}
- 告警类型:
+ 预警摄像头:
- 类型
+ {{ detailData.cameraName || "--" }}
- 告警时间:
+ 预警类型:
- 2024-8-24 16:42:13
+ {{ detailData.alarmTypeDesc || "--" }}
+
+
+
+
+ 预警时间:
+
+
+ {{ detailData.tick || "--" }}
@@ -49,8 +57,8 @@
复核视频:
- 查看视频
- 暂无数据
+ 查看视频
+ --
@@ -58,7 +66,7 @@
备注信息:
- 暂无数据
+ {{ detailData.extend || '--' }}
@@ -67,7 +75,7 @@
处理意见:
- 暂无数据
+ {{ detailData.remark || '--' }}
@@ -78,7 +86,7 @@
@@ -89,6 +97,10 @@
@@ -108,7 +391,7 @@
/*#ifdef H5*/
height: 272rpx;
background: url("@/static/image/earlyWarning/back2.png") no-repeat center center / cover;
-
+
/*#endif*/
/*#ifdef APP-PLUS || MP-ALIPAY || MP-WEIXIN*/
height: 340rpx;
@@ -152,7 +435,310 @@
/*#endif*/
/*#ifdef APP-PLUS || MP-ALIPAY || MP-WEIXIN*/
height: calc(100% - 375rpx);
+
/*#endif*/
+ .warningInfo {
+ width: 100%;
+ height: 100%;
+ background: #F6F8FA;
+
+ .u-modal__title {
+ color: #000000;
+ }
+ }
+
+ .searchBox {
+ // height: calc(100% - 360rpx);
+ position: relative;
+
+ .searchLine {
+ height: 88rpx;
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ padding: 0 15px;
+ box-sizing: border-box;
+ background: #fff;
+ font-size: 28rpx;
+
+ .searchLabels {
+ display: flex;
+ align-items: center;
+ width: calc(100% - 34rpx);
+
+ image {
+ width: 40rpx;
+ height: 40rpx;
+ flex-shrink: 1;
+ }
+
+ .labels {
+ width: 70rpx;
+ display: block;
+ color: #333333;
+ margin-left: 10rpx;
+ flex-shrink: 1;
+ }
+
+ .values {
+ width: calc(100% - 40rpx - 50rpx);
+ color: #2388FF;
+ font-weight: 700;
+ margin-left: 18rpx;
+ overflow: hidden;
+ word-wrap: break-word;
+ white-space: pre-wrap;
+ display: -webkit-box;
+ -webkit-box-orient: vertical;
+ -webkit-line-clamp: 1;
+ }
+ }
+
+
+ .arrow {
+ // text-align: right;
+ // flex-shrink: 1;
+
+ image {
+ width: 34rpx;
+ height: 34rpx;
+ }
+ }
+
+ .leftSearchBox {
+ display: flex;
+ align-items: center;
+ width: calc(100% - 40px);
+
+ .searchLabel {
+ flex-shrink: 1;
+ color: #333333;
+ width: 80px;
+ }
+
+ .searchValue {
+ width: calc(100% - 60px);
+ margin-left: 10px;
+ color: #2388FF;
+ overflow: hidden;
+ word-wrap: break-word;
+ white-space: pre-wrap;
+ display: -webkit-box;
+ -webkit-box-orient: vertical;
+ -webkit-line-clamp: 1;
+ }
+ }
+ }
+
+ .searchDialog {
+ position: absolute;
+ z-index: 990;
+ top: 89rpx;
+ width: 100%;
+ height: calc(100vh - 375rpx - 60rpx);
+ font-size: 26rpx;
+ background: rgba(0, 0, 0, 0.2);
+
+ .content {
+ background: #FFFFFF;
+ padding: 15px;
+ box-sizing: border-box;
+ border-top: 1px solid rgba(0, 0, 0, 0.1);
+
+ .demo-layout {
+ height: 80rpx;
+ border-radius: 8rpx;
+ background: #F5F5F5;
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ padding: 0 10px;
+ box-sizing: border-box;
+
+ .left-layout {
+ color: #777777;
+ }
+
+ .right-layout {}
+
+ .startBox {
+ color: #777777;
+ }
+
+ text {
+ color: #777777;
+ }
+
+ .endBox {
+ color: #777777;
+ }
+
+ .timeIcon {}
+ }
+ }
+
+ .btnBox {
+ display: flex;
+ align-items: center;
+ margin-top: 15px;
+
+ .leftBtn {
+ width: 50%;
+ height: 74rpx;
+ line-height: 74rpx;
+ border: 1px solid #ccc;
+ border-radius: 12rpx;
+ color: #333333;
+ text-align: center;
+
+ }
+
+ .rightBtn {
+ width: 50%;
+ height: 74rpx;
+ line-height: 74rpx;
+ border: 1px solid #2388FF;
+ border-radius: 12rpx;
+ color: #fff;
+ text-align: center;
+ background: #2388FF;
+ margin-left: 15rpx;
+ }
+ }
+ }
+ }
+
+ .tableBox {
+ height: 100%;
+ padding: 30rpx;
+ box-sizing: border-box;
+ // height: 600px;
+ padding-bottom: 30px;
+
+
+ .liBox {
+ background: #fff;
+ padding: 0 30rpx;
+ box-sizing: border-box;
+ border-radius: 20rpx;
+ margin-bottom: 30rpx;
+ font-family: 'PingFang SC';
+
+ .headerCard {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ padding: 24rpx 0;
+
+ .schoolName {
+ font-size: 32rpx;
+ font-weight: 700;
+ font-family: 'PingFang SC';
+ color: #333333;
+ overflow: hidden;
+ word-wrap: break-word;
+ white-space: pre-wrap;
+ // font-size: 14px;
+ display: -webkit-box;
+ -webkit-box-orient: vertical;
+ -webkit-line-clamp: 1;
+ }
+
+ .statusBox {
+ width: 100rpx;
+ flex-shrink: 1;
+ text-align: center;
+ font-size: 24rpx;
+ border-radius: 8rpx;
+ color: #fff;
+ padding: 8rpx 12rpx;
+ font-family: 'PingFang SC';
+ }
+
+ .handle {
+ background: rgba(15, 175, 118, 0.1);
+ color: #0FAF76;
+ }
+
+ .nohandle {
+ background: rgba(239, 45, 45, 0.1);
+ color: rgba(239, 45, 45, 1);
+ }
+ }
+
+ .topCard {
+ display: flex;
+ border-top: 1px solid rgba(0, 0, 0, 0.1);
+ align-items: center;
+ padding: 20rpx 0;
+
+ .pic {
+ width: 120rpx;
+ height: 120rpx;
+
+ image {
+ width: 120rpx;
+ height: 120rpx;
+ border-radius: 4px;
+ }
+ }
+
+ .rightCard {
+ margin-left: 20rpx;
+ font-size: 26rpx;
+ font-family: 'PingFang SC';
+ width: calc(100% - 140rpx);
+ }
+ }
+
+ .midCard {
+ font-size: 26rpx;
+
+ .secondCard,
+ .thirdCard {
+ display: flex;
+ align-items: center;
+
+
+ .txt {
+ font-size: 26rpx;
+ font-family: 'PingFang SC';
+ margin-left: 10rpx;
+ color: #333333;
+ }
+ }
+
+ .thirdCard {
+ margin-top: 18rpx;
+ }
+ }
+
+ .btoCard {
+ border-top: 1px solid rgba(0, 0, 0, 0.1);
+ margin-top: 20rpx;
+ padding: 20rpx 0;
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ font-size: 26rpx;
+ font-family: 'PingFang SC';
+
+ .rightBox {
+ .txt {
+ width: 120rpx;
+ height: 60rpx;
+ line-height: 60rpx;
+ font-family: 'PingFang SC';
+ text-align: center;
+ background: #2388FF;
+ color: #fff;
+ border-radius: 80rpx;
+ }
+ }
+ }
+ }
+
+ }
}
}
\ No newline at end of file
diff --git a/monitorMobile/pages/earlyWarning/processingResults.vue b/monitorMobile/pages/earlyWarning/processingResults.vue
deleted file mode 100644
index 4e51a47..0000000
--- a/monitorMobile/pages/earlyWarning/processingResults.vue
+++ /dev/null
@@ -1,64 +0,0 @@
-
-
-
-
-
- 提交成功
-
- 知道了
-
-
-
-
- 提交失败
-
- 重新提交
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/monitorMobile/pages/monitor/index.vue b/monitorMobile/pages/monitor/index.vue
index 7e7b426..d01532c 100644
--- a/monitorMobile/pages/monitor/index.vue
+++ b/monitorMobile/pages/monitor/index.vue
@@ -16,7 +16,7 @@
选择分组
- 一号楼/厨房
+ {{this.searchForm.groupName}}
@@ -51,7 +51,7 @@
-
+
重置
@@ -66,31 +66,31 @@
-
+
-
+
- 2560*1440
+ {{item.resWidth}}*{{item.resHeight}}
- 摄像头ID:SXT001
+ 摄像头ID:{{item.sensorId}}
- 摄像头名称:厨房(良景)
+ 摄像头名称:{{item.sensorName}}
- 设备IP:192.168.10.130
+ 设备IP:{{item.directUrlIp}}
@@ -103,7 +103,7 @@
所属学校:演示学校
-
+
播放
@@ -132,6 +132,12 @@