注册前部署

This commit is contained in:
fz
2023-10-16 11:26:18 +08:00
parent 8038a93865
commit 49b1676825
23 changed files with 1027 additions and 49 deletions
@@ -0,0 +1,81 @@
<template>
<view class="page">
<view class="mainAll" v-if="list2.length > 0">
<view class="pageTitle">
快递公司:{{expressMain.company}}
</view>
<view class="pageTitle">
快递单号:{{expressMain.no}}
</view>
<view class="pageMain">
<view>
<uni-steps :options="list2" active-color="#007AFF" direction="column" />
</view>
</view>
</view>
<view class="emptyBox" v-if="list2.length == 0">
<luanqing-empty :show="true" textColor="#000"></luanqing-empty>
</view>
</view>
</template>
<script>
import {
logistics
} from '../../../api/handlecase/index.js'
import LuanqingEmpty from "@/components/luanqing-empty.vue"
export default {
components: {
'luanqing-empty': LuanqingEmpty,
},
data() {
return {
expressMain: {},
list2: []
}
},
methods: {
},
onLoad(data) {
uni.showLoading()
logistics({
id: data.id
}).then(res => {
uni.hideLoading()
this.expressMain = res.data[1].logisticsInfo;
this.expressMain = JSON.parse(this.expressMain);
this.expressMain.list.forEach(item => {
item.title = item.remark;
item.desc = item.datetime
})
this.list2 = this.expressMain.list
})
}
}
</script>
<style lang="scss">
.page {
background-color: #ffffff;
.pageTitle {
width: 100%;
padding: 15rpx;
}
.pageMain {
.status-btn {
/* #ifndef APP-NVUE */
display: flex;
/* #endif */
flex-direction: row;
align-items: center;
justify-content: center;
height: 92rpx;
margin: 30rpx;
background-color: #007AFF;
}
}
}
</style>
+105
View File
@@ -0,0 +1,105 @@
<template>
<view class="list">
<view class="listItem">
<view class="lable">
案件编号:
</view>
<view class="main">
{{defalutVal.caseNum}}
</view>
</view>
<view class="listItem">
<view class="lable">
申请人姓名:
</view>
<view class="main">
{{defalutVal.applicantName}}
</view>
</view>
<view class="listItem">
<view class="lable">
被申请人姓名:
</view>
<view class="main">
{{defalutVal.respondentName}}
</view>
</view>
<view class="listItem">
<view class="lable">
案件状态:
</view>
<view class="main">
{{defalutVal.caseStatusName}}
</view>
</view>
<view class="btn">
<button class="btnItem" type="primary" size="mini" @tap="uploadEvidence(defalutVal.id)">查看快递信息</button>
<!-- <button class="btnItem" type="primary" size="mini" @tap="confirmationEvidence" v-if="defalutVal.caseStatus == 4">确认证据</button>
<button class="btnItem" type="primary" size="mini" @tap="isAssignrbitrators" v-if="defalutVal.caseStatus == 5">是否指派仲裁员</button>
<button class="btnItem" type="primary" size="mini" @tap="isAssignrbitrators">是否指派仲裁员</button>
<button class="btnItem" type="primary" size="mini" @tap="chooseMethod" v-if="defalutVal.caseStatus == 9">选择仲裁方式</button> -->
</view>
</view>
</template>
<script>
export default{
data(){
return{
}
},
props:{
defalutVal:{
type:Object,
default:() => {}
}
},
methods:{
// // 查看快递
uploadEvidence(id){
uni.navigateTo({
// url:`/pages/expressDelivery/component/expressDelivery?id=${this.defalutVal.id}`
url:`/pages/expressDelivery/component/expressDelivery?id=${id}`
})
},
}
}
</script>
<style lang="scss" scoped>
.list {
padding: 15rpx;
display: flex;
flex-direction: column;
background-color: #ffffff;
border-radius: 30rpx;
margin-top: 20rpx;
.listItem {
width: 100%;
display: flex;
height: 50rpx;
.lable {
width: 30%;
}
.main {
width: 60%;
}
}
.btn{
margin-top: 20rpx;
width: 100%;
display: flex;
justify-content: space-between;
.btnItem{
height: 50rpx;
background-color: #5395ff;
border-radius: 10rpx;
text-align: center;
line-height: 50rpx;
}
}
}
</style>
+125
View File
@@ -0,0 +1,125 @@
<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 {
caseApplicationList
} from '../../api/handlecase/index.js'
import LuanqingEmpty from "@/components/luanqing-empty.vue"
export default {
components: {
List,
'luanqing-empty': LuanqingEmpty,
},
data() {
return {
caseList: [],
pageNum: 1,
pageSize: 10
}
},
methods: {
getList(parms) {
uni.showLoading()
caseApplicationList(parms).then(res => {
uni.hideLoading()
this.caseList = res.rows;
this.caseList.forEach(item => {
switch (item.caseStatus) {
case 0:
item.caseStatusName = '立案申请'
break;
case 1:
item.caseStatusName = '待缴费'
break;
case 2:
item.caseStatusName = '待缴费确认'
break;
case 3:
item.caseStatusName = '待确认是否应诉'
break;
case 4:
item.caseStatusName = '待确认证据'
break;
case 5:
item.caseStatusName = '待确定是否指派仲裁员'
break;
case 6:
item.caseStatusName = '待组庭'
break;
case 7:
item.caseStatusName = '待组庭确定'
break;
case 8:
item.caseStatusName = '待组庭审核'
break;
case 9:
item.caseStatusName = '待选择仲裁方式'
break;
case 10:
item.caseStatusName = '待开庭'
break;
case 11:
item.caseStatusName = '待生成仲裁文书'
break;
case 12:
item.caseStatusName = '待确认仲裁文书'
break;
case 13:
item.caseStatusName = '待仲裁文书用印'
break;
case 14:
item.caseStatusName = '待仲裁文书用印审核'
break;
case 15:
item.caseStatusName = '待仲裁文书送达'
break;
case 16:
item.caseStatusName = '待案件归档'
break;
}
})
})
},
// 触底
onReachBottom() {
if (this.caseList.length < 1) {
return
}
let obj = {
caseStatusList: [16],
pageNum: this.pageNum,
pageSize: this.pageSize
}
obj.pageNum = obj.pageNum + 1
this.getList(obj)
}
},
onLoad() {
let obj = {
caseStatusList: [16],
pageNum: this.pageNum,
pageSize: this.pageSize
}
this.getList(obj)
}
}
</script>
<style lang="scss">
.handlecase {
.caseList {
// height: 360rpx;
// background-color: #ffffff;
// border-radius: 30rpx;
// margin-top: 20rpx;
}
}
</style>