From 6ba8e2c812b0f940f36dc0c8664d364208f54ba8 Mon Sep 17 00:00:00 2001 From: jiangyinzhi Date: Sat, 18 Apr 2026 17:08:19 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E8=83=BD=E4=BA=BA=E6=95=B0=E6=A0=A1?= =?UTF-8?q?=E9=AA=8C=E3=80=81=E5=88=86=E4=BD=93=E5=BC=8F=E7=A9=BA=E8=B0=83?= =?UTF-8?q?=E5=8A=A0=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../energyEfficiency/constructionInfo.vue | 13 ++++++++++- .../facilityManage/components/fissionAir.vue | 23 +++++++++++++++++++ 2 files changed, 35 insertions(+), 1 deletion(-) diff --git a/src/views/energyEfficiency/constructionInfo.vue b/src/views/energyEfficiency/constructionInfo.vue index 0c46d3a..e8250d1 100644 --- a/src/views/energyEfficiency/constructionInfo.vue +++ b/src/views/energyEfficiency/constructionInfo.vue @@ -44,6 +44,7 @@ +
0.1≤单位面积人数≤200
同一社会信用代码下建筑面积和用能人数重复
@@ -339,6 +340,7 @@ export default { tips6: false, tips7: false, // tips8: false, + tips10: false, newAnswer: [], // 问答题存 loading:false, result1: '无', @@ -732,6 +734,7 @@ export default { methods: { async checkArea(){ + this.showTips10() if(this.formData.totalArea>50000&&this.formData.peopleNum){ let params = { totalArea: this.formData.totalArea, @@ -813,6 +816,14 @@ export default { this.tips7 = false } }, + showTips10() { + let rate = Number(this.formData.totalArea)/ Number(this.formData.peopleNum) + if( rate<0.1|| rate> 200) { + this.tips10 = true + }else { + this.tips10 = false + } + }, buildTypeChange(val) { this.showPicker = false switch (val[0]) { @@ -1882,7 +1893,7 @@ export default { // this.formData.enquireIds = this.aarr1.concat(this.aarr) // } // this.tips6 == true || - if(this.checkAreaTip|| this.tips0 == true || this.tips1 == true || this.tips2 == true || this.tips3 == true || this.tips4 == true || this.tips6 == true || this.tips7){ + if(this.checkAreaTip|| this.tips0 == true || this.tips1 == true || this.tips2 == true || this.tips3 == true || this.tips4 == true || this.tips6 == true || this.tips7 || this.tips10){ return; } if(this.gfShow == 1&&(this.tips8||this.tips9)){ diff --git a/src/views/facilityManage/components/fissionAir.vue b/src/views/facilityManage/components/fissionAir.vue index 8737228..ae13ebd 100644 --- a/src/views/facilityManage/components/fissionAir.vue +++ b/src/views/facilityManage/components/fissionAir.vue @@ -3,6 +3,7 @@
+ @@ -12,17 +13,32 @@ + + +
+ + + + +