站点管理

This commit is contained in:
2025-11-26 09:46:08 +08:00
parent 6df78ab004
commit 025d724b51
8 changed files with 49 additions and 37 deletions

View File

@@ -6,7 +6,7 @@
<view class="zd_wrapper">
<view class="zd-row border-bottom">
<view class="zd-col-7">
<!-- <span class="filter_label">管制区域</span> -->
<!-- <span class="filter_label">车号</span> -->
<span class="filter_label">{{$t('filter.carno')}}</span>
</view>
<view class="zd-col-24 filter_select">
@@ -57,7 +57,7 @@
import NavBar from '@/components/NavBar.vue'
import SearchBox from '@/components/SearchBox.vue'
import { confirmAction } from '@/utils/utils.js'
import {getAgvNos, selectRegionInfo, pause, resume} from '@/utils/getData4.js'
import {getAgvNos, selectAgvInfo, pause, resume} from '@/utils/getData4.js'
export default {
components: {
NavBar,
@@ -118,10 +118,10 @@
searchList () {
this.dataList = []
this.pageNum = 1
this._selectRegionInfo()
this._selectAgvInfo()
},
async _selectRegionInfo () {
let res = await selectRegionInfo(this.index)
async _selectAgvInfo () {
let res = await selectAgvInfo(this.index)
if (res.code === '200') {
this.dataList = res.data
// this.totalCount = res.totalElements
@@ -143,7 +143,7 @@
this.status = 'loading'
setTimeout(() => {
this.pageNum++
this._selectRegionInfo()
this._selectAgvInfo()
}, 1000)
} else { //停止加载
this.status = 'noMore'