更改案件流程

This commit is contained in:
fz
2023-09-21 14:32:29 +08:00
parent 4a7d00fa82
commit de15e61e13
19 changed files with 375 additions and 134 deletions
+24 -3
View File
@@ -1,19 +1,26 @@
<template>
<view class="handlecase">
<List class="caseList" v-for="(item,index) in caseList" :defalutVal='item' :key="index"></List>
<view class="emptyBox" v-if="caseList.length == 0">
<luanqing-empty :show="true" textColor="#000"></luanqing-empty>
</view>
</view>
</template>
<script>
import List from './component/list.vue'
import {respondentList} from '../../api/handlecase/index.js'
import LuanqingEmpty from "@/components/luanqing-empty.vue"
export default {
components: {
List,
'luanqing-empty': LuanqingEmpty,
},
data() {
return {
caseList:[]
caseList:[],
pageNum:1,
pageSize:10
}
},
methods: {
@@ -76,13 +83,27 @@
}
})
})
},
// 触底
onReachBottom() {
if (this.caseList.length < 1){
return
}
let obj = {
identityNum:"3333",
pageNum:this.pageNum,
pageSize:this.pageSize
}
console.log(obj,"PPPPPPPPPPPPPPPPPP");
obj.pageNum = obj.pageNum + 1
this.getList(obj)
}
},
onLoad(){
let obj = {
identityNum:"3333",
pageNum:1,
pageSize:10
pageNum:this.pageNum,
pageSize:this.pageSize
}
this.getList(obj)
}