|
@@ -3,6 +3,7 @@
|
|
|
<head>
|
|
|
<th:block th:include="include :: header('新增弹框配置')" />
|
|
|
<th:block th:include="include :: datetimepicker-css" />
|
|
|
+ <th:block th:include="include :: bootstrap-select-css" />
|
|
|
</head>
|
|
|
<body class="white-bg">
|
|
|
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
|
|
@@ -40,27 +41,38 @@
|
|
|
<div class="form-group">
|
|
|
<label class="col-sm-3 control-label">用户类型:</label>
|
|
|
<div class="col-sm-8">
|
|
|
- <select title="请选择" name="userType" class="form-control m-b" th:with="type=${@dict.getType('sys_lantern_permission')}">
|
|
|
+ <select title="请选择" id="userType" name="userType" class="form-control m-b selectpicker" th:with="type=${@dict.getType('sys_lantern_permission')}" multiple>
|
|
|
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
|
|
|
</select>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
- <label class="col-sm-3 control-label">是否启动</label>
|
|
|
+ <label class="col-sm-3 control-label">是否启动:</label>
|
|
|
<div class="col-sm-8">
|
|
|
- <label class="radio-box">
|
|
|
- <input type="radio" name="alertStatus" value="0">未启动
|
|
|
- </label>
|
|
|
- <label class="radio-box">
|
|
|
- <input type="radio" name="alertStatus" value="1">启动
|
|
|
- </label>
|
|
|
- <!-- <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>-->
|
|
|
+ <div class="radio-box" th:each="dict : ${@dict.getType('sys_ziti_show_hide')}">
|
|
|
+ <input type="radio" th:id="${dict.dictCode}" name="alertStatus" th:value="${dict.dictValue}"
|
|
|
+ th:checked="${dict.default}">
|
|
|
+ <label th:for="${dict.dictCode}" th:text="${dict.dictLabel}"></label>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <!--<div class="form-group">-->
|
|
|
+ <!--<label class="col-sm-3 control-label">是否启动</label>-->
|
|
|
+ <!--<div class="col-sm-8">-->
|
|
|
+ <!--<label class="radio-box">-->
|
|
|
+ <!--<input type="radio" name="alertStatus" value="0">未启动-->
|
|
|
+ <!--</label>-->
|
|
|
+ <!--<label class="radio-box">-->
|
|
|
+ <!--<input type="radio" name="alertStatus" value="1">启动-->
|
|
|
+ <!--</label>-->
|
|
|
+ <!--<span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>-->
|
|
|
+ <!--</div>-->
|
|
|
+ <!--</div>-->
|
|
|
</form>
|
|
|
</div>
|
|
|
<th:block th:include="include :: footer" />
|
|
|
<th:block th:include="include :: datetimepicker-js" />
|
|
|
+<th:block th:include="include :: bootstrap-select-js" />
|
|
|
<script type="text/javascript">
|
|
|
var prefix = ctx + "system/configuration"
|
|
|
$("#form-configuration-add").validate({
|