调整创建订单,实名认证,签约

This commit is contained in:
唐明明
2022-12-29 18:53:36 +08:00
parent 3870865322
commit 2a851d47b2
19 changed files with 862 additions and 539 deletions

View File

@@ -47,6 +47,18 @@
<label>咨询服务费</label>
<view class="nowrap">{{item.total}}</view>
</view>
<view class="orders-content-item" v-if="item.diff_prices_pays > 0">
<label>补差价金额</label>
<view class="nowrap">{{item.diff_prices_pays}}</view>
</view>
<view class="orders-content-item" v-if="item.deliver_count.can && item.deliver_count.num < item.deliver_count.all" @click="$Router.push({name: 'MailedOrder', params: {orderId: item.business_order_id}})">
<label>邮寄资料</label>
<view class="nowrap orders-content-btn">({{item.deliver_count.num}}/{{item.deliver_count.all}})去邮寄<uni-icons type="right" size="32rpx" color="#446EFE"></uni-icons></view>
</view>
<view class="orders-content-item" v-if="item.deliver_count.num > 0" @click="$Router.push({name: 'WorkExpress', params: {orderId: item.business_order_id}})">
<label>邮寄状态</label>
<view class="nowrap orders-content-btn">查看<uni-icons type="right" size="32rpx" color="#446EFE"></uni-icons></view>
</view>
<view class="orders-content-item">
<label>下单时间</label>
<view class="nowrap">{{item.created_at}}</view>
@@ -58,7 +70,6 @@
<view class="user-name">{{item.user.nickname}}</view>
</view>
<view class="btns">
<view class="btns-item btns-border" v-if="item.deliver_count.can && item.deliver_count.num < item.deliver_count.all" @click="$Router.push({name: 'MailedOrder', params: {orderId: item.business_order_id}})">{{item.deliver_count.num}}/{{item.deliver_count.all}})邮寄材料</view>
<view class="btns-item btns-border" v-if="item.can.transfer" @click="onTransfers(index, item)">转让</view>
<view class="btns-item btns-border" v-if="item.status.value == 2" @click="onOrdersService(item.business_order_id)">匹配</view>
<view class="btns-item btns-border" v-if="item.status.value == 4 && item.is_my" @click="onSign(item.business_order_id)">签约</view>
@@ -246,7 +257,13 @@
}).then(res => {
this.$store.commit('setOrderId', id)
this.getSignState = true
plus.runtime.openURL(res.sign_url)
this.$Router.push({
name: 'ESign',
params: {
url: res.sign_url
}
})
// plus.runtime.openURL(res.sign_url)
uni.hideLoading()
}).catch(err => {
uni.showToast({
@@ -324,6 +341,9 @@
label{
color: #999999;
}
.orders-content-btn{
color: $main-color;
}
&.orders-content-bottom{
padding-right: 40rpx;
position: relative;