Merge branch 'develop' of https://gitee.com/qinxingxing/alpha-shopping into develop
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@ 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",
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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