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 @@ + +