From 05be79b026e23db70af9b67efbb0e25ea439a269 Mon Sep 17 00:00:00 2001 From: xiao-fajia <1665375861@qq.com> Date: Thu, 22 Aug 2024 21:18:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=91=E6=8F=B4=E9=9B=86=E6=88=90=E8=BF=9B?= =?UTF-8?q?=E5=BA=A63/5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/rescue/info.js | 9 ++ src/utils/dict.js | 10 ++ src/views/rescue/Locations.vue | 6 +- src/views/rescue/customerIndex.vue | 6 +- src/views/rescue/index.vue | 137 +++++++++++++++------------- src/views/rescue/rescueCarSpend.vue | 6 +- src/views/rescue/rescueRoad.vue | 6 +- 7 files changed, 110 insertions(+), 70 deletions(-) diff --git a/src/api/rescue/info.js b/src/api/rescue/info.js index d1994e8..a3b4c0e 100644 --- a/src/api/rescue/info.js +++ b/src/api/rescue/info.js @@ -91,3 +91,12 @@ export function returnOrder(data) { data:data }) } + +export function downloadOrder(params) { + return request({ + url: '/system/rescueInfo/export', + method: 'get', + params, + responseType: 'blob' + }) +} diff --git a/src/utils/dict.js b/src/utils/dict.js index 6e4a99e..0c1cb59 100644 --- a/src/utils/dict.js +++ b/src/utils/dict.js @@ -149,6 +149,16 @@ export const DICT_TYPE = { CAR_LICENSE_COLOR: 'car_license_color', // 车辆使用性质 CAR_USE_NATURE : 'car_use_nature', + // 救援类型 + DLJY_TYPE: 'dljy_type', + // 收费类型 + FEE_TYPE: 'fee_type', + // 救援状态 + JY_STATUS: 'jy_status', + // 救援订单状态 + JY_ORDER_STATUS: 'jy_order_status', + // 车辆类型 + RESCUE_CAR_TYPE: 'rescue_car_type', } /** diff --git a/src/views/rescue/Locations.vue b/src/views/rescue/Locations.vue index 1f76ae8..8c2e75c 100644 --- a/src/views/rescue/Locations.vue +++ b/src/views/rescue/Locations.vue @@ -29,7 +29,11 @@ - + + + diff --git a/src/views/rescue/customerIndex.vue b/src/views/rescue/customerIndex.vue index e1aa92b..bed1833 100644 --- a/src/views/rescue/customerIndex.vue +++ b/src/views/rescue/customerIndex.vue @@ -84,7 +84,11 @@ - + + + diff --git a/src/views/rescue/index.vue b/src/views/rescue/index.vue index fb600b2..5b950a8 100644 --- a/src/views/rescue/index.vue +++ b/src/views/rescue/index.vue @@ -1,6 +1,6 @@