diff --git a/src/api/damagePhoto.js b/src/api/damagePhoto.js new file mode 100644 index 00000000..426b4909 --- /dev/null +++ b/src/api/damagePhoto.js @@ -0,0 +1,14 @@ +import request from '@/utils/http' + +/** + * 查询 H5 损伤照片 + * @param {Object} data - { userOrderId, taskOrderId } + */ +export function getDamagePhotos(data) { + return request({ + url: '/api/h5-interface/damagePhotos', + method: 'POST', + contentType: 'application/json', + data + }) +} diff --git a/src/router/index.js b/src/router/index.js index 3e85b402..d846dc1d 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -164,6 +164,14 @@ const routes = [ title: '查看发票' } }, + { + path: '/damagePhotos', + name: 'damagePhotoList', + component: () => import('@/views/damagePhoto/damagePhotoList.vue'), + meta: { + title: '损伤照片' + } + }, { path: "/vehicleManage", name: 'vehicleManage', diff --git a/src/views/damagePhoto/damagePhotoList.vue b/src/views/damagePhoto/damagePhotoList.vue new file mode 100644 index 00000000..ecccf9d5 --- /dev/null +++ b/src/views/damagePhoto/damagePhotoList.vue @@ -0,0 +1,312 @@ + + + + + + +