mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-26 15:07:49 +08:00
Compare commits
4 Commits
e093618e37
...
c397479f0f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c397479f0f | ||
|
|
c981e7f470 | ||
|
|
b8f2742c29 | ||
|
|
da98101aac |
@ -861,7 +861,7 @@
|
|||||||
320623,如东县,3206
|
320623,如东县,3206
|
||||||
320681,启东市,3206
|
320681,启东市,3206
|
||||||
320682,如皋市,3206
|
320682,如皋市,3206
|
||||||
320684,海门市,3206
|
320684,海门区,3206
|
||||||
320685,海安市,3206
|
320685,海安市,3206
|
||||||
3207,连云港市,32
|
3207,连云港市,32
|
||||||
320703,连云区,3207
|
320703,连云区,3207
|
||||||
@ -918,8 +918,6 @@
|
|||||||
33,浙江省,
|
33,浙江省,
|
||||||
3301,杭州市,33
|
3301,杭州市,33
|
||||||
330102,上城区,3301
|
330102,上城区,3301
|
||||||
330103,下城区,3301
|
|
||||||
330104,江干区,3301
|
|
||||||
330105,拱墅区,3301
|
330105,拱墅区,3301
|
||||||
330106,西湖区,3301
|
330106,西湖区,3301
|
||||||
330108,滨江区,3301
|
330108,滨江区,3301
|
||||||
@ -927,6 +925,8 @@
|
|||||||
330110,余杭区,3301
|
330110,余杭区,3301
|
||||||
330111,富阳区,3301
|
330111,富阳区,3301
|
||||||
330112,临安区,3301
|
330112,临安区,3301
|
||||||
|
330113,临平区,3301
|
||||||
|
330114,钱塘区,3301
|
||||||
330122,桐庐县,3301
|
330122,桐庐县,3301
|
||||||
330127,淳安县,3301
|
330127,淳安县,3301
|
||||||
330182,建德市,3301
|
330182,建德市,3301
|
||||||
|
|||||||
|
@ -24,13 +24,13 @@ export function getMediaServer(id) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function checkMediaServer(params) {
|
export function checkMediaServer(params) {
|
||||||
const { ip, port, secret, type } = params
|
const { ip, httpPort, secret, type } = params
|
||||||
return request({
|
return request({
|
||||||
method: 'get',
|
method: 'get',
|
||||||
url: `/api/server/media_server/check`,
|
url: `/api/server/media_server/check`,
|
||||||
params: {
|
params: {
|
||||||
ip: ip,
|
ip: ip,
|
||||||
port: port,
|
port: httpPort,
|
||||||
secret: secret,
|
secret: secret,
|
||||||
type: type
|
type: type
|
||||||
}
|
}
|
||||||
|
|||||||
@ -208,15 +208,15 @@ export default {
|
|||||||
unPause: function() {
|
unPause: function() {
|
||||||
if (h265webPlayer[this._uid]) {
|
if (h265webPlayer[this._uid]) {
|
||||||
h265webPlayer[this._uid].play()
|
h265webPlayer[this._uid].play()
|
||||||
|
this.playing = h265webPlayer[this._uid].isPlaying()
|
||||||
}
|
}
|
||||||
this.playing = h265webPlayer[this._uid].isPlaying()
|
|
||||||
this.err = ''
|
this.err = ''
|
||||||
},
|
},
|
||||||
pause: function() {
|
pause: function() {
|
||||||
if (h265webPlayer[this._uid]) {
|
if (h265webPlayer[this._uid]) {
|
||||||
h265webPlayer[this._uid].pause()
|
h265webPlayer[this._uid].pause()
|
||||||
|
this.playing = h265webPlayer[this._uid].isPlaying()
|
||||||
}
|
}
|
||||||
this.playing = h265webPlayer[this._uid].isPlaying()
|
|
||||||
this.err = ''
|
this.err = ''
|
||||||
},
|
},
|
||||||
mute: function() {
|
mute: function() {
|
||||||
|
|||||||
@ -11,7 +11,7 @@
|
|||||||
@close="close()"
|
@close="close()"
|
||||||
>
|
>
|
||||||
<div id="formStep" style="margin-top: 1rem; margin-right: 20px;">
|
<div id="formStep" style="margin-top: 1rem; margin-right: 20px;">
|
||||||
<el-form v-if="currentStep == 1" ref="mediaServerForm" :rules="rules" :model="mediaServerForm" label-width="140px">
|
<el-form v-if="currentStep === 1" ref="mediaServerForm" :rules="rules" :model="mediaServerForm" label-width="140px">
|
||||||
<el-form-item label="IP" prop="ip">
|
<el-form-item label="IP" prop="ip">
|
||||||
<el-input v-model="mediaServerForm.ip" placeholder="媒体服务IP" clearable :disabled="mediaServerForm.defaultServer" />
|
<el-input v-model="mediaServerForm.ip" placeholder="媒体服务IP" clearable :disabled="mediaServerForm.defaultServer" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@ -237,7 +237,7 @@ export default {
|
|||||||
},
|
},
|
||||||
checkServer: function() {
|
checkServer: function() {
|
||||||
this.serverCheck = 0
|
this.serverCheck = 0
|
||||||
this.$store.dispatch("server/checkMediaServer", this.mediaServerForm)
|
this.$store.dispatch('server/checkMediaServer', this.mediaServerForm)
|
||||||
.then(data => {
|
.then(data => {
|
||||||
if (parseInt(this.mediaServerForm.httpPort) !== parseInt(data.httpPort)) {
|
if (parseInt(this.mediaServerForm.httpPort) !== parseInt(data.httpPort)) {
|
||||||
this.$message({
|
this.$message({
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user