| | |
| | | :key="index" |
| | | > |
| | | <view class="box_list_item_head"> |
| | | <text>{{ item.name }}的劳务入厂申请</text> |
| | | <text>{{ item.name }}的劳务入园申请</text> |
| | | <text class="loading">{{ statusMap[item.status] }}</text> |
| | | </view> |
| | | <view class="box_list_item_nr"> |
| | |
| | | <text>{{ item.starttime }}</text> |
| | | </view> |
| | | <view class="box_list_item_nr_item"> |
| | | <text>离厂时间:</text> |
| | | <text>离园时间:</text> |
| | | <text>{{ item.endtime }}</text> |
| | | </view> |
| | | <view class="box_list_item_nr_item"> |
| | |
| | | <view class="box_list_item_nr_x"></view> |
| | | <view class="box_list_item_nr_text">{{ item.createDate }} 提交</view> |
| | | </view> |
| | | </view> |
| | | <view v-if="list.length === 0" style="text-align: center;"> |
| | | <image src="@/static/empty.png" style="width: 320rpx;margin: 120rpx auto 0" mode="widthFix" /> |
| | | <view class="placeholder9 fs24">暂无数据</view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | if (this.total > 10) { |
| | | this.getList() |
| | | } |
| | | |
| | | }, |
| | | methods: { |
| | | handleDetail(id) { |
| | |
| | | }, |
| | | tabsClick(val) { |
| | | this.pagination.page = 0 |
| | | this.list = [] |
| | | this.status = val |
| | | this.getList() |
| | | }, |
| | |
| | | }, |
| | | }).then(res => { |
| | | if (res.data.records.length > 0) { |
| | | if(pagination.page === 1){ |
| | | if (pagination.page === 1) { |
| | | this.list = res.data.records |
| | | }else{ |
| | | } else { |
| | | this.list = [...list, ...res.data.records] |
| | | } |
| | | this.total = res.data.total |
| | |
| | | } |
| | | } |
| | | </script> |
| | | <style> |
| | | <style lang="scss"> |
| | | page { |
| | | background-color: #f7f7f7 !important; |
| | | } |
| | |
| | | display: flex; |
| | | align-items: center; |
| | | .active { |
| | | border: 1rpx solid #279baa !important; |
| | | color: #279baa !important; |
| | | border: 1rpx solid $uni-color-primary !important; |
| | | color: $uni-color-primary !important; |
| | | } |
| | | .box_head_item { |
| | | padding: 0 30rpx; |
| | |
| | | align-items: center; |
| | | justify-content: space-between; |
| | | .loading { |
| | | color: #279baa; |
| | | color: $uni-color-primary; |
| | | } |
| | | .success { |
| | | color: #03c68f; |