DESKTOP-2IO5MST\huting před 1 rokem
rodič
revize
97316a378f

+ 27
- 1
subpackage/after-sale/card-Renewal/renewal-confirm.vue Zobrazit soubor

@@ -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>

+ 2
- 1
utils/network/api.js Zobrazit soubor

@@ -292,4 +292,5 @@ export const cancellRefoundApi = "441ea77c279046d192bc3c6abf07c952" //注销退
export const rechargeMoneyApi = "9d6c8c65490b426ca65e8add1aa977da" //查询充值成功后的金额
export const blackApi = "3aeafb995cb84112be87b8edcc303a8f" //黑名单查询
export const rechargeApi = "c62caa7ea6a249c3a2c3f5d3c6354a37" //单位账户充值
export const cancelOrderApi = "43d72061a84e4310abe631725e42c594" // 更换设备 去注销前订单的 卡签
export const cancelOrderApi = "43d72061a84e4310abe631725e42c594" // 更换设备 去注销前订单的 卡签
export const renewalTimeApi = "bdf2d521cba340deb6629f3b192db92a" // 更换卡签续期时间

Načítá se…
Zrušit
Uložit