注册前部署
This commit is contained in:
@@ -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>
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user