35 lines
609 B
Vue
35 lines
609 B
Vue
![]() |
<template>
|
||
|
<el-card header="订单统计" shadow="never">
|
||
|
|
||
|
</el-card>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
import { getOrderDailyAmount } from '@/api/dashboard/dashboardOrder'
|
||
|
|
||
|
export default {
|
||
|
name: "OrderDailyStat",
|
||
|
data() {
|
||
|
return {
|
||
|
loading: false,
|
||
|
orderDailyAmount: [],
|
||
|
queryParams: {},
|
||
|
}
|
||
|
},
|
||
|
created() {
|
||
|
this.getOrderDailyAmount();
|
||
|
},
|
||
|
methods: {
|
||
|
getOrderDailyAmount() {
|
||
|
this.loading = true;
|
||
|
getOrderDailyAmount(this.orderQueryParams).then(res => {
|
||
|
this.orderDailyAmount = res.data;
|
||
|
})
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
<style lang="scss" scoped>
|
||
|
|
||
|
</style>
|