From 1b738c0f4d9647db78790136becf36eb11648478 Mon Sep 17 00:00:00 2001 From: Zy <1448159279@qq.com> Date: Fri, 8 May 2026 11:30:28 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=A9=E4=B8=9A=E4=B8=BB=E5=BC=80=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/SdbBill/index.ts | 18 +- src/api/system/SdbCashier/index.ts | 53 +++ src/api/system/SdbElectricityDevice/index.ts | 2 +- src/api/system/user/types.ts | 4 +- src/assets/styles/index.scss | 6 +- src/assets/styles/variables.module.scss | 2 +- src/components/Holder/user.vue | 273 +++++++++++++++ src/components/RightToolbar/index.vue | 78 +++-- src/components/RoleSelect/index.vue | 6 +- src/components/UserSelect/index.vue | 6 +- src/layout/components/Navbar.vue | 50 ++- src/layout/components/Settings/index.vue | 2 +- src/layout/index.vue | 3 + src/router/index.ts | 5 +- src/utils/index.ts | 13 +- src/utils/request.ts | 3 +- src/views/community/AddCommunity.vue | 11 +- src/views/community/index.vue | 10 +- src/views/demo/demo/index.vue | 8 +- src/views/demo/tree/index.vue | 6 +- src/views/monitor/logininfor/index.vue | 16 +- src/views/monitor/online/index.vue | 6 +- src/views/monitor/operlog/index.vue | 17 +- src/views/system/Activity/index.vue | 33 +- src/views/system/Banner/index.vue | 41 ++- src/views/system/Complaint/index.vue | 6 +- src/views/system/ComplaintType/index.vue | 25 +- src/views/system/Decoration/index.vue | 27 +- src/views/system/HandleLog/addHandleLog.vue | 2 +- src/views/system/HandleLog/index.vue | 27 +- src/views/system/HouseFacilities/index.vue | 24 +- src/views/system/MonthCard/index.vue | 32 +- src/views/system/NoticePc/index.vue | 27 +- src/views/system/ParkingCost/index.vue | 39 +-- src/views/system/Questionnaire/index.vue | 31 +- src/views/system/Repair/index.vue | 34 +- src/views/system/Repair/repairlist.vue | 27 +- src/views/system/Sdb/ChargeItem/index.vue | 37 +-- src/views/system/Sdb/ChargeType/index.vue | 32 +- .../system/Sdb/ElectricityRecord/index.vue | 8 +- src/views/system/Sdb/PayRecord/index.vue | 30 +- src/views/system/Sdb/PayRecord/main.vue | 8 +- src/views/system/Sdb/SdbBill/add.vue | 101 ++++-- src/views/system/Sdb/SdbBill/index.vue | 43 +-- src/views/system/Sdb/SdbCashier/cashier.vue | 205 ++++++++++-- src/views/system/Sdb/SdbCashier/history.vue | 244 ++++++++++---- src/views/system/Sdb/SdbCashier/index.vue | 149 ++++++--- .../system/Sdb/SdbElectricityDevice/index.vue | 87 +++-- src/views/system/Sdb/SdbTopupRecord/index.vue | 4 +- src/views/system/Sdb/SdbWaterDevice/index.vue | 113 +++++-- src/views/system/Sdb/WaterRecord/index.vue | 8 +- src/views/system/Visitor/index.vue | 8 +- src/views/system/carArea/index.vue | 35 +- src/views/system/cars/index.vue | 27 +- src/views/system/client/index.vue | 6 +- src/views/system/config/index.vue | 8 +- src/views/system/dept/index.vue | 6 +- src/views/system/dict/index.vue | 8 +- src/views/system/equipment/Archive/index.vue | 26 +- src/views/system/equipment/Archive/main.vue | 2 +- src/views/system/equipment/Category/index.vue | 32 +- src/views/system/equipment/Repair/index.vue | 35 +- .../system/house/components/building.vue | 6 +- .../house/components/components/table.vue | 12 +- src/views/system/house/components/unit.vue | 4 +- src/views/system/houseRental/index.vue | 25 +- src/views/system/inspection/Daily/index.vue | 7 +- src/views/system/inspection/Item/index2.vue | 34 +- src/views/system/inspection/Monthly/index.vue | 7 +- .../inspection/Plan/addInspectionPlan.vue | 2 +- src/views/system/inspection/Plan/index.vue | 32 +- .../inspection/Point/addInspectionPoint.vue | 19 +- src/views/system/inspection/Point/index.vue | 36 +- src/views/system/inspection/Record/index.vue | 12 +- .../inspection/Route/addInspectionRoute.vue | 24 +- src/views/system/inspection/Route/index2.vue | 30 +- .../system/inspection/Statistics/index.vue | 8 +- src/views/system/inspection/Task/index.vue | 36 +- src/views/system/inspection/Weekly/index.vue | 11 +- src/views/system/menu/index.vue | 6 +- src/views/system/notice/index.vue | 6 +- src/views/system/oss/config.vue | 4 +- src/views/system/oss/index.vue | 4 +- src/views/system/parking/index.vue | 31 +- src/views/system/post/index.vue | 6 +- src/views/system/resident/index.vue | 39 ++- src/views/system/role/addRole.vue | 310 ++++++++++++++++++ src/views/system/role/authUser.vue | 6 +- src/views/system/role/index.vue | 41 ++- src/views/system/role/selectUser.vue | 6 +- src/views/system/statistics/Payment/index.vue | 2 +- .../system/statistics/Personnel/index.vue | 2 +- src/views/system/storeroom/index.vue | 33 +- src/views/system/tenant/index.vue | 6 +- src/views/system/tenantPackage/index.vue | 6 +- src/views/system/test/Questionnaire.vue | 6 +- src/views/system/user/addUser.vue | 289 ++++++++++++++++ src/views/system/user/index.vue | 46 ++- src/views/system/user/profile/index.vue | 3 +- .../system/warehouse/Inventory/index.vue | 22 +- src/views/system/warehouse/IssueOut/index.vue | 25 +- src/views/system/warehouse/Material/index.vue | 29 +- .../system/warehouse/PurchaseIn/index.vue | 31 +- src/views/system/warehouse/Supplier/index.vue | 27 +- .../system/warehouse/Warehouse/index.vue | 33 +- src/views/tool/gen/importTable.vue | 6 +- src/views/tool/gen/index.vue | 32 +- src/views/workbench/index2.vue | 8 +- src/views/workflow/category/index.vue | 8 +- src/views/workflow/leave/index.vue | 6 +- .../workflow/processDefinition/index.vue | 70 +++- src/views/workflow/processInstance/index.vue | 37 ++- src/views/workflow/spel/index.vue | 98 +++--- src/views/workflow/task/allTaskWaiting.vue | 22 +- src/views/workflow/task/myDocument.vue | 6 +- src/views/workflow/task/taskCopyList.vue | 6 +- src/views/workflow/task/taskFinish.vue | 6 +- src/views/workflow/task/taskWaiting.vue | 6 +- 118 files changed, 2891 insertions(+), 979 deletions(-) create mode 100644 src/api/system/SdbCashier/index.ts create mode 100644 src/components/Holder/user.vue create mode 100644 src/views/system/role/addRole.vue create mode 100644 src/views/system/user/addUser.vue 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 @@