+
{
+ this.dialogVisible = true;
this.playOptions.sources[0].src = `${this.urlPrefix}/${res.data.scene.url}`;
this.sceneName = res.data.name;
- this.loading = false;
}).catch(error => {
this.$message.error(error.message);
});
@@ -117,5 +113,11 @@ export default {
.el-dialog__body{
padding: 0 !important;
}
+ .video-js .vjs-big-play-button {
+ top: 50% !important;
+ left: 50% !important;
+ transform: translate(-50%, -50%);
+ background-color: black;
+ }
}
From 2b3b7c189d72d5d90d3c87073b0a3e4a5775b0c5 Mon Sep 17 00:00:00 2001
From: joylink_fanyuhong <18706759286@163.com>
Date: Mon, 11 Mar 2024 18:04:39 +0800
Subject: [PATCH 07/11] =?UTF-8?q?pa=E6=94=BE=E5=BC=80=E8=AF=AD=E9=9F=B3?=
=?UTF-8?q?=E6=92=AD=E6=94=BE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/utils/baseUrl.js | 11 ++++++----
.../config/broadcast/stationHome.vue | 20 ++++++++++---------
2 files changed, 18 insertions(+), 13 deletions(-)
diff --git a/src/utils/baseUrl.js b/src/utils/baseUrl.js
index f89178834..e59a8c2e0 100644
--- a/src/utils/baseUrl.js
+++ b/src/utils/baseUrl.js
@@ -29,7 +29,7 @@ export function handlerUrl() {
// BASE_API = 'http://114.116.51.125/jlcloud';
// BASE_API = 'http://192.168.33.93:9000'; // 周寅
// BASE_API = 'http://192.168.3.94:9000'; // 旭强
- BASE_API = 'http://192.168.33.207:9000'; // 张赛
+ // BASE_API = 'http://192.168.33.207:9000'; // 张赛
// BASE_API = 'http://192.168.3.5:9000'; // 夏增彬
// BASE_API = 'http://192.168.3.37:9000'; // 卫志宏
// BASE_API = 'http://b29z135112.zicp.vip';
@@ -59,9 +59,12 @@ export function handlerUrl() {
OSS_URL = 'https://192.168.53.10/oss-rtss';
} else if (process.env.NODE_ENV === 'production') {
// 远程发布分支
- BASE_API = 'https://joylink.club/jlcloud';
- BASE_SITE = 'https://joylink.club/cbtc';
- OSS_URL = 'https://joylink.club/oss-rtss';
+ // BASE_API = 'https://joylink.club/jlcloud';
+ // BASE_SITE = 'https://joylink.club/cbtc';
+ // OSS_URL = 'https://joylink.club/oss-rtss';
+ BASE_API = 'http://10.30.1.21/rtss-server';
+ BASE_SITE = 'http://10.30.1.21';
+ OSS_URL = 'https://10.30.1.21/oss-rtss';
}
// VOICE_API, UPLOAD_API, BASE_SITE, PROD_API
const PROD_API = 'https://joylink.club/jlcloud';
diff --git a/src/views/iscs/iscsSystemNew/config/broadcast/stationHome.vue b/src/views/iscs/iscsSystemNew/config/broadcast/stationHome.vue
index d29449e9a..0a6e478ae 100644
--- a/src/views/iscs/iscsSystemNew/config/broadcast/stationHome.vue
+++ b/src/views/iscs/iscsSystemNew/config/broadcast/stationHome.vue
@@ -322,7 +322,7 @@ export default {
this.initTimedPlayList();
},
'stationId': function () {
- const params2 = { mapId: this.$route.querysetMapData.mapId, system: 'PA', station: this.stationId };
+ const params2 = { mapId: this.$route.query.mapId, system: 'PA', station: this.stationId };
queryIscsDeviceCod(params2).then(resp => {
this.iscsDeviceList = resp.data;
this.iscsDeviceList.forEach(device => {
@@ -486,6 +486,7 @@ export default {
if (!audio) { return; }
audio.pause();
audio.src = this.$store.state.user.ossUrl + info.url;
+ console.log(audio.src, ';src');
audio.play();
const _that = this;
audio.addEventListener('ended', function() {
@@ -609,10 +610,10 @@ export default {
type: 'BGM'
};
sendCommandNew(this.$route.query.group, 'ISCS_PA_Play', params).then(resp => {
- // const bgmUrl = this.$store.state.user.resourcesUrl + this.bgmResources[0].url;
- // const audio = document.getElementById('voice');
- // audio.src = bgmUrl;
- // audio.play();
+ const bgmUrl = this.$store.state.user.ossUrl + this.bgmResources[0].url;
+ const audio = document.getElementById('voice');
+ audio.src = bgmUrl;
+ audio.play();
}).catch(() => {
this.$message.error('背景音乐播放失败!');
});
@@ -708,10 +709,11 @@ export default {
type: this.videoMode
};
sendCommandNew(this.$route.query.group, 'ISCS_PA_Play', params).then(resp => {
- // this.voiceUrl = this.$store.state.user.resourcesUrl + this.resourcesList[this.messageIndex].url;
- // const audio = document.getElementById('voice');
- // audio.src = this.voiceUrl;
- // audio.play();
+ this.voiceUrl = this.$store.state.user.ossUrl + this.resourcesList[this.messageIndex].url;
+ console.log(this.voiceUrl, ']]]]]]');
+ const audio = document.getElementById('voice');
+ audio.src = this.voiceUrl;
+ audio.play();
}).catch(() => {
this.$message.error('发布广播失败!');
});
From 991121f9d83a434ddf51d272c0a5a01bd133a3db Mon Sep 17 00:00:00 2001
From: joylink_fanyuhong <18706759286@163.com>
Date: Mon, 11 Mar 2024 18:59:56 +0800
Subject: [PATCH 08/11] =?UTF-8?q?pa=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
package.json | 2 +-
.../config/broadcast/stationHome.vue | 27 ++++++++++---------
.../newMap/display/terminals/paScreen.vue | 3 ++-
3 files changed, 17 insertions(+), 15 deletions(-)
diff --git a/package.json b/package.json
index 852892b6b..f3dbbec22 100644
--- a/package.json
+++ b/package.json
@@ -46,7 +46,7 @@
"vue-i18n": "^8.12.0",
"vue-quill-editor": "^3.0.6",
"vue-router": "^3.1.6",
- "vue-video-player": "^5.0.1",
+ "vue-video-player": "^5.0.1",
"vuedraggable": "^2.24.3",
"vuex": "^3.1.0",
"wangeditor": "^4.6.17",
diff --git a/src/views/iscs/iscsSystemNew/config/broadcast/stationHome.vue b/src/views/iscs/iscsSystemNew/config/broadcast/stationHome.vue
index 0a6e478ae..7bb698f4d 100644
--- a/src/views/iscs/iscsSystemNew/config/broadcast/stationHome.vue
+++ b/src/views/iscs/iscsSystemNew/config/broadcast/stationHome.vue
@@ -312,7 +312,10 @@ export default {
ADMINISTRATIVE_AREA: {},
GATE: {},
TRANSFER_CHANNEL: {},
- PROPERTY: {}
+ PROPERTY: {},
+ OVERPASS1: {},
+ OVERPASS2: {},
+ LED: {}
},
timedList: []
};
@@ -486,7 +489,6 @@ export default {
if (!audio) { return; }
audio.pause();
audio.src = this.$store.state.user.ossUrl + info.url;
- console.log(audio.src, ';src');
audio.play();
const _that = this;
audio.addEventListener('ended', function() {
@@ -633,12 +635,12 @@ export default {
return;
}
sendCommandNew(this.$route.query.group, 'ISCS_PA_Stop_Playing', { iscsDeviceCodes: iscsDeviceCodes }).then(resp => {
- positionList.forEach(elem => {
- const audio = document.getElementById(elem.toLowerCase() + '_voice');
- audio.pause();
- });
- const audio = document.getElementById('voice');
- audio.pause();
+ // positionList.forEach(elem => {
+ // const audio = document.getElementById(elem.toLowerCase() + '_voice');
+ // audio.pause();
+ // });
+ // const audio = document.getElementById('voice');
+ // audio.pause();
}).catch(() => {
this.$message.error('背景音乐终止播放失败!');
});
@@ -709,11 +711,10 @@ export default {
type: this.videoMode
};
sendCommandNew(this.$route.query.group, 'ISCS_PA_Play', params).then(resp => {
- this.voiceUrl = this.$store.state.user.ossUrl + this.resourcesList[this.messageIndex].url;
- console.log(this.voiceUrl, ']]]]]]');
- const audio = document.getElementById('voice');
- audio.src = this.voiceUrl;
- audio.play();
+ // this.voiceUrl = this.$store.state.user.ossUrl + this.resourcesList[this.messageIndex].url;
+ // const audio = document.getElementById('voice');
+ // audio.src = this.voiceUrl;
+ // audio.play();
}).catch(() => {
this.$message.error('发布广播失败!');
});
diff --git a/src/views/newMap/display/terminals/paScreen.vue b/src/views/newMap/display/terminals/paScreen.vue
index fd227be42..a84b64e16 100644
--- a/src/views/newMap/display/terminals/paScreen.vue
+++ b/src/views/newMap/display/terminals/paScreen.vue
@@ -15,7 +15,7 @@
-