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