Commit 6a6ee150 authored by 胡斌's avatar 胡斌

智能分析平台备份提交

parent 589a87a3
This diff is collapsed.
......@@ -183,12 +183,13 @@
}
isRepeat();
$(".ifRepeate").change(isRepeat);
if("${filterRule.ifRepeat}" == 1){
var cycle = "${filterRule.frequency}";
var $unit = $("#unit");
if(cycle.indexOf("/")){
if(cycle.indexOf("/") !=-1){
var type = cycle.split("/")[1];
if(type==="1440"){
if(type=="1440"){
$unit.val(0);
}else{
$unit.val(1);
......@@ -196,7 +197,7 @@
var value = cycle.split("/")[0];
}
else{
if(cycle.indexOf("ADD")){
if(cycle.indexOf("ADD") !=-1){
$unit.val(3);
value = cycle.substring(cycle.indexOf("("),cycle.length-1);
}else{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment