|
|
|
|
|
|
|
|
function cmdResult1() { |
|
|
function cmdResult1() { |
|
|
// tools.showLoadingAlert('正在激活,请等待') |
|
|
// tools.showLoadingAlert('正在激活,请等待') |
|
|
state.progressNum = 10 |
|
|
state.progressNum = 10 |
|
|
|
|
|
state.showPopup = true; |
|
|
const options = { |
|
|
const options = { |
|
|
type: 2, //type: 2,JSON格式提交数据(默认表单形式提交) |
|
|
type: 2, //type: 2,JSON格式提交数据(默认表单形式提交) |
|
|
showLoading: false, |
|
|
showLoading: false, |
|
|
|
|
|
|
|
|
console.log("err", err) |
|
|
console.log("err", err) |
|
|
errorLog(datas.cmd, JSON.stringify(err), datas.stepNo) |
|
|
errorLog(datas.cmd, JSON.stringify(err), datas.stepNo) |
|
|
tools.hideLoadingAlert(); |
|
|
tools.hideLoadingAlert(); |
|
|
|
|
|
|
|
|
|
|
|
state.showPopup = false; |
|
|
state.disabled = true |
|
|
state.disabled = true |
|
|
}); |
|
|
}); |
|
|
}) |
|
|
}) |
|
|
.catch((err) => { |
|
|
.catch((err) => { |
|
|
console.log(err); |
|
|
console.log(err); |
|
|
tools.hideLoadingAlert(); |
|
|
tools.hideLoadingAlert(); |
|
|
|
|
|
|
|
|
|
|
|
state.showPopup = false; |
|
|
state.disabled = true |
|
|
state.disabled = true |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
console.log("options2222", options) |
|
|
console.log("options2222", options) |
|
|
console.log("二发指令回传==前,/iaw/issue/order/issueCallback", new Date(), options) |
|
|
console.log("二发指令回传==前,/iaw/issue/order/issueCallback", new Date(), options) |
|
|
//BDS-二发指令回传 |
|
|
//BDS-二发指令回传 |
|
|
|
|
|
|
|
|
requestNew(issueCallback, options) |
|
|
requestNew(issueCallback, options) |
|
|
.then((res) => { |
|
|
.then((res) => { |
|
|
console.log("BDS-二发指令回传 ", res); |
|
|
console.log("BDS-二发指令回传 ", res); |