上传返回页面问题

This commit is contained in:
Your Name
2023-09-26 17:53:59 +08:00
parent 71c6c030ee
commit 61bf1f5b61
12 changed files with 245 additions and 188 deletions
+40 -39
View File
@@ -9,7 +9,9 @@
<script>
import List from './component/list.vue'
import {respondentList} from '../../api/handlecase/index.js'
import {
respondentList
} from '../../api/handlecase/index.js'
import LuanqingEmpty from "@/components/luanqing-empty.vue"
export default {
components: {
@@ -18,92 +20,91 @@
},
data() {
return {
caseList:[],
pageNum:1,
pageSize:10
caseList: [],
pageNum: 1,
pageSize: 10
}
},
methods: {
getList(parms){
respondentList(parms).then(res=>{
getList(parms) {
respondentList(parms).then(res => {
this.caseList = res.rows;
this.caseList.forEach(item=>{
switch (item.caseStatus){
this.caseList.forEach(item => {
switch (item.caseStatus) {
case 0:
item.caseStatusName = '立案申请'
item.caseStatusName = '立案申请'
break;
case 1:
item.caseStatusName = '待缴费'
item.caseStatusName = '待缴费'
break;
case 2:
item.caseStatusName = '待缴费确认'
item.caseStatusName = '待缴费确认'
break;
case 3:
item.caseStatusName = '待确认是否应诉'
item.caseStatusName = '待确认是否应诉'
break;
case 4:
item.caseStatusName = '待确认证据'
item.caseStatusName = '待确认证据'
break;
case 5:
item.caseStatusName = '待确定是否指派仲裁员'
item.caseStatusName = '待确定是否指派仲裁员'
break;
case 6:
item.caseStatusName = '待组庭'
item.caseStatusName = '待组庭'
break;
case 7:
item.caseStatusName = '待组庭确定'
item.caseStatusName = '待组庭确定'
break;
case 8:
item.caseStatusName = '待组庭审核'
item.caseStatusName = '待组庭审核'
break;
case 9:
item.caseStatusName = '待选择仲裁方式'
item.caseStatusName = '待选择仲裁方式'
break;
case 10:
item.caseStatusName = '待开庭'
item.caseStatusName = '待开庭'
break;
case 11:
item.caseStatusName = '待生成仲裁文书'
item.caseStatusName = '待生成仲裁文书'
break;
case 12:
item.caseStatusName = '待确认仲裁文书'
item.caseStatusName = '待确认仲裁文书'
break;
case 13:
item.caseStatusName = '待仲裁文书用印'
item.caseStatusName = '待仲裁文书用印'
break;
case 14:
item.caseStatusName = '待仲裁文书用印审核'
break;
item.caseStatusName = '待仲裁文书用印审核'
break;
case 15:
item.caseStatusName = '待仲裁文书送达'
break;
item.caseStatusName = '待仲裁文书送达'
break;
case 16:
item.caseStatusName = '待案件归档'
break;
item.caseStatusName = '待案件归档'
break;
}
})
})
},
// 触底
onReachBottom() {
if (this.caseList.length < 1){
if (this.caseList.length < 1) {
return
}
let obj = {
identityNum:"610425199505171615",
pageNum:this.pageNum,
pageSize:this.pageSize
identityNum: "610528199802285713",
pageNum: this.pageNum,
pageSize: this.pageSize
}
console.log(obj,"PPPPPPPPPPPPPPPPPP");
obj.pageNum = obj.pageNum + 1
this.getList(obj)
}
},
onLoad(){
onLoad() {
let obj = {
identityNum:"610425199505171615",
pageNum:this.pageNum,
pageSize:this.pageSize
identityNum: "610528199802285713",
pageNum: this.pageNum,
pageSize: this.pageSize
}
this.getList(obj)
}
@@ -111,8 +112,8 @@
</script>
<style lang="scss">
.handlecase{
.caseList{
.handlecase {
.caseList {
// height: 360rpx;
// background-color: #ffffff;
// border-radius: 30rpx;