feat:bug
This commit is contained in:
1 parent
dcd391235e
commit
c0e98675b8
6 files changed
+8
-6
No files matched your search
@@ -54,7 +54,7 @@ const tabList = [
|
||||
{ label: "本月", value: "THIS_MONTH", component: MonthStatistics },
|
||||
{ label: "本年", value: "THIS_YEAR", component: YearStatistics },
|
||||
];
|
||||
const activeIndex = ref(0);
|
||||
const activeIndex = ref(1);
|
||||
const activeKey = computed(() => tabList[activeIndex.value].value);
|
||||
const componentData = computed(() => {
|
||||
if (!props.data) {
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { onMounted, onBeforeUnmount, useTemplateRef, reactive } from "vue";
|
||||
import { onMounted, reactive } from "vue";
|
||||
|
||||
import { canteenApi } from "@/api/index"
|
||||
import { displayPrice } from "@/utils/format-money"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
export const TABLE = {
|
||||
SIZE: "default",
|
||||
SIZE: "small",
|
||||
STYLE: {
|
||||
width: "100%",
|
||||
height: "100%",
|
||||
|
||||
@@ -133,7 +133,7 @@ const timerObj = reactive({
|
||||
initial: null,
|
||||
interval: 10 * 1000,
|
||||
queryParams: {
|
||||
dateRangeType: "YESTERDAY",
|
||||
dateRangeType: "TODAY",
|
||||
},
|
||||
data: {
|
||||
data: null,
|
||||
|
||||
@@ -121,7 +121,7 @@ const timerObj = reactive({
|
||||
interval: 10 * 1000,
|
||||
data: null,
|
||||
queryParams: {
|
||||
dateRangeType: "YESTERDAY"
|
||||
dateRangeType: "TODAY"
|
||||
},
|
||||
},
|
||||
// 菜品喜好排行
|
||||
|
||||
+3
-1
@@ -144,7 +144,9 @@ const timerObj = reactive({
|
||||
initial: null,
|
||||
interval: 10 * 1000,
|
||||
data: null,
|
||||
queryParams: {},
|
||||
queryParams: {
|
||||
dateRangeType: "TODAY"
|
||||
},
|
||||
},
|
||||
// 最近异常事件
|
||||
recentlyAlarm: {
|
||||
|
||||
Reference in new issue
Block a user