Parcourir la source

修改问题

yxb
DESKTOP-2IO5MST\huting il y a 1 an
Parent
révision
becaeb63af

+ 13
- 9
subpackage/after-sale/transfer-page.vue Voir le fichier

@@ -28,7 +28,7 @@
stringToJson
} from "@/utils/network/encryption";
const state = reactive({
type: "",
type: "4",
name: "",
vehicleId: "",

@@ -38,24 +38,24 @@
id: "",
orderId: "",
deptShortName: "",
userType: "",
userType: "1",
userIdNum: "",
mobile: ""
mobile: "18786896573"
});
//type:1用户信息变更,2车辆信息变更3,异常上报,4卡签注销,5挂失,6设备更换,7退货,8解挂 ,
// 9有两个 1个是解除车牌占用 2个ETC设备更换车牌
// 20 设备升级 21增补OBU设备 22卡续期 23欠费补缴 24余额补领 25公务车发行
// 20 设备升级 21增补OBU设备 22卡续期 23欠费补缴 24余额补领 25公务车发行 26补卡额 27解锁卡

onLoad((options) => {
state.type = options.type
// state.type = options.type
state.name = options.name
state.vehicleId = options.vehicleId
state.deptShortName = options.deptShortName
state.userType = options.userType
// state.userType = options.userType
state.userIdNum = options.userIdNum
state.mobile = options.mobile
// state.vehicleId = "贵ZXCV32_0"
// state.mobile = options.mobile
console.log("options======", options)
state.vehicleId = "贵ZXCV32_0"
silentLogin().then(() => {
quanCheckActionTrue().then((item : any) => {
state.id = item.data[0]['id']
@@ -168,6 +168,10 @@
} else {
navTo("/subpackage/personal-center/query-company-list?deptShortName=" + state.deptShortName)
}
} else if (state.type == "26") {
navTo(`/subpackage/orders/flowingWater?vehicleId=${state.vehicleId}`)
} else if (state.type == "27") {
navTo(`/subpackage/after-sale/pin-code-deblocking/pin-code-confirm?id=${state.id}`)
}
}


+ 0
- 3
subpackage/orders/choice-product.vue Voir le fichier

@@ -124,9 +124,6 @@
// #ifdef MP-WEIXIN
state.sysType = 'WECHAT';
// #endif
// state.orderId = option.orderId;
// state.userType = option.userType;
// state.vehiclePlateColor = option.vehiclePlateColor;
state.userType = option.userType;
state.type = option.type;
productList();

+ 1
- 1
utils/network/request.js Voir le fichier

@@ -230,7 +230,7 @@ export function request(code, options = {}, start = false) {
success: function(res) {
if (res.confirm) {
uni.navigateTo({
url: '/login/login',
url: `/login/login?back=1`,
})
}
}

Chargement…
Annuler
Enregistrer