Compare commits

...

4 Commits

Author SHA1 Message Date
阿斌
818465eaf7
Pre Merge pull request !36 from 阿斌/N/A 2025-04-29 02:02:00 +00:00
lin
87c0e061ba [文档] 去除多余命令 2025-04-29 10:01:33 +08:00
lin
a916cc2252 [UI] 修复巡航 2025-04-29 09:18:33 +08:00
阿斌
da98101aac
update src/main/resources/civilCode.csv.
行政规划错误。江苏南通海门市,修改为海门区,浙江杭州删除下城区、江干区,新增钱塘区,临平区

Signed-off-by: 阿斌 <38912748@qq.com>
2024-12-15 08:58:42 +00:00
5 changed files with 17 additions and 11 deletions

View File

@ -89,7 +89,7 @@ git clone https://github.com/648540858/wvp-GB28181-pro.git
```shell script
cd wvp-GB28181-pro/web/
npm --registry=https://registry.npmmirror.com install
npm npm run build:prod
npm run build:prod
```
编译如果报错, 一般都是网络问题, 导致的依赖包下载失败

View File

@ -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

1 编号 名称 上级
861 320623 如东县 3206
862 320681 启东市 3206
863 320682 如皋市 3206
864 320684 海门市 海门区 3206
865 320685 海安市 3206
866 3207 连云港市 32
867 320703 连云区 3207
918 33 浙江省
919 3301 杭州市 33
920 330102 上城区 3301
330103 下城区 3301
330104 江干区 3301
921 330105 拱墅区 3301
922 330106 西湖区 3301
923 330108 滨江区 3301
925 330110 余杭区 3301
926 330111 富阳区 3301
927 330112 临安区 3301
928 330113 临平区 3301
929 330114 钱塘区 3301
930 330122 桐庐县 3301
931 330127 淳安县 3301
932 330182 建德市 3301

View File

@ -2,7 +2,7 @@ import request from '@/utils/request'
// 前端控制
export function setSpeedForScan(deviceId, channelDeviceId, scanId, speed) {
export function setSpeedForScan([deviceId, channelDeviceId, scanId, speed]) {
return request({
method: 'get',
url: `/api/front-end/scan/set/speed/${deviceId}/${channelDeviceId}`,

View File

@ -99,7 +99,7 @@ export default {
},
gotoPreset: function(preset) {
console.log(preset)
this.$store.dispatch('frontEnd/callPreset', [this.deviceId, this.channelDeviceId, this.ptzPresetId])
this.$store.dispatch('frontEnd/callPreset', [this.deviceId, this.channelDeviceId, preset.presetId])
.then(data => {
this.$message({
showClose: true,
@ -128,7 +128,7 @@ export default {
spinner: 'el-icon-loading',
background: 'rgba(0, 0, 0, 0.7)'
})
this.$store.dispatch('frontEnd/deletePreset', [this.deviceId, this.channelDeviceId, this.ptzPresetId])
this.$store.dispatch('frontEnd/deletePreset', [this.deviceId, this.channelDeviceId, preset.presetId])
.then(data => {
setTimeout(() => {
this.getPresetList()

View File

@ -1,8 +1,15 @@
<template>
<div id="devicePlayer" v-loading="isLoging">
<el-dialog v-el-drag-dialog v-if="showVideoDialog" title="视频播放" top="0" :close-on-click-modal="false"
:visible.sync="showVideoDialog" @close="close()">
<el-dialog
v-if="showVideoDialog"
v-el-drag-dialog
title="视频播放"
top="0"
:close-on-click-modal="false"
:visible.sync="showVideoDialog"
@close="close()"
>
<div style="width: 100%; height: 100%">
<el-tabs
v-if="Object.keys(this.player).length > 1"
@ -285,7 +292,7 @@
<div title="光圈+" @mousedown="irisCamera('in')" @mouseup="irisCamera('stop')">
<i class="iconfont icon-guangquan control-zoom-btn" style="font-size: 1.5rem;" />
</div>
<div title="光圈-" @mousedown="pirisCamera('out')" @mouseup="irisCamera('stop')">
<div title="光圈-" @mousedown="irisCamera('out')" @mouseup="irisCamera('stop')">
<i class="iconfont icon-guangquan- control-zoom-btn" style="font-size: 1.5rem;" />
</div>
</div>
@ -365,7 +372,6 @@ import ptzSwitch from '../common/ptzSwitch.vue'
import mediaInfo from '../common/mediaInfo.vue'
import H265web from '../common/h265web.vue'
export default {
name: 'DevicePlayer',
directives: { elDragDialog },