|
|
|
|
@ -112,21 +112,24 @@ export default { |
|
|
|
|
confirm() { |
|
|
|
|
let param = this.proArr; |
|
|
|
|
if (this.GlobalConfig.appMode) { |
|
|
|
|
console.log(JSON.stringify(param)) |
|
|
|
|
vaildInterfacefn("cgstjyyjzpzp", "qdsgajjtjczdtjyytj", JSON.stringify({data:param}), "2", "https://" + this.GlobalConfig.urlCreatesign, "https://" + this.GlobalConfig.urlGateway).then((value) => { |
|
|
|
|
// console.log(JSON.stringify(param)) |
|
|
|
|
vaildInterfacefn("cgstjyyjzpzp", "qdsgajjtjczdtjyytj", JSON.stringify({ data: param }), "2", "https://" + this.GlobalConfig.urlCreatesign, "https://" + this.GlobalConfig.urlGateway).then((value) => { |
|
|
|
|
|
|
|
|
|
console.log('value', value); |
|
|
|
|
let retData = JSON.parse(value); |
|
|
|
|
if (retData.success && retData.code == 200 && retData.data.code == 200) { |
|
|
|
|
console.log('value2', retData); |
|
|
|
|
if (retData.code == 200) { |
|
|
|
|
this.isShow = true; |
|
|
|
|
this.isSuccess = true |
|
|
|
|
} else { |
|
|
|
|
this.failTips = retData.data != undefined ? retData.data.msg : ''; |
|
|
|
|
this.failTips = retData.msg; |
|
|
|
|
this.isShow = true; |
|
|
|
|
this.isSuccess = false |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
else { |
|
|
|
|
postExam({data:param}).then(res => { |
|
|
|
|
postExam({ data: param }).then(res => { |
|
|
|
|
console.log(res) |
|
|
|
|
if (res.code == 200) { |
|
|
|
|
this.isShow = true; |
|
|
|
|
|