From 6d4ba6de5ad9b1a8f3b7b680aa3a3a2ce08b22a6 Mon Sep 17 00:00:00 2001
From: wangting <675591594@qq.com>
Date: 星期五, 21 七月 2023 19:32:56 +0800
Subject: [PATCH] 组件在菜单中复用

---
 Source/UBCS-WEB/dist/src/api/system/client.js |   50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 50 insertions(+), 0 deletions(-)

diff --git a/Source/UBCS-WEB/dist/src/api/system/client.js b/Source/UBCS-WEB/dist/src/api/system/client.js
new file mode 100644
index 0000000..0d495e4
--- /dev/null
+++ b/Source/UBCS-WEB/dist/src/api/system/client.js
@@ -0,0 +1,50 @@
+import request from '@/router/axios';
+
+export const getList = (current, size, params) => {
+  return request({
+    url: '/api/ubcs-system/client/list',
+    method: 'get',
+    params: {
+      ...params,
+      current,
+      size,
+    }
+  })
+}
+
+export const getDetail = (id) => {
+  return request({
+    url: '/api/ubcs-system/client/detail',
+    method: 'get',
+    params: {
+      id
+    }
+  })
+}
+
+export const remove = (ids) => {
+  return request({
+    url: '/api/ubcs-system/client/remove',
+    method: 'post',
+    params: {
+      ids,
+    }
+  })
+}
+
+export const add = (row) => {
+  return request({
+    url: '/api/ubcs-system/client/submit',
+    method: 'post',
+    data: row
+  })
+}
+
+export const update = (row) => {
+  return request({
+    url: '/api/ubcs-system/client/submit',
+    method: 'post',
+    data: row
+  })
+}
+

--
Gitblit v1.9.3