diff --git a/src/views/index/driverAdd.vue b/src/views/index/driverAdd.vue index e6327b88..b41c4fbb 100644 --- a/src/views/index/driverAdd.vue +++ b/src/views/index/driverAdd.vue @@ -86,9 +86,6 @@ export default { } }, mounted() { - const urlParams = new URLSearchParams(window.location.search); - const token = urlParams.get('token'); - this.$toast("司机编辑打印token",token) this.id = this.$route.params?.id; this.driverName = this.$route.params?.name; this.driverPhone = this.$route.params?.phone; diff --git a/src/views/index/driverManage.vue b/src/views/index/driverManage.vue index 764f391e..a2c1d7cf 100644 --- a/src/views/index/driverManage.vue +++ b/src/views/index/driverManage.vue @@ -66,9 +66,6 @@ export default { } }, mounted() { - const urlParams = new URLSearchParams(window.location.search); - const token = urlParams.get('token'); - this.$toast("司机管理打印token",token) this.getDriverList() }, methods:{ diff --git a/src/views/index/vehicleAdd.vue b/src/views/index/vehicleAdd.vue index 8efa8f09..0a492b43 100644 --- a/src/views/index/vehicleAdd.vue +++ b/src/views/index/vehicleAdd.vue @@ -153,8 +153,7 @@ export default { const urlParams = new URLSearchParams(window.location.search); const token = urlParams.get('token'); this.$toast("车辆编辑打印token" + token) - this.id=this.$route.params?.id || '' - this.$toast('id:' + this.id) + this.id=this.$route.params?.id const selectElement = document.getElementById('mySelect'); selectElement.addEventListener('change', function() { this.selectedOption=selectElement.value; @@ -180,9 +179,7 @@ export default { this.isJoin=result.hasPolymerization.code this.selectedOption=result.vehicleType; this.serviceIds=result.serviceIds - // console.log("num",this.carNum,this.isJoin) } - this.$toast('codeid:' + this.id) }, change(e) { // console.log("拖车服务",e) diff --git a/src/views/index/vehicleManage.vue b/src/views/index/vehicleManage.vue index 2046f035..cbfc0510 100644 --- a/src/views/index/vehicleManage.vue +++ b/src/views/index/vehicleManage.vue @@ -23,7 +23,7 @@