|
|
@@ -113,7 +113,8 @@ |
|
|
|
cardModifyConfirm, |
|
|
|
obuRenewal, |
|
|
|
modifyObuVehicleInfo, |
|
|
|
obuActivation |
|
|
|
obuActivation, |
|
|
|
renewalTimeApi |
|
|
|
} from "@/utils/network/api.js"; |
|
|
|
const cmd = require("../../../static/etcUtil/cmdConfig.js"); |
|
|
|
import { |
|
|
@@ -352,6 +353,7 @@ |
|
|
|
request(cardModifyConfirm, options).then((res) => { |
|
|
|
// 只写卡 |
|
|
|
if (flag.length == 1) { |
|
|
|
sure(1) |
|
|
|
state.showPopup = true; |
|
|
|
} else { |
|
|
|
// 为2要写签 |
|
|
@@ -555,6 +557,7 @@ |
|
|
|
tools.hideLoadingAlert(); |
|
|
|
console.log("在线激活 请求", res); |
|
|
|
if (res[0] == "9000") { |
|
|
|
sure(2) |
|
|
|
state.showPopup = true; |
|
|
|
} |
|
|
|
}); |
|
|
@@ -604,6 +607,29 @@ |
|
|
|
} |
|
|
|
}); |
|
|
|
}; |
|
|
|
const sure = (val) => { |
|
|
|
var data = {} |
|
|
|
if (val == 1) { |
|
|
|
data = { |
|
|
|
type: "1", |
|
|
|
cardId: fileDataStrings.cardId, |
|
|
|
} |
|
|
|
} else { |
|
|
|
data = { |
|
|
|
type: "2", |
|
|
|
obuId: fileDataStrings.obuId, |
|
|
|
} |
|
|
|
} |
|
|
|
const options = { |
|
|
|
type: 2, |
|
|
|
data: data, |
|
|
|
method: "POST", |
|
|
|
showLoading: true, |
|
|
|
}; |
|
|
|
request(renewalTimeApi, options).then((res) => { |
|
|
|
|
|
|
|
}) |
|
|
|
} |
|
|
|
</script> |
|
|
|
|
|
|
|
<style> |