Commit a72f71eb by cen

fix: 提示修改

1 parent f0666f78
......@@ -258,7 +258,8 @@ export const uploadCustodyAgreement = (data = {}) => {
*/
export const webPayDepositApplication = (data = {}) => {
return gscPost("/evalElectronicContract/webPayDepositApplication", data, {
timeout: 30000
timeout: 30000,
returnAll: true
})
}
/**
......@@ -266,7 +267,8 @@ export const webPayDepositApplication = (data = {}) => {
*/
export const webPayFinalApplication = (data = {}) => {
return gscPost("/evalElectronicContract/webPayFinalApplication", data, {
timeout: 30000
timeout: 30000,
returnAll: true
})
}
/**
......
......@@ -1041,13 +1041,18 @@ export default {
if (res.data.code == 0 && res.data.data == 2) {
const params = { contractNo: this.detailInfo.contractNo, evalOrderNo: this.detailInfo.evalOrderNo }
if (type == 1) {
await webPayDepositApplication(params)
this.handleCancel()
this.$message.success("操作成功")
const res1 = await webPayDepositApplication(params)
console.log(res1, '78787')
if (res1.data.code == 0) {
this.handleCancel()
this.$message.success("操作成功")
}
} else if (type == 2) {
await webPayFinalApplication(params)
this.handleCancel()
this.$message.success("操作成功")
const res2 = await webPayFinalApplication(params)
if (res2.data.code == 0) {
this.handleCancel()
this.$message.success("操作成功")
}
}
} else {
this.$message.error('暂时无法审批')
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!