From f318c9c7c127b00f353bf45f273096d1dc4b424f Mon Sep 17 00:00:00 2001 From: admin <1101184511@qq.com> Date: 星期三, 20 八月 2025 01:10:48 +0800 Subject: [PATCH] 功能完善 --- src/main/resources/static/admin/order-task-list.html | 18 ++++++++++-------- 1 files changed, 10 insertions(+), 8 deletions(-) diff --git a/src/main/resources/static/admin/order-task-list.html b/src/main/resources/static/admin/order-task-list.html index 47ebcc6..b1c19f1 100644 --- a/src/main/resources/static/admin/order-task-list.html +++ b/src/main/resources/static/admin/order-task-list.html @@ -104,10 +104,10 @@ </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"> @@ -356,7 +356,7 @@ {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}, @@ -377,10 +377,12 @@ 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; -- Gitblit v1.8.0