From ee52b43c99a5553eb721253e6e7febbc2e5b4334 Mon Sep 17 00:00:00 2001 From: lin <648540858@qq.com> Date: Wed, 23 Jul 2025 23:30:48 +0800 Subject: [PATCH] =?UTF-8?q?[1078]=20=E5=A2=9E=E5=8A=A0=E5=A4=9A=E5=AA=92?= =?UTF-8?q?=E4=BD=93=E6=96=87=E4=BB=B6=E6=A3=80=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../vmp/jt1078/bean/config/JTVideoParam.java | 6 +- web/src/views/jtDevice/channel/index.vue | 2 - web/src/views/jtDevice/dialog/phoneBook.vue | 3 + .../views/jtDevice/dialog/queryMediaList.vue | 217 ++++++++++++++++++ web/src/views/jtDevice/list.vue | 11 +- 5 files changed, 233 insertions(+), 6 deletions(-) create mode 100755 web/src/views/jtDevice/dialog/queryMediaList.vue diff --git a/src/main/java/com/genersoft/iot/vmp/jt1078/bean/config/JTVideoParam.java b/src/main/java/com/genersoft/iot/vmp/jt1078/bean/config/JTVideoParam.java index 5dee88553..098e7e644 100644 --- a/src/main/java/com/genersoft/iot/vmp/jt1078/bean/config/JTVideoParam.java +++ b/src/main/java/com/genersoft/iot/vmp/jt1078/bean/config/JTVideoParam.java @@ -49,9 +49,9 @@ public class JTVideoParam implements JTDeviceSubConfig{ /** * 存储流编码模式 - * 0:CBR( 固定码率) ; - * 1:VBR( 可变码率) ; - * 2:ABR( 平均码率) ; + * 0:CBR( 固定码率) + * 1:VBR( 可变码率) + * 2:ABR( 平均码率) * 100 ~ 127:自定义 */ private int storageStreamCodeRateType; diff --git a/web/src/views/jtDevice/channel/index.vue b/web/src/views/jtDevice/channel/index.vue index 0f380aa19..e0b2a567a 100755 --- a/web/src/views/jtDevice/channel/index.vue +++ b/web/src/views/jtDevice/channel/index.vue @@ -100,8 +100,6 @@ 设备录像 云端录像 - - 数据检索 diff --git a/web/src/views/jtDevice/dialog/phoneBook.vue b/web/src/views/jtDevice/dialog/phoneBook.vue index 35b9df1d8..f659f1409 100755 --- a/web/src/views/jtDevice/dialog/phoneBook.vue +++ b/web/src/views/jtDevice/dialog/phoneBook.vue @@ -98,9 +98,12 @@ export default { openDialog: function(phoneNumber) { this.showDialog = true this.phoneNumber = phoneNumber + this.phoneBookList = [] }, close: function() { this.showDialog = false + this.showUpload = false + this.phoneBookList = [] }, signLabel: function(sign) { switch (sign){ diff --git a/web/src/views/jtDevice/dialog/queryMediaList.vue b/web/src/views/jtDevice/dialog/queryMediaList.vue new file mode 100755 index 000000000..07bdcb8a1 --- /dev/null +++ b/web/src/views/jtDevice/dialog/queryMediaList.vue @@ -0,0 +1,217 @@ + + + + + diff --git a/web/src/views/jtDevice/list.vue b/web/src/views/jtDevice/list.vue index 9ad4861a5..56cdd0982 100755 --- a/web/src/views/jtDevice/list.vue +++ b/web/src/views/jtDevice/list.vue @@ -129,6 +129,8 @@ 连接指定服务器 车门控制 + + 多媒体检索 @@ -155,6 +157,7 @@ + @@ -170,12 +173,13 @@ import connectionServer from './dialog/connectionServer.vue' import controlDoor from './dialog/controlDoor.vue' import mediaAttribute from './dialog/mediaAttribute.vue' import phoneBook from './dialog/phoneBook.vue' +import queryMediaList from './dialog/queryMediaList.vue' export default { name: 'App', components: { deviceEdit, configInfo, attribute, position, textMsg, telephoneCallback, driverInfo, connectionServer, controlDoor - , mediaAttribute, phoneBook + , mediaAttribute, phoneBook, queryMediaList }, data() { return { @@ -298,6 +302,8 @@ export default { this.queryMediaAttribute(itemData) } else if (command === 'setPhoneBook') { this.setPhoneBook(itemData) + } else if (command === 'queryMediaList') { + this.queryMediaList(itemData) } else { this.$message.info('尚不支持') } @@ -375,6 +381,9 @@ export default { setPhoneBook: function(itemData) { this.$refs.phoneBook.openDialog(itemData.phoneNumber) }, + queryMediaList: function(itemData) { + this.$refs.queryMediaList.openDialog(itemData.phoneNumber, itemData.id) + }, queryMediaAttribute: function(itemData) { this.$store.dispatch('jtDevice/queryMediaAttribute', itemData.phoneNumber) .then((data) => {