From 1249ca8ff44f8de7992fdb5866eae19613d606c3 Mon Sep 17 00:00:00 2001
From: yangfeng <wanwan926_4@163.com>
Date: 星期三, 16 八月 2023 19:37:49 +0800
Subject: [PATCH] 详情页联调

---
 src/api/common/other.js |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/src/api/common/other.js b/src/api/common/other.js
index 2ef9c72..282149f 100644
--- a/src/api/common/other.js
+++ b/src/api/common/other.js
@@ -1,4 +1,5 @@
 import request from "@/common/untils/request.js"
+import axios from "axios"
 
 // 鑾峰彇鏁呴殰绫诲埆
 export function getFaultTypeList() {
@@ -39,3 +40,17 @@
     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
+  })
+}

--
Gitblit v1.8.0