fix Bug or esLink formatting

This commit is contained in:
Ah jung
2021-07-22 13:47:44 +08:00
parent f6be8f521e
commit 7f81152793
172 changed files with 10553 additions and 9031 deletions

View File

@@ -1,36 +1,35 @@
import { Random } from 'mockjs'
import { resultSuccess } from '../_util'
import { Random } from 'mockjs';
import { resultSuccess } from '../_util';
const consoleInfo = {
//访问量
visits:{
dayVisits:Random.float(10000,99999,2,2),
rise:Random.float(10,99),
decline:Random.float(10,99),
amount:Random.float(99999,999999,3,5),
visits: {
dayVisits: Random.float(10000, 99999, 2, 2),
rise: Random.float(10, 99),
decline: Random.float(10, 99),
amount: Random.float(99999, 999999, 3, 5),
},
//销售额
saleroom:{
weekSaleroom:Random.float(10000,99999,2,2),
amount:Random.float(99999,999999,2,2),
degree:Random.float(10,99)
saleroom: {
weekSaleroom: Random.float(10000, 99999, 2, 2),
amount: Random.float(99999, 999999, 2, 2),
degree: Random.float(10, 99),
},
//订单量
orderLarge:{
weekLarge:Random.float(10000,99999,2,2),
rise:Random.float(10,99),
decline:Random.float(10,99),
amount:Random.float(99999,999999,2,2),
orderLarge: {
weekLarge: Random.float(10000, 99999, 2, 2),
rise: Random.float(10, 99),
decline: Random.float(10, 99),
amount: Random.float(99999, 999999, 2, 2),
},
//成交额度
volume:{
weekLarge:Random.float(10000,99999,2,2),
rise:Random.float(10,99),
decline:Random.float(10,99),
amount:Random.float(99999,999999,2,2)
volume: {
weekLarge: Random.float(10000, 99999, 2, 2),
rise: Random.float(10, 99),
decline: Random.float(10, 99),
amount: Random.float(99999, 999999, 2, 2),
},
}
};
export default [
//主控台 卡片数据
@@ -41,7 +40,5 @@ export default [
response: () => {
return resultSuccess(consoleInfo);
},
}
]
},
];