Index.html
5.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<%include '../../common/__ui/header'%>
<%include '../../common/__partail/ListHeader'%>
<div class="contentpanel">
<div class="panel panel-default" style="margin-bottom:10px;">
<div class="panel-body">
<div class="row">
<div class="panel-col">
<input type="text" id="sel-eventCode" value="" class="form-control observe" placeholder="输入配置编码" style="height: 39px;"/>
</div>
<div class="panel-col">
<select id="sel-status" class="form-control">
<option value="-1">是否生效</option>
<option value="0">失效</option>
<option value="1">有效</option>
</select>
</div>
<div class="panel-col">
<a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a>
<a id="all-btn" href="" class="btn btn-info">全部</a>
</div>
</div>
</div>
</div>
<div class="panel panel-primary-head">
<div id="basicTable_wrapper" class="dataTables_wrapper no-footer">
<div class="dataTables_length" id="basicTable">
</div>
<nav>
<ul id="pagination" class="pagination pagination-lg"></ul>
</nav>
</div>
</div>
</div>
<script type="text/template" id="template">
<div class="form-group">
<label class="col-sm-2 control-label">配置名称</label>
<div class="col-sm-10">
<input type="text" value="[[comments]]" class="form-control observe" placeholder="配置名称" data-field="comments" disabled>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">配置编码</label>
<div class="col-sm-10">
<input type="text" value="[[eventCode]]" class="form-control observe" placeholder="配置编码" data-field="eventCode" disabled>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">配置属性<span style="color: red;"> *</span></label>
<div class="col-sm-10">
<input type="text" value="[[eventValue]]" class="form-control observe" placeholder="配置属性" required="required" data-field="eventValue">
</div>
</div>
<div class="form-group">
<label for="type" class="col-sm-2 control-label">业务类型</label>
<div class="col-sm-10">
<select name="type" id="type" tabindex="-1" class="select2-offscreen" style="width: 100px;" disabled>
<option value="1" {{if type == 1}}selected{{/if}}>优惠券</option>
<option value="2" {{if type == 2}}selected{{/if}}>有货币</option>
</select>
</div>
</div>
<div class="form-group">
<label for="isRepeat" class="col-sm-2 control-label">是否支持重复发送<span style="color: red;"> *</span></label>
<div class="radio">
<label><input type="radio" value="0" class=" observe" name="isRepeat" kl_vkbd_parsed="true" data-field="isRepeat" checked>不是</label>
<label><input type="radio" value="1" class=" observe" name="isRepeat" kl_vkbd_parsed="true" data-field="isRepeat">是</label>
</div>
<input id="isRepeat" type="hidden" required="required" class="form-control observe" value="[[isRepeat||'0']]" for="radio" kl_vkbd_parsed="true" data-field="isRepeat">
</div>
<div class="form-group">
<label class="col-sm-2 control-label">消息标题</label>
<div class="col-sm-10">
<input type="text" value="[[msgTitle]]" class="form-control observe" placeholder="消息标题" data-field="msgTitle">
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">消息内容</label>
<div class="col-sm-10">
<input type="text" value="[[msgContent]]" class="form-control observe" placeholder="消息内容" data-field="msgContent">
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">客户端限制</label>
<div class="col-sm-10">
<input type="text" value="[[clientLimit]]" class="form-control observe" placeholder="客户端限制" data-field="clientLimit">
</div>
</div>
<div class="form-group">
<label for="status" class="col-sm-2 control-label">是否生效<span style="color: red;"> *</span></label>
<div class="radio">
<label><input type="radio" value="0" class=" observe" name="status" kl_vkbd_parsed="true" data-field="status" checked>失效</label>
<label><input type="radio" value="1" class=" observe" name="status" kl_vkbd_parsed="true" data-field="status">有效</label>
</div>
<input id="status" type="hidden" required="required" class="form-control observe" value="[[status||'0']]" for="radio" kl_vkbd_parsed="true" data-field="status">
</div>
</script>
<%include '../../common/__ui/footer'%>