From 82a86ef44943ce0b0fae7fa50b8cc5098c81e027 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A2=81=E5=AD=90=E9=BE=99?= <14096380+qwe963852@user.noreply.gitee.com> Date: Sat, 12 Oct 2024 12:11:11 +0800 Subject: [PATCH] =?UTF-8?q?refactor:()=E7=99=BB=E5=BD=95=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/saas/saas.js | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/src/api/saas/saas.js b/src/api/saas/saas.js index 1042c3d..4fabea2 100644 --- a/src/api/saas/saas.js +++ b/src/api/saas/saas.js @@ -379,8 +379,10 @@ export function updWarnStrategy(data) { } -//策略回显 -export function selectListByCarType(carTypeId) { + + +//根據車輛類型 +export function selectCarTypeResp(carTypeId) { return request({ url: '/saas/strategy/selectListByCarType/'+carTypeId, method: 'get' @@ -389,12 +391,7 @@ export function selectListByCarType(carTypeId) { -export function selectCarTypeResp(carTypeId) { - return request({ - url: '/saas/strategy/selectCarTypeResp/'+carTypeId, - method: 'get' - }) -} + @@ -408,7 +405,7 @@ export function deleteStrategy(id) { -//根据车辆类型查策略 +//回顯 export function selectById(id) { return request({ url: '/saas/strategy/selectById/'+id,