综法订单新增取消功能,新增匹配律师状态

This commit is contained in:
唐明明
2023-06-08 13:35:07 +08:00
parent 23aaf13ffa
commit ca8c6dff01
7 changed files with 99 additions and 11 deletions

View File

@@ -15,9 +15,10 @@
<label>订单类型</label>
<view class="nowrap">{{ service.title || '-' }}</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" @click="onSing(no)" v-if="can.sign && isSelf">签约</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)">
@@ -119,6 +121,10 @@
// 支付
onOPay(id){
this.$emit('pay', id)
},
// 取消订单
onCancel(id){
this.$emit('cancel', id)
}
}
}