Update index.vue
This commit is contained in:
parent
94934f5b80
commit
cfd793ac4e
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue