Commit a516109a by Sony Montoya Eslava

[EDIT] Buscador de tipo de usuario - Mantenimiento Menu

parent f34ce0dd
<?xml version="1.0" encoding="UTF-8"?>
<project version="4"> <project version="4">
<component name="ExternalStorageConfigurationManager" enabled="true" /> <component name="ExternalStorageConfigurationManager" enabled="true" />
<component name="MavenProjectsManager"> <component name="MavenProjectsManager">
...@@ -6,6 +7,7 @@ ...@@ -6,6 +7,7 @@
<option value="$PROJECT_DIR$/pom.xml" /> <option value="$PROJECT_DIR$/pom.xml" />
</list> </list>
</option> </option>
<option name="workspaceImportForciblyTurnedOn" value="true" />
</component> </component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="corretto-1.8" project-jdk-type="JavaSDK"> <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="corretto-1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/out" /> <output url="file://$PROJECT_DIR$/out" />
......
...@@ -58,12 +58,13 @@ let tipo_usuario_nombre = ""; ...@@ -58,12 +58,13 @@ let tipo_usuario_nombre = "";
dataType: 'JSON', dataType: 'JSON',
data: json, data: json,
success: function (result) { success: function (result) {
var print = " <option value=''>SELECCIONE TIPO DE USUARIO</option> "; var print = " <option selected disabled value=''>SELECCIONE TIPO DE USUARIO</option> ";
print += " <option value='0' class='text-bold'>VISTA GENERAL</option> "; print += " <option value='0' class='text-bold'>VISTA GENERAL</option> ";
for (var i in result) { for (var i in result) {
print += " <option value =" + result[i].codigoDetalle + ">" + result[i].nombreTipoUsuario + "</option> "; print += " <option value =" + result[i].codigoDetalle + ">" + result[i].nombreTipoUsuario + "</option> ";
} }
$("#cboTipoUsuario").html(print); $("#cboTipoUsuario").html(print);
$("#cboTipoUsuario").select2();
} }
}); });
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment