更改案件流程
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user