综法订单新增取消功能,新增匹配律师状态
This commit is contained in:
@@ -15,9 +15,10 @@
|
||||
<label>需补差价</label>
|
||||
<view class="nowrap">{{ diff || '-' }}</view>
|
||||
</view>
|
||||
<view class="order-content-type">
|
||||
<view class="order-content-type" v-if="can.lawyer_status != 0">
|
||||
<label>服务律师</label>
|
||||
<view class="nowrap">{{ lawyer.name || '-' }}</view>
|
||||
<view class="nowrap" v-if="can.lawyer_status === 2">{{ lawyer.name || '-' }}</view>
|
||||
<view class="nowrap" style="color: #FFAB3F;" v-else>待匹配律师</view>
|
||||
</view>
|
||||
<view class="order-content-type">
|
||||
<label>服务金额</label>
|
||||
@@ -29,6 +30,7 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="order-btns">
|
||||
<button class="btn-cancel" v-if="can.cancel && isSelf" @click="onCancel(no)">取消</button>
|
||||
<button class="btn-cancel" @click="onPhone(user.username)">联系TA</button>
|
||||
<button class="btn-cancel" :class="{'in': can.pay_status == 3}" v-if="can.pay_status == 1 || can.pay_status == 2 || can.pay_status == 3" @click="onOPay(no)">
|
||||
<text v-if="can.pay_status == 1">支付</text>
|
||||
@@ -96,6 +98,10 @@
|
||||
default : () => {
|
||||
return { name: '' }
|
||||
}
|
||||
},
|
||||
isSelf: {
|
||||
type : Boolean,
|
||||
default : false
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
@@ -114,6 +120,10 @@
|
||||
// 支付
|
||||
onOPay(id){
|
||||
this.$emit('pay', id)
|
||||
},
|
||||
// 取消订单
|
||||
onCancel(id){
|
||||
this.$emit('cancel', id)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user