[更新]
This commit is contained in:
@@ -54,7 +54,7 @@
|
||||
</view>
|
||||
|
||||
<view class="pack-center pages-hint" v-else>
|
||||
<image src="/static/imgs/Noevaluate.png"></image>
|
||||
<image src="https://douhuo-storage.oss-cn-beijing.aliyuncs.com/images/2023/06/06/7ad417d0c215db601b8e1bead05c3a5e.png"></image>
|
||||
<view>暂无订单</view>
|
||||
</view>
|
||||
|
||||
|
||||
@@ -94,7 +94,7 @@
|
||||
<view class="tipsBack" v-if="generalShow"></view>
|
||||
<view class="tipsCont" v-if="generalShow">
|
||||
<view class="tipsWhite">
|
||||
<image class="tipsCont-img" src="@/static/imgs/general_back.png" mode="widthFix"></image>
|
||||
<image class="tipsCont-img" src="https://douhuo-storage.oss-cn-beijing.aliyuncs.com/images/2023/06/06/6b1485847b45273618f8d922ceee889c.png" mode="widthFix"></image>
|
||||
<view class="tipsWhite-top">
|
||||
<view class="tipsWhite-name">
|
||||
请您先关注抖火法律咨询公众号
|
||||
@@ -231,8 +231,8 @@
|
||||
judgeGeneral(){
|
||||
// 获取微信授权信息
|
||||
authFollow({
|
||||
// url: 'https://web.douhuofalv.com/webview/webCode'
|
||||
url: 'https://web.douhuotest.douhuofalv.com/webview/webCode'
|
||||
url: 'https://web.douhuofalv.com/webview/webCode'
|
||||
// url: 'https://web.douhuotest.douhuofalv.com/webview/webCode'
|
||||
}).then(res => {
|
||||
window.location.href = res
|
||||
}).catch(err => {
|
||||
|
||||
@@ -171,6 +171,7 @@
|
||||
|
||||
orderId : '', // 订单 ID
|
||||
orderType : '', // 订单类型
|
||||
orderPrice : '', // 订单金额
|
||||
voucherState : false, // 上传凭证弹出
|
||||
disabled : false
|
||||
}
|
||||
@@ -324,7 +325,19 @@
|
||||
user_id: ''
|
||||
}).then(res => {
|
||||
this.disabled = true
|
||||
if(res.can.pay_status == 4) {
|
||||
uni.showLoading({
|
||||
title: '已支付...',
|
||||
mask : true
|
||||
})
|
||||
// 跳到委托单
|
||||
setTimeout(()=>{
|
||||
this.$Router.replace({name: 'EntrustOrder', params: {yearStatus: 1}})
|
||||
},1000)
|
||||
return
|
||||
}
|
||||
this.expressSheet(res.entrust_order_id, res.order_type, res.can, res.price)
|
||||
|
||||
}).catch( err => {
|
||||
uni.showToast({
|
||||
title: err.message,
|
||||
@@ -337,6 +350,7 @@
|
||||
expressSheet(id, type, can, price) {
|
||||
this.orderId = id
|
||||
this.orderType = type
|
||||
this.orderPrice = price
|
||||
uni.showActionSheet({
|
||||
itemList: ['线上支付', '线下支付'],
|
||||
success: sheetRes => {
|
||||
@@ -347,7 +361,7 @@
|
||||
}
|
||||
this.voucherState = true
|
||||
} else if (sheetRes.tapIndex == 1) {
|
||||
this.$Router.replace({name: 'VoucherOpen', params: {orderId: id, orderType: type}})
|
||||
this.$Router.replace({name: 'VoucherOpen', params: {orderId: id, orderType: type, price: price}})
|
||||
}
|
||||
},
|
||||
fail: sheetFail => {
|
||||
@@ -377,7 +391,7 @@
|
||||
// 上传凭证
|
||||
clickOpen() {
|
||||
this.voucherState = false
|
||||
this.$Router.replace({name: 'VoucherOpen', params: {orderId: this.orderId, orderType: this.orderType}})
|
||||
this.$Router.replace({name: 'VoucherOpen', params: {orderId: this.orderId, orderType: this.orderType, price: this.orderPrice}})
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,6 +10,9 @@
|
||||
<view class="orderTab-item" :class="{active : yearStatus == 5}" @click="stateClick('5')">已驳回</view>
|
||||
</scroll-view>
|
||||
<view class="orderState">
|
||||
<view class="orderState-item" :class="{active : refundStatus == 'all'}" @click="refundClick('all')">
|
||||
<text>全部</text>
|
||||
</view>
|
||||
<view class="orderState-item" :class="{active : refundStatus == 0}" @click="refundClick('0')">
|
||||
<text>未退款</text>
|
||||
</view>
|
||||
@@ -41,6 +44,23 @@
|
||||
{{item.entrust.title}}
|
||||
</view>
|
||||
</view>
|
||||
<view class="listItem-cont-label" v-if="item.can.lawyer_status != 0">
|
||||
<view class="listItem-cont-name">
|
||||
律师匹配
|
||||
</view>
|
||||
<view class="listItem-cont-text listItem-cont-price">
|
||||
<block v-if="item.can.lawyer_status == 1">待匹配律师</block>
|
||||
<block v-else-if="item.can.lawyer_status == 2">已匹配律师</block>
|
||||
</view>
|
||||
</view>
|
||||
<view class="listItem-cont-label" v-if="item.lawyer">
|
||||
<view class="listItem-cont-name">
|
||||
所属律师
|
||||
</view>
|
||||
<view class="listItem-cont-text listItem-cont-price">
|
||||
{{item.lawyer.name}}
|
||||
</view>
|
||||
</view>
|
||||
<view class="listItem-cont-label">
|
||||
<view class="listItem-cont-name">
|
||||
订单金额
|
||||
@@ -49,6 +69,14 @@
|
||||
¥{{item.total}}
|
||||
</view>
|
||||
</view>
|
||||
<view class="listItem-cont-label" v-if="item.remark != ''">
|
||||
<view class="listItem-cont-name">
|
||||
驳回原因
|
||||
</view>
|
||||
<view class="listItem-cont-text listItem-cont-reject" @click="rejectClick(item.remark)">
|
||||
查看原因>
|
||||
</view>
|
||||
</view>
|
||||
<view class="listItem-cont-label" v-if="item.need_pay_diff_prices != 0">
|
||||
<view class="listItem-cont-name">
|
||||
补差价金额
|
||||
@@ -58,10 +86,18 @@
|
||||
<view class="listItem-cont-btn">去支付</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="listItem-cont-label">
|
||||
<view class="listItem-cont-name">
|
||||
下单时间
|
||||
</view>
|
||||
<view class="listItem-cont-text listItem-cont-diff" @click="diffClick(item)">
|
||||
{{item.created_at}}
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="listItem-labor">
|
||||
<view class="listItem-labor-time">
|
||||
{{item.created_at}}
|
||||
<view @click="operateMore(item.entrust_order_id)" v-if="item.can.cancel">更多</view>
|
||||
</view>
|
||||
<view class="listItem-labor-btn">
|
||||
<view v-if="item.can.pay_status == 1" @click="expressSheet(item.entrust_order_id, item.order_type, item.can, item.price)" class="listItem-labor-go">
|
||||
@@ -85,7 +121,7 @@
|
||||
</view>
|
||||
|
||||
<view class="pack-center pages-hint" v-else>
|
||||
<image src="/static/imgs/Noevaluate.png"></image>
|
||||
<image src="https://douhuo-storage.oss-cn-beijing.aliyuncs.com/images/2023/06/06/7ad417d0c215db601b8e1bead05c3a5e.png"></image>
|
||||
<view>暂无订单</view>
|
||||
</view>
|
||||
|
||||
@@ -130,12 +166,12 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { entrustOrder, entrustPay, esignUrl } from '@/apis/interfaces/synthesis'
|
||||
import { entrustOrder, entrustPay, esignUrl, entrustCancel } from '@/apis/interfaces/synthesis'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
yearStatus : 0, // 0 未付款 1 2
|
||||
refundStatus : 0, // 0 退款 0 1
|
||||
refundStatus : 'all', // 全部 0 退款 0 1
|
||||
yearArr : [], // 委托单列表
|
||||
orderType : '', // 委托单列表-类型
|
||||
orderId : '', // 委托单列表-id
|
||||
@@ -149,11 +185,11 @@
|
||||
}
|
||||
},
|
||||
|
||||
created() {
|
||||
this.yearStatus = this.$Route.query.yearStatus || 0
|
||||
},
|
||||
created() {},
|
||||
|
||||
onShow() {
|
||||
this.yearStatus = this.$Route.query.yearStatus || 0
|
||||
|
||||
// 获取-委托单-列表
|
||||
this.yearServe();
|
||||
},
|
||||
@@ -204,8 +240,8 @@
|
||||
esignUrl({
|
||||
order_id : id,
|
||||
order_type: type,
|
||||
// redirect_url: "https://web.douhuofalv.com/user/index",
|
||||
redirect_url: "https://web.douhuotest.douhuofalv.com/user/index",
|
||||
redirect_url: "https://web.douhuofalv.com/user/index",
|
||||
// redirect_url: "https://web.douhuotest.douhuofalv.com/user/index",
|
||||
channel : 'h5',
|
||||
app_scheme : ''
|
||||
}).then(res => {
|
||||
@@ -283,6 +319,48 @@
|
||||
this.$Router.push({name: 'DiffList', params: {orderId: e.entrust_order_id, orderType:e.order_type, payForm: 'entrust'}})
|
||||
},
|
||||
|
||||
// 更多操作
|
||||
operateMore(id) {
|
||||
wx.showActionSheet({
|
||||
itemList: ['取消订单'],
|
||||
success: ()=> {
|
||||
wx.showModal({
|
||||
title : '提示',
|
||||
content : '是否取消订单',
|
||||
success : res=> {
|
||||
if (res.confirm) {
|
||||
entrustCancel(id).then(res => {
|
||||
wx.showToast({
|
||||
title:'取消成功',
|
||||
icon:'none'
|
||||
})
|
||||
|
||||
// 获取-委托单-列表
|
||||
this.yearServe();
|
||||
}).catch(err => {
|
||||
uni.showToast({
|
||||
title: err.message,
|
||||
icon : 'none'
|
||||
})
|
||||
})
|
||||
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
fail: err=> {}
|
||||
})
|
||||
},
|
||||
|
||||
// 查看驳回原因
|
||||
rejectClick(text){
|
||||
uni.showToast({
|
||||
title: text,
|
||||
icon : 'none'
|
||||
})
|
||||
},
|
||||
|
||||
|
||||
// 页面相关事件处理函数--监听用户下拉动作
|
||||
onPullDownRefresh() {
|
||||
// 获取-委托单-列表
|
||||
@@ -417,6 +495,16 @@
|
||||
font-weight: normal;
|
||||
}
|
||||
}
|
||||
&.listItem-cont-reject {
|
||||
color: #ec7647;
|
||||
background-color: #fff6ea;
|
||||
padding: 0 15rpx;
|
||||
border-radius: 10rpx;
|
||||
height: 52rpx;
|
||||
line-height: 52rpx;
|
||||
margin-top: 6rpx;
|
||||
font-size: 26rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
</view>
|
||||
|
||||
<view class="pack-center pages-hint" v-else>
|
||||
<image src="/static/imgs/Noevaluate.png"></image>
|
||||
<image src="https://douhuo-storage.oss-cn-beijing.aliyuncs.com/images/2023/06/06/7ad417d0c215db601b8e1bead05c3a5e.png"></image>
|
||||
<view>暂无订单</view>
|
||||
</view>
|
||||
|
||||
|
||||
@@ -240,7 +240,6 @@
|
||||
value: subData[key]
|
||||
})
|
||||
}
|
||||
|
||||
entrustPost(this.$Route.query.entrustId, {
|
||||
data: dataArr,
|
||||
type: 'self',
|
||||
@@ -248,6 +247,17 @@
|
||||
user_id: ''
|
||||
}).then(res => {
|
||||
this.disabled = true
|
||||
if(res.can.pay_status == 4) {
|
||||
uni.showLoading({
|
||||
title: '已支付...',
|
||||
mask : true
|
||||
})
|
||||
// 跳到委托单
|
||||
setTimeout(()=>{
|
||||
this.$Router.replace({name: 'EntrustOrder', params: {yearStatus: 1}})
|
||||
},1000)
|
||||
return
|
||||
}
|
||||
this.expressSheet(res.entrust_order_id, res.order_type, res.can, res.price )
|
||||
}).catch( err => {
|
||||
uni.showToast({
|
||||
|
||||
@@ -8,12 +8,21 @@
|
||||
<view class="list-title-trim"></view>
|
||||
</view>
|
||||
<view class="list-item">
|
||||
<view class="list-label" v-for="(item, index) in entrustArr" :key="index" @click="seekClick(item.expand_id)">
|
||||
<!-- @click="seekClick(item.expand_id)" -->
|
||||
<view class="list-label" v-for="(item, index) in entrustArr" :key="index">
|
||||
<view class="list-label-name">
|
||||
{{item.title}}
|
||||
</view>
|
||||
<view class="list-label-price"><rich-text :nodes="item.content"></rich-text></view>
|
||||
<view class="list-label-go">购买</view>
|
||||
<!-- <view class="list-label-go">购买</view> -->
|
||||
<!-- data[0].order.status -->
|
||||
|
||||
<view class="list-label-go" :class="{'hide': item.button_status === 2}" @click="onBtn(index)">
|
||||
<text v-if="item.button_status === 0">购买</text>
|
||||
<text v-if="item.button_status === 1">等待支付</text>
|
||||
<text v-if="item.button_status === 2">待审核</text>
|
||||
<text v-if="item.button_status === 3">审核驳回</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -23,7 +32,7 @@
|
||||
<view class="tipsBack" v-if="generalShow"></view>
|
||||
<view class="tipsCont" v-if="generalShow">
|
||||
<view class="tipsWhite">
|
||||
<image class="tipsCont-img" src="@/static/imgs/general_back.png" mode="widthFix"></image>
|
||||
<image class="tipsCont-img" src="https://douhuo-storage.oss-cn-beijing.aliyuncs.com/images/2023/06/06/6b1485847b45273618f8d922ceee889c.png" mode="widthFix"></image>
|
||||
<view class="tipsWhite-top">
|
||||
<view class="tipsWhite-name">
|
||||
请您先关注抖火法律咨询公众号
|
||||
@@ -42,6 +51,27 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 打款凭证弹出 -->
|
||||
<view class="voucherBack" :class="{active : voucherState}"></view>
|
||||
<view class="voucherPop" :class="{active : voucherState}">
|
||||
<view class="tipsWhite">
|
||||
<image class="voucherPop-img" src="https://cdn.douhuofalv.com/images/2023/04/17/f4a3c45fe9aa7db143a362fc5b13b31d.png" mode="widthFix"></image>
|
||||
<view class="voucherPop-title">
|
||||
<view class="voucherPop-name">支付提示</view>
|
||||
<view class="voucherPop-text">抱歉,此订单不支持线上支付,请上传打款凭证</view>
|
||||
<view class="voucherPop-btn">
|
||||
<!-- @click="cancelPay" -->
|
||||
<view class="voucherPop-go" @click="voucherState = false">
|
||||
暂不支付
|
||||
</view>
|
||||
<view class="voucherPop-go voucherPop-up" @click="clickOpen">
|
||||
上传凭证
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@@ -52,16 +82,23 @@
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
entrustArr : [], //案件委托列表
|
||||
generalShow : false // 公众号
|
||||
entrustArr : [], //案件委托列表
|
||||
generalShow : false,
|
||||
voucherState : false, // 上传凭证弹出// 公众号
|
||||
orderId : '', // 订单 ID
|
||||
orderType : '', // 订单类型
|
||||
orderPrice : '', // 订单金额
|
||||
}
|
||||
},
|
||||
|
||||
created() {
|
||||
created() {},
|
||||
|
||||
onShow() {
|
||||
// 获取-案件委托-列表
|
||||
this.yearServe();
|
||||
},
|
||||
|
||||
|
||||
methods: {
|
||||
// 案件委托-列表
|
||||
yearServe(){
|
||||
@@ -75,6 +112,70 @@
|
||||
})
|
||||
},
|
||||
|
||||
// 点击开通按钮
|
||||
onBtn(index){
|
||||
let obj = this.entrustArr[index]
|
||||
if(obj.order === null){
|
||||
this.seekClick(obj.expand_id)
|
||||
return
|
||||
}
|
||||
// 0 购买 1 待支付 2 待审核 3 驳回
|
||||
switch (obj.button_status){
|
||||
case 0:
|
||||
this.seekClick(obj.expand_id)
|
||||
break;
|
||||
case 1:
|
||||
this.expressSheet(obj.order.expand_order_id, obj.order.order_type, obj.order.can, obj.order.price)
|
||||
break;
|
||||
case 2:
|
||||
uni.showToast({
|
||||
title: '打款凭证审核中,请耐心等待',
|
||||
icon : 'none'
|
||||
})
|
||||
break;
|
||||
case 3:
|
||||
this.$Router.push({
|
||||
name : 'VoucherOpen',
|
||||
params : {
|
||||
payId : obj.order.offline_pays.offline_pay_id,
|
||||
type : 'edit',
|
||||
orderId : obj.order.order_id,
|
||||
orderType : obj.order.order_type.replace(/\\/g, '-'),
|
||||
price : obj.price
|
||||
}
|
||||
})
|
||||
break;
|
||||
}
|
||||
},
|
||||
|
||||
// 选择支付方式
|
||||
expressSheet(id, type, can, price) {
|
||||
this.orderId = id
|
||||
this.orderType = type
|
||||
this.orderPrice = price
|
||||
uni.showActionSheet({
|
||||
itemList: ['线上支付', '线下支付'],
|
||||
success: sheetRes => {
|
||||
if(sheetRes.tapIndex == 0) {
|
||||
if(can.online) {
|
||||
this.$Router.push({name: 'FeePay', params: {id: id, orderType: type, price: price, payForm: 'service'}})
|
||||
return
|
||||
}
|
||||
this.voucherState = true
|
||||
} else if (sheetRes.tapIndex == 1) {
|
||||
this.$Router.push({name: 'VoucherOpen', params: {orderId: id, orderType: type, price: price}})
|
||||
}
|
||||
},
|
||||
fail: sheetFail => {}
|
||||
})
|
||||
},
|
||||
|
||||
// 上传凭证
|
||||
clickOpen() {
|
||||
this.voucherState = false
|
||||
this.$Router.push({name: 'VoucherOpen', params: {orderId: this.orderId, orderType: this.orderType, price: this.orderPrice}})
|
||||
},
|
||||
|
||||
// 立即咨询
|
||||
seekClick(entrustId) {
|
||||
// 判断是否认证
|
||||
@@ -109,8 +210,8 @@
|
||||
judgeGeneral(){
|
||||
// 获取微信授权信息
|
||||
authFollow({
|
||||
// url: 'https://web.douhuofalv.com/webview/webCode'
|
||||
url: 'https://web.douhuotest.douhuofalv.com/webview/webCode'
|
||||
url: 'https://web.douhuofalv.com/webview/webCode'
|
||||
// url: 'https://web.douhuotest.douhuofalv.com/webview/webCode'
|
||||
}).then(res => {
|
||||
window.location.href = res
|
||||
}).catch(err => {
|
||||
@@ -122,7 +223,7 @@
|
||||
|
||||
// 关闭公众号
|
||||
this.generalShow = false
|
||||
}
|
||||
},
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -234,10 +335,13 @@
|
||||
color: #12053d;
|
||||
display: inline-block;
|
||||
line-height: 54rpx;
|
||||
padding: 0 35rpx;
|
||||
padding: 0 30rpx;
|
||||
border-radius: 54rpx;
|
||||
font-size: 28rpx;
|
||||
font-size: 26rpx;
|
||||
font-weight: 600;
|
||||
&.hide{
|
||||
opacity: .7;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -319,4 +423,77 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 打款凭证弹出
|
||||
.voucherBack {
|
||||
position: fixed;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
left: 0;
|
||||
top: 0;
|
||||
z-index: 99;
|
||||
background-color: rgba(0, 0, 0, .6);
|
||||
display: none;
|
||||
&.active {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
.voucherPop {
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-box-pack: center;
|
||||
position: fixed;
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
z-index: 100;
|
||||
padding: 0 10%;
|
||||
box-sizing: border-box;
|
||||
display: none;
|
||||
&.active {
|
||||
display: -webkit-box;
|
||||
}
|
||||
.tipsWhite {
|
||||
background-color: #ffffff;
|
||||
border-radius: 20rpx;
|
||||
position: relative;
|
||||
.voucherPop-img {
|
||||
position: absolute !important;
|
||||
top: -80rpx;
|
||||
right: calc(50% - 100rpx);
|
||||
width: 200rpx;
|
||||
}
|
||||
.voucherPop-title {
|
||||
box-sizing: border-box;
|
||||
padding: 50rpx 70rpx;
|
||||
margin-top: 100rpx;
|
||||
text-align: center;
|
||||
.voucherPop-name {
|
||||
font-weight: 600;
|
||||
font-size: 38rpx;
|
||||
}
|
||||
.voucherPop-text {
|
||||
padding: 30rpx 0 35rpx;
|
||||
line-height: 44rpx;
|
||||
}
|
||||
.voucherPop-btn {
|
||||
display: flex;
|
||||
.voucherPop-go {
|
||||
flex: 2;
|
||||
text-align: center;
|
||||
border: 2rpx solid #da2b56;
|
||||
color: #da2b56;
|
||||
margin: 0 15rpx;
|
||||
line-height: 74rpx;
|
||||
border-radius: 10rpx;
|
||||
background-color: #ffffff;
|
||||
&.voucherPop-up {
|
||||
background-color: #da2b56;
|
||||
color: #ffffff;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -34,6 +34,23 @@
|
||||
{{item.expand.title}}
|
||||
</view>
|
||||
</view>
|
||||
<view class="listItem-cont-label" v-if="item.can.lawyer_status != 0">
|
||||
<view class="listItem-cont-name">
|
||||
律师匹配
|
||||
</view>
|
||||
<view class="listItem-cont-text listItem-cont-price">
|
||||
<block v-if="item.can.lawyer_status == 1">待匹配律师</block>
|
||||
<block v-else-if="item.can.lawyer_status == 2">已匹配律师</block>
|
||||
</view>
|
||||
</view>
|
||||
<view class="listItem-cont-label" v-if="item.lawyer">
|
||||
<view class="listItem-cont-name">
|
||||
所属律师
|
||||
</view>
|
||||
<view class="listItem-cont-text listItem-cont-price">
|
||||
{{item.lawyer.name}}
|
||||
</view>
|
||||
</view>
|
||||
<view class="listItem-cont-label">
|
||||
<view class="listItem-cont-name">
|
||||
订单金额
|
||||
@@ -51,10 +68,18 @@
|
||||
<view class="listItem-cont-btn">去支付</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="listItem-cont-label" v-if="item.need_pay_diff_prices != 0">
|
||||
<view class="listItem-cont-name">
|
||||
下单时间
|
||||
</view>
|
||||
<view class="listItem-cont-text listItem-cont-diff" @click="diffClick(item)">
|
||||
{{item.created_at}}
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="listItem-labor">
|
||||
<view class="listItem-labor-time">
|
||||
{{item.created_at}}
|
||||
<view @click="operateMore(item.expand_order_id)" v-if="item.can.cancel">更多</view>
|
||||
</view>
|
||||
<view class="listItem-labor-btn">
|
||||
<view v-if="item.can.pay_status == 1" @click="expressSheet(item.expand_order_id, item.order_type, item.can, item.price)" class="listItem-labor-go">
|
||||
@@ -79,7 +104,7 @@
|
||||
</view>
|
||||
|
||||
<view class="pack-center pages-hint" v-else>
|
||||
<image src="/static/imgs/Noevaluate.png"></image>
|
||||
<image src="https://douhuo-storage.oss-cn-beijing.aliyuncs.com/images/2023/06/06/7ad417d0c215db601b8e1bead05c3a5e.png"></image>
|
||||
<view>暂无订单</view>
|
||||
</view>
|
||||
|
||||
@@ -123,7 +148,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { expandOrder, entrustPay, esignUrl } from '@/apis/interfaces/synthesis'
|
||||
import { expandOrder, entrustPay, esignUrl, expandCancel } from '@/apis/interfaces/synthesis'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
@@ -194,8 +219,8 @@
|
||||
esignUrl({
|
||||
order_id : id,
|
||||
order_type: type,
|
||||
// redirect_url: "https://web.douhuofalv.com/user/index",
|
||||
redirect_url: "https://web.douhuotest.douhuofalv.com/user/index",
|
||||
redirect_url: "https://web.douhuofalv.com/user/index",
|
||||
// redirect_url: "https://web.douhuotest.douhuofalv.com/user/index",
|
||||
channel : 'h5',
|
||||
app_scheme : ''
|
||||
}).then(res => {
|
||||
@@ -266,6 +291,39 @@
|
||||
})
|
||||
},
|
||||
|
||||
// 更多操作
|
||||
operateMore(id) {
|
||||
wx.showActionSheet({
|
||||
itemList: ['取消订单'],
|
||||
success: ()=> {
|
||||
wx.showModal({
|
||||
title : '提示',
|
||||
content : '是否取消订单',
|
||||
success : res=> {
|
||||
if (res.confirm) {
|
||||
expandCancel(id).then(res => {
|
||||
wx.showToast({
|
||||
title:'取消成功',
|
||||
icon:'none'
|
||||
})
|
||||
|
||||
// 获取-委托单-列表
|
||||
this.yearServe();
|
||||
}).catch(err => {
|
||||
uni.showToast({
|
||||
title: err.message,
|
||||
icon : 'none'
|
||||
})
|
||||
})
|
||||
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
fail: err=> {}
|
||||
})
|
||||
},
|
||||
|
||||
// 页面相关事件处理函数--监听用户下拉动作
|
||||
onPullDownRefresh() {
|
||||
// 获取-拓展单-列表
|
||||
|
||||
@@ -18,7 +18,12 @@
|
||||
<view class="confirm-item-text" v-if="item.key == 'address'">{{item.value_text.province_name}}{{item.value_text.city}}</view>
|
||||
<view class="confirm-item-text" v-else><text v-if="item.key == 'price'">¥</text> {{item.value_text}}</view>
|
||||
</view>
|
||||
<view class="confirm-item" v-if="seekData.lawyer">
|
||||
<view class="confirm-item-label">所属律师</view>
|
||||
<view class="confirm-item-text">{{seekData.lawyer.name}}</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="confirm-user">
|
||||
<view class="confirm-user-text"><image src="https://cdn.douhuofalv.com/images/2023/04/20/c359f2fa277e6658157c7108f37d0d44.png" mode="widthFix"></image> 业务联系人</view>
|
||||
<view class="confirm-user-name">{{parent.nickname}}</view>
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
<view class="paymentList-label" @click="payType('umsAli')">
|
||||
<view class="paymentList-left">
|
||||
<image class="paymentList-icon" src="@/static/imgs/aliPay.png" mode="widthFix"></image>支付宝(银联商务)
|
||||
<image class="paymentList-icon" src="https://douhuo-storage.oss-cn-beijing.aliyuncs.com/images/2023/06/06/4aaf302e9d8a90c21c39b3d2f39cebc2.png" mode="widthFix"></image>支付宝(银联商务)
|
||||
</view>
|
||||
<view class="paymentList-right">
|
||||
<image class="paymentList-img" :src="Payment == 'umsAli' ? '/static/imgs/payCheck_active.png' : '/static/imgs/payCheck.png'" mode="widthFix"></image>
|
||||
@@ -31,7 +31,7 @@
|
||||
</view>
|
||||
<view class="paymentList-label" @click="payType('umsMp')">
|
||||
<view class="paymentList-left">
|
||||
<image class="paymentList-icon" src="@/static/imgs/minPay.png" mode="widthFix"></image>微信(银联商务)
|
||||
<image class="paymentList-icon" src="https://douhuo-storage.oss-cn-beijing.aliyuncs.com/images/2023/06/06/2a4ea8f9f714e39088648383d5c52f32.png" mode="widthFix"></image>微信(银联商务)
|
||||
</view>
|
||||
<view class="paymentList-right">
|
||||
<image class="paymentList-img" :src="Payment == 'umsMp' ? '/static/imgs/payCheck_active.png' : '/static/imgs/payCheck.png'" mode="widthFix"></image>
|
||||
@@ -40,7 +40,7 @@
|
||||
|
||||
<view class="paymentList-label" @click="payType('dgAli')">
|
||||
<view class="paymentList-left">
|
||||
<image class="paymentList-icon" src="@/static/imgs/aliPay.png" mode="widthFix"></image>支付宝(汇付)
|
||||
<image class="paymentList-icon" src="https://douhuo-storage.oss-cn-beijing.aliyuncs.com/images/2023/06/06/4aaf302e9d8a90c21c39b3d2f39cebc2.png" mode="widthFix"></image>支付宝(汇付)
|
||||
</view>
|
||||
<view class="paymentList-right">
|
||||
<image class="paymentList-img" :src="Payment == 'dgAli' ? '/static/imgs/payCheck_active.png' : '/static/imgs/payCheck.png'" mode="widthFix"></image>
|
||||
@@ -48,7 +48,7 @@
|
||||
</view>
|
||||
<view class="paymentList-label" @click="payType('dgwx')" >
|
||||
<view class="paymentList-left">
|
||||
<image class="paymentList-icon" src="@/static/imgs/minPay.png" mode="widthFix"></image>微信(汇付)
|
||||
<image class="paymentList-icon" src="https://douhuo-storage.oss-cn-beijing.aliyuncs.com/images/2023/06/06/2a4ea8f9f714e39088648383d5c52f32.png" mode="widthFix"></image>微信(汇付)
|
||||
</view>
|
||||
<view class="paymentList-right">
|
||||
<image class="paymentList-img" :src="Payment == 'dgwx' ? '/static/imgs/payCheck_active.png' : '/static/imgs/payCheck.png'" mode="widthFix"></image>
|
||||
@@ -61,7 +61,7 @@
|
||||
<!-- web.douhuotest.douhuofalv dev=0是线上 dev=1是线下 -->
|
||||
<wx-open-launch-weapp
|
||||
username="gh_918c81628d6f"
|
||||
:path="'pages/pay/pay?type=h5&dev=1&trade_id=' + tradeId + '&token=' + token"
|
||||
:path="'pages/pay/pay?type=h5&dev=0&trade_id=' + tradeId + '&token=' + token"
|
||||
>
|
||||
<script type="text/wxtag-template">
|
||||
<style>
|
||||
@@ -95,7 +95,7 @@
|
||||
<!-- 支付成功弹出 -->
|
||||
<view class="payMakeBack" :class="{active: payMakePop}" catchtouchmove='true'></view>
|
||||
<view class="payMakeCont" :class="{active: payMakePop}" catchtouchmove='true'>
|
||||
<image class="payMakeCont-img" src="@/static/imgs/payMakeCont_icon.png" mode="widthFix"></image>
|
||||
<image class="payMakeCont-img" src="https://douhuo-storage.oss-cn-beijing.aliyuncs.com/images/2023/06/06/5be61f2fb4f14736867078de48e09355.png" mode="widthFix"></image>
|
||||
<view class="payMakeCont-title">
|
||||
支付成功
|
||||
</view>
|
||||
@@ -352,8 +352,8 @@
|
||||
|
||||
// 获取微信授权信息-获取oppid
|
||||
authFollow({
|
||||
// url: 'https://web.douhuofalv.com/webWechat/index?id=' + this.$Route.query.id + '&style=' + this.$Route.query.style + '&price=' + this.$Route.query.price
|
||||
url: 'https://web.douhuotest.douhuofalv.com/webWechat/index?id=' + this.orderId + '&style=' + this.$Route.query.style + '&price=' + this.$Route.query.price
|
||||
url: 'https://web.douhuofalv.com/webWechat/index?id=' + this.$Route.query.id + '&style=' + this.$Route.query.style + '&price=' + this.$Route.query.price
|
||||
// url: 'https://web.douhuotest.douhuofalv.com/webWechat/index?id=' + this.orderId + '&style=' + this.$Route.query.style + '&price=' + this.$Route.query.price
|
||||
}).then(res => {
|
||||
window.location.href = res
|
||||
}).catch(err => {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<view class="content">
|
||||
<view class="point">
|
||||
<img class="point-img" src="@/static/imgs/payImg.png">
|
||||
<img class="point-img" src="https://douhuo-storage.oss-cn-beijing.aliyuncs.com/images/2023/06/06/4af6ad82d1e472ce1297feec0b7bebce.png">
|
||||
<view class="point-text">
|
||||
<view class="point-name">
|
||||
支付成功
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
<view class="tipsBack" v-if="generalShow"></view>
|
||||
<view class="tipsCont" v-if="generalShow">
|
||||
<view class="tipsWhite">
|
||||
<image class="tipsCont-img" src="@/static/imgs/general_back.png" mode="widthFix"></image>
|
||||
<image class="tipsCont-img" src="https://douhuo-storage.oss-cn-beijing.aliyuncs.com/images/2023/06/06/6b1485847b45273618f8d922ceee889c.png" mode="widthFix"></image>
|
||||
<view class="tipsWhite-top">
|
||||
<view class="tipsWhite-name">
|
||||
请您先关注抖火法律咨询公众号
|
||||
@@ -243,8 +243,8 @@
|
||||
judgeGeneral(){
|
||||
// 获取微信授权信息
|
||||
authFollow({
|
||||
// url: 'https://web.douhuofalv.com/webview/webCode'
|
||||
url: 'https://web.douhuotest.douhuofalv.com/webview/webCode'
|
||||
url: 'https://web.douhuofalv.com/webview/webCode'
|
||||
// url: 'https://web.douhuotest.douhuofalv.com/webview/webCode'
|
||||
}).then(res => {
|
||||
window.location.href = res
|
||||
}).catch(err => {
|
||||
|
||||
@@ -22,6 +22,22 @@
|
||||
{{item.user.parent.nickname}}
|
||||
</view>
|
||||
</view>
|
||||
<view class="listItem-cont-label" v-if="item.lawyer">
|
||||
<view class="listItem-cont-name">
|
||||
所属律师
|
||||
</view>
|
||||
<view class="listItem-cont-text listItem-cont-price">
|
||||
{{item.lawyer.name}}
|
||||
</view>
|
||||
</view>
|
||||
<!-- <view class="listItem-cont-label" v-if="item.lawyer">
|
||||
<view class="listItem-cont-name">
|
||||
律师电话
|
||||
</view>
|
||||
<view class="listItem-cont-text listItem-cont-price">
|
||||
{{item.lawyer.username}}
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
<view class="listItem-labor">
|
||||
<view class="listItem-labor-time">
|
||||
@@ -37,7 +53,7 @@
|
||||
</view>
|
||||
|
||||
<view class="pack-center pages-hint" v-else>
|
||||
<image src="/static/imgs/Noevaluate.png"></image>
|
||||
<image src="https://douhuo-storage.oss-cn-beijing.aliyuncs.com/images/2023/06/06/7ad417d0c215db601b8e1bead05c3a5e.png"></image>
|
||||
<view>暂无订单</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -69,7 +69,7 @@
|
||||
<view class="tipsBack" v-if="generalShow"></view>
|
||||
<view class="tipsCont" v-if="generalShow">
|
||||
<view class="tipsWhite">
|
||||
<image class="tipsCont-img" src="@/static/imgs/general_back.png" mode="widthFix"></image>
|
||||
<image class="tipsCont-img" src="https://douhuo-storage.oss-cn-beijing.aliyuncs.com/images/2023/06/06/6b1485847b45273618f8d922ceee889c.png" mode="widthFix"></image>
|
||||
<view class="tipsWhite-top">
|
||||
<view class="tipsWhite-name">
|
||||
请您先关注抖火法律咨询公众号
|
||||
@@ -191,7 +191,7 @@
|
||||
}
|
||||
}
|
||||
})
|
||||
break;
|
||||
break;
|
||||
}
|
||||
},
|
||||
|
||||
@@ -268,8 +268,8 @@
|
||||
judgeGeneral(){
|
||||
// 获取微信授权信息
|
||||
authFollow({
|
||||
// url: 'https://web.douhuofalv.com/webview/webCode'
|
||||
url: 'https://web.douhuotest.douhuofalv.com/webview/webCode'
|
||||
url: 'https://web.douhuofalv.com/webview/webCode'
|
||||
// url: 'https://web.douhuotest.douhuofalv.com/webview/webCode'
|
||||
}).then(res => {
|
||||
window.location.href = res
|
||||
}).catch(err => {
|
||||
|
||||
@@ -385,7 +385,7 @@
|
||||
.idcardBtn {
|
||||
background-color: #111e4b;
|
||||
width: 100%;
|
||||
padding: 20rpx 60rpx 60rpx;
|
||||
padding: 20rpx 60rpx 140rpx;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
.idcardBtn-go {
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
<image class="cover-item-src" :src="item" mode="aspectFill"></image>
|
||||
</view>
|
||||
<view class="cover-item border" @click="albumClick" v-if="pathArr.length < 9">
|
||||
<image class="cover-item-add" src="@/static/imgs/cover_add.png" mode="aspectFill"></image>
|
||||
<image class="cover-item-add" src="https://douhuo-storage.oss-cn-beijing.aliyuncs.com/images/2023/06/06/0e777b11d995a02f698b47efd66e8838.png" mode="aspectFill"></image>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -109,7 +109,8 @@
|
||||
}
|
||||
},
|
||||
|
||||
created() {
|
||||
onShow() {
|
||||
console.log(this.$Route.query)
|
||||
this.type = this.$Route.query.type
|
||||
this.price = this.$Route.query.price
|
||||
|
||||
|
||||
@@ -16,6 +16,10 @@
|
||||
<view class="confirm-item-text" v-if="item.key == 'address'">{{item.value_text.province_name}}{{item.value_text.city}}</view>
|
||||
<view class="confirm-item-text" v-else><text v-if="item.key == 'price'">¥</text> {{item.value_text}}</view>
|
||||
</view>
|
||||
<view class="confirm-item" v-if="seekData.lawyer">
|
||||
<view class="confirm-item-label">所属律师</view>
|
||||
<view class="confirm-item-text">{{seekData.lawyer.name}}</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="confirm-user">
|
||||
<view class="confirm-user-text"><image src="https://cdn.douhuofalv.com/images/2023/04/20/c359f2fa277e6658157c7108f37d0d44.png" mode="widthFix"></image> 业务联系人</view>
|
||||
|
||||
@@ -47,10 +47,27 @@
|
||||
¥{{item.total}}
|
||||
</view>
|
||||
</view>
|
||||
<view class="listItem-cont-label" v-if="item.can.lawyer_status != 0">
|
||||
<view class="listItem-cont-name">
|
||||
律师匹配
|
||||
</view>
|
||||
<view class="listItem-cont-text listItem-cont-price">
|
||||
<block v-if="item.can.lawyer_status == 1">待匹配律师</block>
|
||||
<block v-else-if="item.can.lawyer_status == 2">已匹配律师</block>
|
||||
</view>
|
||||
</view>
|
||||
<view class="listItem-cont-label">
|
||||
<view class="listItem-cont-name">
|
||||
下单时间
|
||||
</view>
|
||||
<view class="listItem-cont-text listItem-cont-price">
|
||||
{{item.created_at}}
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="listItem-labor">
|
||||
<view class="listItem-labor-time">
|
||||
{{item.created_at}}
|
||||
<view @click="operateMore(item.order_id)" v-if="item.can.cancel">更多</view>
|
||||
</view>
|
||||
<view class="listItem-labor-btn">
|
||||
<view v-if="item.can.sign" @click="esignClick(item.order_id, item.order_type)" class="listItem-labor-go">
|
||||
@@ -70,7 +87,7 @@
|
||||
</view>
|
||||
|
||||
<view class="pack-center pages-hint" v-else>
|
||||
<image src="/static/imgs/Noevaluate.png"></image>
|
||||
<image src="https://douhuo-storage.oss-cn-beijing.aliyuncs.com/images/2023/06/06/7ad417d0c215db601b8e1bead05c3a5e.png"></image>
|
||||
<view>暂无订单</view>
|
||||
</view>
|
||||
|
||||
@@ -97,7 +114,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { yearOrder, esignUrl } from '@/apis/interfaces/synthesis'
|
||||
import { yearOrder, esignUrl, yearCancel } from '@/apis/interfaces/synthesis'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
@@ -201,8 +218,8 @@
|
||||
esignUrl({
|
||||
order_id : id,
|
||||
order_type: type,
|
||||
// redirect_url: "https://web.douhuofalv.com/user/index",
|
||||
redirect_url: "https://web.douhuotest.douhuofalv.com/user/index",
|
||||
redirect_url: "https://web.douhuofalv.com/user/index",
|
||||
// redirect_url: "https://web.douhuotest.douhuofalv.com/user/index",
|
||||
channel : 'h5',
|
||||
app_scheme : ''
|
||||
}).then(res => {
|
||||
@@ -215,6 +232,39 @@
|
||||
})
|
||||
},
|
||||
|
||||
// 更多操作
|
||||
operateMore(id) {
|
||||
wx.showActionSheet({
|
||||
itemList: ['取消订单'],
|
||||
success: ()=> {
|
||||
wx.showModal({
|
||||
title : '提示',
|
||||
content : '是否取消订单',
|
||||
success : res=> {
|
||||
if (res.confirm) {
|
||||
yearCancel(id).then(res => {
|
||||
wx.showToast({
|
||||
title:'取消成功',
|
||||
icon:'none'
|
||||
})
|
||||
|
||||
// 获取-年费咨询单列表
|
||||
this.yearServe();
|
||||
}).catch(err => {
|
||||
uni.showToast({
|
||||
title: err.message,
|
||||
icon : 'none'
|
||||
})
|
||||
})
|
||||
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
fail: err=> {}
|
||||
})
|
||||
},
|
||||
|
||||
|
||||
// 页面相关事件处理函数--监听用户下拉动作
|
||||
onPullDownRefresh() {
|
||||
|
||||
@@ -193,7 +193,7 @@
|
||||
|
||||
// 保存图片
|
||||
shareClick() {
|
||||
this.paintings.views[0].url = "/static/imgs/shareBack.jpg"
|
||||
this.paintings.views[0].url = "https://douhuo-storage.oss-cn-beijing.aliyuncs.com/images/2023/06/06/d34173270df8d67cef04cb3879076438.jpg"
|
||||
this.paintings.views[1].text = "订单号:" + this.seekData.order_no
|
||||
this.paintings.views[2].text = this.seekData.params[0].title + ':' + this.seekData.params[0].value_text
|
||||
this.paintings.views[3].text = this.seekData.params[1].title + ':' + this.seekData.params[1].value_text
|
||||
|
||||
Reference in New Issue
Block a user