|
@@ -32,10 +32,6 @@ import { currentGET } from "@/api";
|
|
|
import CountUp from "@/components/count-up";
|
|
|
import signalR from "@/utils/signalR";
|
|
|
const duration = ref(2);
|
|
|
-const props = defineProps<{
|
|
|
- config: any;
|
|
|
- data: any;
|
|
|
-}>();
|
|
|
const state = reactive({
|
|
|
alarmNum: 759,
|
|
|
offlineNum: 44,
|
|
@@ -45,7 +41,7 @@ const state = reactive({
|
|
|
|
|
|
const getData = () => {
|
|
|
currentGET("leftTop").then((res) => {
|
|
|
- console.log(res,'工单办理日');
|
|
|
+ console.log('工单办理日',res);
|
|
|
if (res.success) {
|
|
|
state.alarmNum = res.data.alarmNum;
|
|
|
state.offlineNum = res.data.offlineNum;
|