diff --git a/packages/workOrderDashboard/index/index.css b/packages/workOrderDashboard/index/index.css index 2c9a055a..85ca8d00 100644 --- a/packages/workOrderDashboard/index/index.css +++ b/packages/workOrderDashboard/index/index.css @@ -136,6 +136,9 @@ page { .orderItem_row_label { width: 200rpx; } +.orderItem_row_status{ + min-width: 90rpx; +} .orderItem_row_state { font-size: 28rpx; diff --git a/packages/workOrderDashboard/index/index.vue b/packages/workOrderDashboard/index/index.vue index b5397cbb..46a545ad 100644 --- a/packages/workOrderDashboard/index/index.vue +++ b/packages/workOrderDashboard/index/index.vue @@ -37,7 +37,7 @@ {{ item.room.name }} - + {{ statusType[item.status].desc }} @@ -183,7 +183,9 @@ export default { const meun = menuButtonInfo(); this.top = meun.top; this.localHeight = meun.height; - this.communityId = JSON.parse(options.communityId); + if (options.communityId) { + this.communityId = JSON.parse(options.communityId); + } }, onShow() { this.page_num = 1; @@ -193,7 +195,7 @@ export default { }, onReachBottom() { if (this.flag) { - this.init(); + this.getTabsList(); } }, }