|
|
|
@ -1,22 +1,33 @@
|
|
|
|
|
<template>
|
|
|
|
|
<el-container style="width:100%;height: 840px;">
|
|
|
|
|
<div style="width:100%;background-color: #0d84ff;">
|
|
|
|
|
<el-container id="index" style="width:89%;height: 840px;">
|
|
|
|
|
<div class="header" :style="{ height: 80 + 'px'}">
|
|
|
|
|
<!-- 时间 -->
|
|
|
|
|
<div class="localTime colorPink" :style="{'font-size': 20 + 'px'}">{{ '2024/03/08' }} {{ '周五' }} {{
|
|
|
|
|
'11:02'
|
|
|
|
|
}}
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 标题 -->
|
|
|
|
|
<span class="title font-bold colorText"
|
|
|
|
|
:style="{'font-size': 24 + 'px',color:'white'}">各部门情况</span>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="layoutHome">
|
|
|
|
|
<el-row>
|
|
|
|
|
<el-col :span="6" class="rg-table">
|
|
|
|
|
<el-col :span="5" class="rg-table">
|
|
|
|
|
<div class="rg-table-box" style="width:100%;height: 900px;padding: 5px;overflow-y: auto;">
|
|
|
|
|
<div v-for="(item,index) in ks">
|
|
|
|
|
<Template :data="data" :deptName="item" :type="'ks'" :users="totalUsers[item]" :myStyle="{headImgWidth:'100%'}" />
|
|
|
|
|
<Template :data="data" :deptName="item" :type="'ks'" :users="totalUsers[item]"
|
|
|
|
|
:myStyle="{headImgWidth:'100%'}"/>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="6">
|
|
|
|
|
<el-col :span="5">
|
|
|
|
|
<div class="rg-table-box" style="width:100%;height: 900px;padding: 5px;overflow-y: auto;">
|
|
|
|
|
<div v-for="(item,index) in ks">
|
|
|
|
|
<Template :data="cqData" :deptName="item" :type="'cq'" :users="cqUsers[item]||0" :myStyle="{headImgWidth:'100%'}" @initDetail="initDetail"/>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="12">
|
|
|
|
|
<el-col :span="14">
|
|
|
|
|
<el-container style="padding-top: 0px">
|
|
|
|
|
<el-main>
|
|
|
|
|
<div class="mytable">
|
|
|
|
@ -60,6 +71,7 @@
|
|
|
|
|
<script>
|
|
|
|
|
import XEUtils from 'xe-utils'
|
|
|
|
|
import Template from "@/views/dashboard/components/Template.vue";
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
name: 'Kstj',
|
|
|
|
|
components: {Template},
|
|
|
|
@ -71,7 +83,7 @@ export default {
|
|
|
|
|
cqData: {},
|
|
|
|
|
totalUsers: {},
|
|
|
|
|
cqUsers: {},
|
|
|
|
|
height: '800px',
|
|
|
|
|
height: '750px',
|
|
|
|
|
list: [],
|
|
|
|
|
tableColumn: [],
|
|
|
|
|
'管理室': [
|
|
|
|
@ -177,10 +189,51 @@ export default {
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style scoped>
|
|
|
|
|
#index {
|
|
|
|
|
color: darkturquoise;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
background: url("../../assets/bg3.png") left top no-repeat;
|
|
|
|
|
background-size: 100% 100%;
|
|
|
|
|
position: fixed;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.layoutHome {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 7.7%;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.header {
|
|
|
|
|
position: relative;
|
|
|
|
|
top: 0.5vw;
|
|
|
|
|
width: 100%;
|
|
|
|
|
background: url("../../assets/title.png") no-repeat;
|
|
|
|
|
background-size: 100%;
|
|
|
|
|
text-align: center;
|
|
|
|
|
margin: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.title {
|
|
|
|
|
position: absolute;
|
|
|
|
|
left: 43%;
|
|
|
|
|
margin-top: 0.4%;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.localTime {
|
|
|
|
|
position: absolute;
|
|
|
|
|
right: 1%;
|
|
|
|
|
top: 35%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.rg-table-box::-webkit-scrollbar {
|
|
|
|
|
/*整体样式*/
|
|
|
|
|
width: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.rg-table-box::-webkit-scrollbar-track {
|
|
|
|
|
/*轨道*/
|
|
|
|
|
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
|
|
|
|
|