|
@@ -63,7 +63,7 @@
|
|
<div class="form-group">
|
|
<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">
|
|
<div class="col-sm-8">
|
|
- <select title="请选择" id="userType" name="userType" class="form-control m-b selectpicker" th:with="type=${@dict.getType('sys_lantern_permission')}" multiple>
|
|
|
|
|
|
+ <select title="请选择" id="userType" name="userType" class="form-control m-b selectpicker" th:with="type=${@dict.getType('sys_alert_permission')}">
|
|
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{userType}"></option>
|
|
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{userType}"></option>
|
|
</select>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
@@ -137,7 +137,7 @@
|
|
$("#alertContentItem").hide();
|
|
$("#alertContentItem").hide();
|
|
$("#div-bgUrl").html("<img src='" + formData.photoUrl + "' style='width:300px;margin-bottom: 5px;'>");
|
|
$("#div-bgUrl").html("<img src='" + formData.photoUrl + "' style='width:300px;margin-bottom: 5px;'>");
|
|
}
|
|
}
|
|
- $("#userType").selectpicker('val',formData.userType.split(','));
|
|
|
|
|
|
+ $("#userType").selectpicker('val',formData.userType);
|
|
if (formData.salesLevel == 'company_level'){
|
|
if (formData.salesLevel == 'company_level'){
|
|
var objhx1 = {
|
|
var objhx1 = {
|
|
parType: 'company_level',
|
|
parType: 'company_level',
|
|
@@ -270,7 +270,7 @@
|
|
var startTime = $('#alertStartTime').val();
|
|
var startTime = $('#alertStartTime').val();
|
|
var endTime = $('#alertEndTime').val();
|
|
var endTime = $('#alertEndTime').val();
|
|
var alertNum = $('#alertNum').val();
|
|
var alertNum = $('#alertNum').val();
|
|
- var userType = $('#userType').val().join();
|
|
|
|
|
|
+ var userType = $('#userType').val();
|
|
var objSubmit = {
|
|
var objSubmit = {
|
|
alertId:alertId,
|
|
alertId:alertId,
|
|
alertType:alertType,
|
|
alertType:alertType,
|