[更新]
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user