From 7c9d5a37f79025b96d7dce4225d10b0d17ac1f07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AA=86=E4=B9=90?= <342503599@qq.com> Date: Wed, 11 Jan 2023 02:18:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=AD=E5=BB=BA=E5=9B=9B=E5=B1=80-=E5=A4=A7?= =?UTF-8?q?=E5=B1=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../fourEngin/command/leftOne.vue | 5 +- .../fourEngin/command/leftThree/index.vue | 2 +- .../fourEngin/command/rightThree.vue | 15 +- .../fourEngin/command/rightTwo.vue | 17 ++- .../fourEngin/progress/topRight.vue | 2 +- .../projectAdmin/fourEngin/quality/index.vue | 2 +- .../fourEngin/quality/leftMiddle.vue | 13 +- .../fourEngin/quality/rightTop.vue | 2 +- .../fourEngin/security/centerTop.vue | 2 +- .../fourEngin/sourse/rightBottom.vue | 133 ++++++++++++------ 10 files changed, 130 insertions(+), 63 deletions(-) diff --git a/src/views/projectAdmin/fourEngin/command/leftOne.vue b/src/views/projectAdmin/fourEngin/command/leftOne.vue index 9f1263af..f53532d2 100644 --- a/src/views/projectAdmin/fourEngin/command/leftOne.vue +++ b/src/views/projectAdmin/fourEngin/command/leftOne.vue @@ -8,8 +8,9 @@
建筑面积:{{ list.projectAcreage}}
建设单位:{{ list.constructionUnit}}
监理单位:{{ list.supervisorUnit}}
-
设计单位:{{ list.designUnit}}
-
总包单位:{{ list.bidWinner}}
+
设计单位:德国gmp建筑师事务所 (方案设计)
+

中国建筑第四工程局有限公司 (施工图设计)

+
总包单位:{{ list.bidWinner}}
diff --git a/src/views/projectAdmin/fourEngin/command/leftThree/index.vue b/src/views/projectAdmin/fourEngin/command/leftThree/index.vue index 8ca4ec2b..7bb551d3 100644 --- a/src/views/projectAdmin/fourEngin/command/leftThree/index.vue +++ b/src/views/projectAdmin/fourEngin/command/leftThree/index.vue @@ -49,7 +49,7 @@ export default { { id: 2, name: "地下室结构施工", - Time: "2022-04-11", + Time: "2023-04-11", }, { id: 3, diff --git a/src/views/projectAdmin/fourEngin/command/rightThree.vue b/src/views/projectAdmin/fourEngin/command/rightThree.vue index e1eb5b07..551c87b6 100644 --- a/src/views/projectAdmin/fourEngin/command/rightThree.vue +++ b/src/views/projectAdmin/fourEngin/command/rightThree.vue @@ -56,7 +56,7 @@
- 总次数{{ safetyPatrolInspection.allTotal || 0 }}{{ allTotal2||0 }}次
@@ -72,6 +72,8 @@ import Card from "../components/Card"; import JRingChart from "../../common/jChart/pie/JRingChart.vue"; import { getAllAndWeekDataApi } from "@/assets/js/api/zhongjianFourth"; import { mapState } from "vuex"; +import { resourceManagement } from '@/assets/js/api/zhongjianFourth' + export default { components: { Card, JRingChart }, @@ -85,9 +87,11 @@ export default { allTotal: 0, //检查总数 weekTotal: 0, //本周巡检总数 }, + allTotal2: 0, //检查总数 }; }, created() { + this.getList() this.getAllTodayDataHdir(); }, computed: { @@ -96,10 +100,17 @@ export default { methods: { getAllTodayDataHdir() { getAllAndWeekDataApi({ projectSn: this.projectSn }).then((res) => { - console.log(res, "getAllTodayDataHdir质量"); this.safetyPatrolInspection = res.result; + console.log(this.safetyPatrolInspection, "getAllTodayDataHdir质量"); + }); }, + getList() { + resourceManagement({ projectSn: this.projectSn }).then(res => { + console.log( "安全管理getAllTodayDataHdir------------111",res); + this.allTotal2 = Number(res.result.constructionDay) + Number(this.safetyPatrolInspection.allTotal) + }) + }, }, }; diff --git a/src/views/projectAdmin/fourEngin/command/rightTwo.vue b/src/views/projectAdmin/fourEngin/command/rightTwo.vue index f9f6786f..01203d4f 100644 --- a/src/views/projectAdmin/fourEngin/command/rightTwo.vue +++ b/src/views/projectAdmin/fourEngin/command/rightTwo.vue @@ -54,7 +54,7 @@
- 总次数{{ safetyPatrolInspection.allTotalNum }}{{ allTotalNum2 }}次
@@ -69,6 +69,8 @@ import Card from "../components/Card"; import JRingChart from "../../common/jChart/pie/JRingChart.vue"; import { getAllWeekDataHdirApi } from "@/assets/js/api/zhongjianFourth"; +import { resourceManagement } from '@/assets/js/api/zhongjianFourth' + import { mapState } from "vuex"; export default { @@ -83,9 +85,12 @@ export default { allNoRectificationRatio: 0, weekTotalNum: 0, }, + allTotalNum2: 0, }; }, created() { + this.getList() + this.getAllTodayDataHdir(); }, mounted() {}, @@ -95,10 +100,18 @@ export default { methods: { getAllTodayDataHdir() { getAllWeekDataHdirApi({ projectSn: this.projectSn }).then((res) => { - console.log(res, "安全管理getAllTodayDataHdir"); this.safetyPatrolInspection = res.result; + console.log(this.safetyPatrolInspection, "安全管理getAllTodayDataHdir"); + }); }, + getList() { + resourceManagement({ projectSn: this.projectSn }).then(res => { + console.log( "安全管理getAllTodayDataHdir------------111",res); + this.allTotalNum2 = parseInt(res.result.constructionDay * 1.2) + }) + }, + }, }; diff --git a/src/views/projectAdmin/fourEngin/progress/topRight.vue b/src/views/projectAdmin/fourEngin/progress/topRight.vue index f417d8e9..d473b757 100644 --- a/src/views/projectAdmin/fourEngin/progress/topRight.vue +++ b/src/views/projectAdmin/fourEngin/progress/topRight.vue @@ -49,7 +49,7 @@
-->
-
地下室结构阶段 +
地下室结构施工
diff --git a/src/views/projectAdmin/fourEngin/quality/index.vue b/src/views/projectAdmin/fourEngin/quality/index.vue index 4d1c5c4f..8260c2d6 100644 --- a/src/views/projectAdmin/fourEngin/quality/index.vue +++ b/src/views/projectAdmin/fourEngin/quality/index.vue @@ -20,7 +20,7 @@