diff --git a/components/tree-node/cameraIndex.vue b/components/tree-node/cameraIndex.vue
new file mode 100644
index 00000000..37357478
--- /dev/null
+++ b/components/tree-node/cameraIndex.vue
@@ -0,0 +1,145 @@
+
+
+
+
+
+
+ {{ item.name }}
+ ({{ deviceStateNum(item) }}/{{ item.children.length || 0 }})
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages.json b/pages.json
index 413ea5e2..b6c50a64 100644
--- a/pages.json
+++ b/pages.json
@@ -3307,6 +3307,27 @@
"style": {
"navigationBarTitleText": ""
}
+ },
+ {
+ "path" : "pages/projectEnd/bodyWornCamera/index",
+ "style" :
+ {
+ "navigationBarTitleText" : ""
+ }
+ },
+ {
+ "path" : "pages/projectEnd/bodyWornCamera/bodyWornCameraDetail",
+ "style" :
+ {
+ "navigationBarTitleText" : ""
+ }
+ },
+ {
+ "path" : "pages/projectEnd/bodyWornCamera/playBackVideo",
+ "style" :
+ {
+ "navigationBarTitleText" : ""
+ }
}
],
// "subPackages":[{
diff --git a/pages/projectEnd/bodyWornCamera/bodyWornCameraDetail.vue b/pages/projectEnd/bodyWornCamera/bodyWornCameraDetail.vue
new file mode 100644
index 00000000..6d77809e
--- /dev/null
+++ b/pages/projectEnd/bodyWornCamera/bodyWornCameraDetail.vue
@@ -0,0 +1,1082 @@
+
+
+
+
+
+
+
+ 设备名称:
+ {{policeCameraItemInfo.devName|| '--'}}
+
+
+ 设备编号:
+ {{policeCameraItemInfo.devSn|| '--'}}
+
+
+ 推送人:
+ {{policeCameraItemInfo.pusherNames|| '--'}}
+
+
+ 使用人:
+ {{policeCameraItemInfo.userNames|| '--'}}
+
+
+ 在线状态:
+
+ {{ policeCameraItemInfo.deviceState == 1 ? "在线" : "离线" }}
+
+
+
+ SD卡容量:
+ {{policeCameraItemInfo.sdCardCapacity|| '--'}}
+
+
+ 已用容量:
+ {{policeCameraItemInfo.usedCapacity|| '--'}}
+
+
+ 是否开启低电量推送:
+
+ {{ policeCameraItemInfo.enableLowBatteryPushNotification == 1 ? "是" : policeCameraItemInfo.enableLowBatteryPushNotification == 0 ? "否" : "--"}}
+
+
+
+ 网络类型:
+ {{policeCameraItemInfo.networkType|| '--'}}
+
+
+ 固件版本:
+ {{policeCameraItemInfo.firmwareVersion|| '--'}}
+
+
+
+ 电量:
+ {{policeCameraItemInfo.batteryLevel|| '--'}}
+
+
+ 剩余容量:
+
+ {{policeCameraItemInfo.usedCapacity ? policeCameraItemInfo.sdCardCapacity -policeCameraItemInfo.usedCapacity: "--"}}
+
+
+
+ 设备位置:
+ {{policeCameraItemInfo.devLocation || '--'}}
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.startTime }}
+ 至
+ {{ item.endTime }}
+
+
+ {{ item.workTicketNumber }}
+ {{ (item.fileLen / (1024 * 1024)).toFixed(2) }}MB
+
+
+
+
+
+
+
+
+ {{ item.workTicketNumber }}
+ {{ (item.fileLen / (1024 * 1024)).toFixed(2) }}MB
+
+
+ {{ item.uploadTime }}
+
+
+
+
+
+
+
+ {{ item.devName }}音频
+ {{ (item.fileLen / (1024 * 1024)).toFixed(2) }}MB
+
+
+ {{item.fileTime}}
+ 时长:{{ item.duration }}
+
+
+
+
+
+
+
+
+
+
+
+
+ 暂无数据...
+
+
+
+
+
+
+
+
+ 今日使用时长:{{durationHour(formInline.duration)}}h
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/projectEnd/bodyWornCamera/components/calendarView.vue b/pages/projectEnd/bodyWornCamera/components/calendarView.vue
new file mode 100644
index 00000000..cb826bb8
--- /dev/null
+++ b/pages/projectEnd/bodyWornCamera/components/calendarView.vue
@@ -0,0 +1,463 @@
+
+
+
+
+ {{item.title}}
+
+
+
+
+
+
+ {{ day }}
+
+
+
+ {{ convertToChinese(currentMonth + 1) }}月
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/projectEnd/bodyWornCamera/index.vue b/pages/projectEnd/bodyWornCamera/index.vue
new file mode 100644
index 00000000..d9530227
--- /dev/null
+++ b/pages/projectEnd/bodyWornCamera/index.vue
@@ -0,0 +1,158 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/projectEnd/bodyWornCamera/playBackVideo.vue b/pages/projectEnd/bodyWornCamera/playBackVideo.vue
new file mode 100644
index 00000000..86bb972b
--- /dev/null
+++ b/pages/projectEnd/bodyWornCamera/playBackVideo.vue
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ {{passData.workTicketNumber}}
+ {{passData.beginTime}}至{{passData.endTime}}
+
+
+
+
+
+
+
diff --git a/pages/projectEnd/projectIndex/projectIndex.vue b/pages/projectEnd/projectIndex/projectIndex.vue
index e9bdd456..5e8e8dae 100644
--- a/pages/projectEnd/projectIndex/projectIndex.vue
+++ b/pages/projectEnd/projectIndex/projectIndex.vue
@@ -285,7 +285,7 @@
if (!this.userInfo.personMail && options.fromPage && options.fromPage == 'loginPage') {
this.checkInfoComplete()
}
- if(options.sn) {
+ if (options.sn) {
this.getDetailInfo(options.sn)
}
// #ifdef APP-PLUS
@@ -305,7 +305,7 @@
data: data,
success: res => {
console.log("enterpriseInfo", res.result.layoutImage);
- if(res.result.layoutImage) {
+ if (res.result.layoutImage) {
that.loginBackgroundImage = res.result.layoutImage;
}
}
@@ -767,6 +767,11 @@
url: '../betonManage/index'
})
break
+ case 'bodyWornCamera':
+ uni.navigateTo({
+ url: '../bodyWornCamera/index'
+ })
+ break
case 'bridgeCraneMonitor':
uni.navigateTo({
url: '../bridgeCraneMonitor/index'
diff --git a/pages/videoManage/component/nativeRtspPlayer.vue b/pages/videoManage/component/nativeRtspPlayer.vue
new file mode 100644
index 00000000..3756ce0d
--- /dev/null
+++ b/pages/videoManage/component/nativeRtspPlayer.vue
@@ -0,0 +1,1429 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ H5环境不支持原生RTSP播放
+ 请在APP环境中使用
+
+
+
+
+
+
+
+
+
+ {{ isPlaying ? '暂停' : '播放' }}
+
+
+
+
+ {{ isMuted ? '静音' : '有声' }}
+
+
+
+
+ 全屏
+
+
+
+
+
+ {{ formatTime(currentTime) }}
+
+ {{ formatTime(duration) }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/static/bodyWornCamera/bodyWornCamera_offline.png b/static/bodyWornCamera/bodyWornCamera_offline.png
new file mode 100644
index 00000000..aed25f96
Binary files /dev/null and b/static/bodyWornCamera/bodyWornCamera_offline.png differ
diff --git a/static/bodyWornCamera/bodyWornCamera_online.png b/static/bodyWornCamera/bodyWornCamera_online.png
new file mode 100644
index 00000000..552a7c41
Binary files /dev/null and b/static/bodyWornCamera/bodyWornCamera_online.png differ
diff --git a/static/bodyWornCamera/bodyworn_audio.png b/static/bodyWornCamera/bodyworn_audio.png
new file mode 100644
index 00000000..f576581c
Binary files /dev/null and b/static/bodyWornCamera/bodyworn_audio.png differ
diff --git a/static/bodyWornCamera/bodyworn_pause.png b/static/bodyWornCamera/bodyworn_pause.png
new file mode 100644
index 00000000..87436366
Binary files /dev/null and b/static/bodyWornCamera/bodyworn_pause.png differ
diff --git a/static/bodyWornCamera/bodyworn_play.png b/static/bodyWornCamera/bodyworn_play.png
new file mode 100644
index 00000000..993aa60a
Binary files /dev/null and b/static/bodyWornCamera/bodyworn_play.png differ