|
@@ -27,11 +27,12 @@ enum Api {
|
|
|
/**
|
|
|
* @description: GetUnitList
|
|
|
*/
|
|
|
-export function getUnitList() {
|
|
|
+export function getUnitList(params) {
|
|
|
console.log('-------------------getUnitList---------------');
|
|
|
return defHttp.request<GetUnitListModel>({
|
|
|
url: Api.UnitUrl,
|
|
|
method: 'GET',
|
|
|
+ params,
|
|
|
});
|
|
|
}
|
|
|
|
|
@@ -88,11 +89,12 @@ export function deleteUnit(params: UnitIdParams) {
|
|
|
/**
|
|
|
* @description: GetPersonList -----------------------------------------------
|
|
|
*/
|
|
|
-export function getPersonList() {
|
|
|
+export function getPersonList(params) {
|
|
|
console.log('-------------------getPersonList---------------');
|
|
|
return defHttp.request<GetPersonListModel>({
|
|
|
url: Api.PersonUrl,
|
|
|
method: 'GET',
|
|
|
+ params,
|
|
|
});
|
|
|
}
|
|
|
|
|
@@ -149,11 +151,12 @@ export function deletePerson(params: PersonIdParams) {
|
|
|
/**
|
|
|
* @description: GetMemberList -----------------------------------------------
|
|
|
*/
|
|
|
-export function getMemberList() {
|
|
|
+export function getMemberList(params) {
|
|
|
console.log('-------------------getMemberList---------------');
|
|
|
return defHttp.request<GetMemberListModel>({
|
|
|
url: Api.MemberUrl,
|
|
|
method: 'GET',
|
|
|
+ params,
|
|
|
});
|
|
|
}
|
|
|
|