接口
This commit is contained in:
parent
47533c713e
commit
0474b8fd4f
@ -1,16 +1,16 @@
|
|||||||
import request from '@/utils/request'
|
import request from '@/utils/request'
|
||||||
|
|
||||||
//最近一周每天的商品交易趋势
|
//最近一周每天的商品交易趋势
|
||||||
export function selectGodWeekTransactionGoodsVO() {
|
export function getWeekGoodsTradeTrend () {
|
||||||
return request({
|
return request({
|
||||||
url: '/system/homeStatistics/selectGodWeekTransactionGoodsVO',
|
url: '/system/homeStatistics/getWeekGoodsTradeTrend ',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
//首页新增最近一周每天的预约订单交易趋势
|
//首页新增最近一周每天的预约订单交易趋势
|
||||||
export function selectAodWeekTransactionAppointmentOrderVO() {
|
export function getWeekTradeAppointmentTrend() {
|
||||||
return request({
|
return request({
|
||||||
url: '/system/homeStatistics/selectAodWeekTransactionAppointmentOrderVO',
|
url: '/system/homeStatistics/getWeekTradeAppointmentTrend',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@ -76,8 +76,8 @@
|
|||||||
import { informationStatistics, summaryToday } from "@/api/system/index";
|
import { informationStatistics, summaryToday } from "@/api/system/index";
|
||||||
import * as echarts from "echarts";
|
import * as echarts from "echarts";
|
||||||
import {
|
import {
|
||||||
selectGodWeekTransactionGoodsVO,
|
getWeekGoodsTradeTrend,
|
||||||
selectAodWeekTransactionAppointmentOrderVO,
|
getWeekTradeAppointmentTrend,
|
||||||
selectHotGoodsList,
|
selectHotGoodsList,
|
||||||
} from "@/api/system/homepage.js";
|
} from "@/api/system/homepage.js";
|
||||||
export default {
|
export default {
|
||||||
@ -113,7 +113,7 @@ export default {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
info() {
|
info() {
|
||||||
selectAodWeekTransactionAppointmentOrderVO().then((res) => {
|
getWeekTradeAppointmentTrend().then((res) => {
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
var timedata = [];
|
var timedata = [];
|
||||||
res.data.forEach((e) => {
|
res.data.forEach((e) => {
|
||||||
@ -241,7 +241,7 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
selectGodWeekTransactionGoodsVO().then((res) => {
|
getWeekGoodsTradeTrend().then((res) => {
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
var timedata = [];
|
var timedata = [];
|
||||||
res.data.forEach((e) => {
|
res.data.forEach((e) => {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user