From 0f8844dcb400fcdee4ea7831336a6aff382a8cc2 Mon Sep 17 00:00:00 2001
From: songshankun <songshankun@foxmail.com>
Date: 星期六, 23 九月 2023 14:59:16 +0800
Subject: [PATCH] fix: 修复搜索供应商列表结果为空时产品列表不为空的bug, 修复产品列表翻页后搜索供应商时产品列表页码未重置的bug, 修复供应商列表/产品列表/采购订单/质检单/退货单翻页后再搜索页码未重置的bug

---
 src/api/common/other.js |   62 ++-----------------------------
 1 files changed, 4 insertions(+), 58 deletions(-)

diff --git a/src/api/common/other.js b/src/api/common/other.js
index 9c1eda8..4f88e95 100644
--- a/src/api/common/other.js
+++ b/src/api/common/other.js
@@ -1,63 +1,9 @@
-import request from "@/common/untils/request.js"
+// 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`, {
+// 璐熻矗浜�
+export const getMemberListFromGrpc = async (data) => {
+  return await axios.get(`/api/m/getMemberListFromGrpc`, {
     params: data
   })
 }

--
Gitblit v1.8.0