综法订单新增取消功能,新增匹配律师状态
This commit is contained in:
@@ -6,9 +6,10 @@
|
||||
<view class="order-block-content">
|
||||
<view class="order-user">{{user.nickname}}<text>{{user.username}}</text></view>
|
||||
<view class="order-content">
|
||||
<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>
|
||||
@@ -20,6 +21,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)">联系TA</button>
|
||||
<button class="btn-sign" @click="onInfo(no)">查看</button>
|
||||
</view>
|
||||
@@ -65,6 +67,10 @@
|
||||
default : () => {
|
||||
return { name: '' }
|
||||
}
|
||||
},
|
||||
isSelf: {
|
||||
type : Boolean,
|
||||
default : false
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
@@ -78,6 +84,10 @@
|
||||
},
|
||||
onSing(id){
|
||||
this.$emit('info', id)
|
||||
},
|
||||
// 取消订单
|
||||
onCancel(id){
|
||||
this.$emit('cancel', id)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user