| | |
| | | </div> |
| | | </div> |
| | | <div class="layui-form-item"> |
| | | <label class="layui-form-label">收货周期(小时)</label> |
| | | <label class="layui-form-label">收货周期(分钟)</label> |
| | | <div class="layui-input-block"> |
| | | <input type="number" name="receiveCycleHours" required lay-verify="required|number" min="1" |
| | | placeholder="请输入收货周期(小时)" autocomplete="off" class="layui-input"> |
| | | <input type="number" name="receiveCycleMinutes" required lay-verify="required|number" min="1" |
| | | placeholder="请输入收货周期(分钟)" autocomplete="off" class="layui-input"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-form-item"> |
| | |
| | | {field: 'completedOrderCount', title: '已下单数', width: 90}, |
| | | {field: 'receivedOrderCount', title: '已收货数', width: 90}, |
| | | {field: 'reviewedOrderCount', title: '已评价数', width: 90}, |
| | | {field: 'receiveCycleHours', title: '收货周期(小时)', width: 120}, |
| | | {field: 'receiveCycleMinutes', title: '收货周期(分钟)', width: 120}, |
| | | {field: 'orderStartTime', title: '下单开始时间', width: 160}, |
| | | {field: 'orderEndTime', title: '下单结束时间', width: 160}, |
| | | {field: 'createTime', title: '创建时间', width: 160}, |
| | |
| | | let html = '<div>'; |
| | | html += '<a href="javascript:void(0)" onclick="updateTask(' + d.id + ')" class="layui-table-link">修改</a> '; |
| | | html += '<a href="javascript:void(0)" onclick="deleteTask(' + d.id + ')" class="layui-table-link">删除</a> '; |
| | | if (d.status == 0) { |
| | | html += '<a href="javascript:void(0)" onclick="assignTask(' + d.id + ')" class="layui-table-link">分配</a>'; |
| | | }else{ |
| | | html += '<a href="javascript:void(0)" onclick="viewAssignedClients(' + d.id + ')" class="layui-table-link">已分配设备</a>'; |
| | | |
| | | html += '<a href="javascript:void(0)" onclick="assignTask(' + d.id + ')" class="layui-table-link">分配</a> '; |
| | | |
| | | if (d.status != 0) |
| | | { |
| | | html += '<a href="javascript:void(0)" onclick="viewAssignedClients(' + d.id + ')" class="layui-table-link">已分配设备</a> '; |
| | | } |
| | | html += '</div>'; |
| | | return html; |