From c1adf27fbabbff1d76b60993521c765ef1ed79ef Mon Sep 17 00:00:00 2001
From: yangfeng <wanwan926_4@163.com>
Date: 星期二, 15 八月 2023 20:03:21 +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