feat: 签署问题
This commit is contained in:
@@ -21,8 +21,8 @@ import Header from '@/components/common/header.vue';
|
||||
import TopSafe from '@/components/common/top-safe.nvue'
|
||||
import ContractItem from './components/contract-item.vue'
|
||||
import DownPopup from '@/components/common/down-popup.vue';
|
||||
import { getContractList, signContract } from '@/api/contract.js'
|
||||
import { getSignUrl, getMiniProgramSignUrl } from '@/api/order.js';
|
||||
import { getContractList, isSignContract, } from '@/api/contract.js'
|
||||
import { getSignUrl, getMiniProgramSignUrl, signContract } from '@/api/order.js';
|
||||
import func from '@/utils/func.js';
|
||||
|
||||
export default {
|
||||
@@ -70,7 +70,7 @@ export default {
|
||||
this.downShow = false;
|
||||
},
|
||||
isSignContract() {
|
||||
signContract().then(res => {
|
||||
isSignContract().then(res => {
|
||||
if (res.bizcode == 100) {
|
||||
this.type = res.data;
|
||||
if (this.type) {
|
||||
|
||||
@@ -155,7 +155,7 @@
|
||||
<view class="content_info">
|
||||
<view class="content_info_title">客服电话</view>
|
||||
<view class="content_info_mobile">
|
||||
{{CUSTOMER_SERVICE_PHONE_NUMBER}}
|
||||
{{ CUSTOMER_SERVICE_PHONE_NUMBER }}
|
||||
<view style="margin-left: 20rpx;">
|
||||
<up-image src="/static/common/copy_c.png" width="14" height="14" bgColor="#f1f6ff00"
|
||||
@click="copyMobile(CUSTOMER_SERVICE_PHONE_NUMBER)"></up-image>
|
||||
@@ -171,7 +171,7 @@
|
||||
<view class="content_info">
|
||||
<view class="content_info_title">客服微信</view>
|
||||
<view class="content_info_mobile">
|
||||
{{CUSTOMER_SERVICE_PHONE_NUMBER}}
|
||||
{{ CUSTOMER_SERVICE_PHONE_NUMBER }}
|
||||
<view style="margin-left: 20rpx;">
|
||||
<up-image src="/static/common/copy_c.png" width="14" height="14" bgColor="#f1f6ff00"
|
||||
@click="copyMobile(CUSTOMER_SERVICE_PHONE_NUMBER)"></up-image>
|
||||
@@ -490,11 +490,8 @@ export default {
|
||||
return;
|
||||
}
|
||||
|
||||
const params = {
|
||||
// 需要的参数
|
||||
orderId: this.selectItem.id,
|
||||
}
|
||||
const { bizcode, data } = await signContract(params);
|
||||
|
||||
const { bizcode, data } = await signContract();
|
||||
if (bizcode === 100) {
|
||||
this.flowId = data.flowId;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user