diff --git a/.env.development b/.env.development
index 0278de29..3c9afa97 100644
--- a/.env.development
+++ b/.env.development
@@ -7,8 +7,8 @@ VUE_APP_TITLE = '曲阳金隅安全智能管控平台'
# 接口地址
#VUE_APP_API_BASEURL = http://1.203.161.103:2800/api
#VUE_APP_WS_API = 'ws://localhost:8000'
-#VUE_APP_API_BASEURL = http://222.222.144.147:6013/api
-VUE_APP_API_BASEURL = http://127.0.0.1:8000/api
+VUE_APP_API_BASEURL = http://222.222.144.147:6013/api
+#VUE_APP_API_BASEURL = http://127.0.0.1:8000/api
#VUE_APP_BASEURL = http://127.0.0.1:8000
diff --git a/src/views/bigScreen/index.vue b/src/views/bigScreen/index.vue
index 2f559bf3..25996ac4 100644
--- a/src/views/bigScreen/index.vue
+++ b/src/views/bigScreen/index.vue
@@ -430,7 +430,7 @@
-
@@ -892,6 +892,7 @@ export default {
audioSrc:'',
audioIndex:0,
audioList:{},
+ employeeScroll:0,
}
},
@@ -1059,7 +1060,8 @@ export default {
that.screenUser = true;
// debugger;
window.map.flyToMarker(that.userMarker[that.screenUserItem.mac], {
- duration: 1000
+ duration: 1000,
+ range: 200
})
}
}
@@ -1103,20 +1105,43 @@ export default {
this.timerTime = null;
this.eventTimer = null;
this.eventAudioTimer = null;
- window.map.destroy();
+ // window.map.destroy();
clearInterval(this.timerUser)//人员
clearInterval(this.timerTime)//时间
clearInterval(this.eventTimer)//时间
clearInterval(this.eventAudioTimer)//事件
},
methods: {
- handleChange(item, check) {
- debugger;
- console.log(check);
+ handleChange(item, check,item2,item3) {
+ // debugger;
+ // let that = this;
+ // console.log(item);
+ // console.log(check);
+ // console.log(item2);
+ // console.log(item3);
this.deptChecked = check.checkedKeys;
this.userParams.depts = check.checkedKeys;
+ let obj = {};
+ obj.depts = check.checkedKeys;
+ that.$API.third.blt.all.req(obj).then(res => {
+ debugger;
+ console.log('selectedUser:'+res)
+ })
this.refreshUserMarker();
},
+ //人员类型选择
+ userFilter() {
+ let that = this;
+ this.showUserSelect = false;
+ this.screenUser = true;
+ // that.screenUserItem.name = this.userList[0].my_info.employee_.name;
+ // that.screenUserItem.type = this.userList[0].my_info.employee_.type;
+ // that.screenUserItem.id = this.userList[0].my_info.employee_.id;
+ // that.screenUserItem.photo = this.userList[0].my_info.employee_.photo ? this.userList[0].my_info.employee_.photo : '';
+ // that.screenUserItem.post_name = this.userList[0].my_info.employee_.post_name ? this.userList[0].my_info.employee_.post_name : '';
+ // that.screenUserItem.belong_dept_name = this.userList[0].my_info.employee_.belong_dept_name ? this.userList[0].my_info.employee_.belong_dept_name : '';
+
+ },
audioFinished(){
if(this.audioIndex {
let obj = item;
- obj.z = 0;
+ obj.x=item.longitude;
+ obj.y=item.latitude;
return obj
});
let areaId = item.id;
@@ -2024,6 +2039,10 @@ export default {
//员工列表点击
userRowClick(row) {
let that = this;
+ debugger;
+ window.map.flyToMarker(that.userMarker[row.mac], {
+ duration: 1000,range: 200
+ })
that.screenUserItem.name = row.my_info.employee_.name;
that.screenUserItem.type = row.my_info.employee_.type;
that.screenUserItem.id = row.my_info.employee_.id;
@@ -2035,7 +2054,7 @@ export default {
userTrack() {
this.tracking = true;
window.map.trackMarker(this.userMarker[this.screenUserItem.mac], {
- range: 150
+ range: 200
})
},
//取消人员追踪
@@ -2108,13 +2127,13 @@ export default {
modelAnimate: {
multiplier: 2,
},
- scale: 0.8,
+ scale: 1,
properties: {
name: 'trackMarker'
},
callback: (marker) => {
window.map.trackMarker(marker, {
- range: 40,
+ range: 100,
tilt: 60,
rotate: 310
});
@@ -2141,6 +2160,7 @@ export default {
})
},
userLineTrackCancel(){
+ window.location.reload();
let that = this;
that.lineTracking = false;
that.userMaskerLayer.show = true;
@@ -2691,7 +2711,8 @@ export default {
right: 18px;
z-index: 1;
transition: all .5s linear;
-
+ overflow-y: scroll;
+ max-height: 80vh;
.job-content {
height: calc(100% - 44px);
overflow-y: auto;
diff --git a/src/views/opm/high.vue b/src/views/opm/high.vue
index 4b8df3c3..dfc60659 100644
--- a/src/views/opm/high.vue
+++ b/src/views/opm/high.vue
@@ -88,7 +88,8 @@
expandTrigger: 'hover', // 次级菜单的展开方式
label: 'label', //
value: 'value', //
- emitPath: false, // 在选中节点改变时,是否返回由该节点所在的各级菜单的值所组成的数组,若设置 false,则只返回该节点的值
+ emitPath: false,
+ checkStrictly: true
}"
clearable
/>
diff --git a/src/views/opm/space.vue b/src/views/opm/space.vue
index f24900db..f40115c7 100644
--- a/src/views/opm/space.vue
+++ b/src/views/opm/space.vue
@@ -89,6 +89,7 @@
label: 'label', //
value: 'value', //
emitPath: false, // 在选中节点改变时,是否返回由该节点所在的各级菜单的值所组成的数组,若设置 false,则只返回该节点的值
+ checkStrictly: true
}"
clearable
/>
diff --git a/src/views/rpm/rpjadd.vue b/src/views/rpm/rpjadd.vue
index 0f32c615..bd6a1ee3 100644
--- a/src/views/rpm/rpjadd.vue
+++ b/src/views/rpm/rpjadd.vue
@@ -284,6 +284,7 @@