From ae1f9f6ee20420e7b7df23d2cc7012eba9a675f3 Mon Sep 17 00:00:00 2001 From: Zy <1448159279@qq.com> Date: Mon, 1 Jun 2026 18:12:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8C=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 7 +- .env.production | 9 +- src/api/system/InspectionPoint/index.ts | 2 +- src/api/system/InspectionRoute/index.ts | 8 + src/api/system/Notification/index.ts | 27 +- src/api/system/Payment/index.ts | 27 + src/api/system/Personnel/index.ts | 93 ++++ src/api/system/Repair/type.ts | 6 +- src/api/system/SdbBill/index.ts | 13 + src/api/system/SdbBill/type.ts | 1 + src/api/system/SdbCashier/index.ts | 10 +- src/api/system/SdbChargeItem/index.ts | 2 +- src/api/system/SdbTopupRecord/index.ts | 36 ++ src/api/system/carArea/index.ts | 2 +- src/api/system/cars/type.ts | 6 +- src/api/system/house/index.ts | 7 +- src/api/system/houseRental/index.ts | 6 + src/api/system/houseUse/index.ts | 7 + .../system/{ => post}/Questionnaire/index.ts | 0 .../system/{ => post}/Questionnaire/type.ts | 0 src/api/system/resident/type.ts | 17 +- src/api/system/storeroom/index.ts | 6 +- src/api/system/storeroom/types.ts | 3 +- src/assets/styles/index.scss | 28 + src/assets/styles/sidebar.scss | 1 + src/components/Holder/CarUser.vue | 294 +++++++++++ src/components/Holder/house.vue | 179 ++++--- src/components/Holder/index.vue | 143 ++++-- src/components/Holder/repairUser.vue | 9 +- src/components/Holder/user.vue | 76 ++- src/layout/components/AppMain.vue | 21 +- src/layout/components/Navbar.vue | 7 +- src/layout/components/Sidebar/index.vue | 3 +- src/layout/components/notice/index.vue | 15 +- src/layout/index.vue | 2 +- src/permission.ts | 23 +- src/router/index.ts | 23 +- src/store/modules/house.ts | 50 +- src/store/modules/notice.ts | 66 +-- src/store/modules/permission.ts | 8 +- src/utils/house.ts | 2 +- src/utils/money.ts | 68 +++ src/views/demo/demo/index.vue | 12 +- src/views/system/Activity/index.vue | 12 +- src/views/system/Banner/index.vue | 18 +- src/views/system/Complaint/index.vue | 12 +- src/views/system/ComplaintType/index.vue | 22 +- src/views/system/HandleLog/index.vue | 12 +- src/views/system/HouseFacilities/index.vue | 12 +- src/views/system/MonthCard/index.vue | 24 +- src/views/system/NoticePc/index.vue | 12 +- src/views/system/Notification/index.vue | 36 +- src/views/system/ParkingCost/index.vue | 12 +- src/views/system/Questionnaire/index.vue | 12 +- src/views/system/Repair/addRepair.vue | 19 +- src/views/system/Repair/addRepairlist.vue | 25 +- src/views/system/Repair/index.vue | 12 +- src/views/system/Repair/repairMain.vue | 2 +- src/views/system/Sdb/ChargeItem/add.vue | 10 +- src/views/system/Sdb/ChargeItem/index.vue | 12 +- src/views/system/Sdb/SdbBill/add.vue | 202 +++++--- src/views/system/Sdb/SdbBill/index.vue | 3 +- src/views/system/Sdb/SdbBill/main.vue | 80 +-- src/views/system/Sdb/SdbCashier/cashier.vue | 55 +- src/views/system/Sdb/SdbCashier/history.vue | 26 +- src/views/system/Sdb/SdbCashier/index.vue | 27 +- .../system/Sdb/SdbCashier/versionbody.vue | 126 +++++ .../system/Sdb/SdbElectricityDevice/index.vue | 10 +- src/views/system/Sdb/SdbTopupRecord/index.vue | 6 +- src/views/system/Sdb/statistics/index.vue | 150 ++++++ src/views/system/Visitor/visitorMain.vue | 1 - src/views/system/carArea/index.vue | 24 +- src/views/system/cars/addCars.vue | 5 +- src/views/system/cars/index.vue | 24 +- src/views/system/equipment/Archive/index.vue | 2 +- src/views/system/equipment/Archive/main.vue | 25 +- src/views/system/equipment/Category/index.vue | 12 +- src/views/system/equipment/Repair/add.vue | 9 +- src/views/system/equipment/Repair/index.vue | 28 +- src/views/system/equipment/Repair/main.vue | 2 +- src/views/system/house/AddHouse.vue | 42 +- src/views/system/house/HouseDetails.vue | 87 ++-- .../system/house/components/building.vue | 5 +- .../house/components/components/houseItem.vue | 45 +- .../house/components/components/table.vue | 34 +- src/views/system/house/components/unit.vue | 58 ++- src/views/system/house/index.vue | 10 +- .../system/houseRental/addhouseResident.vue | 14 +- src/views/system/houseRental/houseMain.vue | 21 +- src/views/system/houseRental/index.vue | 16 +- src/views/system/houseUnit/index.vue | 12 +- src/views/system/houseUse/index.vue | 12 +- src/views/system/inspection/Daily/index.vue | 12 +- src/views/system/inspection/Item/index2.vue | 27 +- src/views/system/inspection/Monthly/index.vue | 12 +- .../inspection/Plan/addInspectionPlan.vue | 13 +- src/views/system/inspection/Plan/index.vue | 28 +- src/views/system/inspection/Point/index.vue | 12 +- src/views/system/inspection/Record/index.vue | 13 +- .../inspection/Route/addInspectionRoute.vue | 24 +- src/views/system/inspection/Route/index2.vue | 34 +- .../system/inspection/Statistics/index.vue | 12 +- src/views/system/inspection/Task/addTask.vue | 18 +- src/views/system/inspection/Task/index.vue | 14 +- src/views/system/inspection/Weekly/index.vue | 12 +- src/views/system/menu/index.vue | 3 +- src/views/system/notice/index.vue | 81 +-- src/views/system/oss/index.vue | 10 +- src/views/system/parking/addParking.vue | 46 +- src/views/system/parking/index.vue | 17 +- src/views/system/post/index.vue | 12 +- src/views/system/resident/ResidentMain.vue | 25 +- src/views/system/resident/addResident.vue | 12 +- src/views/system/resident/index.vue | 34 +- src/views/system/role/addRole.vue | 24 + src/views/system/statistics/Payment/index.vue | 207 +++++--- .../system/statistics/Personnel/index.vue | 235 +++++++-- src/views/system/storeroom/addStoreRoom.vue | 24 +- src/views/system/storeroom/index.vue | 16 +- src/views/system/version/index.vue | 0 .../system/warehouse/Inventory/index.vue | 8 +- src/views/workbench/index.vue | 484 +----------------- src/views/workbench/index2.vue | 61 +-- 123 files changed, 2729 insertions(+), 1563 deletions(-) create mode 100644 src/api/system/Payment/index.ts create mode 100644 src/api/system/Personnel/index.ts rename src/api/system/{ => post}/Questionnaire/index.ts (100%) rename src/api/system/{ => post}/Questionnaire/type.ts (100%) create mode 100644 src/components/Holder/CarUser.vue create mode 100644 src/views/system/Sdb/SdbCashier/versionbody.vue create mode 100644 src/views/system/Sdb/statistics/index.vue create mode 100644 src/views/system/version/index.vue diff --git a/.env.development b/.env.development index b9502a1..6d1bcc0 100644 --- a/.env.development +++ b/.env.development @@ -28,7 +28,10 @@ VITE_APP_SNAILJOB_ADMIN = 'http://192.168.1.215/snail-job' VITE_APP_PORT = 5173 # 登录成功跳转地址 -VITE_LOGIN_BACK_URL = '/equipment/WaterDevice' +# VITE_LOGIN_BACK_URL = '/equipment/WaterDevice' +VITE_LOGIN_BACK_URL = '/index' +# 工作台正式内容:false 假内容:true +VITE_LOGIN_BACK_URL_WORKBENCH_TRUE= true # 是否展示工作台 VITE_APP_SHOW_WORK_PLATFORM = true @@ -61,5 +64,5 @@ VITE_APP_CLIENT_ID = 'e5cd7e4891bf95d1d19206ce24a7b32e' VITE_APP_WEBSOCKET = false # sse 开关 -VITE_APP_SSE = false +VITE_APP_SSE = true diff --git a/.env.production b/.env.production index 7a619be..ac6c1bb 100644 --- a/.env.production +++ b/.env.production @@ -19,9 +19,12 @@ VITE_APP_BASE_API = 'https://wuyeapi.bugtc.com' # VITE_APP_BASE_API = 'http://192.168.0.222:8080' # 登录成功跳转地址 -VITE_LOGIN_BACK_URL = '/equipment/WaterDevice' +# VITE_LOGIN_BACK_URL = '/equipment/WaterDevice' +VITE_LOGIN_BACK_URL = '/index' +# 工作台正式内容:false 假内容:true +VITE_LOGIN_BACK_URL_WORKBENCH_TRUE= true # 是否展示工作台 -VITE_APP_SHOW_WORK_PLATFORM = false +VITE_APP_SHOW_WORK_PLATFORM = true # 地图类型 天地图 or 高德地图 天地图 WGS84 高德地图 GCJ02, 高德地图 需要在高德地图官网申请key @@ -54,4 +57,4 @@ VITE_APP_CLIENT_ID = 'e5cd7e4891bf95d1d19206ce24a7b32e' VITE_APP_WEBSOCKET = false # sse 开关 -VITE_APP_SSE = false +VITE_APP_SSE = true diff --git a/src/api/system/InspectionPoint/index.ts b/src/api/system/InspectionPoint/index.ts index 678e1a8..0e1dc13 100644 --- a/src/api/system/InspectionPoint/index.ts +++ b/src/api/system/InspectionPoint/index.ts @@ -8,7 +8,7 @@ import { PointVO, PointForm, PointQuery } from '@/api/system/InspectionPoint/typ * @returns {*} */ -export const listPoint = (query?: PointQuery): AxiosPromise => { +export const listPoint = (query?: PointQuery | {}): AxiosPromise => { return request({ url: '/inspection/point/list', method: 'get', diff --git a/src/api/system/InspectionRoute/index.ts b/src/api/system/InspectionRoute/index.ts index b0792bd..f2ed687 100644 --- a/src/api/system/InspectionRoute/index.ts +++ b/src/api/system/InspectionRoute/index.ts @@ -61,3 +61,11 @@ export const delRoute = (id: string | number | Array) => { method: 'delete' }); }; + +export const changeStatusRoute = (id: string, status: string) => { + return request({ + url: '/inspection/route/changeStatus', + method: 'put', + params: { id, status } + }); +}; diff --git a/src/api/system/Notification/index.ts b/src/api/system/Notification/index.ts index 104fe55..7e48ea7 100644 --- a/src/api/system/Notification/index.ts +++ b/src/api/system/Notification/index.ts @@ -1,17 +1,40 @@ import request from '@/utils/request'; import { AxiosPromise } from 'axios'; -import { NoticeVO, NoticeForm, NoticeQuery } from '@/api/system/NoticePc/type'; +export interface NotificationVo { + 'id': 'string'; + 'title': 'string'; + 'item': 'string'; + 'content': 'string'; + 'manageIsCheck': 'string'; + 'repairIsCheck': 'string'; +} /** * 查询消息通知列表 * @param query * @returns {*} */ -export const getNotificationList = (query?: NoticeQuery): AxiosPromise => { +export const getNotificationList = (query): AxiosPromise => { return request({ url: '/notification/list', method: 'get', params: query }); }; + +/** + * 消息通知 已读 + * @param query + * @returns {*} + */ + +export const ReadNotificationByID = (id: string) => { + return request({ + url: '/notification/read', + method: 'POST', + data: { + id + } + }); +}; diff --git a/src/api/system/Payment/index.ts b/src/api/system/Payment/index.ts new file mode 100644 index 0000000..0a3ca33 --- /dev/null +++ b/src/api/system/Payment/index.ts @@ -0,0 +1,27 @@ +import request from '@/utils/request'; +import { AxiosPromise } from 'axios'; + +/** + * 获取缴费方式,种类占比 + * @param query + * @returns {*} + */ + +export const income_statsApi = ( + datetime?: string +): Promise<{ + 'totalResident': number; + 'totalHouse': number; + 'totalParking': number; + 'totalDevice': number; + 'totalMaterial': number; + 'totalComplaint': number; +}> => { + return request({ + url: '/api/analysis/income/stats', + method: 'get', + params: { + datetime: datetime + } + }); +}; diff --git a/src/api/system/Personnel/index.ts b/src/api/system/Personnel/index.ts new file mode 100644 index 0000000..8c2ce45 --- /dev/null +++ b/src/api/system/Personnel/index.ts @@ -0,0 +1,93 @@ +import request from '@/utils/request'; +import { AxiosPromise } from 'axios'; + +/** + * 查询入住情况 + * @param query + * @returns {*} + */ + +export const user_movein_list = (query?: { + datetime: string; +}): Promise<{ + 'totalResident': number; + 'totalHouse': number; + 'totalParking': number; + 'totalDevice': number; + 'totalMaterial': number; + 'totalComplaint': number; +}> => { + return request({ + url: '/workSpace/totalList', + method: 'get', + params: query + }); +}; + +/** + * 查询居住人类型列表 + * @param query + * @returns {*} + */ + +export const get_movein_user_type = (query?: { + datetime: string; +}): Promise<{ + 'owner': string; + 'ownerRate': string; + 'tenant': string; + 'tenantRate': string; + 'relatives': string; + 'relativeRate': string; + 'other': string; + 'otherRate': string; + 'totalResident': string; +}> => { + return request({ + url: '/residentType/selectTotal', + method: 'get', + params: query + }); +}; +/** + * 查询住户性别比例 + * @param query + * @returns {*} + */ + +export const get_movein_user_sex = (query?: { + datetime: string; +}): Promise<{ + 'man': number; + 'woman': number; + 'total': number; + 'manRate': string; + 'womanRate': string; +}> => { + return request({ + url: '/gender/overview', + method: 'get', + params: query + }); +}; +/** + * 获取迁入迁出趋势图 + * @param query + * @returns {*} + */ + +export const get_movein_moveout_list = (query?: { + datetime: string; +}): Promise< + { + 'date': string; + 'inCount': number; + 'outCount': number; + }[] +> => { + return request({ + url: '/residentDailyStat/selectTotal', + method: 'get', + params: query + }); +}; diff --git a/src/api/system/Repair/type.ts b/src/api/system/Repair/type.ts index b76bdc7..58e5a34 100644 --- a/src/api/system/Repair/type.ts +++ b/src/api/system/Repair/type.ts @@ -22,7 +22,7 @@ export interface RepairVO { /** * 报修人id(住户表id) */ - residentId: string | number; + residentId: string; /** * 手机号码 @@ -86,7 +86,7 @@ export interface RepairForm extends BaseEntity { /** * 报修人id(住户表id) */ - residentId?: string | number; + residentId?: string; /** * 手机号码 @@ -163,7 +163,7 @@ export interface RepairQuery extends PageQuery { /** * 报修人id(住户表id) */ - residentId?: string | number; + residentId?: string; /** * 手机号码 diff --git a/src/api/system/SdbBill/index.ts b/src/api/system/SdbBill/index.ts index 907a64f..895aa3a 100644 --- a/src/api/system/SdbBill/index.ts +++ b/src/api/system/SdbBill/index.ts @@ -106,3 +106,16 @@ export const queryResidentList_holder = (query: { pageNum: number; pageSize: num params: query }); }; + +/** + * 查询车位业主列表 + * @param data + * @returns {*} + */ +export const queryResidentList_Cars = (query: { pageNum: number; pageSize: number }): AxiosPromise => { + return request({ + url: '/bill/getParkingList', + method: 'GET', + params: query + }); +}; diff --git a/src/api/system/SdbBill/type.ts b/src/api/system/SdbBill/type.ts index 5b6a0ad..9c596cf 100644 --- a/src/api/system/SdbBill/type.ts +++ b/src/api/system/SdbBill/type.ts @@ -13,6 +13,7 @@ export interface BillVO { * 收费项目id */ chargeItemId: string; + residentIds: string[]; /** * 收费范围 0全体业主 1部分业主 diff --git a/src/api/system/SdbCashier/index.ts b/src/api/system/SdbCashier/index.ts index fec5851..c8d71be 100644 --- a/src/api/system/SdbCashier/index.ts +++ b/src/api/system/SdbCashier/index.ts @@ -13,7 +13,7 @@ export type cashlist = { * @param post * @returns {*} */ -export const cashQuery = (data: { residentName?: string }): AxiosPromise => { +export const cashQuery = (data: { residentName?: string; queryType: number }): AxiosPromise => { return request({ url: '/cash/residentList', method: 'post', @@ -38,6 +38,7 @@ export type billlistType = { 'endDate': string; 'money': string; 'payStatus': string; + amount: string; }; /** * 查询账单列表 @@ -51,3 +52,10 @@ export const billQuery = (data: { residentId?: string; payStatus: '0' | '1' }): data: data }); }; +export const billEdit = (data: { 'detailsId': string[]; 'payType': string; 'payStatus': string }): AxiosPromise => { + return request({ + url: '/cash/billEdit', + method: 'post', + data: data + }); +}; diff --git a/src/api/system/SdbChargeItem/index.ts b/src/api/system/SdbChargeItem/index.ts index 30413e3..7cd6218 100644 --- a/src/api/system/SdbChargeItem/index.ts +++ b/src/api/system/SdbChargeItem/index.ts @@ -8,7 +8,7 @@ import { ChargeItemVO, ChargeItemForm, ChargeItemQuery } from './type'; * @returns {*} */ -export const listChargeItem = (query?: ChargeItemQuery): AxiosPromise => { +export const listChargeItem = (query?: ChargeItemQuery | {}): AxiosPromise => { return request({ url: '/chargeItem/list', method: 'get', diff --git a/src/api/system/SdbTopupRecord/index.ts b/src/api/system/SdbTopupRecord/index.ts index 7b24e0d..95ac256 100644 --- a/src/api/system/SdbTopupRecord/index.ts +++ b/src/api/system/SdbTopupRecord/index.ts @@ -61,3 +61,39 @@ export const delTopupRecord = (id: string | number | Array) => method: 'delete' }); }; + +export type TopupRecordList = { + 'id': string; + 'rechargeTime': string; + 'villageName': string; + 'residentName': string; + 'houseName': string; + 'fixedPriceUnit': string; + 'fixedPrice': string; + 'unit': string; + 'deviceCode': string; + 'orderId': string; + 'rechargeAmount': string; + 'topUpType': string; +}; +/** 查询所有设备充值记录 */ +export const getTopupRecordByDate = (query: { + startTime?: string; + endTime?: string; + pageSize: number; + pageNum: number; +}): AxiosPromise => { + return request({ + url: '/topupRecord/water/list', + method: 'get', + params: query + }); +}; +/** 导出 所有设备的 充值记录 */ +export const exportTopupRecordByDate = (query: { startTime?: string; endTime?: string }): AxiosPromise => { + return request({ + url: '/topupRecord/water/export', + method: 'get', + params: query + }); +}; diff --git a/src/api/system/carArea/index.ts b/src/api/system/carArea/index.ts index f3f1532..3ce13c2 100644 --- a/src/api/system/carArea/index.ts +++ b/src/api/system/carArea/index.ts @@ -8,7 +8,7 @@ import { AreaVO, AreaForm, AreaQuery } from '@/api/system/carArea/type'; * @returns {*} */ -export const listArea = (query?: AreaQuery): AxiosPromise => { +export const listArea = (query: AreaQuery | {} = {}): AxiosPromise => { return request({ url: '/area/list', method: 'get', diff --git a/src/api/system/cars/type.ts b/src/api/system/cars/type.ts index 0fa7767..8f86f61 100644 --- a/src/api/system/cars/type.ts +++ b/src/api/system/cars/type.ts @@ -2,17 +2,17 @@ export interface CarVO { /** * 车辆管理表id */ - id: string | number; + id: string; /** * 区域id */ - areaId: string | number; + areaId: string; /** * 车位id */ - parkingId: string | number; + parkingId: string; /** * 持有人id(住户表id) diff --git a/src/api/system/house/index.ts b/src/api/system/house/index.ts index c79b81f..8e9a818 100644 --- a/src/api/system/house/index.ts +++ b/src/api/system/house/index.ts @@ -13,10 +13,11 @@ export function getBuildinglistAPI(): AxiosPromise { }); } /** 获取所有楼栋 */ -export function getBuildinglists(): AxiosPromise { +export function getBuildinglists(query = {}): AxiosPromise { return request({ url: '/building/list', - method: 'get' + method: 'get', + params: query }); } /** 获取单一楼栋 */ @@ -162,6 +163,8 @@ export interface Storeroom { shareArea: string; storeroomId: number; storeroomNo: string; + remark: string; + unitNoId: string; unitNo: number; } diff --git a/src/api/system/houseRental/index.ts b/src/api/system/houseRental/index.ts index 0964e3d..c9089f3 100644 --- a/src/api/system/houseRental/index.ts +++ b/src/api/system/houseRental/index.ts @@ -81,3 +81,9 @@ export const uploadHouseImage = (formdata: FormData): AxiosPromise => { + return request({ + url: `/houseRental/ownerName/${houseId}`, + method: 'GET' + }); +}; diff --git a/src/api/system/houseUse/index.ts b/src/api/system/houseUse/index.ts index 7378458..8b8db1d 100644 --- a/src/api/system/houseUse/index.ts +++ b/src/api/system/houseUse/index.ts @@ -15,6 +15,13 @@ export const listHouseUseType = (query?: HouseUseTypeQuery): AxiosPromise => { + return request({ + url: '/houseUseType/getList', + method: 'get', + params: query + }); +}; /** * 查询房屋类型详细 diff --git a/src/api/system/Questionnaire/index.ts b/src/api/system/post/Questionnaire/index.ts similarity index 100% rename from src/api/system/Questionnaire/index.ts rename to src/api/system/post/Questionnaire/index.ts diff --git a/src/api/system/Questionnaire/type.ts b/src/api/system/post/Questionnaire/type.ts similarity index 100% rename from src/api/system/Questionnaire/type.ts rename to src/api/system/post/Questionnaire/type.ts diff --git a/src/api/system/resident/type.ts b/src/api/system/resident/type.ts index 20e6385..db02440 100644 --- a/src/api/system/resident/type.ts +++ b/src/api/system/resident/type.ts @@ -90,9 +90,12 @@ export interface ResidentForm extends BaseEntity { name?: string; /** - * 0业主 1租户 + * 0业主 + * 1亲属 + * 2租户 + * 3朋友 */ - type?: string; + ownerRelationship?: string; /** * 0 男性 1女性 @@ -152,10 +155,12 @@ export interface ResidentQuery extends PageQuery { date?: any; /** - * 住户类型 - * 0业主 1租户 + * 0业主 + * 1亲属 + * 2租户 + * 3朋友 */ - type?: string; + ownerRelationship?: string; /** * 住户状态 * 0审核中 1 已认证 @@ -165,5 +170,5 @@ export interface ResidentQuery extends PageQuery { houseId?: number; villageId?: string; buildingId?: number; - unitNo?: number; + unitNoId?: number; } diff --git a/src/api/system/storeroom/index.ts b/src/api/system/storeroom/index.ts index 2cd0a4d..1eeb231 100644 --- a/src/api/system/storeroom/index.ts +++ b/src/api/system/storeroom/index.ts @@ -68,11 +68,11 @@ export const delStoreroom = (id: string | number | Array) => { */ export const GetVillagelistStoreroom = ( - data: { villageid: string; unitNo: string; houseId?: string; buildingId: string } = { + data: { villageid: string; unitNoId: string; houseId?: string; buildingId: string } = { villageid: null, buildingId: null, houseId: null, - unitNo: null + unitNoId: null } ): AxiosPromise => { return request({ @@ -81,7 +81,7 @@ export const GetVillagelistStoreroom = ( data: { villageId: data.villageid, buildingId: data.buildingId, - unitNo: data.unitNo, + unitNoId: data.unitNoId, houseId: data.houseId } }); diff --git a/src/api/system/storeroom/types.ts b/src/api/system/storeroom/types.ts index 7045796..2ad799d 100644 --- a/src/api/system/storeroom/types.ts +++ b/src/api/system/storeroom/types.ts @@ -12,7 +12,8 @@ export interface StoreroomVO { /** * 单元号 */ - unitNo: string | number; + unitNoId: string | number; + unitName: string; /** * 储藏室号 diff --git a/src/assets/styles/index.scss b/src/assets/styles/index.scss index d85696c..92439b4 100644 --- a/src/assets/styles/index.scss +++ b/src/assets/styles/index.scss @@ -259,3 +259,31 @@ aside { .el-button { border-radius: 5px; } + +.bgColor { + width: 850px; + height: 850px; + background: #fdf1ee; + filter: blur(200px); + display: block; + position: absolute; + top: 0; + right: 0; + transform: translateY(-50%) translateX(0%); + pointer-events: none; + z-index: 1; + border-radius: 50%; + + @media (max-width: 1540px) { + width: 800px; + height: 400px; + } + @media (max-width: 1280px) { + width: 600px; + height: 300px; + } + @media (max-width: 1030px) { + width: 400px; + height: 200px; + } +} diff --git a/src/assets/styles/sidebar.scss b/src/assets/styles/sidebar.scss index 365d1ae..3ee4021 100644 --- a/src/assets/styles/sidebar.scss +++ b/src/assets/styles/sidebar.scss @@ -11,6 +11,7 @@ position: relative; overflow-x: hidden; background: var(--el-bg-color-page); + background: #dfedff; } .sidebarHide { diff --git a/src/components/Holder/CarUser.vue b/src/components/Holder/CarUser.vue new file mode 100644 index 0000000..4c1337a --- /dev/null +++ b/src/components/Holder/CarUser.vue @@ -0,0 +1,294 @@ + + + + + diff --git a/src/components/Holder/house.vue b/src/components/Holder/house.vue index 0fec511..7a18520 100644 --- a/src/components/Holder/house.vue +++ b/src/components/Holder/house.vue @@ -1,8 +1,8 @@ -
前往gitee
+ + diff --git a/src/views/system/HandleLog/index.vue b/src/views/system/HandleLog/index.vue index 2c09bf7..f32763e 100644 --- a/src/views/system/HandleLog/index.vue +++ b/src/views/system/HandleLog/index.vue @@ -123,10 +123,14 @@ const { queryParams, form, rules } = toRefs(data); /** 查询办事记录列表 */ const getList = async () => { loading.value = true; - const res = await listHandleLog(queryParams.value); - handleLogList.value = res.rows; - total.value = res.total; - loading.value = false; + listHandleLog(queryParams.value) + .then((res) => { + handleLogList.value = res.rows; + total.value = res.total; + }) + .finally(() => { + loading.value = false; + }); }; /** 搜索按钮操作 */ diff --git a/src/views/system/HouseFacilities/index.vue b/src/views/system/HouseFacilities/index.vue index 2578eb7..b6c7381 100644 --- a/src/views/system/HouseFacilities/index.vue +++ b/src/views/system/HouseFacilities/index.vue @@ -133,10 +133,14 @@ const { queryParams, form } = toRefs(data); /** 查询房屋设施管理列表 */ const getList = async () => { loading.value = true; - const res = await listHouseFacilities(queryParams.value); - houseFacilitiesList.value = res.rows; - total.value = res.total; - loading.value = false; + listHouseFacilities(queryParams.value) + .then((res) => { + houseFacilitiesList.value = res.rows; + total.value = res.total; + }) + .finally(() => { + loading.value = false; + }); }; /** 取消按钮 */ diff --git a/src/views/system/MonthCard/index.vue b/src/views/system/MonthCard/index.vue index d17f369..385fcd3 100644 --- a/src/views/system/MonthCard/index.vue +++ b/src/views/system/MonthCard/index.vue @@ -54,19 +54,19 @@ - + - - - + + + - + @@ -76,7 +76,7 @@ --> - + diff --git a/src/views/system/Visitor/visitorMain.vue b/src/views/system/Visitor/visitorMain.vue index bcb9ba9..dc29eb2 100644 --- a/src/views/system/Visitor/visitorMain.vue +++ b/src/views/system/Visitor/visitorMain.vue @@ -87,7 +87,6 @@ import { ref } from 'vue'; import PageHeader from '@/components/Pageheader/index.vue'; import { getVisitor } from '@/api/system/Visitor'; import { formatTimeDiff } from '@/utils/time'; - const { proxy } = getCurrentInstance() as ComponentInternalInstance; const { sys_user_sex } = toRefs(proxy?.useDict('sys_user_sex')); diff --git a/src/views/system/carArea/index.vue b/src/views/system/carArea/index.vue index aaf923d..c280cfc 100644 --- a/src/views/system/carArea/index.vue +++ b/src/views/system/carArea/index.vue @@ -53,9 +53,13 @@ - - - + + + + +