|
|
|
|
|
|
|
|
method: "POST", |
|
|
method: "POST", |
|
|
showLoading: true, |
|
|
showLoading: true, |
|
|
}; |
|
|
}; |
|
|
console.log("卡停用/启用 请求", options) |
|
|
|
|
|
|
|
|
console.log("卡停用/启用 请求", options, orderInfos) |
|
|
request(cardStopOrStart, options).then((res) => { |
|
|
request(cardStopOrStart, options).then((res) => { |
|
|
let result = stringToJson(res.bizContent); |
|
|
let result = stringToJson(res.bizContent); |
|
|
let cmdArray = result.command ? result.command.split(",") : []; |
|
|
let cmdArray = result.command ? result.command.split(",") : []; |
|
|
|
|
|
|
|
|
type: 2, |
|
|
type: 2, |
|
|
data: { |
|
|
data: { |
|
|
cardId: orderInfos.cardId, |
|
|
cardId: orderInfos.cardId, |
|
|
operation: 3, |
|
|
|
|
|
|
|
|
operation: orderInfos.cardStatus == 1 ? 3 : 2, //停用是3,启用是2 orderInfos.cardStatus==1正常 |
|
|
cosRecordId: cosRecordId, |
|
|
cosRecordId: cosRecordId, |
|
|
orderId: orderInfos.orderId |
|
|
orderId: orderInfos.orderId |
|
|
}, |
|
|
}, |
|
|
method: "POST", |
|
|
method: "POST", |
|
|
showLoading: true, |
|
|
showLoading: true, |
|
|
}; |
|
|
}; |
|
|
|
|
|
console.log("res898", options); |
|
|
request(cardModifyConfirm, options).then((res) => { |
|
|
request(cardModifyConfirm, options).then((res) => { |
|
|
console.log(res); |
|
|
|
|
|
state.showPopup = true; |
|
|
state.showPopup = true; |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |