diff --git a/front/public/static/config/basicConfig.js b/front/public/static/config/basicConfig.js index aa2e7bda..93e613a5 100644 --- a/front/public/static/config/basicConfig.js +++ b/front/public/static/config/basicConfig.js @@ -2,13 +2,13 @@ * @Author: hisense.wuhongjian * @Date: 2020-07-07 16:03:23 * @LastEditors: hisense.wuhongjian - * @LastEditTime: 2022-11-24 19:38:36 + * @LastEditTime: 2022-11-27 23:42:04 * @Description: 系统静态参数配置 */ var _global = {} var CONFIGITEM = { // version: 'qingdao', //青岛 - version: 'dev', // 西海岸 + version: 'xihaian', // 西海岸 // version: 'dev', // 开发 // version: 'zhanTingDev', // 展厅dev (2022-09-13:姜永超让添加) // version: 'qingdao', // 测试 diff --git a/front/src/supermap/map-showResource.js b/front/src/supermap/map-showResource.js index 257750d2..75539039 100644 --- a/front/src/supermap/map-showResource.js +++ b/front/src/supermap/map-showResource.js @@ -66,15 +66,6 @@ function createMarkerClusterLayer(layerClassName, mapObj) { } else { // 使用默认图标 markerClusterLayer = L.markerClusterGroup({ - // iconCreateFunction(cluster) { - // const markers = cluster.getAllChildMarkers() - // let n = 0 - // for (let i = 0; i < markers.length; i++) { - // n += markers[i].number - // } - // return L.divIcon({ html: markers.length, className: "topic-marker-cluster-video" }) - // }, - // 是否允许指定 PolylineOptions 样式 spider spiderfyOnMaxZoom: false, // 是否显示标记的边界 showCoverageOnHover: true, diff --git a/front/src/views/home/DetailsPageconetent.vue b/front/src/views/home/DetailsPageconetent.vue index a7d43a6a..341ba4ad 100644 --- a/front/src/views/home/DetailsPageconetent.vue +++ b/front/src/views/home/DetailsPageconetent.vue @@ -1651,8 +1651,9 @@ }) } const showFlag = ref(true) - mybus.on('getCameraByParentId', (ids) => { - paramsGetResources2.value.regionId = ids + mybus.on('getCameraByParentId', (val) => { + console.log('倒腾位置2') + paramsGetResources2.value.regionId = val.id getAppResources() }) mybus.on('changeShowFlag', (flag) => { diff --git a/front/src/views/home/components/H5Player.vue b/front/src/views/home/components/H5Player.vue index c11280d9..1d008d7f 100644 --- a/front/src/views/home/components/H5Player.vue +++ b/front/src/views/home/components/H5Player.vue @@ -224,19 +224,20 @@ } ) }, + // 实时播放 videoPlay(playURL, index1) { let that = this this.realTime = true mybus.emit('closeLoading', true) setTimeout(() => { mybus.emit('closeLoading', false) - if (!that.unStopable) { - message.warning('预览将在2s后停止') - setTimeout(() => { - that.stopAllPlay() - }, 6000) - } }, 3000) + if (!that.unStopable) { + message.warning('预览将在约6s后停止') + setTimeout(() => { + that.stopAllPlay() + }, 6000) + } this.mode = 0 //解码方式:0普通模式 1高级模式 const { player, mode, urls } = this // playURL = this.realplay diff --git a/front/src/views/home/detailsPageInfrastructureTree.vue b/front/src/views/home/detailsPageInfrastructureTree.vue index b30661cb..22dea505 100644 --- a/front/src/views/home/detailsPageInfrastructureTree.vue +++ b/front/src/views/home/detailsPageInfrastructureTree.vue @@ -2,7 +2,11 @@
-
+
{{ item.name }} ({{ item.channelCount }}) @@ -10,13 +14,28 @@
-
+
- - + + {{ val.name }}({{ val.channelCount }})
@@ -27,13 +46,30 @@
-
+
- - + + {{ child.name }} @@ -49,247 +85,198 @@
diff --git a/front/src/views/home/detailsPageInfrastructureTreeXha.vue b/front/src/views/home/detailsPageInfrastructureTreeXha.vue index b345a31f..a47fecd6 100644 --- a/front/src/views/home/detailsPageInfrastructureTreeXha.vue +++ b/front/src/views/home/detailsPageInfrastructureTreeXha.vue @@ -157,7 +157,9 @@ } } else { if (selectId.value !== '') { - mybus.emit('getCameraByParentId', selectId.value) + mybus.emit('getCameraByParentId', { + id: selectId.value, + }) } else { mybus.emit('clearLeftSelect') } @@ -228,14 +230,21 @@ selectId.value = '' } else { selectId.value = child.id - mybus.emit('getCameraByParentId', val.id) + // 查询数据并上图 + const param = { + id: val.id, + reset: true, + } + mybus.emit('getCameraByParentId', param) } } } watch(selectId, (newVal) => { if (newVal == '') { - mybus.emit('getCameraByParentId', '70be8c5b664f4bcf869d82f2e8335051') + mybus.emit('getCameraByParentId', { + id: '70be8c5b664f4bcf869d82f2e8335051', + }) } }) @@ -261,7 +270,9 @@ selectId.value = '' // mybus.emit('clearLeftSelect') } else { - mybus.emit('getCameraByParentId', val.id) + mybus.emit('getCameraByParentId', { + id: val.id, + }) } } } diff --git a/front/src/views/home/infrastructurePageXha.vue b/front/src/views/home/infrastructurePageXha.vue index dc01f2cf..af23767d 100644 --- a/front/src/views/home/infrastructurePageXha.vue +++ b/front/src/views/home/infrastructurePageXha.vue @@ -403,7 +403,14 @@
-
+
@@ -692,6 +699,7 @@ import moment from 'moment' import { useStore } from 'vuex' import debounce from 'lodash/debounce' + import { stubFalse } from 'lodash' const store = useStore() const username = store.getters['user/username'] const props = defineProps({ @@ -699,6 +707,7 @@ searchValue: { type: String, default: '' }, searchType: { type: String, default: '' }, }) + const spinningHome = ref(false) const current = ref(1) const videoTotal = ref(0) const router = useRouter() @@ -2036,9 +2045,12 @@ } } } + console.log('位置1') + spinningHome.value = true getCameraByCondition(params) .then((res) => { console.log('res--查询摄像头---------->', res) + spinningHome.value = false loadingCamera.value = false dataSource.value = res.data.data pagination.value.total = res.data.count diff --git a/front/src/views/home/videoSurveillance/index.vue b/front/src/views/home/videoSurveillance/index.vue index aac4cde0..53f90439 100644 --- a/front/src/views/home/videoSurveillance/index.vue +++ b/front/src/views/home/videoSurveillance/index.vue @@ -1,10 +1,19 @@