|
@@ -1,41 +1,41 @@
|
|
|
<template>
|
|
|
<div class="index-box">
|
|
|
- <div class="contetn_left">
|
|
|
- <ItemWrap class="contetn_left-top contetn_lr-item" title="工单办理(日)">
|
|
|
+ <div class="center_left">
|
|
|
+ <ItemWrap class="center_left-top center_lr-item" title="工单办理(日)">
|
|
|
<LeftTop />
|
|
|
</ItemWrap>
|
|
|
<ItemWrap
|
|
|
- class="contetn_left-center contetn_lr-item"
|
|
|
- title="来源占比(日)"
|
|
|
+ class="center_left-center center_lr-item"
|
|
|
+ title="来源占比(月)"
|
|
|
>
|
|
|
<LeftCenter />
|
|
|
</ItemWrap>
|
|
|
<ItemWrap
|
|
|
- class="contetn_left-bottom contetn_lr-item"
|
|
|
+ class="center_left-bottom center_lr-item"
|
|
|
title="来电实况"
|
|
|
style="padding: 0 10px 16px 10px"
|
|
|
>
|
|
|
<LeftBottom />
|
|
|
</ItemWrap>
|
|
|
</div>
|
|
|
- <div class="contetn_center">
|
|
|
- <CenterMap class="contetn_center_top" title="案件分布" />
|
|
|
- <ItemWrap class="contetn_center-bottom" title="工单类型统计(月)">
|
|
|
+ <div class="center_center">
|
|
|
+ <CenterMap class="center_center_top" title="案件分布" />
|
|
|
+ <ItemWrap class="center_center-bottom" title="工单类型统计(月)">
|
|
|
<CenterBottom />
|
|
|
</ItemWrap>
|
|
|
</div>
|
|
|
- <div class="contetn_right">
|
|
|
- <ItemWrap class="contetn_left-bottom contetn_lr-item" title="办理情况">
|
|
|
+ <div class="center_right">
|
|
|
+ <ItemWrap class="center_left-bottom center_lr-item" title="办理情况">
|
|
|
<RightTop />
|
|
|
</ItemWrap>
|
|
|
<ItemWrap
|
|
|
- class="contetn_left-bottom contetn_lr-item"
|
|
|
- title="问题高发(TOP8)"
|
|
|
+ class="center_left-bottom center_lr-item"
|
|
|
+ title="问题高发"
|
|
|
style="padding: 0 10px 16px 10px"
|
|
|
>
|
|
|
<RightCenter />
|
|
|
</ItemWrap>
|
|
|
- <ItemWrap class="contetn_left-bottom contetn_lr-item" title="工单概览 ">
|
|
|
+ <ItemWrap class="center_left-bottom center_lr-item" title="工单概览 ">
|
|
|
<RightBottom />
|
|
|
</ItemWrap>
|
|
|
</div>
|
|
@@ -51,6 +51,19 @@ import CenterBottom from "./center-bottom.vue";
|
|
|
import RightTop from "./right-top.vue";
|
|
|
import RightCenter from "./right-center.vue";
|
|
|
import RightBottom from "./right-bottom.vue";
|
|
|
+import {getData} from "@/api/home";
|
|
|
+import {onMounted} from "vue";
|
|
|
+const getDataFn = async () => {
|
|
|
+ try {
|
|
|
+ const res = await getData();
|
|
|
+ console.log(res)
|
|
|
+ }catch (e) {
|
|
|
+ console.log(e)
|
|
|
+ }
|
|
|
+};
|
|
|
+onMounted(()=>{
|
|
|
+ getDataFn();
|
|
|
+})
|
|
|
</script>
|
|
|
<style scoped lang="scss">
|
|
|
.index-box {
|
|
@@ -60,8 +73,8 @@ import RightBottom from "./right-bottom.vue";
|
|
|
justify-content: space-between;
|
|
|
}
|
|
|
//左边 右边 结构一样
|
|
|
-.contetn_left,
|
|
|
-.contetn_right {
|
|
|
+.center_left,
|
|
|
+.center_right {
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
justify-content: space-around;
|
|
@@ -70,18 +83,18 @@ import RightBottom from "./right-bottom.vue";
|
|
|
box-sizing: border-box;
|
|
|
flex-shrink: 0;
|
|
|
}
|
|
|
-.contetn_center {
|
|
|
+.center_center {
|
|
|
flex: 1;
|
|
|
margin: 0 54px;
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
justify-content: space-around;
|
|
|
- .contetn_center-bottom {
|
|
|
+ .center_center-bottom {
|
|
|
height: 315px;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-.contetn_lr-item {
|
|
|
+.center_lr-item {
|
|
|
height: 310px;
|
|
|
}
|
|
|
</style>
|