物业主开发
This commit is contained in:
@@ -62,9 +62,10 @@ export const delBill = (id: string | number | Array<string | number>) => {
|
||||
});
|
||||
};
|
||||
|
||||
// ! =---------------=================================== 组件
|
||||
export interface BillHouse {
|
||||
'buildingName': string;
|
||||
'houseId': number;
|
||||
'houseId': string;
|
||||
'unitNo': number;
|
||||
'houseNo': string;
|
||||
'floorNo': number;
|
||||
@@ -82,3 +83,18 @@ export const listBillHouse = (query: { pageNum: number; pageSize: number }): Axi
|
||||
params: query
|
||||
});
|
||||
};
|
||||
|
||||
// ! =---------------
|
||||
/**
|
||||
* 查询业主列表
|
||||
* @param data
|
||||
* @returns {*}
|
||||
*/
|
||||
|
||||
export const queryResidentList_holder = (query: { pageNum: number; pageSize: number }) => {
|
||||
return request({
|
||||
url: '/bill/getResidentList',
|
||||
method: 'GET',
|
||||
params: query
|
||||
});
|
||||
};
|
||||
|
||||
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
|
||||
});
|
||||
};
|
||||
@@ -68,7 +68,7 @@ export const delElectricityDevice = (id: string | number | Array<string | number
|
||||
*/
|
||||
export const ElectricityDeviceMakerQrcode = (data: { deviceCode: string; id: string }[]) => {
|
||||
return request({
|
||||
url: '/electricityDevice/generateBarCodee',
|
||||
url: '/electricityDevice/generateBarCode',
|
||||
method: 'POST',
|
||||
data: data
|
||||
});
|
||||
|
||||
@@ -70,8 +70,8 @@ export interface UserForm {
|
||||
sex?: string;
|
||||
status: string;
|
||||
remark?: string;
|
||||
postIds: string[];
|
||||
roleIds: string[];
|
||||
postIds?: string[];
|
||||
roleIds?: string[];
|
||||
}
|
||||
|
||||
export interface UserInfoVO {
|
||||
|
||||
Reference in New Issue
Block a user