From e73d6759ed6dd4c0e6d05604a829445dedd90cef Mon Sep 17 00:00:00 2001
From: horizon <1490493387@qq.com>
Date: Mon, 5 Sep 2022 07:52:48 +0800
Subject: [PATCH] =?UTF-8?q?refactor:=20=E9=83=A8=E9=97=A8API=E8=B7=AF?=
=?UTF-8?q?=E5=BE=84=E5=90=8C=E6=AD=A5=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Former-commit-id: 815be0beaa6aa1c043d91582f7c7ed7fa45c1466
---
src/api/system/dept.ts | 22 +++++++++++-----------
src/views/system/dept/index.vue | 32 ++++++++++++++++----------------
src/views/system/user/index.vue | 4 ++--
3 files changed, 29 insertions(+), 29 deletions(-)
diff --git a/src/api/system/dept.ts b/src/api/system/dept.ts
index b1b859f8..cb801fb2 100644
--- a/src/api/system/dept.ts
+++ b/src/api/system/dept.ts
@@ -1,7 +1,7 @@
import {
DeptFormData,
DeptItem,
- DeptQueryParam,
+ DeptQueryParam
} from '@/types/api/system/dept';
import { Option } from '@/types/common';
import request from '@/utils/request';
@@ -18,17 +18,17 @@ export function listDepartments(
return request({
url: '/youlai-admin/api/v1/depts',
method: 'get',
- params: queryParams,
+ params: queryParams
});
}
/**
* 部门下拉列表
*/
-export function listSelectDepartments(): AxiosPromise