Explorar el Código

完善列表页

master
yxq hace 2 meses
padre
commit
e8989967fa
Se han modificado 7 ficheros con 11 adiciones y 5 borrados
  1. +1
    -1
      monitorMobile/pages/earlyWarning/index.vue
  2. +1
    -1
      monitorMobile/pages/monitor/index.vue
  3. +1
    -1
      monitorMobile/pages/work/passengerFlow/index.vue
  4. +2
    -0
      monitorMobile/pages/work/returnBed/detail.vue
  5. +1
    -1
      monitorMobile/pages/work/returnBed/index.vue
  6. +4
    -0
      monitorMobile/pages/work/rollCall/detail.vue
  7. +1
    -1
      monitorMobile/pages/work/rollCall/index.vue

+ 1
- 1
monitorMobile/pages/earlyWarning/index.vue Ver fichero

@@ -88,7 +88,7 @@

</view>
<view class="tableBox">
<u-empty marginTop="100rpx" :show="warnList.length == 0" mode="list" text="暂无数据"></u-empty>
<u-empty marginTop="100rpx" :show="warnList.length == 0&&status == 'nomore'" mode="list" text="暂无数据"></u-empty>
<!-- <u-pull-refresh :refreshing="refreshing" @refresh="onRefresh"> -->
<!-- <scroll-view class="scroll-view" scroll-y="true" refresher-enabled="true"
@refresher-pull="onRefresh" @refresher-refresh="doRefresh" @refresher-restore="restore"


+ 1
- 1
monitorMobile/pages/monitor/index.vue Ver fichero

@@ -78,7 +78,7 @@
</view>
</view>
<view class="tableBox">
<u-empty marginTop="100rpx" :show="monitorList.length == 0" mode="list" text="暂无数据"></u-empty>
<u-empty marginTop="100rpx" :show="monitorList.length == 0&&status == 'nomore'" mode="list" text="暂无数据"></u-empty>
<u-list @scrolltolower="scrolltolower" style="height: calc(100% - 0rpx);">
<u-list-item v-for="(item, index) in monitorList" :key="index">
<view class="liBox">


+ 1
- 1
monitorMobile/pages/work/passengerFlow/index.vue Ver fichero

@@ -1,6 +1,6 @@
<template>
<view style="height: 100%;">
<u-empty marginTop="100rpx" :show="false" mode="list" text="暂无数据"></u-empty>
<u-empty marginTop="100rpx" :show="list.length == 0&&status == 'nomore'" mode="list" text="暂无数据"></u-empty>
<u-list @scrolltolower="scrolltolower" style="height: calc(100% - 29rpx);padding-top:29rpx">
<u-list-item v-for="(item, index) in list" :key="index">
<view class="whiteCard">


+ 2
- 0
monitorMobile/pages/work/returnBed/detail.vue Ver fichero

@@ -86,7 +86,9 @@
},
mounted() {
const {id,ReturnTime} = this.options
this.LOADING('加载中...')
returnInfo({id,ReturnTime}).then(res=>{
this.HIDE_LOADING()
if(res.code != 200)return
this.info = res.data
this.list = res.data.personInfos || []


+ 1
- 1
monitorMobile/pages/work/returnBed/index.vue Ver fichero

@@ -6,7 +6,7 @@
:options="list.map(e=>{return {...e,label:'寝室'+e.label}})" placeholder="请选择寝室"
popupTitle="选择寝室" search-placeholder="请输入宿舍号" />
</view>
<u-empty marginTop="100rpx" :show="false" mode="list" text="暂无数据"></u-empty>
<u-empty marginTop="100rpx" :show="list.length == 0&&status == 'nomore'" mode="list" text="暂无数据"></u-empty>
<u-list @scrolltolower="scrolltolower" style="height: calc(100% - 220rpx);">
<u-list-item v-for="(item, index) in list" :key="index" v-show="!room || room == item.id">
<view class="whiteCard">


+ 4
- 0
monitorMobile/pages/work/rollCall/detail.vue Ver fichero

@@ -95,22 +95,26 @@
} = this.options
// 班级人员
if (personSetId) {
this.LOADING('加载中...')
await detail({
personSetId,
pageSize: 1000,
pageNum: 1
}).then(res => {
this.HIDE_LOADING()
if (res.code != 200) return
this.list = res.data.list
})
}
// 监控行为列表
if (taskId) {
this.LOADING('加载中...')
page({
taskId,
pageSize: 1000,
pageNum: 1
}).then(res => {
this.HIDE_LOADING()
if (res.code != 200) return
this.alarmList = res.data.list
this.list = this.list.map(e => {


+ 1
- 1
monitorMobile/pages/work/rollCall/index.vue Ver fichero

@@ -4,7 +4,7 @@
<SelectRadio v-model="search.CameraId" align="center" placeholder="请选择摄像头" @change="refresh"
:options="allOptions.monitorList" />
</view>
<u-empty marginTop="100rpx" :show="false" mode="list" text="暂无数据"></u-empty>
<u-empty marginTop="100rpx" :show="list.length == 0&&status == 'nomore'" mode="list" text="暂无数据"></u-empty>
<u-list @scrolltolower="scrolltolower" style="height: calc(100% - 150rpx);">
<u-list-item v-for="(item, index) in list" :key="index">
<u-checkbox v-if="isManage" :name="item.name" shape="circle" label=""></u-checkbox>


Cargando…
Cancelar
Guardar