feat: 签署问题
This commit is contained in:
+13
-13
@@ -2,33 +2,33 @@ import request from '@/utils/request.js'; // 引入封装的方法
|
||||
|
||||
|
||||
// 是否已签
|
||||
export function signContract() {
|
||||
export function isSignContract() {
|
||||
// return request.post('/common/getSmsCode',qs.stringify(params));
|
||||
return request({
|
||||
url: "/signature/isSignContract",
|
||||
method: "get",
|
||||
});
|
||||
url: "/signature/isSignContract",
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
export function getContractList() {
|
||||
// return request.post('/common/getSmsCode',qs.stringify(params));
|
||||
return request({
|
||||
url: "/signature/getSignContractList",
|
||||
method: "get",
|
||||
});
|
||||
url: "/signature/getSignContractList",
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
export function contractInfo(data) {
|
||||
// return request.post('/common/getSmsCode',qs.stringify(params));
|
||||
return request({
|
||||
url: "/signature/getSignContractInfo",
|
||||
method: "get",
|
||||
url: "/signature/getSignContractInfo",
|
||||
method: "get",
|
||||
data
|
||||
});
|
||||
});
|
||||
}
|
||||
export function quickens(data) {
|
||||
// return request.post('/common/getSmsCode',qs.stringify(params));
|
||||
return request({
|
||||
url: "/finance/getQuickens",
|
||||
method: "get",
|
||||
url: "/finance/getQuickens",
|
||||
method: "get",
|
||||
data
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
@@ -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