From 361b58fda6075ee14db4b8699df7293542322671 Mon Sep 17 00:00:00 2001 From: "lj7788@126.com" Date: Fri, 13 Jun 2025 16:55:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A8=A1=E5=9E=8B=E5=A2=9E=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yanzhu-bigscreen/src/views/bimManage.vue | 40 +++++++++++++++++++ .../src/views/bim/bimModel/index.vue | 14 ++++--- 2 files changed, 48 insertions(+), 6 deletions(-) diff --git a/yanzhu-bigscreen/src/views/bimManage.vue b/yanzhu-bigscreen/src/views/bimManage.vue index e8a2442c..5d1a0892 100644 --- a/yanzhu-bigscreen/src/views/bimManage.vue +++ b/yanzhu-bigscreen/src/views/bimManage.vue @@ -11,6 +11,32 @@ 项目概况 +
+
{{prj.floorArea}}
+
建筑面积:单位(平方米)
+
+ + + + + + + + + + + + + + + + + + + + + +
项目名称{{prj.projectName}}
建设单位{{prj.constructionUnit}}
总包单位{{prj.packageUnit}}
开工日期{{prj.startDate}}
计划完工日期{{prj.endDate}}
@@ -223,6 +249,14 @@ export default { rightSrc: "./bimImages/arrow_right_retract.png", leftShow: true, towerWarning: [], + prj:{ + floorArea:0, + projectName:'', + constructionUnit:'', + packageUnit:'', + startDate:'', + endDate:'', + } }; }, beforeDestroy() { @@ -240,11 +274,13 @@ export default { "projectChange", debounce((prj) => { this.selProject = prj; + this.updateProjectInfo(); this.elId++; this.initEngine(); }) ); this.selProject = this.$store.getters.selProject; + this.updateProjectInfo(); console.log("----mount--->"); document.body.classList.add("is-sapi"); this.initEngine(); @@ -253,6 +289,10 @@ export default { }); }, methods: { + updateProjectInfo(){ + this.prj.floorArea=this.selProject?.floorArea||0; + console.log(this.selProject) + }, arrowRetract() { if (this.leftShow == true) { this.rightSrc = "./images/arrow_right_open.png"; diff --git a/yanzhu-ui-vue3/src/views/bim/bimModel/index.vue b/yanzhu-ui-vue3/src/views/bim/bimModel/index.vue index fb07c927..7fc30708 100755 --- a/yanzhu-ui-vue3/src/views/bim/bimModel/index.vue +++ b/yanzhu-ui-vue3/src/views/bim/bimModel/index.vue @@ -6,11 +6,11 @@ - + @@ -61,12 +61,15 @@ - + +
+ 从模型服务器选择模型 +
@@ -142,7 +145,6 @@ const data = reactive({ rules: { comId: [{ required: true, message: '租户id不能为空', trigger: 'blur' }], projectId: [{ required: true, message: '项目id不能为空', trigger: 'blur' }], - deptId: [{ required: true, message: '单位id不能为空', trigger: 'blur' }], }, isAdmin: false, projects: [],