From 5710a5b37d2f03f7d790fa3e55d9d603fda067c9 Mon Sep 17 00:00:00 2001 From: "lj7788@126.com" Date: Thu, 3 Jul 2025 18:37:00 +0800 Subject: [PATCH] =?UTF-8?q?4D=E6=A8=A1=E5=9E=8B-=E8=AE=A1=E5=88=92?= =?UTF-8?q?=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yanzhu-bigscreen/src/api/bim.js | 10 +- yanzhu-bigscreen/src/utils/request.js | 2 +- .../src/views/bim4DSimulation.vue | 378 +++++++----------- yanzhu-bigscreen/src/views/bimBriefing.vue | 38 +- yanzhu-bigscreen/src/views/bimRoaming.vue | 28 +- yanzhu-ui-vue3/src/utils/request.js | 2 +- 6 files changed, 193 insertions(+), 265 deletions(-) diff --git a/yanzhu-bigscreen/src/api/bim.js b/yanzhu-bigscreen/src/api/bim.js index f0400ac6..e21076d8 100644 --- a/yanzhu-bigscreen/src/api/bim.js +++ b/yanzhu-bigscreen/src/api/bim.js @@ -108,6 +108,13 @@ const roamingGet=data=>{ }); } +const getPlanList=projectId=>{ + return request({ + url: `/manage/plan/list?pageNum=1&pageSize=1000&projectId=${projectId}`, + method: "get" + }); +} + export default { listBimModel, modelPropertyByExternalId, @@ -121,5 +128,6 @@ export default { modelTreeAllChild, getTreeAllLeafChild, viewpointGet, - roamingGet + roamingGet, + getPlanList }; diff --git a/yanzhu-bigscreen/src/utils/request.js b/yanzhu-bigscreen/src/utils/request.js index ba7eefa3..bce4983c 100644 --- a/yanzhu-bigscreen/src/utils/request.js +++ b/yanzhu-bigscreen/src/utils/request.js @@ -16,7 +16,7 @@ const service = axios.create({ // axios中请求配置有baseURL选项,表示请求URL公共部分 baseURL: process.env.VUE_APP_BASE_API, // 超时 - timeout: 200000, + timeout: 20000000, }); // request拦截器 diff --git a/yanzhu-bigscreen/src/views/bim4DSimulation.vue b/yanzhu-bigscreen/src/views/bim4DSimulation.vue index 5f56e709..b4376cb5 100644 --- a/yanzhu-bigscreen/src/views/bim4DSimulation.vue +++ b/yanzhu-bigscreen/src/views/bim4DSimulation.vue @@ -1,8 +1,8 @@