From 6351d966a130e5932d18d0b2b88abd2b4e9b795b Mon Sep 17 00:00:00 2001 From: sunzhenyu Date: Fri, 18 Dec 2020 15:26:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=89=E7=BB=B4=E5=AE=A2?= =?UTF-8?q?=E6=B5=81=E8=BD=A6=E7=AB=99=E4=B9=98=E5=AE=A2=E4=B8=8A=E9=94=99?= =?UTF-8?q?=E7=AB=99=E5=8F=B0bug=EF=BC=8C=E4=BF=AE=E6=94=B9=E4=B8=89?= =?UTF-8?q?=E7=BB=B4=E7=BC=96=E8=BE=91=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/jlmap3d/jl3dtrafficplan/connect/stationconnect.js | 9 ++++++++- src/jlmap3d/jl3dtrafficplan/jl3dtrafficplan.js | 5 +++-- src/jlmap3d/jl3dtrafficplan/model/passerhuman.js | 8 ++++---- src/jlmap3d/jl3dtrafficplan/passerai/passerai.js | 4 +++- src/utils/baseUrl.js | 4 ++-- src/views/jlmap3d/edit/component/action.vue | 5 ++++- src/views/jlmap3d/edit/component/assets.vue | 5 ++++- 7 files changed, 28 insertions(+), 12 deletions(-) diff --git a/src/jlmap3d/jl3dtrafficplan/connect/stationconnect.js b/src/jlmap3d/jl3dtrafficplan/connect/stationconnect.js index 9a10d6c14..429994ab6 100644 --- a/src/jlmap3d/jl3dtrafficplan/connect/stationconnect.js +++ b/src/jlmap3d/jl3dtrafficplan/connect/stationconnect.js @@ -43,18 +43,23 @@ export function PassflowConnect(deviceaction,toptrain,downtrain,routegroup,passe } /** 站台客流当前人数信息 */ if(data.type == "STAND_PFI"){ - // console.log(data); + let newStandData = data.body; let count = 0; for(let j=0;j - +
@@ -341,6 +341,9 @@ export default { updateEditSelectAsset(selsetAsset,selectData){ console.log(selectData); if(this.nowSelect != null){ + if(selsetAsset == "clear"){ + + } if(selectData.fileType == "model"){ if(selsetAsset == "sceneEdit"){ this.sceneAssetList[this.nowSelect].id = selectData.id; diff --git a/src/views/jlmap3d/edit/component/assets.vue b/src/views/jlmap3d/edit/component/assets.vue index f5d7f2383..4bb3fac9e 100644 --- a/src/views/jlmap3d/edit/component/assets.vue +++ b/src/views/jlmap3d/edit/component/assets.vue @@ -20,7 +20,7 @@ - + @@ -175,6 +175,9 @@ export default { // this.$emit('smodel',this.modelList[index]); updateEditSelectAsset(this.nowAssetName,this.nowAssetList[index]); }, + clearModel(){ + updateEditSelectAsset("clear"); + }, //刷新资源库显示 updateAssetList(newdata,newtype){ console.log(newdata);