| | |
| | | <view class="card-detail"> |
| | | <view class="detail" v-for="(field, index) in CommonUtils.emptyValueFilter(item, HFieldList)" |
| | | :key="index"> |
| | | <text>{{field.ColmCols}}:</text>{{item[field.ColmCols]}} |
| | | <template v-if="field.ColmType == 'DateTime'"> |
| | | <text>{{field.ColmCols}}:</text>{{dayjs(item[field.ColmCols]).format('YYYY-MM-DD HH:mm:ss')}} |
| | | </template> |
| | | <template v-else> |
| | | <text>{{field.ColmCols}}:</text>{{item[field.ColmCols]}} |
| | | </template> |
| | | </view> |
| | | </view> |
| | | <view class="more" v-if="showDetail == index && operations != index"> |
| | |
| | | } else if (tab == 1) { |
| | | uni.navigateTo({ |
| | | url: '/pages/MJGL/Sb_EqpMaintenance/Sb_EqpMaintenanceBill?operationType=5' + Query |
| | | + `&HSendWorkID=${item.HSendWorkID}` |
| | | }) |
| | | } else if (tab == 2) { |
| | | uni.navigateTo({ |
| | | url: '/pages/MJGL/Sb_EquipRepairCheckBill/Sb_EquipRepairCheckBill?operationType=4' + |
| | | Query |
| | | Query + `&HSendWorkID=${item.HSendWorkID}` |
| | | }) |
| | | } |
| | | }, |
| | |
| | | let res = await CommonUtils.doRequest2Async({ |
| | | url: '/Sb_EquipRepairCheckTaskReport/RepairCheckList2', |
| | | data: { |
| | | user: getUserInfo()["Czymc"] |
| | | user: getUserInfo()["HEmpName"] |
| | | } |
| | | }) |
| | | |
| | |
| | | } |
| | | } |
| | | }, |
| | | onLoad() { |
| | | onShow() { |
| | | this.getRepairList() |
| | | } |
| | | } |