diff --git a/dist.zip b/dist.zip deleted file mode 100644 index df8b640..0000000 Binary files a/dist.zip and /dev/null differ diff --git a/src/api/http/http-api.js b/src/api/http/http-api.js index b80c63f..1facb85 100644 --- a/src/api/http/http-api.js +++ b/src/api/http/http-api.js @@ -81,6 +81,11 @@ export default { url: "/camera", name: "编辑球机" }, + videoConfig:{ + method: "GET", + url: "/camera/downloadConfig", + name: "直播流配置" + }, getChannel: { method: "POST", url: "/lychee/stream/push", diff --git a/src/views/cameraManage/index.vue b/src/views/cameraManage/index.vue index 3fe4388..5607762 100644 --- a/src/views/cameraManage/index.vue +++ b/src/views/cameraManage/index.vue @@ -7,6 +7,9 @@ PLC IO表配置 + + 视频流配置 + { + that.downConfig(); + setTimeout(resolve, 1000); + }).catch(() => console.log('Oops errors!')); + }, + cancelText: '取消', + }); + + }, + downConfig(){ + this.$api.httpApi.videoConfig({ + + }).then(res => { + + }).catch(err => { + + }); + }, }, components:{ Model @@ -179,5 +207,8 @@ export default { .add{ margin-right: 20px; } + .plc{ + margin-right: 20px; + } } diff --git a/src/views/roadwayManage/index.vue b/src/views/roadwayManage/index.vue index 376a6f0..6afb54e 100644 --- a/src/views/roadwayManage/index.vue +++ b/src/views/roadwayManage/index.vue @@ -1,10 +1,10 @@