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