From 6622c8891d03e71d3dc75c2de97308ca71552786 Mon Sep 17 00:00:00 2001 From: zhangzeli <123456> Date: 星期三, 09 二月 2022 13:52:45 +0800 Subject: [PATCH] bug --- src/api/open.js | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 45 insertions(+), 0 deletions(-) diff --git a/src/api/open.js b/src/api/open.js index 0526a65..155b5a5 100644 --- a/src/api/open.js +++ b/src/api/open.js @@ -117,6 +117,11 @@ return getRequest('/user/getAll', params) } +// 鏌ヨ鍙告満淇℃伅 +export const getDriver = (params) => { + return getRequest('/user/findByType2', params) +} + // 鏌ヨ鐗囧尯淇℃伅 export const getArea = (params) => { return getRequest('/area/getByPage', params) @@ -201,3 +206,43 @@ export const getByDate = (params) => { return getRequest('/addOil/getByDate', params) } + +// 鏍规嵁杞﹁締鐕冩补璐圭敤缁翠慨璐圭敤 +export const getInfo = (params) => { + return getRequest('/car/getInfo', params) +} + +// 鏍规嵁杞﹁締鐕冩补璐圭敤缁翠慨璐圭敤 +export const getCarCount = (params) => { + return getRequest('/pcStatistic2/getCarCount', params) +} + +//娣诲姞鍔犳补璁板綍 +export const editSuggest = (params) => { + return postRequest('/suggest/insertOrUpdate', params) +} + +//鏌ヨ璁㈠崟璇勪环 +export const getOrderEvaluate = (params) => { + return getRequest('/orderTask/getByPage', params) +} + +//鏌ヨ杩濈珷璁板綍 +export const getViolation = (params) => { + return getRequest('/violation/getByPage', params) +} + +//娣诲姞淇敼杩濈珷璁板綍 +export const editViolation = (params) => { + return postRequest('/violation/insertOrUpdate', params) +} + +// 鍒犻櫎杩濈珷璁板綍 +export const deleteViolation = (params) => { + return postRequest('/violation/delByIds', params) +} + +// 鏌ヨ杩濈珷璁板綍 +export const getDrivingRecord = (params) => { + return getRequest('/drivingRecord/getByPage', params) +} -- Gitblit v1.9.1