|
@@ -11,7 +11,7 @@
|
|
|
</router-link>
|
|
|
</div>
|
|
|
<div class="p1chart bj">
|
|
|
- <com1 :dataArr="dataArr1"></com1>
|
|
|
+ <com1 ></com1>
|
|
|
</div>
|
|
|
</div>
|
|
|
<!-- 左二 -->
|
|
@@ -36,13 +36,13 @@
|
|
|
</p>
|
|
|
</div>
|
|
|
<div class="p2chart bj">
|
|
|
- <div class="p2legend">
|
|
|
- <span class="span2">群众</span>
|
|
|
- <img src="../assets/index/lv.png"/>
|
|
|
- <span class="span2">党员</span>
|
|
|
- <img src="../assets/index/huang.png"/>
|
|
|
- </div>
|
|
|
- <com2 :dataArr="dataArr2"></com2>
|
|
|
+<!-- <div class="p2legend">-->
|
|
|
+<!-- <span class="span2">群众</span>-->
|
|
|
+<!-- <img src="../assets/index/lv.png"/>-->
|
|
|
+<!-- <span class="span2">党员</span>-->
|
|
|
+<!-- <img src="../assets/index/huang.png"/>-->
|
|
|
+<!-- </div>-->
|
|
|
+ <com2 ></com2>
|
|
|
</div>
|
|
|
</div>
|
|
|
<!-- 左三 -->
|
|
@@ -51,13 +51,13 @@
|
|
|
<p>采集巡访数据统计</p>
|
|
|
</div>
|
|
|
<div class="p3chart bj">
|
|
|
- <div class="p3legend">
|
|
|
- <span class="span1">巡访数据</span>
|
|
|
- <img src="../assets/index/huang.png"/>
|
|
|
- <span class="span2">采集数据</span>
|
|
|
- <img src="../assets/index/lan.png"/>
|
|
|
- </div>
|
|
|
- <com3 :dataArr="dataArr3"></com3>
|
|
|
+<!-- <div class="p3legend">-->
|
|
|
+<!-- <span class="span1">巡访数据</span>-->
|
|
|
+<!-- <img src="../assets/index/huang.png"/>-->
|
|
|
+<!-- <span class="span2">采集数据</span>-->
|
|
|
+<!-- <img src="../assets/index/lan.png"/>-->
|
|
|
+<!-- </div>-->
|
|
|
+ <com3 ></com3>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -120,33 +120,7 @@
|
|
|
<span :class="isTure ? 'kaung2': 'kaung1' " @click="right2">地区探访数据</span>
|
|
|
</div>
|
|
|
<div class="p4chart bj">
|
|
|
- <div class="progress">
|
|
|
- <el-row
|
|
|
- type="flex"
|
|
|
- justify="center"
|
|
|
- align="middle"
|
|
|
- style="height:25%"
|
|
|
- v-for="(item,index) in data4.slice(0, 10)"
|
|
|
- :key="index"
|
|
|
- >
|
|
|
- <el-col :span="1">
|
|
|
- <img :src="isSrcArr(index)"/>
|
|
|
- <span
|
|
|
-
|
|
|
- style="position:absolute;top:30%;left:1.8%;color:#fff;font-size:14px"
|
|
|
- >{{index+1}}</span>
|
|
|
- </el-col>
|
|
|
- <el-col
|
|
|
- :span="9"
|
|
|
- :style="{color:isThree(index)}"
|
|
|
- style="font-size:20px"
|
|
|
- >{{item.label}}
|
|
|
- </el-col>
|
|
|
- <el-col :span="14">
|
|
|
- <com4 :id="'d'+index" :data="item.data"></com4>
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
- </div>
|
|
|
+ <com4></com4>
|
|
|
</div>
|
|
|
</div>
|
|
|
<!-- 右二 -->
|
|
@@ -155,90 +129,7 @@
|
|
|
<p>运营分析</p>
|
|
|
</div>
|
|
|
<div class="p5chart">
|
|
|
- <div class="p5box">
|
|
|
- <div
|
|
|
- style="position:absolute;z-index:100;width:22%;height:90%;"
|
|
|
- :style="{left:chart5[0].leftArr5,top:chart5[0].topArr5}"
|
|
|
- >
|
|
|
- </div>
|
|
|
- <div
|
|
|
- style="position:absolute;z-index:100;width:20%;height:5%;"
|
|
|
- :style="{left:chart5[0].lineleftArr5,top:chart5[0].linetopArr5}"
|
|
|
- >
|
|
|
- </div>
|
|
|
- <com5
|
|
|
- id="e0"
|
|
|
- :colorArr="chart5[0].colorArr5"
|
|
|
- :centerArr="chart5[0].centerArr5"
|
|
|
- :titlePositionArr="chart5[0].titlePositionArr5"
|
|
|
- :imgPositionArr="chart5[0].imgPositionArr5"
|
|
|
- :data1="circledata0"
|
|
|
- :dw="chart5[0].dw5"
|
|
|
- ></com5>
|
|
|
- </div>
|
|
|
- <div class="p5box">
|
|
|
- <div
|
|
|
- style="position:absolute;z-index:100;width:22%;height:90%;"
|
|
|
- :style="{left:chart5[1].leftArr5,top:chart5[1].topArr5}"
|
|
|
- >
|
|
|
- </div>
|
|
|
- <div
|
|
|
- style="position:absolute;z-index:100;width:20%;height:5%;"
|
|
|
- :style="{left:chart5[1].lineleftArr5,top:chart5[1].linetopArr5}"
|
|
|
- >
|
|
|
- </div>
|
|
|
- <com5
|
|
|
- id="e1"
|
|
|
- :colorArr="chart5[1].colorArr5"
|
|
|
- :centerArr="chart5[1].centerArr5"
|
|
|
- :titlePositionArr="chart5[1].titlePositionArr5"
|
|
|
- :imgPositionArr="chart5[1].imgPositionArr5"
|
|
|
- :data1="circledata1"
|
|
|
- :dw="chart5[1].dw5"
|
|
|
- ></com5>
|
|
|
- </div>
|
|
|
- <div class="p5box">
|
|
|
- <div
|
|
|
- style="position:absolute;z-index:100;width:22%;height:90%;"
|
|
|
- :style="{left:chart5[2].leftArr5,top:chart5[2].topArr5}"
|
|
|
- >
|
|
|
- </div>
|
|
|
- <div
|
|
|
- style="position:absolute;z-index:100;width:20%;height:5%;"
|
|
|
- :style="{left:chart5[2].lineleftArr5,top:chart5[2].linetopArr5}"
|
|
|
- >
|
|
|
- </div>
|
|
|
- <com5
|
|
|
- id="e2"
|
|
|
- :colorArr="chart5[2].colorArr5"
|
|
|
- :centerArr="chart5[2].centerArr5"
|
|
|
- :titlePositionArr="chart5[2].titlePositionArr5"
|
|
|
- :imgPositionArr="chart5[2].imgPositionArr5"
|
|
|
- :data1="circledata2"
|
|
|
- :dw="chart5[2].dw5"
|
|
|
- ></com5>
|
|
|
- </div>
|
|
|
- <div class="p5box">
|
|
|
- <div
|
|
|
- style="position:absolute;z-index:100;width:22%;height:90%;"
|
|
|
- :style="{left:chart5[3].leftArr5,top:chart5[3].topArr5}"
|
|
|
- >
|
|
|
- </div>
|
|
|
- <div
|
|
|
- style="position:absolute;z-index:100;width:20%;height:5%;"
|
|
|
- :style="{left:chart5[3].lineleftArr5,top:chart5[3].linetopArr5}"
|
|
|
- >
|
|
|
- </div>
|
|
|
- <com5
|
|
|
- id="e3"
|
|
|
- :colorArr="chart5[3].colorArr5"
|
|
|
- :centerArr="chart5[3].centerArr5"
|
|
|
- :titlePositionArr="chart5[3].titlePositionArr5"
|
|
|
- :imgPositionArr="chart5[3].imgPositionArr5"
|
|
|
- :data1="circledata3"
|
|
|
- :dw="chart5[3].dw5"
|
|
|
- ></com5>
|
|
|
- </div>
|
|
|
+ <com5></com5>
|
|
|
</div>
|
|
|
</div>
|
|
|
<!-- 右三 -->
|
|
@@ -256,14 +147,15 @@
|
|
|
align="middle"
|
|
|
:class="{'sc0': index%2==0}"
|
|
|
>
|
|
|
- <el-col :span="4" class="col4">
|
|
|
- <el-image class="img" :src="scrollTextisColor(index)"></el-image>
|
|
|
- </el-col>
|
|
|
- <el-col :span="8">{{item.time}}</el-col>
|
|
|
+<!-- <el-col :span="4" class="col4">-->
|
|
|
+<!-- <el-image class="img" :src="scrollTextisColor(index)"></el-image>-->
|
|
|
+<!-- </el-col>-->
|
|
|
+ <el-col :span="4">{{item.date}}</el-col>
|
|
|
+ <el-col :span="4">{{item.time}}</el-col>
|
|
|
<!-- <el-col :span="4">
|
|
|
<img src="../assets/index/block.png" alt />
|
|
|
</el-col>-->
|
|
|
- <el-col :span="12">{{item.news}}</el-col>
|
|
|
+ <el-col :span="12">{{item.address}}</el-col>
|
|
|
</el-row>
|
|
|
</li>
|
|
|
</ul>
|
|
@@ -280,6 +172,11 @@
|
|
|
import com4 from "../components/index/4.vue";
|
|
|
import com5 from "../components/index/5.vue";
|
|
|
import vueSeamlessScroll from "vue-seamless-scroll";
|
|
|
+ import {
|
|
|
+ fiveNum,
|
|
|
+ mapsec,
|
|
|
+ } from "../api";
|
|
|
+
|
|
|
export default {
|
|
|
name: "Home",
|
|
|
components: {com1, com2, com3, com4, com5, jlMap, vueSeamlessScroll},
|
|
@@ -293,15 +190,62 @@
|
|
|
isTure2: false,
|
|
|
num: 0,
|
|
|
zhuce: 0,
|
|
|
- // 左一
|
|
|
- dataArr1: [],
|
|
|
- // 左二
|
|
|
- dataArr2: [],
|
|
|
- // 左三
|
|
|
- dataArr3: [],
|
|
|
maptopResult: {},
|
|
|
// 右三实时对接数据
|
|
|
- listData: [],
|
|
|
+ listData: [
|
|
|
+ {
|
|
|
+ date:'06-09',
|
|
|
+ time:'08:17',
|
|
|
+ address:'长春市朝阳区老人张翠芳探访',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ date:'06-09',
|
|
|
+ time:'08:17',
|
|
|
+ address:'长春市朝阳区老人张翠芳探访',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ date:'06-09',
|
|
|
+ time:'08:17',
|
|
|
+ address:'长春市朝阳区老人张翠芳探访',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ date:'06-09',
|
|
|
+ time:'08:17',
|
|
|
+ address:'长春市朝阳区老人张翠芳探访',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ date:'06-09',
|
|
|
+ time:'08:17',
|
|
|
+ address:'长春市朝阳区老人张翠芳探访',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ date:'06-09',
|
|
|
+ time:'08:17',
|
|
|
+ address:'长春市朝阳区老人张翠芳探访',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ date:'06-09',
|
|
|
+ time:'08:17',
|
|
|
+ address:'长春市朝阳区老人张翠芳探访',
|
|
|
+ }, {
|
|
|
+ date:'06-09',
|
|
|
+ time:'08:17',
|
|
|
+ address:'长春市朝阳区老人张翠芳探访',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ date:'06-09',
|
|
|
+ time:'08:17',
|
|
|
+ address:'长春市朝阳区老人张翠芳探访',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ date:'06-09',
|
|
|
+ time:'08:17',
|
|
|
+ address:'长春市朝阳区老人张翠芳探访',
|
|
|
+ },
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ ],
|
|
|
step: 20, // 数值越大速度滚动越快
|
|
|
limitMoveNum: 1, // 开始无缝滚动的数据量 this.dataList.length
|
|
|
hoverStop: true, // 是否开启鼠标悬停stop
|
|
@@ -314,65 +258,6 @@
|
|
|
mapdata1: [],
|
|
|
mapprodata: [],
|
|
|
data4: [],
|
|
|
- // 右二数据
|
|
|
- chart5: [
|
|
|
- {
|
|
|
- dw5: "%",
|
|
|
- leftArr5: "10%",
|
|
|
- topArr5: "2%",
|
|
|
- lineleftArr5: "53.5%",
|
|
|
- linetopArr5: "60%",
|
|
|
- label: "对接成功率",
|
|
|
- colorArr5: ["#7fc549", "#254a39"],
|
|
|
- centerArr5: ["65%", "50%"],
|
|
|
- titlePositionArr5: ["51%", "38%"],
|
|
|
- lineArr5: require("../assets/index/h1.png"),
|
|
|
- iamge5: require("../assets/index/q1.png")
|
|
|
- },
|
|
|
- {
|
|
|
- dw5: "%",
|
|
|
- leftArr5: "75%",
|
|
|
- topArr5: "2%",
|
|
|
- lineleftArr5: "26.5%",
|
|
|
- linetopArr5: "60%",
|
|
|
- label: "融资需求满足率",
|
|
|
- colorArr5: ["#ffad26", "#553d2d"],
|
|
|
- centerArr5: ["35%", "50%"],
|
|
|
- titlePositionArr5: ["22%", "38%"],
|
|
|
- lineArr5: require("../assets/index/h2.png"),
|
|
|
- iamge5: require("../assets/index/q2.png")
|
|
|
- },
|
|
|
- {
|
|
|
- dw5: "万",
|
|
|
- leftArr5: "10%",
|
|
|
- topArr5: "0%",
|
|
|
- lineleftArr5: "53.5%",
|
|
|
- linetopArr5: "60%",
|
|
|
- label: "平均办理时长",
|
|
|
- colorArr5: ["#59a4f7", "#59a4f7"],
|
|
|
- centerArr5: ["65%", "50%"],
|
|
|
- titlePositionArr5: ["47%", "40%"],
|
|
|
- lineArr5: require("../assets/index/h3.png"),
|
|
|
- iamge5: require("../assets/index/q3.png")
|
|
|
- },
|
|
|
- {
|
|
|
- dw5: "%",
|
|
|
- leftArr5: "75%",
|
|
|
- topArr5: "2%",
|
|
|
- lineleftArr5: "26.5%",
|
|
|
- linetopArr5: "60%",
|
|
|
- label: "平均利率",
|
|
|
- colorArr5: ["#a16efc", "#a16efc"],
|
|
|
- centerArr5: ["35%", "50%"],
|
|
|
- titlePositionArr5: ["18%", "40%"],
|
|
|
- lineArr5: require("../assets/index/h4.png"),
|
|
|
- iamge5: require("../assets/index/q4.png")
|
|
|
- }
|
|
|
- ],
|
|
|
- circledata0: 0,
|
|
|
- circledata1: 0,
|
|
|
- circledata2: 0,
|
|
|
- circledata3: 0,
|
|
|
mapDataArr: [],
|
|
|
mapDide: {
|
|
|
//长春
|
|
@@ -457,6 +342,7 @@
|
|
|
this.timer = setInterval(() => {
|
|
|
this.ssdj();
|
|
|
}, 60000);
|
|
|
+ this.fiveNum();
|
|
|
},
|
|
|
methods: {
|
|
|
// 右边第一个 地区探访数据 按钮
|
|
@@ -487,9 +373,43 @@
|
|
|
this.isleftbtnTure = false;
|
|
|
},
|
|
|
|
|
|
+ // 地图上5个统计
|
|
|
+ async fiveNum() {
|
|
|
+ const response = await fiveNum();
|
|
|
+ this.maptopResult = response;
|
|
|
+ this.circledata0 = Number(((this.maptopResult.ljfknum / this.maptopResult.sqjenum) * 100).toFixed(0));
|
|
|
+ },
|
|
|
+ async mapsec() {
|
|
|
+ const response = await mapsec();
|
|
|
+ // console.log(response);
|
|
|
+ let data = [];
|
|
|
+ for (let arr in response) {
|
|
|
+ response[arr].forEach((item, index) => {
|
|
|
+ data.push({
|
|
|
+ ...item,
|
|
|
+ value: this.mapDide[arr][index].concat(parseInt(item.intllmoney)),
|
|
|
+ name: item.company_name
|
|
|
+ });
|
|
|
+ });
|
|
|
+ }
|
|
|
+ this.mapDataArr = data;
|
|
|
+ // }
|
|
|
+ },
|
|
|
+
|
|
|
+ scrollTextisColor: function (i) {
|
|
|
+ let inde = i % 3;
|
|
|
+ //console.log(inde)
|
|
|
+ if (inde === 0) {
|
|
|
+ return require("../assets/index/red.png")
|
|
|
+ } else if (inde === 1) {
|
|
|
+ return require("../assets/index/lv.png")
|
|
|
+ } else if (inde === 2) {
|
|
|
+ return require("../assets/index/huang.png")
|
|
|
+ }
|
|
|
+ },
|
|
|
+
|
|
|
},
|
|
|
computed: {
|
|
|
-
|
|
|
}
|
|
|
};
|
|
|
</script>
|
|
@@ -730,57 +650,10 @@
|
|
|
.p5chart {
|
|
|
width: 100%;
|
|
|
height: 84%;
|
|
|
- margin-left: 10%;
|
|
|
-
|
|
|
- }
|
|
|
-
|
|
|
- .span1box {
|
|
|
- width: 85%;
|
|
|
- margin-left: 5%;
|
|
|
- height: 12%;
|
|
|
-
|
|
|
- border-bottom: 1px dashed #006273;
|
|
|
- }
|
|
|
-
|
|
|
- .progress {
|
|
|
- width: 85%;
|
|
|
- margin-left: 5%;
|
|
|
- height: 84%;
|
|
|
- margin-top: 4%;
|
|
|
- overflow-x: hidden;
|
|
|
- overflow-y: auto;
|
|
|
- text-align: center;
|
|
|
- }
|
|
|
+ margin-left:4%;
|
|
|
|
|
|
- .progress .el-row {
|
|
|
- height: 25%;
|
|
|
- border-bottom: 1px dashed #006273;
|
|
|
}
|
|
|
|
|
|
- .progress::-webkit-scrollbar {
|
|
|
- background-color: #1b1b1b;
|
|
|
- height: 8px;
|
|
|
- width: 8px;
|
|
|
- -webkit-border-radius: 2em;
|
|
|
- -moz-border-radius: 2em;
|
|
|
- border-radius: 2em;
|
|
|
- }
|
|
|
-
|
|
|
- .progress::-webkit-scrollbar-track {
|
|
|
- opacity: 0;
|
|
|
- transition: opacity 0.12s ease-out;
|
|
|
- -webkit-border-radius: 2em;
|
|
|
- -moz-border-radius: 2em;
|
|
|
- border-radius: 2em;
|
|
|
- }
|
|
|
-
|
|
|
- .progress::-webkit-scrollbar-thumb {
|
|
|
- background-color: #1391da;
|
|
|
- transition: background-color 0.3s;
|
|
|
- -webkit-border-radius: 2em;
|
|
|
- -moz-border-radius: 2em;
|
|
|
- border-radius: 2em;
|
|
|
- }
|
|
|
|
|
|
.topdatabox {
|
|
|
width: 100%;
|
|
@@ -809,41 +682,7 @@
|
|
|
color: rgba(247, 255, 63, 1);
|
|
|
}
|
|
|
|
|
|
- .dw {
|
|
|
- color: #ffc809;
|
|
|
- }
|
|
|
-
|
|
|
- .name {
|
|
|
- color: #fff;
|
|
|
- font-size: 25px;
|
|
|
- }
|
|
|
-
|
|
|
- .sc0 {
|
|
|
- background-color: #0d274c;
|
|
|
- }
|
|
|
-
|
|
|
- .span1 {
|
|
|
- float: right;
|
|
|
- color: #fff;
|
|
|
- font-size: 1em;
|
|
|
- /*font-size:13px;*/
|
|
|
- }
|
|
|
-
|
|
|
- .span2 {
|
|
|
- float: right;
|
|
|
- color: #fff;
|
|
|
- font-size: 1em;
|
|
|
- margin-right: 2%;
|
|
|
- }
|
|
|
|
|
|
- .p5box {
|
|
|
- width: 45%;
|
|
|
- height: 48%;
|
|
|
- margin-top: 2%;
|
|
|
- float: left;
|
|
|
- position: relative;
|
|
|
- top: -3%;
|
|
|
- }
|
|
|
|
|
|
.aa {
|
|
|
opacity: 0.1;
|
|
@@ -897,78 +736,9 @@
|
|
|
.item {
|
|
|
font-size: 16px;
|
|
|
}
|
|
|
+ .sc0 {
|
|
|
+ background-color: #0d274c;
|
|
|
|
|
|
- .left-kaung {
|
|
|
- float: right;
|
|
|
- cursor: pointer;
|
|
|
- padding: 2px 5px;
|
|
|
- display: inline-block;
|
|
|
- background: url("../assets/index/leftkuang.png");
|
|
|
- font-size: 16px;
|
|
|
- }
|
|
|
-
|
|
|
- .left-selectkaung {
|
|
|
- float: right;
|
|
|
- cursor: pointer;
|
|
|
- padding: 2px 5px;
|
|
|
- display: inline-block;
|
|
|
- background: url("../assets/index/leftselectkuang.png");
|
|
|
- font-size: 16px;
|
|
|
- }
|
|
|
-
|
|
|
- .left-kaung2 {
|
|
|
- float: right;
|
|
|
- cursor: pointer;
|
|
|
- padding: 2px 5px;
|
|
|
- display: inline-block;
|
|
|
- background: url("../assets/index/leftkuang2.png");
|
|
|
- font-size: 16px;
|
|
|
- }
|
|
|
-
|
|
|
- .left-selectkaung2 {
|
|
|
- float: right;
|
|
|
- cursor: pointer;
|
|
|
- padding: 2px 5px;
|
|
|
- display: inline-block;
|
|
|
- font-size: 16px;
|
|
|
- background: url("../assets/index/leftselectkuang2.png");
|
|
|
- }
|
|
|
-
|
|
|
- .left-kaung3 {
|
|
|
- float: right;
|
|
|
- cursor: pointer;
|
|
|
- padding: 2px 5px;
|
|
|
- display: inline-block;
|
|
|
- background: url("../assets/index/leftkuang2.png");
|
|
|
- font-size: 16px;
|
|
|
- }
|
|
|
-
|
|
|
- .left-selectkaung3 {
|
|
|
- float: right;
|
|
|
- cursor: pointer;
|
|
|
- padding: 2px 5px;
|
|
|
- display: inline-block;
|
|
|
- font-size: 16px;
|
|
|
- background: url("../assets/index/leftselectkuang2.png");
|
|
|
- }
|
|
|
-
|
|
|
- .kaung1 {
|
|
|
- float: right;
|
|
|
- margin-top: 2%;
|
|
|
- cursor: pointer;
|
|
|
- padding: 2px 5px;
|
|
|
- display: inline-block;
|
|
|
- background: url("../assets/index/biankuang2.png");
|
|
|
- }
|
|
|
-
|
|
|
- .kaung2 {
|
|
|
- float: right;
|
|
|
- margin-top: 2%;
|
|
|
- background: url("../assets/index/biankuang1.png");
|
|
|
- padding: 2px 5px;
|
|
|
- display: inline-block;
|
|
|
- cursor: pointer;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
</style>
|