1
This commit is contained in:
parent
86e79d287a
commit
ea4368a797
@ -14,7 +14,7 @@
|
|||||||
{{# if(d.quota != "*"){ }}
|
{{# if(d.quota != "*"){ }}
|
||||||
<div id="analysis-zhibiao-list-type3-0" class="analysis-zhibiao-list-type3 analysis-background analysis-zhibiao-condition" data-index="0" data-type="{{d.data_type}}">{{d.analysisDesc}}</div>
|
<div id="analysis-zhibiao-list-type3-0" class="analysis-zhibiao-list-type3 analysis-background analysis-zhibiao-condition" data-index="0" data-type="{{d.data_type}}">{{d.analysisDesc}}</div>
|
||||||
{{# } }}
|
{{# } }}
|
||||||
<div class="analysis-ta-property-range analysis-granularity userevent-granularity" data-index="0" data-type="{{d.data_type}}"> <img src="./static/img/shezhi2.png"> </div>
|
<div class="analysis-ta-property-range userevent-granularity" data-index="0" data-type="{{d.data_type}}"> <img src="./static/img/shezhi2.png"> </div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{# if(d.filts.length > 0){ }}
|
{{# if(d.filts.length > 0){ }}
|
||||||
@ -38,7 +38,7 @@
|
|||||||
{{# if(items.comparator != "is null" && items.comparator != "is not null" && items.comparator !="not null" && items.comparator != "range" && items.data_type != "user_label"){ }}
|
{{# if(items.comparator != "is null" && items.comparator != "is not null" && items.comparator !="not null" && items.comparator != "range" && items.data_type != "user_label"){ }}
|
||||||
<div class="analysis-zhibiao-list-type4" id="analysis-zhibiao-list-type4-{{indexs}}" data-index="0" data-indexs="{{indexs}}"> <input type="text" data-index="0" data-indexs="{{indexs}}" placeholder="多个条件用,隔开" value="{{items.strftv}}"> </div>
|
<div class="analysis-zhibiao-list-type4" id="analysis-zhibiao-list-type4-{{indexs}}" data-index="0" data-indexs="{{indexs}}"> <input type="text" data-index="0" data-indexs="{{indexs}}" placeholder="多个条件用,隔开" value="{{items.strftv}}"> </div>
|
||||||
{{# } }}
|
{{# } }}
|
||||||
<div class="analysis-zhibiao-list-del analysis-zhibiao-list-del-initial-event" data-twonum="{{indexs}}"></div>
|
<div class="analysis-zhibiao-list-del-initial-event" data-twonum="{{indexs}}"></div>
|
||||||
</div>
|
</div>
|
||||||
{{# }); }}
|
{{# }); }}
|
||||||
</div>
|
</div>
|
||||||
|
@ -276,6 +276,25 @@ var X = window.X || {
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//提交修改记录
|
||||||
|
X.submitrecord = function(content){
|
||||||
|
var game = X.game;//项目名
|
||||||
|
var name = X.userinfo.name;//账号名
|
||||||
|
var date = new Date();
|
||||||
|
var y = date.getFullYear();
|
||||||
|
var m = date.getMonth()+1;
|
||||||
|
var d = date.getDate();
|
||||||
|
var h = date.getHours();
|
||||||
|
var min = date.getMinutes();
|
||||||
|
var s = date.getSeconds();
|
||||||
|
var time = y+'年'+(m<10?('0'+m):m)+'月'+(d<10?('0'+d):d)+'日 '+(h<10?('0'+h):h)+':'+(min<10?('0'+min):min)+':'+(s<10?('0'+s):s);//操作时间
|
||||||
|
|
||||||
|
console.log(name+'在'+time+'修改'+content);
|
||||||
|
// X.api(function(){
|
||||||
|
|
||||||
|
// })
|
||||||
|
};
|
||||||
|
|
||||||
X.uploadfile=function(url,id,callback){
|
X.uploadfile=function(url,id,callback){
|
||||||
var loginCache = X.loginCache();
|
var loginCache = X.loginCache();
|
||||||
var token = (loginCache? loginCache.token:"");
|
var token = (loginCache? loginCache.token:"");
|
||||||
@ -609,6 +628,16 @@ var X = window.X || {
|
|||||||
callback && callback(dataArr);
|
callback && callback(dataArr);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//分页
|
||||||
|
X.layuipages = function(id,count,callback){//绑定id,数据总数
|
||||||
|
layui.laypage.render({
|
||||||
|
elem: id
|
||||||
|
,count: count //数据总数
|
||||||
|
,limit: 18 //每页显示数
|
||||||
|
,jump:callback
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
// 日期选择器
|
// 日期选择器
|
||||||
X.daterender = function(id,callback){
|
X.daterender = function(id,callback){
|
||||||
// console.log(moment().subtract(1, 'week').startOf('week'))
|
// console.log(moment().subtract(1, 'week').startOf('week'))
|
||||||
|
@ -24,12 +24,10 @@
|
|||||||
|
|
||||||
$(document).off('click','.newwenjian-qx').on('click','.newwenjian-qx',function(){
|
$(document).off('click','.newwenjian-qx').on('click','.newwenjian-qx',function(){
|
||||||
layer.closeAll();
|
layer.closeAll();
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
$(document).off('click','.newwenjian-cha').on('click','.newwenjian-cha',function(){
|
$(document).off('click','.newwenjian-cha').on('click','.newwenjian-cha',function(){
|
||||||
layer.closeAll();
|
layer.closeAll();
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
@ -53,8 +53,6 @@
|
|||||||
for(let i in addroledata){
|
for(let i in addroledata){
|
||||||
dataArr.push(i);
|
dataArr.push(i);
|
||||||
}
|
}
|
||||||
// console.log(addroledata);
|
|
||||||
// console.log(dataArr);
|
|
||||||
if(passdata){
|
if(passdata){
|
||||||
// X.api("authz/add_roles","post",{name:tit,game:X['DATA']['game'],desc:'111'},function(d){
|
// X.api("authz/add_roles","post",{name:tit,game:X['DATA']['game'],desc:'111'},function(d){
|
||||||
|
|
||||||
@ -70,10 +68,11 @@
|
|||||||
layer.msg("创建成功");
|
layer.msg("创建成功");
|
||||||
$(".addrole-qx a").click();
|
$(".addrole-qx a").click();
|
||||||
})
|
})
|
||||||
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
})();
|
})();
|
@ -77,6 +77,10 @@
|
|||||||
.analysis-zhibiao-list-type3 { text-align: center; color: #67729d; margin-left: 8px; padding: 0 6px; display: inline-block; min-width: 30px; height: 28px; font-size: 13px; line-height: 29px; border-radius: 2px; background-color: #f0f2f5; cursor: pointer; }
|
.analysis-zhibiao-list-type3 { text-align: center; color: #67729d; margin-left: 8px; padding: 0 6px; display: inline-block; min-width: 30px; height: 28px; font-size: 13px; line-height: 29px; border-radius: 2px; background-color: #f0f2f5; cursor: pointer; }
|
||||||
.analysis-zhibiao-list-del { display: none; cursor: pointer; margin-left: 0px; width: 24px; height: 24px; background: url("../img/cha1.png") no-repeat; background-position: center; }
|
.analysis-zhibiao-list-del { display: none; cursor: pointer; margin-left: 0px; width: 24px; height: 24px; background: url("../img/cha1.png") no-repeat; background-position: center; }
|
||||||
.analysis-zhibiao-list-mar:hover > .analysis-zhibiao-list-del{ display: block; }
|
.analysis-zhibiao-list-mar:hover > .analysis-zhibiao-list-del{ display: block; }
|
||||||
|
|
||||||
|
.analysis-zhibiao-list-del-initial-event { display: none; cursor: pointer; margin-left: 0px; width: 24px; height: 24px; background: url("../img/cha1.png") no-repeat; background-position: center; }
|
||||||
|
.analysis-zhibiao-list-mar:hover > .analysis-zhibiao-list-del-initial-event{ display: block; }
|
||||||
|
|
||||||
.analysis-zhibiao-list-type4 { margin-left: 8px; font-size: 13px; line-height: 28px; height: 28px; color: #67729d; text-align: center; border-radius: 2px; border: 1px solid #f0f2f5; }
|
.analysis-zhibiao-list-type4 { margin-left: 8px; font-size: 13px; line-height: 28px; height: 28px; color: #67729d; text-align: center; border-radius: 2px; border: 1px solid #f0f2f5; }
|
||||||
.analysis-zhibiao-list-type4 input { border: 0; height: 28px; line-height: 26px; padding: 0 6px; color: #67729d; font-size: 13px;}
|
.analysis-zhibiao-list-type4 input { border: 0; height: 28px; line-height: 26px; padding: 0 6px; color: #67729d; font-size: 13px;}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user