From 40c5dcaad03d981dd18d4f3e0c3c577e2ae6e7d3 Mon Sep 17 00:00:00 2001 From: LSH Date: 星期二, 26 九月 2023 16:18:08 +0800 Subject: [PATCH] #客户信息搜索相关 --- src/main/webapp/static/js/waitPakinLog/waitPakinLog.js | 25 ++++++++++++++++++++++++- 1 files changed, 24 insertions(+), 1 deletions(-) diff --git a/src/main/webapp/static/js/waitPakinLog/waitPakinLog.js b/src/main/webapp/static/js/waitPakinLog/waitPakinLog.js index ed21c26..c6411a6 100644 --- a/src/main/webapp/static/js/waitPakinLog/waitPakinLog.js +++ b/src/main/webapp/static/js/waitPakinLog/waitPakinLog.js @@ -15,7 +15,6 @@ html += ">"; return html; }} - ,{field: 'owner$', align: 'center',title: '淇℃伅', hide: false} ,{field: 'modiUser$', align: 'center',title: '淇敼浜哄憳', hide:true} ,{field: 'modiTime$', align: 'center',title: '淇敼鏃堕棿'}) return cols; @@ -68,6 +67,7 @@ res.data[_index][data.value] = 'N'; } }); + getOutBound(); } }); @@ -392,6 +392,29 @@ ,range: true }); + // 鑾峰彇鎷ユ湁鑰呰〃鏁版嵁 + function getOutBound(){ + $.ajax({ + url: baseUrl+"/owner/auto/site", + headers: {'token': localStorage.getItem('token')}, + method: 'POST', + async: false, + success: function (res) { + if (res.code === 200){ + var tpl = $("#takeSiteSelectTemplate").html(); + var template = Handlebars.compile(tpl); + var html = template(res); + $('#ownerSelect').append(html); + form.render('select'); + } else if (res.code === 403){ + top.location.href = baseUrl+"/"; + }else { + layer.msg(res.msg) + } + } + }) + } + }); // 鍏抽棴鍔ㄤ綔 -- Gitblit v1.9.1