From 0a8b731d9cf46c78c0c4c66fa9954eeb262e4017 Mon Sep 17 00:00:00 2001 From: luliqiang <kidgrow> Date: Mon, 10 Aug 2020 09:20:50 +0800 Subject: [PATCH] Merge branch 'dev' of http://192.168.2.240:7070/r/kidgrow-microservices-platform into dev --- kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/company.html | 29 +++++++++++------------------ 1 files changed, 11 insertions(+), 18 deletions(-) diff --git a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/company.html b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/company.html index b22a17e..9714231 100644 --- a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/company.html +++ b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/pages/opration/company.html @@ -8,7 +8,7 @@ </div> <div class="layui-card-body"> <div class="layui-form toolbar"> - <input id="app-edit-search" class="layui-input search-input" type="text" placeholder="请输入公司名称" />  + <input id="app-edit-search" class="layui-input search-input" type="text" placeholder="按公司名称" />  <button id="app-btn-search" class="layui-btn icon-btn"><i class="layui-icon"></i>搜索</button> <button id="user-btn-add" class="layui-btn icon-btn permissions" permissions="syscompany-edit"><i class="layui-icon"></i>添加</button> </div> @@ -141,7 +141,7 @@ }) form.render(); } else { - layer.msg(data.msg, { icon: 2, time: 500 }); + layer.msg(data.msg, { icon: 2, time: 2000 }); } }, 'Post'); @@ -188,10 +188,10 @@ }, function (data) { layer.closeAll('loading'); if (data.code == 0) { - layer.msg(data.msg, { icon: 1, time: 500 }); + layer.msg(data.msg, { icon: 1, time: 2000 }); table.reload('table-user', {}); } else { - layer.msg(data.msg, { icon: 2, time: 500 }); + layer.msg(data.msg, { icon: 2, time: 2000 }); $(obj.elem).prop('checked', !obj.elem.checked); form.render('checkbox'); } @@ -210,14 +210,9 @@ let selected = false; clientsAll = data.data; sheng = data.data; - - console.log(checkValue); $.each(data.data, function (index, item) { - // console.log( item.areaName); if (checkValue == item.areaName) { selected = true; - console.log(item.areaName); - console.log(selected); } else { selected = false; } @@ -226,7 +221,7 @@ }) form.render('select', id); } else { - layer.msg(data.msg, { icon: 2, time: 500 }); + layer.msg(data.msg, { icon: 2, time: 2000 }); } }, 'GET'); } @@ -286,7 +281,7 @@ }) form.render(); } else { - layer.msg(data.msg, { icon: 2, time: 500 }); + layer.msg(data.msg, { icon: 2, time: 2000 }); } }, 'GET'); } @@ -312,7 +307,7 @@ }) form.render(); } else { - layer.msg(data.msg, { icon: 2, time: 500 }); + layer.msg(data.msg, { icon: 2, time: 2000 }); } }, 'GET'); } @@ -335,7 +330,7 @@ }) form.render(); } else { - layer.msg(data.msg, { icon: 2, time: 500 }); + layer.msg(data.msg, { icon: 2, time: 2000 }); } }, 'GET'); } @@ -354,10 +349,10 @@ admin.req('api-user/syscompany/' + obj.data.id, {}, function (data) { layer.closeAll('loading'); if (data.code == 0) { - layer.msg(data.msg, { icon: 1, time: 500 }); + layer.msg(data.msg, { icon: 1, time: 2000 }); table.reload('app-table', {}); } else { - layer.msg(data.msg, { icon: 2, time: 500 }); + layer.msg(data.msg, { icon: 2, time: 2000 }); } }, 'delete'); }); @@ -442,13 +437,11 @@ } var shiId = ""; - console.log(shi_name) $.each(shi_name, function (index, item) { if (data.companyCity === item.areaName) { shiId = item.id; } }) - console.log(data.companyArea) if (data.companyArea) { getShi_and_xian(shiId, "xian", data.companyArea) } @@ -468,7 +461,7 @@ layer.closeAll(); table.reload('app-table', {}); } else { - layer.msg(data.msg, { icon: 2, time: 500 }); + layer.msg(data.msg, { icon: 2, time: 2000 }); } }, "POST"); return false; -- Gitblit v1.8.0