84 lines
2.0 KiB
Vue
Raw Normal View History

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>
<leftBottom class="leftBottom"></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-04-25 09:09:34 +08:00
<rightAll class="rightAll"></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 {
height: 100%;
width: 26%;
.leftTop {
2024-04-21 14:15:04 +08:00
height: 35%;
2024-04-20 17:26:03 +08:00
}
2024-04-21 14:15:04 +08:00
.leftBottom {
height: 65%;
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-04-26 18:06:30 +08:00
height: 44.2%;
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-04-25 09:09:34 +08:00
height: 100%;
// .rightAll {
// height: 32%;
// }
// .rightCenter {
// height: 33%;
// margin: 3% 0 3% 0;
// }
// .rightBottom {
// height: 32%;
// }
2024-04-20 17:26:03 +08:00
}
}
</style>