diff --git a/src/api/mine.js b/src/api/mine.js index 0d7c9f0b..18e25024 100644 --- a/src/api/mine.js +++ b/src/api/mine.js @@ -18,6 +18,17 @@ export function saveVehicle(data){ data }) } + +//编辑车辆信息 +export function updateInsurance(data){ + return request({ + url:'/supplierAppV2/dispatchApp/user/updateInsurance', + method:'POST', + contentType:'application/json', + data + }) +} + // 获取车辆信息(用于修改时回显的值,只需传vehicleId) export function getInfoById(data){ return request({ diff --git a/src/router/index.js b/src/router/index.js index 8b346ae1..e05d7337 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -172,6 +172,14 @@ const routes = [ title: '车辆新增或修改' } }, + { + path: "/continueInsurance", + name: 'continueInsurance', + component: () => import('@/views/index/continueInsurance'), + meta: { + title: '续保更新' + } + }, { path: '/driverManage', name: 'driverManage', diff --git a/src/views/index/continueInsurance.vue b/src/views/index/continueInsurance.vue new file mode 100644 index 00000000..f2937207 --- /dev/null +++ b/src/views/index/continueInsurance.vue @@ -0,0 +1,413 @@ + + + + + + diff --git a/src/views/index/vehicleAdd.vue b/src/views/index/vehicleAdd.vue index f634665d..a83cb3eb 100644 --- a/src/views/index/vehicleAdd.vue +++ b/src/views/index/vehicleAdd.vue @@ -238,6 +238,9 @@ +
+ 续保更新 +
如有投保,选“有”,未投保选“无”,不必上传交强险或者商业险等其他保单