From e809f5955584e600d8612540ea814977c49774c2 Mon Sep 17 00:00:00 2001 From: Pu Zhibing <393733352@qq.com> Date: 星期三, 27 八月 2025 23:51:54 +0800 Subject: [PATCH] 修改bug --- ManagementQYTTravel/guns-admin/src/main/webapp/static/home.js | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/ManagementQYTTravel/guns-admin/src/main/webapp/static/home.js b/ManagementQYTTravel/guns-admin/src/main/webapp/static/home.js index c2d7fe9..826ce8f 100644 --- a/ManagementQYTTravel/guns-admin/src/main/webapp/static/home.js +++ b/ManagementQYTTravel/guns-admin/src/main/webapp/static/home.js @@ -396,15 +396,15 @@ var kuahceng = order.kuahceng; var o = ''; $('#order').html(o); - // var zc = '<div class="list-group"><a href="#" class="list-group-item active">快车未接订单</a>' - // for(var i in zhuanche){ - // zc += '<a href="#" class="list-group-item"><p class="list-group-item-text">起点:' + zhuanche[i].start + '</p><p class="list-group-item-text">终点:' + zhuanche[i].end + '</p>' + - // '<p class="list-group-item-text">下单时间:' + zhuanche[i].travelTime + '</p><p class="list-group-item-text">车型:' + zhuanche[i].carModel + '</p>' + - // '<p class="list-group-item-text">人数:' + zhuanche[i].num + '</p></a>'; - // } - // zc += '</div>'; - // o += zc; - // + var zc = '<div class="list-group"><a href="#" class="list-group-item active">快车未接订单</a>' + for(var i in zhuanche){ + zc += '<a href="#" class="list-group-item"><p class="list-group-item-text">起点:' + zhuanche[i].start + '</p><p class="list-group-item-text">终点:' + zhuanche[i].end + '</p>' + + '<p class="list-group-item-text">下单时间:' + zhuanche[i].travelTime + '</p><p class="list-group-item-text">车型:' + zhuanche[i].carModel + '</p>' + + '<p class="list-group-item-text">人数:' + zhuanche[i].num + '</p></a>'; + } + zc += '</div>'; + o += zc; + // var kc = '<div class="list-group"><a href="#" class="list-group-item active">跨城出行未接订单</a>' // for(var i in kuacheng){ // kc += '<a href="#" class="list-group-item"><p class="list-group-item-text">起点:' + kuacheng[i].start + '</p><p class="list-group-item-text">终点:' + kuacheng[i].end + '</p>' + -- Gitblit v1.7.1