feat:订单id
This commit is contained in:
@@ -3,12 +3,11 @@
|
|||||||
<TopSafe></TopSafe>
|
<TopSafe></TopSafe>
|
||||||
<Header title="我的合同" />
|
<Header title="我的合同" />
|
||||||
<view class="contract-view">
|
<view class="contract-view">
|
||||||
<ContractItem :type="type" :text="obj && obj.signatureName" :time="obj && obj.time" class="mt-24"
|
<ContractItem :type="type" :text="obj && obj.signatureName" :time="obj && obj.time" class="mt-24" @click="onBtn">
|
||||||
@click="onBtn"></ContractItem>
|
</ContractItem>
|
||||||
</view>
|
</view>
|
||||||
<u-modal :show="tipsShow" :showCancelButton="true" confirmText="去认证"
|
<u-modal :show="tipsShow" :showCancelButton="true" confirmText="去认证" @cancel="onTipsCancel" @confirm="onConfirm"
|
||||||
@cancel="onTipsCancel" @confirm="onConfirm" confirmColor="#7934F6"
|
confirmColor="#7934F6" title="提示" content='签署合同需要进行实名认证,请先完成实名认证'></u-modal>
|
||||||
title="提示" content='签署合同需要进行实名认证,请先完成实名认证'></u-modal>
|
|
||||||
<DownPopup :show="downShow" @ok="onSignContract" @cancel="onCancel" />
|
<DownPopup :show="downShow" @ok="onSignContract" @cancel="onCancel" />
|
||||||
<up-toast ref="uToastRef"></up-toast>
|
<up-toast ref="uToastRef"></up-toast>
|
||||||
<!-- 腾讯电子签H5 → 集成到UniApp -->
|
<!-- 腾讯电子签H5 → 集成到UniApp -->
|
||||||
@@ -35,7 +34,6 @@ export default {
|
|||||||
flowId: null,
|
flowId: null,
|
||||||
signUrl: null,
|
signUrl: null,
|
||||||
downShow: false,
|
downShow: false,
|
||||||
selectItem: null,
|
|
||||||
tipsShow: false,
|
tipsShow: false,
|
||||||
userInfo: null
|
userInfo: null
|
||||||
};
|
};
|
||||||
@@ -124,11 +122,8 @@ export default {
|
|||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const params = {
|
|
||||||
// 需要的参数
|
const { bizcode, data } = await signContract();
|
||||||
orderId: this.selectItem.id,
|
|
||||||
}
|
|
||||||
const { bizcode, data } = await signContract(params);
|
|
||||||
if (bizcode === 100) {
|
if (bizcode === 100) {
|
||||||
this.flowId = data.flowId;
|
this.flowId = data.flowId;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user