修改列表样式,页面跳转bug
This commit is contained in:
@@ -16,7 +16,7 @@
|
|||||||
{{defalutVal.applicantName}}
|
{{defalutVal.applicantName}}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="listItem">
|
<view class="listItem" style="margin-top:22rpx">
|
||||||
<view class="lable">
|
<view class="lable">
|
||||||
被申请人姓名:
|
被申请人姓名:
|
||||||
</view>
|
</view>
|
||||||
@@ -79,7 +79,6 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
height: 50rpx;
|
height: 50rpx;
|
||||||
|
|
||||||
.lable {
|
.lable {
|
||||||
width: 30%;
|
width: 30%;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,8 +16,8 @@
|
|||||||
{{defalutVal.applicantName}}
|
{{defalutVal.applicantName}}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="listItem">
|
<view class="listItem" style="margin-top:22rpx">
|
||||||
<view class="lable">
|
<view class="lable" >
|
||||||
被申请人姓名:
|
被申请人姓名:
|
||||||
</view>
|
</view>
|
||||||
<view class="main">
|
<view class="main">
|
||||||
@@ -102,14 +102,14 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
height: 50rpx;
|
height: 50rpx;
|
||||||
|
|
||||||
.lable {
|
.lable {
|
||||||
width: 30%;
|
width: 30%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.main {
|
.main {
|
||||||
width: 60%;
|
width: 60%;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
.btn{
|
.btn{
|
||||||
margin-top: 20rpx;
|
margin-top: 20rpx;
|
||||||
|
|||||||
@@ -444,10 +444,17 @@
|
|||||||
title: '提交成功',
|
title: '提交成功',
|
||||||
icon: 'none',
|
icon: 'none',
|
||||||
duration: 1000
|
duration: 1000
|
||||||
})
|
})
|
||||||
uni.navigateTo({
|
|
||||||
url: '/pages/handlecase/index'
|
uni.navigateBack({
|
||||||
})
|
delta:1
|
||||||
|
})
|
||||||
|
// uni.$tab.redirectTo({
|
||||||
|
// url: '/pages/handlecase/index'
|
||||||
|
// })
|
||||||
|
// uni.navigateTo({
|
||||||
|
// url: '/pages/handlecase/index'
|
||||||
|
// })
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
submitImg() {
|
submitImg() {
|
||||||
|
|||||||
+24
-11
@@ -25,13 +25,17 @@
|
|||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
getList(parms) {
|
getList(parms) {
|
||||||
respondentList(parms).then(res => {
|
respondentList(parms).then(res => {
|
||||||
// this.caseList = res.rows;
|
// this.caseList = res.rows;
|
||||||
this.caseList = res.data;
|
if(res.data){
|
||||||
|
this.caseList = res.data;
|
||||||
|
}else{
|
||||||
|
this.caseList = []
|
||||||
|
}
|
||||||
|
|
||||||
this.caseList.forEach(item => {
|
this.caseList.forEach(item => {
|
||||||
switch (item.caseStatus) {
|
switch (item.caseStatus) {
|
||||||
case 0:
|
case 0:
|
||||||
@@ -102,15 +106,24 @@
|
|||||||
obj.pageNum = obj.pageNum + 1
|
obj.pageNum = obj.pageNum + 1
|
||||||
this.getList(obj)
|
this.getList(obj)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad() {
|
onShow() {
|
||||||
let obj = {
|
let obj = {
|
||||||
pageNum: this.pageNum,
|
pageNum: this.pageNum,
|
||||||
pageSize: this.pageSize,
|
pageSize: this.pageSize,
|
||||||
caseStatus:4
|
caseStatus:4
|
||||||
}
|
}
|
||||||
this.getList(obj)
|
this.getList(obj)
|
||||||
}
|
},
|
||||||
|
// onLoad() {
|
||||||
|
// let obj = {
|
||||||
|
// pageNum: this.pageNum,
|
||||||
|
// pageSize: this.pageSize,
|
||||||
|
// caseStatus:4
|
||||||
|
// }
|
||||||
|
// this.getList(obj)
|
||||||
|
// }
|
||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
{{defalutVal.applicantName}}
|
{{defalutVal.applicantName}}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="listItem">
|
<view class="listItem" style="margin-top:22rpx">
|
||||||
<view class="lable">
|
<view class="lable">
|
||||||
被申请人姓名:
|
被申请人姓名:
|
||||||
</view>
|
</view>
|
||||||
@@ -87,7 +87,6 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
height: 50rpx;
|
height: 50rpx;
|
||||||
|
|
||||||
.lable {
|
.lable {
|
||||||
width: 30%;
|
width: 30%;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user