Commit 988b50f7 authored by youjie's avatar youjie

no message

parent ae0fdd1e
...@@ -84,7 +84,7 @@ export default { ...@@ -84,7 +84,7 @@ export default {
data.searchClone = JSON.parse(JSON.stringify(search.msg)) data.searchClone = JSON.parse(JSON.stringify(search.msg))
const methods = { const methods = {
goUrl(){ goUrl(){
$router.push({ path:`/vehicle/addEditVehicle/4`}) $router.push({ path:`/vehicle/addEditVehicle`})
}, },
getCarType(e:any){ getCarType(e:any){
if(e){ if(e){
......
...@@ -176,7 +176,7 @@ export default defineComponent({ ...@@ -176,7 +176,7 @@ export default defineComponent({
data.search.Id = currentRouter.currentRoute.value.params.Id data.search.Id = currentRouter.currentRoute.value.params.Id
} }
data.pages = currentRouter.currentRoute.value.params.pages // data.pages = currentRouter.currentRoute.value.params.pages
// 获取车型下拉 // 获取车型下拉
onMounted(() => { onMounted(() => {
methods.vehicleinit() methods.vehicleinit()
......
...@@ -287,7 +287,7 @@ export default defineComponent({ ...@@ -287,7 +287,7 @@ export default defineComponent({
}, },
mask(val: any) { mask(val: any) {
data.Id = val data.Id = val
$router.push({ path: `/vehicle/addEditVehicle/0${data.Id ? '/' + data.Id : ''}` }) $router.push({ path: `/vehicle/addEditVehicle${data.Id ? '/' + data.Id : ''}` })
// data.showPriceList = true // data.showPriceList = true
} }
} }
......
...@@ -23,7 +23,7 @@ const routes: RouteRecordRaw[] = [ ...@@ -23,7 +23,7 @@ const routes: RouteRecordRaw[] = [
{ path: '/vehicle/index', component: () => import('pages/CharteredBus/CharteredBusList.vue') },//车辆 { path: '/vehicle/index', component: () => import('pages/CharteredBus/CharteredBusList.vue') },//车辆
{ path: '/vehicle/Preview/:ProductId/:Time/:orderId?', component: () => import('pages/CharteredBus/CharteredBusPreview.vue') }, { path: '/vehicle/Preview/:ProductId/:Time/:orderId?', component: () => import('pages/CharteredBus/CharteredBusPreview.vue') },
{ path: '/vehicle/order/:pages?', component: () => import('pages/vehicle/vehicleOrder.vue') }, { path: '/vehicle/order/:pages?', component: () => import('pages/vehicle/vehicleOrder.vue') },
{ path: '/vehicle/addEditVehicle/:pages/:Id?', component: () => import('pages/vehicle/addEditVehicle.vue') }, { path: '/vehicle/addEditVehicle/:Id?', component: () => import('pages/vehicle/addEditVehicle.vue') },
{ path: '/ticket/preview/:ticketId/:Time', component: () => import('pages/ticket/TicketOrderPreview.vue') }, { path: '/ticket/preview/:ticketId/:Time', component: () => import('pages/ticket/TicketOrderPreview.vue') },
{ path: '/ticket/order/:orderId?', component: () => import('pages/ticket/TicketOrder.vue') } { path: '/ticket/order/:orderId?', component: () => import('pages/ticket/TicketOrder.vue') }
] ]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment