From 5d0120d2e8a6e5cd2e1e95d4c5ffeecf5fc1c4a6 Mon Sep 17 00:00:00 2001
From: songshankun <songshankun@foxmail.com>
Date: 星期二, 10 十月 2023 15:35:58 +0800
Subject: [PATCH] Merge branch 'dev' into songshankun/adjust-style

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

diff --git a/src/api/common/other.js b/src/api/common/other.js
index 2ef9c72..a909ab6 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,33 @@
     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
+  })
+}
+
+// 鍒嗛厤
+export function getAssign(data) {
+  return request({
+    url: "/api/assign/assign",
+    method: "post",
+    data
+  })
+}

--
Gitblit v1.8.0