Merge branch 'Dev' of http://101.37.171.70:10101/r/~jhz/STUWMS into Dev
| | |
| | | total: 0, |
| | | } |
| | | }, |
| | | { |
| | | label: '逾期待保养', |
| | | type: 3, |
| | | count: 0, |
| | | listData: [], // 添加这个 |
| | | pageMeta: { // 添加这个 |
| | | curPage: 1, |
| | | size: 50, |
| | | total: 0, |
| | | } |
| | | }, |
| | | { |
| | | label: '近日全部任务', |
| | | type: 2, |
| | |
| | | |
| | | if (data && data.h_p_Sb_EquipMaintainTaskReport_APP2) { |
| | | // 更新待验收页签 |
| | | this.tabs[2].listData = data.h_p_Sb_EquipMaintainTaskReport_APP2 |
| | | this.tabs[2].pageMeta.total = data.h_p_Sb_EquipMaintainTaskReport_APP2.length |
| | | this.tabs[2].count = data.h_p_Sb_EquipMaintainTaskReport_APP2.length |
| | | this.tabs[3].listData = data.h_p_Sb_EquipMaintainTaskReport_APP2 |
| | | this.tabs[3].pageMeta.total = data.h_p_Sb_EquipMaintainTaskReport_APP2.length |
| | | this.tabs[3].count = data.h_p_Sb_EquipMaintainTaskReport_APP2.length |
| | | } |
| | | |
| | | if (data && data.h_p_Sb_EquipMaintainTaskReport_APP3) { |
| | | // 更新待验收页签 |
| | | this.tabs[2].listData = data.h_p_Sb_EquipMaintainTaskReport_APP3 |
| | | this.tabs[2].pageMeta.total = data.h_p_Sb_EquipMaintainTaskReport_APP3.length |
| | | this.tabs[2].count = data.h_p_Sb_EquipMaintainTaskReport_APP3.length |
| | | } |
| | | |
| | | |
| | | uni.stopPullDownRefresh() |
| | |
| | | </view> |
| | | |
| | | <view class="op" v-if="operations == item.hmainid"> |
| | | <button class="op1" v-if="activeTab == 0" size="mini" plain |
| | | <button class="op1" v-if="activeTab == 0 || 3" size="mini" plain |
| | | @tap.stop="pushBill(0,item)">下推保养单</button> |
| | | <button class="op5" size="mini" plain @tap.stop="operations = -1">取消操作</button> |
| | | </view> |
| | |
| | | { |
| | | label: '近日已保养', |
| | | type: 1, |
| | | count: 0, |
| | | listData: [], // 添加这个 |
| | | showData: [], |
| | | pageMeta: { // 添加这个 |
| | | curPage: 1, |
| | | size: 20, |
| | | total: 0, |
| | | } |
| | | }, |
| | | { |
| | | label: '逾期未保养', |
| | | type: 3, |
| | | count: 0, |
| | | listData: [], // 添加这个 |
| | | showData: [], |
| | |
| | | |
| | | if (data && data.h_p_Sc_MouldMaintainTaskReport_APP2) { |
| | | // 更新待验收页签 |
| | | this.tabs[2].listData = data.h_p_Sc_MouldMaintainTaskReport_APP2 |
| | | this.tabs[3].listData = data.h_p_Sc_MouldMaintainTaskReport_APP2 |
| | | this.tabs[3].showData = data.h_p_Sc_MouldMaintainTaskReport_APP.slice( |
| | | (this.tabs[3].pageMeta.curPage-1)*this.tabs[3].pageMeta.size, |
| | | (this.tabs[3].pageMeta.curPage)*this.tabs[3].pageMeta.size |
| | | ) |
| | | this.tabs[3].pageMeta.total = data.h_p_Sc_MouldMaintainTaskReport_APP2.length |
| | | this.tabs[3].count = data.h_p_Sc_MouldMaintainTaskReport_APP2.length |
| | | } |
| | | |
| | | if (data && data.h_p_Sc_MouldMaintainTaskReport_APP3) { |
| | | // 更新待验收页签 |
| | | this.tabs[2].listData = data.h_p_Sc_MouldMaintainTaskReport_APP3 |
| | | this.tabs[2].showData = data.h_p_Sc_MouldMaintainTaskReport_APP.slice( |
| | | (this.tabs[2].pageMeta.curPage-1)*this.tabs[2].pageMeta.size, |
| | | (this.tabs[2].pageMeta.curPage)*this.tabs[2].pageMeta.size |
| | | ) |
| | | this.tabs[2].pageMeta.total = data.h_p_Sc_MouldMaintainTaskReport_APP2.length |
| | | this.tabs[2].count = data.h_p_Sc_MouldMaintainTaskReport_APP2.length |
| | | this.tabs[2].pageMeta.total = data.h_p_Sc_MouldMaintainTaskReport_APP3.length |
| | | this.tabs[2].count = data.h_p_Sc_MouldMaintainTaskReport_APP3.length |
| | | } |
| | | |
| | | |