From 7da8d51d212f96b2d419d4f22617827ea4df9e3d Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期六, 26 八月 2023 15:28:26 +0800 Subject: [PATCH] 服务商列表联调及无用api删除 --- src/api/common/other.js | 65 +------------------------------- 1 files changed, 2 insertions(+), 63 deletions(-) diff --git a/src/api/common/other.js b/src/api/common/other.js index 9c1eda8..3e8d30a 100644 --- a/src/api/common/other.js +++ b/src/api/common/other.js @@ -1,63 +1,2 @@ -import request from "@/common/untils/request.js" -import axios from "axios" - -// 鑾峰彇鏁呴殰绫诲埆 -export function getFaultTypeList() { - return request({ - url: "/api/faultType/list", - method: "get" - }) -} - -// 鑾峰彇鏈嶅姟鏂瑰紡 -export function getServiceTypeList() { - return request({ - url: "/api/serviceType/list", - method: "get" - }) -} - -// 鑾峰彇涓ラ噸绋嬪害 -export function getSeverityList() { - return request({ - url: "/api/severity/list", - method: "get" - }) -} - -// 鑾峰彇浼樺厛绾у埆 -export function getPriorityLevelList() { - return request({ - url: "/api/priorityLevel/list", - method: "get" - }) -} - -// 鑺辫垂鏃堕棿鍒楄〃 -export function getTimeSpentList() { - return request({ - url: "/api/timeSpent/list", - method: "get" - }) -} - -// 鑾峰彇鏈嶅姟鍚堝悓绫诲瀷 -export function getServiceContractTypeList() { - return request({ - url: "/api/serviceContractType/list", - method: "get" - }) -} -// 鑾峰彇浜у搧鍒楄〃 -export const getProductList = async (data) => { - return await axios.get(`/api/product/list`, { - params: data - }) -} - -// 鑾峰彇甯歌闂鍒楄〃 -export const getFaqList = async (data) => { - return await axios.get(`/api/faq/list`, { - params: data - }) -} +// import request from "@/common/untils/request.js" +// import axios from "axios" -- Gitblit v1.8.0