Update index.vue

This commit is contained in:
TimSpan 2025-01-16 17:02:06 +08:00
parent 94934f5b80
commit cfd793ac4e
1 changed files with 5 additions and 3 deletions

View File

@ -24,7 +24,8 @@
:options="options"
:show-search="{filter}"
placeholder="请输入搜索关键词"
/>
>
</a-cascader>
</div>
<div ref="scrollContainer" v-loading="loading" class="scrollContainer">
@ -384,7 +385,7 @@
</div>
</a-layout>
</template>
<script lang="ts" setup>
<script lang="tsx" setup>
import {JsonResult} from '@/axios'
import * as _ from 'lodash'
import api from '@/axios'
@ -811,6 +812,7 @@ const treedata = () => {
const jinbao = ref([])
const getdayline = () => {
let city = JSON.parse(localStorage.getItem('user-stores'))['userInfo']['levelvalue']
console.log('day().format', day().format('YYYY-MM-DD HH:mm:ss'))
api
.post('multialarm/client/sensor/alarm_event/getlist/today', {
name: localStorage.getItem('loginname'),
@ -869,7 +871,6 @@ const getdayline = () => {
}
})
}
} else {
}
})
}
@ -1363,6 +1364,7 @@ const initMap = () => {
}
onMounted(() => {
// getdayline()
getAiCount()
gettotal()
initMap()