From d6b6eb10d85af666ffe6fbdfe7aafbf3b538bf51 Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期日, 11 五月 2025 09:51:50 +0800
Subject: [PATCH] 接口编写
---
src/main/webapp/static/js/wrkDetlLog/wrkDetlLog.js | 26 +++++++++++++++++++++++++-
1 files changed, 25 insertions(+), 1 deletions(-)
diff --git a/src/main/webapp/static/js/wrkDetlLog/wrkDetlLog.js b/src/main/webapp/static/js/wrkDetlLog/wrkDetlLog.js
index c4a776a..1bdec72 100644
--- a/src/main/webapp/static/js/wrkDetlLog/wrkDetlLog.js
+++ b/src/main/webapp/static/js/wrkDetlLog/wrkDetlLog.js
@@ -25,7 +25,7 @@
url: baseUrl+'/wrkDetlLog/list/auth',
page: true,
limit: 16,
- limits: [16, 30, 50, 100, 200, 500],
+ limits: [16, 30, 50, 100, 200, 500, 50000],
even: true,
toolbar: '#toolbar',
cellMinWidth: 50,
@@ -59,6 +59,7 @@
res.data[_index][data.value] = 'N';
}
});
+ getOutBound();
}
});
@@ -393,6 +394,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