57 lines
1.1 KiB
Vue
Raw Normal View History

<!-- 业绩统计 -->
<!-- 业绩统计 -->
<!-- 业绩统计 -->
<!-- 业绩统计 -->
<!-- 业绩统计 -->
2024-06-05 00:14:06 +08:00
<template>
2024-06-08 10:20:37 +08:00
<el-card>
<template #header>
配送订单统计
</template>
<v-charts style="height: 350px" :option="sendOption" :autoresize="true" />
</el-card>
2024-06-08 10:20:37 +08:00
<el-card>
<template #header>
配送订单统计
</template>
<sendData></sendData>
2024-06-05 00:14:06 +08:00
</el-card>
</template>
<script lang="ts" setup>
import { ref, reactive } from "vue"
import vCharts from 'vue-echarts'
2024-06-08 10:20:37 +08:00
import sendData from "../components/sendData.vue"
2024-06-05 00:14:06 +08:00
2024-06-08 10:20:37 +08:00
const sendOption = reactive({
tooltip: {
2024-06-08 10:20:37 +08:00
trigger: 'axis'
},
xAxis: {
type: 'category',
2024-06-08 10:20:37 +08:00
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
},
yAxis: {
type: 'value'
},
series: [
{
2024-06-08 10:20:37 +08:00
data: [820, 932, 901, 934, 1290, 1330, 1320],
type: 'line',
smooth: true
},
{
data: [820, 932, 901, 934, 1290, 1330, 1320],
type: 'line',
smooth: true
}
]
2024-06-05 00:14:06 +08:00
})
2024-06-05 00:14:06 +08:00
</script>