|
@@ -14358,16 +14358,18 @@ function initExecUnit() {
|
|
|
window.location.href = '/thmz/login/view'
|
|
|
return;
|
|
|
}
|
|
|
- $('#execUnit').empty(); //清空resText里面的所有内容
|
|
|
- $('#zlExecUnit').empty(); //清空resText里面的所有内容
|
|
|
var html = '';
|
|
|
$.each(data.data, function (commentIndex, comment) {
|
|
|
html += '<option value="' + comment.code + '">' + comment.name + '(' + comment.pyCode + '-' + comment.code + ')</option>';
|
|
|
});
|
|
|
+ $('#execUnit').empty(); //清空resText里面的所有内容
|
|
|
+ $('#zlExecUnit').empty(); //清空resText里面的所有内容
|
|
|
$('#execUnit').html(html);
|
|
|
$('#execUnit').selectpicker('refresh');
|
|
|
$('#zlExecUnit').html(html);
|
|
|
$('#zlExecUnit').selectpicker('refresh');
|
|
|
+ $('#execUnit').selectpicker('val', null);
|
|
|
+ $('#zlExecUnit').selectpicker('val', null);
|
|
|
}
|
|
|
});
|
|
|
}
|