diff --git a/src/api/system/SdbBill/index.ts b/src/api/system/SdbBill/index.ts index fa49302..62a8325 100644 --- a/src/api/system/SdbBill/index.ts +++ b/src/api/system/SdbBill/index.ts @@ -62,9 +62,10 @@ export const delBill = (id: string | number | Array) => { }); }; +// ! =---------------=================================== 组件 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 + }); +}; diff --git a/src/api/system/SdbCashier/index.ts b/src/api/system/SdbCashier/index.ts new file mode 100644 index 0000000..fec5851 --- /dev/null +++ b/src/api/system/SdbCashier/index.ts @@ -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 => { + 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 => { + return request({ + url: '/cash/billList', + method: 'post', + data: data + }); +}; diff --git a/src/api/system/SdbElectricityDevice/index.ts b/src/api/system/SdbElectricityDevice/index.ts index 139976c..60189f5 100644 --- a/src/api/system/SdbElectricityDevice/index.ts +++ b/src/api/system/SdbElectricityDevice/index.ts @@ -68,7 +68,7 @@ export const delElectricityDevice = (id: string | number | Array { return request({ - url: '/electricityDevice/generateBarCodee', + url: '/electricityDevice/generateBarCode', method: 'POST', data: data }); diff --git a/src/api/system/user/types.ts b/src/api/system/user/types.ts index 5cd9367..1ac8a4d 100644 --- a/src/api/system/user/types.ts +++ b/src/api/system/user/types.ts @@ -70,8 +70,8 @@ export interface UserForm { sex?: string; status: string; remark?: string; - postIds: string[]; - roleIds: string[]; + postIds?: string[]; + roleIds?: string[]; } export interface UserInfoVO { diff --git a/src/assets/styles/index.scss b/src/assets/styles/index.scss index 18dd1ab..d85696c 100644 --- a/src/assets/styles/index.scss +++ b/src/assets/styles/index.scss @@ -33,7 +33,7 @@ html.dark svg { #app { height: 100%; - min-width: 1200px; /* 最小宽度,防止太小变形 */ + min-width: 1024px; /* 最小宽度,防止太小变形 */ } *, @@ -255,3 +255,7 @@ aside { width: 960px; } } + +.el-button { + border-radius: 5px; +} diff --git a/src/assets/styles/variables.module.scss b/src/assets/styles/variables.module.scss index 1c9db81..2368928 100644 --- a/src/assets/styles/variables.module.scss +++ b/src/assets/styles/variables.module.scss @@ -28,7 +28,7 @@ // Modern rounded style + soft shadows --app-radius-sm: 6px; - --app-radius-md: 10px; + --app-radius-md: 5px; --app-radius-lg: 14px; --app-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.08), 0 6px 16px rgba(15, 23, 42, 0.08); --app-shadow-md: 0 8px 24px rgba(15, 23, 42, 0.12); diff --git a/src/components/Holder/user.vue b/src/components/Holder/user.vue new file mode 100644 index 0000000..47fe8c3 --- /dev/null +++ b/src/components/Holder/user.vue @@ -0,0 +1,273 @@ + + + + + diff --git a/src/components/RightToolbar/index.vue b/src/components/RightToolbar/index.vue index 02a55f7..f147018 100644 --- a/src/components/RightToolbar/index.vue +++ b/src/components/RightToolbar/index.vue @@ -1,12 +1,28 @@