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