From e1699c4851f6ca397cd0ad1ff63f32c737654836 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Wed, 02 Apr 2025 19:14:54 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
src/api/system/scope.js | 154 +++++++++++++++++++++++++-------------------------
1 files changed, 77 insertions(+), 77 deletions(-)
diff --git a/src/api/system/scope.js b/src/api/system/scope.js
index efc098f..6a2bdd7 100644
--- a/src/api/system/scope.js
+++ b/src/api/system/scope.js
@@ -1,97 +1,97 @@
-import request from '@/axios';
+import request from '@/axios'
export const getListDataScope = (current, size, params) => {
- return request({
- url: '/blade-system/data-scope/list',
- method: 'get',
- params: {
- ...params,
- current,
- size,
- },
- });
-};
+ return request({
+ url: '/blade-system/data-scope/list',
+ method: 'get',
+ params: {
+ ...params,
+ current,
+ size,
+ },
+ })
+}
export const removeDataScope = ids => {
- return request({
- url: '/blade-system/data-scope/remove',
- method: 'post',
- params: {
- ids,
- },
- });
-};
+ return request({
+ url: '/blade-system/data-scope/remove',
+ method: 'post',
+ params: {
+ ids,
+ },
+ })
+}
export const addDataScope = row => {
- return request({
- url: '/blade-system/data-scope/submit',
- method: 'post',
- data: row,
- });
-};
+ return request({
+ url: '/blade-system/data-scope/submit',
+ method: 'post',
+ data: row,
+ })
+}
export const updateDataScope = row => {
- return request({
- url: '/blade-system/data-scope/submit',
- method: 'post',
- data: row,
- });
-};
+ return request({
+ url: '/blade-system/data-scope/submit',
+ method: 'post',
+ data: row,
+ })
+}
export const getMenuDataScope = id => {
- return request({
- url: '/blade-system/data-scope/detail',
- method: 'get',
- params: {
- id,
- },
- });
-};
+ return request({
+ url: '/blade-system/data-scope/detail',
+ method: 'get',
+ params: {
+ id,
+ },
+ })
+}
export const getListApiScope = (current, size, params) => {
- return request({
- url: '/blade-system/api-scope/list',
- method: 'get',
- params: {
- ...params,
- current,
- size,
- },
- });
-};
+ return request({
+ url: '/blade-system/api-scope/list',
+ method: 'get',
+ params: {
+ ...params,
+ current,
+ size,
+ },
+ })
+}
export const removeApiScope = ids => {
- return request({
- url: '/blade-system/api-scope/remove',
- method: 'post',
- params: {
- ids,
- },
- });
-};
+ return request({
+ url: '/blade-system/api-scope/remove',
+ method: 'post',
+ params: {
+ ids,
+ },
+ })
+}
export const addApiScope = row => {
- return request({
- url: '/blade-system/api-scope/submit',
- method: 'post',
- data: row,
- });
-};
+ return request({
+ url: '/blade-system/api-scope/submit',
+ method: 'post',
+ data: row,
+ })
+}
export const updateApiScope = row => {
- return request({
- url: '/blade-system/api-scope/submit',
- method: 'post',
- data: row,
- });
-};
+ return request({
+ url: '/blade-system/api-scope/submit',
+ method: 'post',
+ data: row,
+ })
+}
export const getMenuApiScope = id => {
- return request({
- url: '/blade-system/api-scope/detail',
- method: 'get',
- params: {
- id,
- },
- });
-};
+ return request({
+ url: '/blade-system/api-scope/detail',
+ method: 'get',
+ params: {
+ id,
+ },
+ })
+}
--
Gitblit v1.9.3