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: [],