Index.html 5.02 KB
<%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'%>