|
@@ -307,8 +307,8 @@ import {
|
|
|
addressResult,
|
|
|
pingjunfangkuanedu,
|
|
|
// financingSuccessRate,
|
|
|
- averageInterestRate
|
|
|
- // financingDemandSatisfactionRate,
|
|
|
+ averageInterestRate,
|
|
|
+ financingDemandSatisfactionRate
|
|
|
// averageHandlingTime
|
|
|
} from "../api";
|
|
|
export default {
|
|
@@ -396,7 +396,7 @@ export default {
|
|
|
}
|
|
|
],
|
|
|
circledata0: 0,
|
|
|
- circledata1: 89,
|
|
|
+ circledata1: 0,
|
|
|
circledata2: 0,
|
|
|
circledata3: 0,
|
|
|
mapDataArr: [],
|
|
@@ -489,7 +489,7 @@ export default {
|
|
|
this.addressResult();
|
|
|
this.loanResult();
|
|
|
// this.financingSuccessRate();
|
|
|
- // this.financingDemandSatisfactionRate();
|
|
|
+ this.financingDemandSatisfactionRate();
|
|
|
// this.averageHandlingTime();
|
|
|
this.averageInterestRate();
|
|
|
this.zcyh();
|
|
@@ -502,7 +502,7 @@ export default {
|
|
|
async pingjunfangkuanedu() {
|
|
|
const response = await pingjunfangkuanedu();
|
|
|
this.circledata2 = parseInt(response);
|
|
|
- console.log(response, "11111111");
|
|
|
+ // console.log(response, "11111111");
|
|
|
// this.fangkuanedu = this.utilXiaoshu(response);
|
|
|
},
|
|
|
//时间工具类
|
|
@@ -529,7 +529,7 @@ export default {
|
|
|
// 左三接口
|
|
|
async addressResult() {
|
|
|
const response = await addressResult();
|
|
|
- console.log(response,'22222222');
|
|
|
+ // console.log(response, "22222222");
|
|
|
let jsonArr = {};
|
|
|
let arr1 = response.data1.map(item => {
|
|
|
let json = {};
|
|
@@ -559,7 +559,7 @@ export default {
|
|
|
jsonArr.data1 = arr1;
|
|
|
jsonArr.data2 = arr2;
|
|
|
this.dataArr3.push(jsonArr);
|
|
|
- console.log(this.dataArr3);
|
|
|
+ // console.log(this.dataArr3);
|
|
|
},
|
|
|
// 左二接口
|
|
|
async enterpriseResult() {
|
|
@@ -585,8 +585,7 @@ export default {
|
|
|
async fiveNum() {
|
|
|
const response = await fiveNum();
|
|
|
this.maptopResult = response;
|
|
|
- this.circledata0 =
|
|
|
- (this.maptopResult.ljfknum / this.maptopResult.sqjenum *100).toFixed(0);
|
|
|
+ this.circledata0 = Number(((this.maptopResult.ljfknum / this.maptopResult.sqjenum) *100).toFixed(0));
|
|
|
},
|
|
|
async zcyh() {
|
|
|
const response = await zcyh();
|
|
@@ -594,7 +593,7 @@ export default {
|
|
|
},
|
|
|
async mapsec() {
|
|
|
const response = await mapsec();
|
|
|
- console.log(response);
|
|
|
+ // console.log(response);
|
|
|
let data = [];
|
|
|
for (let arr in response) {
|
|
|
response[arr].forEach((item, index) => {
|
|
@@ -629,14 +628,13 @@ export default {
|
|
|
// // this.circledata0.push({value:this.y3});
|
|
|
// // }
|
|
|
// },
|
|
|
- // async financingDemandSatisfactionRate() {
|
|
|
- // // const response = await financingDemandSatisfactionRate();
|
|
|
- // // if (response.status == "0") {
|
|
|
- // // let json = {};
|
|
|
- // // json.value = response.rate;
|
|
|
- // this.circledata1.push({ value: 89 });
|
|
|
- // // }
|
|
|
- // },
|
|
|
+ async financingDemandSatisfactionRate() {
|
|
|
+ const response = await financingDemandSatisfactionRate();
|
|
|
+ if (response.status == "0") {
|
|
|
+ // console.log(response, "3333333333333333333333");
|
|
|
+ this.circledata1=Number(response.rate);
|
|
|
+ }
|
|
|
+ },
|
|
|
// averageHandlingTime() {
|
|
|
// // const response = await averageHandlingTime();
|
|
|
// // if (response.status == "0") {
|
|
@@ -648,8 +646,6 @@ export default {
|
|
|
async averageInterestRate() {
|
|
|
const response = await averageInterestRate();
|
|
|
if (response.status == "0") {
|
|
|
- // let json = {};
|
|
|
- // json.value = response.rate;
|
|
|
this.circledata3 = Number(response.rate);
|
|
|
}
|
|
|
},
|