物业主开发
This commit is contained in:
53
src/api/system/SdbCashier/index.ts
Normal file
53
src/api/system/SdbCashier/index.ts
Normal file
@@ -0,0 +1,53 @@
|
||||
import request from '@/utils/request';
|
||||
import { AxiosPromise } from 'axios';
|
||||
|
||||
export type cashlist = {
|
||||
'residentId': string;
|
||||
'residentName': string;
|
||||
'houseName': string;
|
||||
'phone': string;
|
||||
};
|
||||
|
||||
/**
|
||||
* 查询住户列表
|
||||
* @param post
|
||||
* @returns {*}
|
||||
*/
|
||||
export const cashQuery = (data: { residentName?: string }): AxiosPromise<cashlist[]> => {
|
||||
return request({
|
||||
url: '/cash/residentList',
|
||||
method: 'post',
|
||||
data: data
|
||||
});
|
||||
};
|
||||
|
||||
export type billlistType = {
|
||||
'villageId': string;
|
||||
'residentId': string;
|
||||
'houseId': string;
|
||||
'houseName': string;
|
||||
'parkingId': string;
|
||||
'parkingName': string;
|
||||
'billId': string;
|
||||
'chargeTypeName': string;
|
||||
'chargeItemName': string;
|
||||
'billingType': string;
|
||||
'formula': string;
|
||||
'fixedPrice': string;
|
||||
'startDate': string;
|
||||
'endDate': string;
|
||||
'money': string;
|
||||
'payStatus': string;
|
||||
};
|
||||
/**
|
||||
* 查询账单列表
|
||||
* @param post
|
||||
* @returns {*}
|
||||
*/
|
||||
export const billQuery = (data: { residentId?: string; payStatus: '0' | '1' }): AxiosPromise<billlistType[]> => {
|
||||
return request({
|
||||
url: '/cash/billList',
|
||||
method: 'post',
|
||||
data: data
|
||||
});
|
||||
};
|
||||
Reference in New Issue
Block a user