更新bigscreen2的数据
This commit is contained in:
parent
931ffa3eb1
commit
3480ebd1ea
|
@ -378,6 +378,31 @@ export default {
|
|||
title:['利率','货币','信贷','宏观指标','收入和融资','银行理财','整体杠杆','其他']
|
||||
}
|
||||
},
|
||||
methods:{
|
||||
getNearestWeekday() {
|
||||
// 获取当前日期
|
||||
const today = new Date();
|
||||
|
||||
// 获取当前日期是星期几,0 表示星期日,1 - 6 分别表示星期一到星期六
|
||||
const dayOfWeek = today.getDay();
|
||||
|
||||
if (dayOfWeek === 0) { // 如果是星期日
|
||||
// 距离最近的工作日是星期一,即日期加 1 天
|
||||
today.setDate(today.getDate() - 2 );
|
||||
} else if (dayOfWeek === 6) { // 如果是星期六
|
||||
// 距离最近的工作日是星期一,即日期加 2 天
|
||||
today.setDate(today.getDate() - 1 );
|
||||
}
|
||||
|
||||
// 获取年、月、日
|
||||
const year = today.getFullYear();
|
||||
const month = today.getMonth() + 1; // 月份从 0 开始,所以要加 1
|
||||
const date = today.getDate();
|
||||
|
||||
// 格式化日期
|
||||
return `${year}-${month}-${date}`;
|
||||
},
|
||||
},
|
||||
mounted(){
|
||||
// 健康指数 雷达图
|
||||
let radarData = [
|
||||
|
@ -449,7 +474,10 @@ export default {
|
|||
echarts3.setOption(option)
|
||||
|
||||
// 轮播图
|
||||
const nearestWeekday = this.getNearestWeekday()
|
||||
|
||||
const formatData = lunboData.map(item => {
|
||||
item.监测时间 = nearestWeekday + item.监测时间.substring(10)
|
||||
return [item.监测时间,item.名称,item.异常关联类型]
|
||||
})
|
||||
const config22 = {
|
||||
|
|
|
@ -4,8 +4,8 @@ import axios from 'axios'
|
|||
//
|
||||
const http = axios.create({
|
||||
//通用请求
|
||||
baseURL:'http://61.240.140.173:8000/',//后端的地址前缀
|
||||
// baseURL:'/api/',//后端的地址前缀
|
||||
// baseURL:'http://61.240.140.173:8000/',//后端的地址前缀
|
||||
baseURL:'/api/',//后端的地址前缀
|
||||
// withCredentials:truenpm run serve
|
||||
// async:true,
|
||||
// timeout:'10000',//10s 超时时间
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -1,17 +0,0 @@
|
|||
{
|
||||
"信息传输、软件和信息技术服务业-电信、广播电视和卫星传输服务": 3,
|
||||
"制造业-农副食品加工业": 1,
|
||||
"制造业-化学原料和化学制品制造业": 1,
|
||||
"制造业-医药制造业": 6,
|
||||
"制造业-汽车制造业": 2,
|
||||
"制造业-纺织服装、服饰业": 1,
|
||||
"制造业-计算机、通信和其他电子设备制造业": 2,
|
||||
"制造业-酒、饮料和精制茶制造业": 1,
|
||||
"制造业-金属制品业": 1,
|
||||
"制造业-非金属矿物制品业": 1,
|
||||
"房地产业-房地产业": 1,
|
||||
"批发和零售业-批发业": 2,
|
||||
"采矿业-有色金属矿采选业": 1,
|
||||
"金融业-货币金融服务": 12,
|
||||
"金融业-资本市场服务": 3
|
||||
}
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -1,13 +0,0 @@
|
|||
{
|
||||
"data": {
|
||||
"投资关系": 82.44588614888224,
|
||||
"操盘模式": 25,
|
||||
"财务状态": 54.00000000000001,
|
||||
"健康指数": 48,
|
||||
"运行状态": 58.56999999999999,
|
||||
"规模扩张": 20,
|
||||
"声誉风险": 65,
|
||||
"外部环境": 5,
|
||||
"等级": 5
|
||||
}
|
||||
}
|
|
@ -1,7 +0,0 @@
|
|||
{
|
||||
"低风险": 1100,
|
||||
"中风险": 1184,
|
||||
"高风险": 1254,
|
||||
"综合风险水平": 396.2488397196951,
|
||||
"time": "2023_3"
|
||||
}
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -1,168 +0,0 @@
|
|||
{
|
||||
"date": [
|
||||
"2015-04-01",
|
||||
"2015-07-01",
|
||||
"2015-10-01",
|
||||
"2016-01-01",
|
||||
"2016-04-01",
|
||||
"2016-07-01",
|
||||
"2016-10-01",
|
||||
"2017-01-01",
|
||||
"2017-04-01",
|
||||
"2017-07-01",
|
||||
"2017-10-01",
|
||||
"2018-01-01",
|
||||
"2018-04-01",
|
||||
"2018-07-01",
|
||||
"2018-10-01",
|
||||
"2019-01-01",
|
||||
"2019-04-01",
|
||||
"2019-07-01",
|
||||
"2019-10-01",
|
||||
"2020-01-01",
|
||||
"2020-04-01",
|
||||
"2020-07-01",
|
||||
"2020-10-01",
|
||||
"2021-01-01",
|
||||
"2021-04-01",
|
||||
"2021-07-01",
|
||||
"2021-10-01",
|
||||
"2022-01-01",
|
||||
"2022-04-01",
|
||||
"2022-07-01",
|
||||
"2022-10-01",
|
||||
"2023-01-01",
|
||||
"2023-04-01",
|
||||
"2023-07-01",
|
||||
"2023-10-01",
|
||||
"2024-01-01"
|
||||
],
|
||||
"result": [
|
||||
{
|
||||
"name": "同配性",
|
||||
"type": "line",
|
||||
"data": [
|
||||
0.4985,
|
||||
0.2985,
|
||||
0.2319,
|
||||
0.4506,
|
||||
0.5392,
|
||||
0.6333,
|
||||
0.7169,
|
||||
0.7459,
|
||||
0.042,
|
||||
0.9029,
|
||||
0.3071,
|
||||
0.8063,
|
||||
0.2468,
|
||||
0.949,
|
||||
0.3416,
|
||||
0.0806,
|
||||
0.4001,
|
||||
0,
|
||||
0.2062,
|
||||
0.1758,
|
||||
0.4168,
|
||||
0.5231,
|
||||
0.4925,
|
||||
0.6429,
|
||||
0.2692,
|
||||
0.6903,
|
||||
0.2667,
|
||||
0.4596,
|
||||
0.1904,
|
||||
0.322,
|
||||
0.2009,
|
||||
0.396,
|
||||
0.26,
|
||||
0.2573,
|
||||
0.3491,
|
||||
0.1518
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "密度变化",
|
||||
"type": "line",
|
||||
"data": [
|
||||
0.3902,
|
||||
0.6051,
|
||||
0.3781,
|
||||
0.5526,
|
||||
0.2318,
|
||||
0.5384,
|
||||
0.1158,
|
||||
0,
|
||||
0.2995,
|
||||
0.4364,
|
||||
0.3556,
|
||||
0.6869,
|
||||
0.3709,
|
||||
0.6738,
|
||||
0.3697,
|
||||
0.5522,
|
||||
0.3703,
|
||||
0.5199,
|
||||
0.372,
|
||||
0.5106,
|
||||
0.3853,
|
||||
0.3365,
|
||||
0.3768,
|
||||
0.3294,
|
||||
0.3586,
|
||||
0.3214,
|
||||
0.3672,
|
||||
0.4708,
|
||||
0.375,
|
||||
0.593,
|
||||
0.3759,
|
||||
0.5206,
|
||||
0.3823,
|
||||
0.4553,
|
||||
0.3963,
|
||||
0.3862
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "聚类系数",
|
||||
"type": "line",
|
||||
"data": [
|
||||
0.372,
|
||||
0.4272,
|
||||
0.422,
|
||||
0.4679,
|
||||
0.1678,
|
||||
0.4082,
|
||||
0.2555,
|
||||
0.4204,
|
||||
0.9374,
|
||||
1,
|
||||
0.5736,
|
||||
0.36,
|
||||
0.2301,
|
||||
0.2503,
|
||||
0.1429,
|
||||
0.3658,
|
||||
0.1854,
|
||||
0.4307,
|
||||
0.4965,
|
||||
0.3533,
|
||||
0.4599,
|
||||
0.4534,
|
||||
0.4034,
|
||||
0.4552,
|
||||
0.0888,
|
||||
0.3441,
|
||||
0.2778,
|
||||
0.3663,
|
||||
0.406,
|
||||
0.4589,
|
||||
0.3206,
|
||||
0.5127,
|
||||
0.3964,
|
||||
0.6401,
|
||||
0.3115,
|
||||
0.6732
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user