Authored by zhangtianqi

Merge branch 'master-500-log' of http://113.200.75.45:82/monitor_v3/hg-monitor-w…

…eb into master-500-log-ztq
@@ -286,7 +286,7 @@ layui.define(['form', 'admin', 'laydate', 'common', 'sessions', 'reskpilist', 't @@ -286,7 +286,7 @@ layui.define(['form', 'admin', 'laydate', 'common', 'sessions', 'reskpilist', 't
286 286
287 function initpolicyParam() { 287 function initpolicyParam() {
288 $.ajax({ 288 $.ajax({
289 - url: "http://192.168.0.44:8080" + "/log-access/v1/lm2_logfmt_dirs/queryTreeList?access_token=" + accessToken, 289 + url: domainName + "/log-access/v1/lm2_logfmt_dirs/queryTreeList?access_token=" + accessToken,
290 method: "get", 290 method: "get",
291 success(res) { 291 success(res) {
292 if (res.code == 200) 292 if (res.code == 200)
@@ -295,7 +295,7 @@ layui.define(['form', 'admin', 'laydate', 'common', 'sessions', 'reskpilist', 't @@ -295,7 +295,7 @@ layui.define(['form', 'admin', 'laydate', 'common', 'sessions', 'reskpilist', 't
295 } 295 }
296 }); 296 });
297 $.ajax({ 297 $.ajax({
298 - url: "http://192.168.0.44:8080" + "/log-access/v1/lm2_logjoin_dirs/queryTreeList?access_token=" + accessToken, 298 + url: domainName + "/log-access/v1/lm2_logjoin_dirs/queryTreeList?access_token=" + accessToken,
299 method: "get", 299 method: "get",
300 success(res) { 300 success(res) {
301 if (res.code == 200) 301 if (res.code == 200)
@@ -304,7 +304,7 @@ layui.define(['form', 'admin', 'laydate', 'common', 'sessions', 'reskpilist', 't @@ -304,7 +304,7 @@ layui.define(['form', 'admin', 'laydate', 'common', 'sessions', 'reskpilist', 't
304 } 304 }
305 }); 305 });
306 admin.req({ 306 admin.req({
307 - url: "http://192.168.0.44:8080" + '/log-access/v1/lm2_logjoin_info_views?access_token=' + accessToken, 307 + url: domainName + '/log-access/v1/lm2_logjoin_info_views?access_token=' + accessToken,
308 async: false, 308 async: false,
309 success: function (res) { 309 success: function (res) {
310 // 资源类型下拉框 310 // 资源类型下拉框
@@ -25,7 +25,12 @@ layui.define(['form', 'admin', 'laydate', 'table', 'common','sessions','cron','o @@ -25,7 +25,12 @@ layui.define(['form', 'admin', 'laydate', 'table', 'common','sessions','cron','o
25 laydate.render({ 25 laydate.render({
26 elem: '.alarm_subscribe_times' 26 elem: '.alarm_subscribe_times'
27 ,type: 'time' 27 ,type: 'time'
28 - ,range: true 28 + ,range: true,
  29 + trigger: 'click',
  30 + ready: function(date){
  31 + $(".alarm_subscribe_times").removeAttr("lay-key");
  32 + $(this).attr("lay-key","1");
  33 + },
29 }); 34 });
30 35
31 if(data && data.id){ 36 if(data && data.id){
@@ -172,7 +177,12 @@ layui.define(['form', 'admin', 'laydate', 'table', 'common','sessions','cron','o @@ -172,7 +177,12 @@ layui.define(['form', 'admin', 'laydate', 'table', 'common','sessions','cron','o
172 laydate.render({ 177 laydate.render({
173 elem: alarm_subscribe_times 178 elem: alarm_subscribe_times
174 ,type: 'time' 179 ,type: 'time'
175 - ,range: true 180 + ,range: true,
  181 + trigger: 'click',
  182 + ready: function(date){
  183 + $(alarm_subscribe_times).removeAttr("lay-key");
  184 + $(this).attr("lay-key","1");
  185 + },
176 }); 186 });
177 187
178 //全天 188 //全天