|
|
@@ -324,7 +324,7 @@ export default {
|
|
|
return {
|
|
|
deptPeopleVisible:false,
|
|
|
deptPeopleType:0,
|
|
|
- deptPeopleId:'',
|
|
|
+ deptPeopleId:null,
|
|
|
ztreeNodes:[],
|
|
|
ztreeNodeAll:{},
|
|
|
deptPeopleValue:true,
|
|
|
@@ -492,7 +492,14 @@ export default {
|
|
|
this.queryAnalysis({ startTime: val[0], endTime: val[1] });
|
|
|
},
|
|
|
queryAnalysis(param) {
|
|
|
- this.$api.user.getGeographyPosition({ source: this.source, ...param }).then((res) => {
|
|
|
+ // let data={}
|
|
|
+ // if(this.deptPeopleType==1){
|
|
|
+ // data={
|
|
|
+ // type:this.deptPeopleType,
|
|
|
+ // queryId:this.deptPeopleId
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ this.$api.user.getGeographyPosition({ source: this.source, ...param,type:this.deptPeopleType,queryId:this.deptPeopleId }).then((res) => {
|
|
|
if (res.code == 200) {
|
|
|
this.onlineHisData = res.data.onlineNum
|
|
|
this.formatAnalysisDate(res.data.list)
|
|
|
@@ -513,6 +520,7 @@ export default {
|
|
|
userName: item.userName,
|
|
|
id: item.userId,
|
|
|
address: item.address,
|
|
|
+ deptName: item.deptName,
|
|
|
onlineImg: item.status ? "Frame-1(2).png" : "Frame(2).png",
|
|
|
// status: item.status ? "在线" : "离线",
|
|
|
status: item.status ? "#1CE247" : "#B2B2B2",
|