dev:指挥部

This commit is contained in:
Vce 2024-04-27 09:47:16 +08:00
parent f80be897bf
commit c67c9878d0
4 changed files with 95 additions and 14 deletions

View File

@ -5,7 +5,7 @@
人员履职情况分析 人员履职情况分析
</div> </div>
<div class="hRight"> <div class="hRight">
<el-date-picker style="width: 85%" v-model="value1" type="daterange" range-separator="To" start-placeholder="Start date" end-placeholder="End date" :size="size"/> <el-date-picker style="width: 85%" v-model="dateRange" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" :size="size"/>
</div> </div>
</div> </div>
<div class="content"> <div class="content">
@ -47,6 +47,7 @@ import { getStageOption } from "@/api/modules/projectOverview";
import type { TabsPaneContext } from 'element-plus' import type { TabsPaneContext } from 'element-plus'
const activeName = ref('first') const activeName = ref('first')
let dateRange = ref([] as any)
const handleClick = (tab: TabsPaneContext, event: Event) => { const handleClick = (tab: TabsPaneContext, event: Event) => {
console.log(tab, event) console.log(tab, event)
@ -185,4 +186,23 @@ onMounted( async () => {
} }
} }
::v-deep .el-input__inner {
color: #fff;
}
::v-deep .el-select .el-input .el-select__caret {
color: #fff;
}
::v-deep .el-input__wrapper {
width: 85%;
height: 0%;
background: #0d2956;
}
::v-deep .el-range-separator {
color: #ccc;
font-size: 10px;
}
::v-deep .el-range-input {
color: #ccc;
font-size: 10px;
}
</style> </style>

View File

@ -5,7 +5,7 @@
隐患统计智能分析 隐患统计智能分析
</div> </div>
<div class="hRight"> <div class="hRight">
<el-date-picker style="width: 85%" v-model="value1" type="daterange" range-separator="To" start-placeholder="Start date" end-placeholder="End date" :size="size"/> <el-date-picker style="width: 85%" v-model="dateRange" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" :size="size"/>
</div> </div>
</div> </div>
<div class="content"> <div class="content">
@ -59,12 +59,16 @@
import Card from "@/components/card.vue"; import Card from "@/components/card.vue";
import { onMounted, ref } from "vue"; import { onMounted, ref } from "vue";
import { GlobalStore } from "@/stores"; import { GlobalStore } from "@/stores";
import rightTop from "@/views/commandScreen/commandCenter/rightTop.vue";
import rightCenter from "@/views/commandScreen/commandCenter/rightCenter.vue";
const store = GlobalStore(); const store = GlobalStore();
import { getProjectInspectRecordCountApi } from "@/api/modules/projectOverview"; import { getProjectInspectRecordCountApi } from "@/api/modules/projectOverview";
import * as echarts from "echarts"; import * as echarts from "echarts";
const echartsTest = ref(); const echartsTest = ref();
let questionTotal = ref(0 as any); let questionTotal = ref(0 as any);
let dateRange = ref([] as any);
let majorDangerCount = ref(20 as any); let majorDangerCount = ref(20 as any);
let majorDangerRate = ref(50 as any); let majorDangerRate = ref(50 as any);
let overdueMajorDangerCount = ref(20 as any); let overdueMajorDangerCount = ref(20 as any);
@ -460,11 +464,11 @@ onMounted(async () => {
margin-top: 10px; margin-top: 10px;
width: 100%; width: 100%;
height: 25%; height: 25%;
background-color: darkblue;
.ctHead{ .ctHead{
background-color: #002f69;
padding-bottom: 5px; padding-bottom: 5px;
color: #fff; color: #fff;
height: 20%; height: 15%;
font-size: 16px; font-size: 16px;
display: flex; display: flex;
justify-content: center; justify-content: center;
@ -475,18 +479,18 @@ onMounted(async () => {
} }
} }
.ctContent{ .ctContent{
height: 80%; height: 85%;
background-color: darkred; // background-color: darkred;
} }
} }
.contentMiddle{ .contentMiddle{
width: 100%; width: 100%;
height: 25%; height: 25%;
background-color: darkblue;
.cmHead{ .cmHead{
background-color: #002f69;
padding-bottom: 5px; padding-bottom: 5px;
color: #fff; color: #fff;
height: 20%; height: 15%;
font-size: 16px; font-size: 16px;
display: flex; display: flex;
justify-content: center; justify-content: center;
@ -497,8 +501,8 @@ onMounted(async () => {
} }
} }
.cmContent{ .cmContent{
height: 80%; height: 85%;
background-color: darkred; // background-color: darkred;
} }
} }
.contentBottom{ .contentBottom{
@ -585,10 +589,24 @@ onMounted(async () => {
} }
} }
} }
::v-deep .h-card .content {
height: 80%; ::v-deep .el-input__inner {
color: #fff;
} }
::v-deep .h-card { ::v-deep .el-select .el-input .el-select__caret {
position: relative; color: #fff;
}
::v-deep .el-input__wrapper {
width: 85%;
height: 0%;
background: #0d2956;
}
::v-deep .el-range-separator {
color: #ccc;
font-size: 10px;
}
::v-deep .el-range-input {
color: #ccc;
font-size: 10px;
} }
</style> </style>

View File

@ -0,0 +1,43 @@
<template>
<div class="rightTop">
</div>
</template>
<script setup lang="ts">
import { GlobalStore } from "@/stores";
import { ref, onMounted, watch } from "vue";
import { getStageOption } from "@/api/modules/projectOverview";
import type { TabsPaneContext } from 'element-plus'
onMounted( async () => {
})
</script>
<style lang="scss" scoped>
.rightTop {
margin-top: 10px;
width: 100%;
height: 25%;
.ctHead{
background-color: #002f69;
padding-bottom: 5px;
color: #fff;
height: 15%;
font-size: 16px;
display: flex;
justify-content: center;
align-items: flex-end;
text{
font-size: 24px;
color: #fc4c4c;
}
}
.ctContent{
height: 85%;
// background-color: darkred;
}
}
</style>