埋点数据检查添加项目名
This commit is contained in:
parent
72a827a53d
commit
27dade435c
@ -17,10 +17,13 @@
|
||||
</div>
|
||||
<form class="layui-form layui-form-pane" action="" lay-filter="datacheckexample">
|
||||
<div class="datacheck-from-box">
|
||||
<!-- <div class="datacheck-input-box">
|
||||
<div class="datacheck-input-box select-datacheck-box">
|
||||
<p>游戏名</p>
|
||||
<input name="game" autocomplete="off" class="layui-input"/>
|
||||
</div> -->
|
||||
<!-- <input name="game" autocomplete="off" class="layui-input"/> -->
|
||||
<select name="game" class="eventattr-select select-datacheck-list-box" lay-filter="eventattr_filter">
|
||||
<!-- <option value="">请选择游戏名</option> -->
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="datacheck-input-box">
|
||||
<p>数据库名</p>
|
||||
@ -165,6 +168,13 @@
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<script id="select-datacheck-list-box-dot" type="text/html">
|
||||
<option value="">请选择游戏名</option>
|
||||
{{# layui.each(d, function(index, item){ }}
|
||||
<option value="{{item.game}}">{{item.name}}</option>
|
||||
{{# }); }}
|
||||
</script>
|
||||
|
||||
<script id="eventattr-box-dot" type="text/html">
|
||||
{{# layui.each(d, function(index, item){ }}
|
||||
<div class="datacheck-tab-condition-box">
|
||||
|
@ -2,8 +2,12 @@
|
||||
X.pageLogic['datacheck'] = {
|
||||
init : function(parms){
|
||||
var me = this;
|
||||
|
||||
layui.form.render();
|
||||
|
||||
X.api("project/","get",{},function(d){
|
||||
X.laytpldata('#select-datacheck-list-box-dot',d,'.select-datacheck-list-box',function(){
|
||||
layui.form.render();
|
||||
});
|
||||
})
|
||||
|
||||
// 事件属性添加
|
||||
var eventarr = [];
|
||||
@ -169,7 +173,7 @@
|
||||
}
|
||||
|
||||
var data={
|
||||
// 'game': fromdata.game,
|
||||
'game': fromdata.game,
|
||||
'db_name':fromdata.db_name,
|
||||
'event_name':fromdata.eventname,
|
||||
'is_unique':is_unique,
|
||||
@ -218,7 +222,7 @@
|
||||
conditionarr = conditionData;
|
||||
modeltitle = data.title;
|
||||
layui.form.val('datacheckexample',{
|
||||
// 'game':data['game'],
|
||||
'game':data['game'],
|
||||
'db_name':data['check']['db_name'],
|
||||
'eventname':data['check']['event_name'],
|
||||
'only':data['check']['is_unique'],
|
||||
@ -251,6 +255,7 @@
|
||||
}
|
||||
|
||||
var data={
|
||||
'game': fromdata.game,
|
||||
'db_name':fromdata.db_name,
|
||||
'event_name':fromdata.eventname,
|
||||
'is_unique':is_unique,
|
||||
|
@ -939,3 +939,5 @@ label:not(.form-check-label):not(.custom-file-label) { font-weight: 400; }
|
||||
.datarightsedit-tj { background-color: #009688; color: #fff; }
|
||||
.datarightsedit-txt-box { align-items: center;}
|
||||
|
||||
.select-datacheck-box i{ right: -26px !important;}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user