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 @@