From 9a51c9b3a47f76ae136a22eecf0a9b2252d235c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E6=AF=85?= <1335909236@qq.com> Date: Tue, 9 Sep 2025 10:31:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=AE=8C=E5=96=84=E7=89=A9?= =?UTF-8?q?=E4=B8=9A=E7=AE=A1=E7=90=86=E6=A8=A1=E5=9D=97=E7=9A=84=E9=80=BB?= =?UTF-8?q?=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/community.js | 2 + packages/community/index/index.vue | 1 - packages/community/myCommunity/index.vue | 1 - packages/user/index/index.vue | 2 + packages/workOrderDashboard/guide/index.vue | 7 +- packages/workOrderDashboard/index/index.vue | 159 +++++++----------- .../workOrderDashboard/myCommunity/index.vue | 14 +- pages/index/index.vue | 3 +- pages/login/login.vue | 3 + pages/user/index.vue | 2 + 10 files changed, 77 insertions(+), 117 deletions(-) diff --git a/api/community.js b/api/community.js index d3c76516..e79d3142 100644 --- a/api/community.js +++ b/api/community.js @@ -40,6 +40,8 @@ export const apiArr = { communityInfo: "/api/v2/community/get-one",//获取小区信息 + workCommunityList: "/api/v2/wechat/community-worker/work-comm-list",//员工小区列表 + getOrderList:"/api/v2/wechat/community-orders/get-all-list",//获取账单 getCommunityRoomList:"/api/v2/wechat/community-room/list", //获取房源列表 getUserGovenmentMoney:"/api/v2/wechat/government-housing-fund-flow-crud/user", //获取用户公积金 diff --git a/packages/community/index/index.vue b/packages/community/index/index.vue index 6c896e46..0841f568 100644 --- a/packages/community/index/index.vue +++ b/packages/community/index/index.vue @@ -328,7 +328,6 @@ export default { }); if (!uni.getStorageSync("changeCommData")) { uni.setStorageSync("changeCommData", { name: res.rows[0].name, id: res.rows[0].community_id }) - uni.setStorageSync("isShowNav", res.rows[0].room_owner_list[0].type) } this.communityList = res.rows; }); diff --git a/packages/community/myCommunity/index.vue b/packages/community/myCommunity/index.vue index cbf0a229..e7df6e55 100644 --- a/packages/community/myCommunity/index.vue +++ b/packages/community/myCommunity/index.vue @@ -91,7 +91,6 @@ export default { this.currentCommunity = e uni.setStorageSync('changeCommData', { id: e.community_id, name: e.name }); uni.setStorageSync('currentCommunityAddr', e.addr); - uni.setStorageSync("isShowNav", e.room_owner_list[0].type) NavgateTo("1") }, }, diff --git a/packages/user/index/index.vue b/packages/user/index/index.vue index f22d8bb9..1ad9fe29 100644 --- a/packages/user/index/index.vue +++ b/packages/user/index/index.vue @@ -120,6 +120,7 @@ export default { uni.removeStorageSync('is_deal'); uni.removeStorageSync('is_dev'); uni.removeStorageSync('is_shop'); + uni.removeStorageSync('is_worker'); uni.removeStorageSync('shopId'); uni.removeStorageSync('order_dispatch_permission'); uni.removeStorageSync('work_order_permission'); @@ -146,6 +147,7 @@ export default { uni.setStorageSync('is_deal', loginRes.is_deal); uni.setStorageSync('is_dev', loginRes.is_dev); uni.setStorageSync('is_shop', loginRes.is_shop); + uni.setStorageSync('is_worker', loginRes.is_worker); // 获取用户信息 diff --git a/packages/workOrderDashboard/guide/index.vue b/packages/workOrderDashboard/guide/index.vue index a3307426..bae03059 100644 --- a/packages/workOrderDashboard/guide/index.vue +++ b/packages/workOrderDashboard/guide/index.vue @@ -11,11 +11,6 @@ - - @@ -69,7 +64,7 @@ export default { // 跳转到工单台 navigateToWorkOrderDashboard() { uni.navigateTo({ - url: '/packages/workOrderDashboard/index/index' + url: '/packages/workOrderDashboard/index/index?communityId=' + uni.getStorageSync('changeCommData').id }); } } diff --git a/packages/workOrderDashboard/index/index.vue b/packages/workOrderDashboard/index/index.vue index d4b2c288..844425ab 100644 --- a/packages/workOrderDashboard/index/index.vue +++ b/packages/workOrderDashboard/index/index.vue @@ -1,43 +1,31 @@ + +