|
@@ -16,19 +16,16 @@
|
|
|
</li>
|
|
|
<li class="select-time">
|
|
|
<p>弹框开始时间:</p>
|
|
|
- <input type="text" class="time-input" id="startTime" placeholder="开始时间" name="params[beginAlertStartTime]"/>
|
|
|
- <span>-</span>
|
|
|
- <input type="text" class="time-input" id="endTime" placeholder="结束时间" name="params[endAlertStartTime]"/>
|
|
|
+ <input type="text" class="time-input" id="startTime" placeholder="开始时间" name="alertStartTime"/>
|
|
|
+
|
|
|
</li>
|
|
|
<li class="select-time">
|
|
|
<p>弹框结束时间:</p>
|
|
|
- <input type="text" class="time-input" id="startTime" placeholder="开始时间" name="params[beginAlertEndTime]"/>
|
|
|
- <span>-</span>
|
|
|
- <input type="text" class="time-input" id="endTime" placeholder="结束时间" name="params[endAlertEndTime]"/>
|
|
|
+ <input type="text" class="time-input" id="endTime" placeholder="结束时间" name="alertEndTime"/>
|
|
|
</li>
|
|
|
<li>
|
|
|
<p>用户类型</p>
|
|
|
- <select name="userType" th:with="type=${@dict.getType('')}">
|
|
|
+ <select name="userType" th:with="type=${@dict.getType('sys_lantern_permission')}">
|
|
|
<option value="">所有</option>
|
|
|
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
|
|
|
</select>
|
|
@@ -91,7 +88,9 @@
|
|
|
},
|
|
|
{
|
|
|
field : 'alertContent',
|
|
|
- title : '弹框内容'
|
|
|
+ title : '弹框内容',
|
|
|
+ width : '300px',
|
|
|
+ height: '20px'
|
|
|
},
|
|
|
{
|
|
|
field : 'alertStartTime',
|
|
@@ -128,18 +127,6 @@
|
|
|
return statusTools(row);
|
|
|
}
|
|
|
},
|
|
|
- {
|
|
|
- field : 'alertStatus',
|
|
|
- title : '是否启动',
|
|
|
- formatter: function(value, row, index) {
|
|
|
- if (value.indexOf('1') != -1 && value.indexOf('0') == -1) {
|
|
|
- return '启动';
|
|
|
- }
|
|
|
- if (value.indexOf('1') == -1 && value.indexOf('0') != -1) {
|
|
|
- return '未启动';
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
{
|
|
|
title: '操作',
|
|
|
align: 'center',
|