| | |
| | | <view class="container"> |
| | | <cu-custom :bgColor="NavBarColor" :isBack="true" backRouterName="productionTask"> |
| | | <block slot="backText">返回</block> |
| | | <block slot="content">点检列表</block> |
| | | <block slot="content">待点检</block> |
| | | <block slot="right"> |
| | | <view @click="search"> |
| | | <image class="search" src="/static/icon/sear.png" style="width: 25px; height: 25px;" alt="" /> |
| | |
| | | </view> |
| | | </view> |
| | | <view class="flex"> |
| | | <view class="flex-sub text-light bg-white padding-xs margin-xs radius">设备名称:</view> |
| | | <view class="flex-sub bg-white padding-xs margin-xs radius text-right"> |
| | | {{item.equipmentName}} |
| | | </view> |
| | | </view> |
| | | <view class="flex"> |
| | | <view class="flex-sub text-light bg-white padding-xs margin-xs radius">安装位置:</view> |
| | | <view class="flex-sub bg-white padding-xs margin-xs radius text-right"> |
| | | {{item.installationPosition}} |
| | | </view> |
| | | </view> |
| | | <view class="flex"> |
| | | <view class="flex-sub text-light bg-white padding-xs margin-xs radius">点检日期:</view> |
| | | <view class="flex-sub bg-white padding-xs margin-xs text-blue radius text-right"> |
| | | {{item.inspectionDate}} |
| | |
| | | </view> |
| | | <view class="flex"> |
| | | <view class="flex-sub text-light bg-white padding-xs margin-xs radius">点检过期日期:</view> |
| | | <view class="flex-sub bg-white padding-xs margin-xs text-blue radius text-right"> |
| | | <view class="flex-sub bg-white padding-xs margin-xs text-red radius text-right"> |
| | | {{item.expirationTime}} |
| | | </view> |
| | | </view> |
| | |
| | | * @param {Object} item |
| | | * 详情页面 |
| | | */ |
| | | onClickProductionTask(item) { |
| | | |
| | | onClickProductionTask(item, flag = 'task', from = 'detils') { |
| | | let url = '/pages/ToDoList/ToDoListCheckSure/ToDoListCheckSure'; |
| | | uni.navigateTo({ |
| | | url: '/pages/checkList/checkListDetils/checkListDetils?item=' + |
| | | encodeURIComponent(JSON.stringify(item)) |
| | | |
| | | }) |
| | | |
| | | url: `${url}?item=${encodeURIComponent(JSON.stringify(item))}&flag=${flag}&from=${from}` |
| | | }); |
| | | }, |
| | | // onClickProductionTask(item) { |
| | | |
| | | // uni.navigateTo({ |
| | | // url: '/pages/checkList/checkListDetils/checkListDetils?item=' + |
| | | // encodeURIComponent(JSON.stringify(item)) |
| | | |
| | | // }) |
| | | |
| | | // }, |
| | | |
| | | search() { |
| | | this.$refs.popup.open(); |