|
@@ -63,7 +63,7 @@
|
|
|
<div class="form-group">
|
|
|
<label class="col-sm-3 control-label">用户类型:</label>
|
|
|
<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>
|
|
|
</select>
|
|
|
</div>
|
|
@@ -137,7 +137,7 @@
|
|
|
$("#alertContentItem").hide();
|
|
|
$("#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'){
|
|
|
var objhx1 = {
|
|
|
parType: 'company_level',
|
|
@@ -270,7 +270,7 @@
|
|
|
var startTime = $('#alertStartTime').val();
|
|
|
var endTime = $('#alertEndTime').val();
|
|
|
var alertNum = $('#alertNum').val();
|
|
|
- var userType = $('#userType').val().join();
|
|
|
+ var userType = $('#userType').val();
|
|
|
var objSubmit = {
|
|
|
alertId:alertId,
|
|
|
alertType:alertType,
|