|
@@ -0,0 +1,537 @@
|
|
|
+<template>
|
|
|
+ <div class="EnterpriseInformation">
|
|
|
+ <!-- <router-link to="/home"> -->
|
|
|
+ <p class="backtitle" @click="back">吉企银通企业信息统计</p>
|
|
|
+ <!-- </router-link> -->
|
|
|
+ <timeing></timeing>
|
|
|
+ <div class="left">
|
|
|
+ <div class="left1">
|
|
|
+ <div class="left1_part1">
|
|
|
+ <span class="span1">
|
|
|
+ {{zhuce}}
|
|
|
+ <span>个</span>
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ <div class="left1_part2">
|
|
|
+ <span class="span1">
|
|
|
+ {{maptopResult.rzqynum}}
|
|
|
+ <span>户</span>
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ <div class="left1_part3">
|
|
|
+ <span class="span1">
|
|
|
+ {{fabuqiye}}
|
|
|
+ <span>户</span>
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ <div class="left1_part4">
|
|
|
+ <span class="span1">
|
|
|
+ {{daikuan}}
|
|
|
+ <span>户</span>
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="left2">
|
|
|
+ <img src="../assets/EnterpriseInformation/circle.png" class="img img1" />
|
|
|
+ <img src="../assets/EnterpriseInformation/circle.png" class="img img2" />
|
|
|
+ <div class="left2_part1">
|
|
|
+ <span class="span2">
|
|
|
+ {{transactions.sqbs}}
|
|
|
+ <!-- <span>人</span> -->
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ <div class="left2_part2">
|
|
|
+ <span class="span2">
|
|
|
+ {{fkbssum}}
|
|
|
+ <!-- {{transactions.fkbs}} -->
|
|
|
+ <!-- <span>人</span> -->
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ <div class="left2_part3">
|
|
|
+ <span class="span1">
|
|
|
+ {{maptopResult.sqjenum}}
|
|
|
+ <span>万元</span>
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ <div class="left2_part4">
|
|
|
+ <span class="span1">
|
|
|
+ {{maptopResult.ljfknum}}
|
|
|
+ <span>万元</span>
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="left3">
|
|
|
+ <div class="left3_part">
|
|
|
+ <com1 :dataArr="data1"></com1>
|
|
|
+ <div style="width:36%;height:56%;position:absolute;top:26%;left:31.5%">
|
|
|
+ <img src="../assets/EnterpriseInformation/xline.png" style="width:100%;height:100%" />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="center">
|
|
|
+ <div class="mapbox">
|
|
|
+ <jlMap :data="mapdata"></jlMap>
|
|
|
+ <img src="../assets/index/dq.gif" class="aa" />
|
|
|
+ <img src="../assets/index/diqiu.png" class="bb" />
|
|
|
+ </div>
|
|
|
+ <div class="center_part2">
|
|
|
+ <com4 :dataArr="data4"></com4>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <!-- 申请企业数量 -->
|
|
|
+ <div class="right">
|
|
|
+ <div class="right_part1">
|
|
|
+ <com2 :dataArr="data2"></com2>
|
|
|
+ </div>
|
|
|
+ <div class="right_part2">
|
|
|
+ <com3 :dataArr="data3"></com3>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+<script>
|
|
|
+import com1 from "../components/EnterpriseInformation/1.vue";
|
|
|
+import jlMap from "../components/EnterpriseInformation/jlMap.vue";
|
|
|
+import com2 from "../components/EnterpriseInformation/2.vue";
|
|
|
+import com3 from "../components/EnterpriseInformation/3.vue";
|
|
|
+import com4 from "../components/EnterpriseInformation/4.vue";
|
|
|
+import {
|
|
|
+ zcyh,
|
|
|
+ dkqynum,
|
|
|
+ fwqisum,
|
|
|
+ fiveNum,
|
|
|
+ fournum,
|
|
|
+ applyCompanyCountResult,
|
|
|
+ numberOfLendingEnterprisesResult,
|
|
|
+ numberOfRegisteredUsers,
|
|
|
+ DemandReleaseRate,
|
|
|
+ // mapfirst,
|
|
|
+ addressResult,
|
|
|
+ threemap
|
|
|
+} from "../api";
|
|
|
+import moment from "moment";
|
|
|
+export default {
|
|
|
+ name: "EnterpriseInformation",
|
|
|
+ components: { com1, com2, com3, com4, jlMap },
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ zhuce: 0,
|
|
|
+ daikuan: 0,
|
|
|
+ fabuqiye: 0,
|
|
|
+ maptopResult: {},
|
|
|
+ transactions: {},
|
|
|
+ fkbssum: 0,
|
|
|
+ data1: {},
|
|
|
+ data2: [],
|
|
|
+ data3: [],
|
|
|
+ data4: [],
|
|
|
+ // 地图数据
|
|
|
+ mapdata: []
|
|
|
+ };
|
|
|
+ },
|
|
|
+ mounted() {
|
|
|
+ // this.mapfirst();
|
|
|
+ this.threemap();
|
|
|
+ // 注册用户
|
|
|
+ this.zcyh();
|
|
|
+ // 发布需求企业
|
|
|
+ this.fwqisum();
|
|
|
+ // 获得贷款企业
|
|
|
+ this.dkqynum();
|
|
|
+ //申请金额 放款金额
|
|
|
+ this.fiveNum();
|
|
|
+ //申请笔数 放款笔数
|
|
|
+ this.fournum();
|
|
|
+ //申请企业
|
|
|
+ this.applyCompanyCountResult();
|
|
|
+ //放款企业
|
|
|
+ this.numberOfLendingEnterprisesResult();
|
|
|
+ //注册用户数量
|
|
|
+ this.numberOfRegisteredUsers();
|
|
|
+ // 需求发布率 发布需求企业/认证企业
|
|
|
+ this.DemandReleaseRate();
|
|
|
+ // 中间地图
|
|
|
+
|
|
|
+ this.fabuxuqiulv();
|
|
|
+ this.addressResult();
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ async addressResult() {
|
|
|
+ const response = await addressResult();
|
|
|
+ let sum = 0;
|
|
|
+ response.data2.forEach(item => {
|
|
|
+ sum += item.value;
|
|
|
+ });
|
|
|
+ this.fkbssum = sum;
|
|
|
+ },
|
|
|
+ back() {
|
|
|
+ this.$router.push("/");
|
|
|
+ },
|
|
|
+ utiljsonOne(response) {
|
|
|
+ let jsonArr = {};
|
|
|
+ let arr1 = response.data.map(item => {
|
|
|
+ let json = {};
|
|
|
+ json.label = parseInt(moment(item.label, "YYYY-MM-DD").format("D"));
|
|
|
+ json.value = item.value;
|
|
|
+ return json;
|
|
|
+ });
|
|
|
+ jsonArr.data = arr1;
|
|
|
+ return jsonArr;
|
|
|
+ },
|
|
|
+ utiljsonTwo(response) {
|
|
|
+ let jsonArr = {};
|
|
|
+ let arr1 = response.data1.map(item => {
|
|
|
+ let json = {};
|
|
|
+ json.label = parseInt(moment(item.label, "YYYY-MM-DD").format("D"));
|
|
|
+ json.value = item.value;
|
|
|
+ return json;
|
|
|
+ });
|
|
|
+ jsonArr.data1 = arr1;
|
|
|
+ return jsonArr;
|
|
|
+ },
|
|
|
+ // 注册用户
|
|
|
+ async zcyh() {
|
|
|
+ const response = await zcyh();
|
|
|
+ this.zhuce = response;
|
|
|
+ },
|
|
|
+ async dkqynum() {
|
|
|
+ const response = await dkqynum();
|
|
|
+ this.daikuan = response;
|
|
|
+ },
|
|
|
+ // 发布需求企业
|
|
|
+ async fwqisum() {
|
|
|
+ const response = await fwqisum();
|
|
|
+ this.fabuqiye = response;
|
|
|
+ // console.log(response);
|
|
|
+ this.data1.xq = response;
|
|
|
+ },
|
|
|
+ async fiveNum() {
|
|
|
+ const response = await fiveNum();
|
|
|
+ this.maptopResult = response;
|
|
|
+ },
|
|
|
+ async fournum() {
|
|
|
+ const response = await fournum();
|
|
|
+ this.transactions = response;
|
|
|
+ },
|
|
|
+ // 需求发布率 认证企业数量
|
|
|
+ async DemandReleaseRate() {
|
|
|
+ const response = await DemandReleaseRate();
|
|
|
+ // console.log(response.rzqynum)
|
|
|
+ this.data1.rz = response.rzqynum;
|
|
|
+ },
|
|
|
+ async applyCompanyCountResult() {
|
|
|
+ const response = await applyCompanyCountResult();
|
|
|
+ this.data2 = this.utiljsonOne(response).data;
|
|
|
+ },
|
|
|
+ async numberOfLendingEnterprisesResult() {
|
|
|
+ const response = await numberOfLendingEnterprisesResult();
|
|
|
+ this.data3 = this.utiljsonOne(response).data;
|
|
|
+ },
|
|
|
+ async numberOfRegisteredUsers() {
|
|
|
+ const response = await numberOfRegisteredUsers();
|
|
|
+ this.data4 = this.utiljsonTwo(response).data1;
|
|
|
+ },
|
|
|
+ async fabuxuqiulv() {
|
|
|
+ // 发布需求企业
|
|
|
+ const response = await fwqisum();
|
|
|
+ //认证企业
|
|
|
+ const result = await fiveNum();
|
|
|
+ let json = {};
|
|
|
+ json.rz = result.rzqynum;
|
|
|
+ json.xq = response;
|
|
|
+ this.$set(this, `data1`, json);
|
|
|
+ },
|
|
|
+ //
|
|
|
+ async threemap() {
|
|
|
+ const response = await threemap();
|
|
|
+ console.log(response, "11111111");
|
|
|
+ let json = {};
|
|
|
+ json.value = response.bcqynum;
|
|
|
+ json.name = "白城市";
|
|
|
+ let json1 = {};
|
|
|
+ json1.value = response.bsqynum;
|
|
|
+ json1.name = "白山市";
|
|
|
+ let json2 = {};
|
|
|
+ json2.value = response.ccqynum;
|
|
|
+ json2.name = "长春市";
|
|
|
+ let json3 = {};
|
|
|
+ json3.value = response.jlqynum;
|
|
|
+ json3.name = "吉林市";
|
|
|
+ let json4 = {};
|
|
|
+ json4.value = response.lyqynum;
|
|
|
+ json4.name = "辽源市";
|
|
|
+ let json5 = {};
|
|
|
+ json5.value = response.spqynum;
|
|
|
+ json5.name = "四平市";
|
|
|
+ let json6 = {};
|
|
|
+ json6.value = response.syqynum;
|
|
|
+ json6.name = "松原市";
|
|
|
+ let json7 = {};
|
|
|
+ json7.value = response.thqynum;
|
|
|
+ json7.name = "通化市";
|
|
|
+ let json8 = {};
|
|
|
+ json8.value = response.ybqynum;
|
|
|
+ json8.name = "延边朝鲜族自治州";
|
|
|
+ let arr = [];
|
|
|
+ arr.push(json);
|
|
|
+ arr.push(json1);
|
|
|
+ arr.push(json2);
|
|
|
+ arr.push(json3);
|
|
|
+ arr.push(json4);
|
|
|
+ arr.push(json5);
|
|
|
+ arr.push(json6);
|
|
|
+ arr.push(json7);
|
|
|
+ arr.push(json8);
|
|
|
+ this.$set(this, `mapdata`, arr);
|
|
|
+ }
|
|
|
+ }
|
|
|
+};
|
|
|
+</script>
|
|
|
+<style scoped lang="less">
|
|
|
+.backtitle {
|
|
|
+ background-image: -webkit-linear-gradient(bottom, #91e5ff, #fff);
|
|
|
+ -webkit-background-clip: text;
|
|
|
+ -webkit-text-fill-color: transparent;
|
|
|
+ font-size: 50px;
|
|
|
+ font-weight: 900;
|
|
|
+ position: absolute;
|
|
|
+ left: 37%;
|
|
|
+ top: 1%;
|
|
|
+ z-index: 100;
|
|
|
+ cursor: pointer;
|
|
|
+}
|
|
|
+.aa {
|
|
|
+ opacity: 0.1;
|
|
|
+ width: 735px;
|
|
|
+ height: 735px;
|
|
|
+ position: absolute;
|
|
|
+ top: 6%;
|
|
|
+ left: 30%;
|
|
|
+ z-index: -1;
|
|
|
+}
|
|
|
+.bb {
|
|
|
+ width: 735px;
|
|
|
+ height: 735px;
|
|
|
+ position: absolute;
|
|
|
+ top: 6%;
|
|
|
+ left: 30%;
|
|
|
+ -webkit-animation: rotateImg1 8s linear infinite;
|
|
|
+ vertical-align: middle;
|
|
|
+ z-index: -1;
|
|
|
+}
|
|
|
+.img {
|
|
|
+ -webkit-animation: rotateImg 5s linear infinite;
|
|
|
+}
|
|
|
+@keyframes rotateImg1 {
|
|
|
+ 0% {
|
|
|
+ transform: rotate(0deg);
|
|
|
+ }
|
|
|
+ 100% {
|
|
|
+ transform: rotate(-360deg);
|
|
|
+ }
|
|
|
+}
|
|
|
+@-webkit-keyframes rotateImg1 {
|
|
|
+ 0% {
|
|
|
+ -webkit-transform: rotate(0deg);
|
|
|
+ }
|
|
|
+ 100% {
|
|
|
+ -webkit-transform: rotate(-360deg);
|
|
|
+ }
|
|
|
+}
|
|
|
+.img1 {
|
|
|
+ width: 170px;
|
|
|
+ height: 170px;
|
|
|
+ position: absolute;
|
|
|
+ top: 36px;
|
|
|
+ left: 80px;
|
|
|
+ // border: 1px solid red;
|
|
|
+}
|
|
|
+.img2 {
|
|
|
+ width: 170px;
|
|
|
+ height: 170px;
|
|
|
+ position: absolute;
|
|
|
+ top: 10%;
|
|
|
+ left: 290px;
|
|
|
+ // border: 1px solid red;
|
|
|
+}
|
|
|
+@keyframes rotateImg {
|
|
|
+ 0% {
|
|
|
+ transform: rotate(0deg);
|
|
|
+ }
|
|
|
+ 100% {
|
|
|
+ transform: rotate(360deg);
|
|
|
+ }
|
|
|
+}
|
|
|
+@-webkit-keyframes rotateImg {
|
|
|
+ 0% {
|
|
|
+ -webkit-transform: rotate(0deg);
|
|
|
+ }
|
|
|
+ 100% {
|
|
|
+ -webkit-transform: rotate(360deg);
|
|
|
+ }
|
|
|
+}
|
|
|
+.EnterpriseInformation {
|
|
|
+ height: 100%;
|
|
|
+ position: fixed;
|
|
|
+ width: 100%;
|
|
|
+ background: url("../assets/EnterpriseInformation/bj3.png");
|
|
|
+ background-size: 100% 100%;
|
|
|
+ display: flex;
|
|
|
+}
|
|
|
+.left {
|
|
|
+ width: 26%;
|
|
|
+ height: 98%;
|
|
|
+}
|
|
|
+.center {
|
|
|
+ width: 48%;
|
|
|
+ height: 98%;
|
|
|
+}
|
|
|
+.right {
|
|
|
+ width: 26%;
|
|
|
+ height: 98%;
|
|
|
+
|
|
|
+ position: relative;
|
|
|
+}
|
|
|
+.left1 {
|
|
|
+ width: 100%;
|
|
|
+ height: 33%;
|
|
|
+
|
|
|
+ position: relative;
|
|
|
+}
|
|
|
+.left2 {
|
|
|
+ width: 100%;
|
|
|
+ height: 33%;
|
|
|
+
|
|
|
+ position: relative;
|
|
|
+}
|
|
|
+.left3 {
|
|
|
+ width: 100%;
|
|
|
+ height: 33%;
|
|
|
+}
|
|
|
+.left1_part1 {
|
|
|
+ width: 46%;
|
|
|
+ height: 39%;
|
|
|
+
|
|
|
+ position: absolute;
|
|
|
+ top: 14%;
|
|
|
+ left: 4.5%;
|
|
|
+ text-align: center;
|
|
|
+}
|
|
|
+.left1_part2 {
|
|
|
+ width: 46%;
|
|
|
+ height: 39%;
|
|
|
+
|
|
|
+ position: absolute;
|
|
|
+ top: 14%;
|
|
|
+ left: 53%;
|
|
|
+ text-align: center;
|
|
|
+}
|
|
|
+.left1_part3 {
|
|
|
+ width: 46%;
|
|
|
+ height: 39%;
|
|
|
+
|
|
|
+ position: absolute;
|
|
|
+ top: 56%;
|
|
|
+ left: 4.5%;
|
|
|
+ text-align: center;
|
|
|
+}
|
|
|
+.left1_part4 {
|
|
|
+ width: 46%;
|
|
|
+ height: 39%;
|
|
|
+
|
|
|
+ position: absolute;
|
|
|
+ top: 56%;
|
|
|
+ left: 53%;
|
|
|
+ text-align: center;
|
|
|
+}
|
|
|
+.span1 {
|
|
|
+ position: relative;
|
|
|
+ top: 50%;
|
|
|
+ font-family: LCD;
|
|
|
+ font-size: 30px;
|
|
|
+ color: #ffc809;
|
|
|
+}
|
|
|
+.span2 {
|
|
|
+ position: relative;
|
|
|
+ top: 54%;
|
|
|
+ font-family: LCD;
|
|
|
+ font-size: 28px;
|
|
|
+ color: #00d8ff;
|
|
|
+}
|
|
|
+.span1 span {
|
|
|
+ font-size: 0.5em;
|
|
|
+}
|
|
|
+.left2_part1 {
|
|
|
+ width: 33%;
|
|
|
+ height: 45%;
|
|
|
+
|
|
|
+ position: absolute;
|
|
|
+ top: 10%;
|
|
|
+ left: 16%;
|
|
|
+ text-align: center;
|
|
|
+ // color: #00d8ff;
|
|
|
+}
|
|
|
+.left2_part2 {
|
|
|
+ width: 33%;
|
|
|
+ height: 45%;
|
|
|
+
|
|
|
+ position: absolute;
|
|
|
+ top: 10%;
|
|
|
+ left: 58%;
|
|
|
+ text-align: center;
|
|
|
+ // color: #00d8ff;
|
|
|
+}
|
|
|
+.left2_part3 {
|
|
|
+ width: 38%;
|
|
|
+ height: 30%;
|
|
|
+
|
|
|
+ position: absolute;
|
|
|
+ top: 60%;
|
|
|
+ left: 14%;
|
|
|
+ text-align: center;
|
|
|
+}
|
|
|
+.left2_part4 {
|
|
|
+ width: 38%;
|
|
|
+ height: 30%;
|
|
|
+
|
|
|
+ position: absolute;
|
|
|
+ top: 60%;
|
|
|
+ left: 55.5%;
|
|
|
+ text-align: center;
|
|
|
+}
|
|
|
+.left3_part {
|
|
|
+ width: 100%;
|
|
|
+ height: 90%;
|
|
|
+ margin-top: 5%;
|
|
|
+ // border: 1px solid yellow;
|
|
|
+ position: relative;
|
|
|
+}
|
|
|
+.mapbox {
|
|
|
+ width: 90%;
|
|
|
+ margin-left: 5%;
|
|
|
+ margin-top: 10%;
|
|
|
+ height: 60%;
|
|
|
+ // border: 1px solid yellow;
|
|
|
+}
|
|
|
+.right_part1 {
|
|
|
+ width: 100%;
|
|
|
+ position: absolute;
|
|
|
+ top: 13%;
|
|
|
+ // margin-top: 25%;
|
|
|
+ height: 28%;
|
|
|
+}
|
|
|
+.right_part2 {
|
|
|
+ width: 100%;
|
|
|
+ position: absolute;
|
|
|
+ top: 49%;
|
|
|
+ height: 48%;
|
|
|
+ // border: 1px solid yellow;
|
|
|
+}
|
|
|
+.center_part2 {
|
|
|
+ width: 100%;
|
|
|
+ margin-top: 5%;
|
|
|
+ height: 22%;
|
|
|
+ // border: 1px solid red;
|
|
|
+}
|
|
|
+</style>
|