2024-04-20 17:26:03 +08:00
|
|
|
<template>
|
|
|
|
|
<div class="projectContent">
|
|
|
|
|
<div class="left">
|
2024-04-21 14:15:04 +08:00
|
|
|
<leftTop class="leftTop"></leftTop>
|
2024-05-11 02:49:17 +08:00
|
|
|
<leftBottom class="leftBottom" @openDialog="openPeopleCountDialog"></leftBottom>
|
2024-04-20 17:26:03 +08:00
|
|
|
</div>
|
|
|
|
|
<div class="center">
|
2024-04-27 18:46:11 +08:00
|
|
|
<centerTop class="centerTop" @openDialog="openPeopleCountDialog"></centerTop>
|
2024-04-21 14:15:04 +08:00
|
|
|
<centerBottom class="centerBottom"></centerBottom>
|
2024-04-20 17:26:03 +08:00
|
|
|
</div>
|
|
|
|
|
<div class="right">
|
2024-05-11 11:10:48 +08:00
|
|
|
<rightAll class="rightAll" @openDialog="openPeopleCountDialog"></rightAll>
|
2024-04-20 17:26:03 +08:00
|
|
|
</div>
|
2024-04-27 18:46:11 +08:00
|
|
|
<dataDialog ref="partyBuildRef"></dataDialog>
|
2024-04-20 17:26:03 +08:00
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script setup lang="ts">
|
|
|
|
|
import leftTop from "@/views/commandScreen/commandCenter/leftTop.vue";
|
|
|
|
|
import leftBottom from "@/views/commandScreen/commandCenter/leftBottom.vue";
|
|
|
|
|
import centerTop from "@/views/commandScreen/commandCenter/centerTop.vue";
|
|
|
|
|
import centerBottom from "@/views/commandScreen/commandCenter/centerBottom.vue";
|
2024-04-25 09:09:34 +08:00
|
|
|
import rightAll from "@/views/commandScreen/commandCenter/rightAll.vue";
|
2024-04-20 17:26:03 +08:00
|
|
|
import { GlobalStore } from "@/stores";
|
2024-04-27 18:46:11 +08:00
|
|
|
import dataDialog from "../dialogCompnnents/data-dialog.vue";
|
2024-04-20 17:26:03 +08:00
|
|
|
const store = GlobalStore();
|
|
|
|
|
import { getWorkerStatisticsCountApi, getProjectDetail } from "@/api/modules/projectOverview";
|
|
|
|
|
import { ref, onMounted, onBeforeUnmount,nextTick } from "vue";
|
|
|
|
|
const statisticsCount = ref(null as any);
|
|
|
|
|
|
|
|
|
|
const projectData = ref(null as any);
|
2024-04-27 18:46:11 +08:00
|
|
|
// 弹窗
|
|
|
|
|
const partyBuildRef = ref();
|
|
|
|
|
const openPeopleCountDialog = (index:any) => {
|
|
|
|
|
partyBuildRef.value.openDialog(index);
|
|
|
|
|
// console.log(partyBuildRef.value);
|
|
|
|
|
};
|
2024-04-20 17:26:03 +08:00
|
|
|
</script>
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
|
.projectContent {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
display: flex;
|
|
|
|
|
.left {
|
2024-06-03 13:45:16 +08:00
|
|
|
height: 109.5%;
|
2024-04-20 17:26:03 +08:00
|
|
|
width: 26%;
|
2024-06-03 13:45:16 +08:00
|
|
|
transform: translateY(-70px);
|
2024-04-20 17:26:03 +08:00
|
|
|
.leftTop {
|
2024-06-03 13:45:16 +08:00
|
|
|
height: 24.5%;
|
2024-04-20 17:26:03 +08:00
|
|
|
}
|
2024-04-21 14:15:04 +08:00
|
|
|
.leftBottom {
|
2024-06-03 14:17:09 +08:00
|
|
|
height: 75.5%;
|
2024-04-20 17:26:03 +08:00
|
|
|
margin: 3% 0 3% 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.center {
|
|
|
|
|
width: 46%;
|
|
|
|
|
margin: 0 1%;
|
|
|
|
|
|
|
|
|
|
.centerTop {
|
2024-04-26 18:06:30 +08:00
|
|
|
height: 53.8%;
|
2024-04-21 14:15:04 +08:00
|
|
|
// margin-bottom: 3%;
|
2024-04-20 17:26:03 +08:00
|
|
|
}
|
|
|
|
|
.centerBottom {
|
2024-06-03 14:17:09 +08:00
|
|
|
height: 45.85%;
|
2024-04-21 14:15:04 +08:00
|
|
|
margin: 2% 0 0 0;
|
2024-04-20 17:26:03 +08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.right {
|
|
|
|
|
width: 26%;
|
2024-06-03 14:17:09 +08:00
|
|
|
height: 109.2%;
|
|
|
|
|
transform: translateY(-70px);
|
2024-04-25 09:09:34 +08:00
|
|
|
// .rightAll {
|
|
|
|
|
// height: 32%;
|
|
|
|
|
// }
|
|
|
|
|
// .rightCenter {
|
|
|
|
|
// height: 33%;
|
|
|
|
|
// margin: 3% 0 3% 0;
|
|
|
|
|
// }
|
|
|
|
|
// .rightBottom {
|
|
|
|
|
// height: 32%;
|
|
|
|
|
// }
|
2024-04-20 17:26:03 +08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</style>
|