[ADD] added scripts

parent 3c50f2e1
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="f1229581-2498-4c33-b7b4-f715a5fbe428" name="Default Changelist" comment=""> <list default="true" id="f1229581-2498-4c33-b7b4-f715a5fbe428" name="Default Changelist" comment="">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/web/js/pages/bandejaPresidencia.js" beforeDir="false" afterPath="$PROJECT_DIR$/web/js/pages/bandejaPresidencia.js" afterDir="false" />
</list> </list>
<ignored path="$PROJECT_DIR$/.tmp/" /> <ignored path="$PROJECT_DIR$/.tmp/" />
<ignored path="$PROJECT_DIR$/temp/" /> <ignored path="$PROJECT_DIR$/temp/" />
...@@ -42,10 +41,12 @@ ...@@ -42,10 +41,12 @@
<session id="-1966417198"> <session id="-1966417198">
<usages-collector id="statistics.lifecycle.project"> <usages-collector id="statistics.lifecycle.project">
<counts> <counts>
<entry key="project.closed" value="2" /> <entry key="project.closed" value="4" />
<entry key="project.open.time.10" value="1" />
<entry key="project.open.time.14" value="1" />
<entry key="project.open.time.15" value="1" /> <entry key="project.open.time.15" value="1" />
<entry key="project.open.time.5" value="1" /> <entry key="project.open.time.5" value="1" />
<entry key="project.opened" value="2" /> <entry key="project.opened" value="4" />
</counts> </counts>
</usages-collector> </usages-collector>
<usages-collector id="statistics.file.extensions.open"> <usages-collector id="statistics.file.extensions.open">
...@@ -58,6 +59,9 @@ ...@@ -58,6 +59,9 @@
<entry key="PLAIN_TEXT" value="1" /> <entry key="PLAIN_TEXT" value="1" />
</counts> </counts>
</usages-collector> </usages-collector>
<usages-collector id="statistics.js.language.service.starts" />
<usages-collector id="statistics.file.types.edit" />
<usages-collector id="statistics.vcs.git.usages" />
</session> </session>
</component> </component>
<component name="Git.Settings"> <component name="Git.Settings">
...@@ -78,6 +82,7 @@ ...@@ -78,6 +82,7 @@
<foldersAlwaysOnTop value="true" /> <foldersAlwaysOnTop value="true" />
</navigator> </navigator>
<panes> <panes>
<pane id="Scope" />
<pane id="ProjectPane"> <pane id="ProjectPane">
<subPane> <subPane>
<expand> <expand>
...@@ -89,7 +94,6 @@ ...@@ -89,7 +94,6 @@
<select /> <select />
</subPane> </subPane>
</pane> </pane>
<pane id="Scope" />
</panes> </panes>
</component> </component>
<component name="PropertiesComponent"> <component name="PropertiesComponent">
...@@ -123,16 +127,18 @@ ...@@ -123,16 +127,18 @@
<workItem from="1541776578549" duration="539000" /> <workItem from="1541776578549" duration="539000" />
<workItem from="1542033991862" duration="854000" /> <workItem from="1542033991862" duration="854000" />
<workItem from="1542041168541" duration="651000" /> <workItem from="1542041168541" duration="651000" />
<workItem from="1542131520488" duration="128000" />
<workItem from="1542131715493" duration="780000" />
</task> </task>
<servers /> <servers />
</component> </component>
<component name="TimeTrackingManager"> <component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="4727000" /> <option name="totallyTimeSpent" value="5635000" />
</component> </component>
<component name="ToolWindowManager"> <component name="ToolWindowManager">
<frame x="-8" y="-8" width="1936" height="1056" extended-state="6" /> <frame x="-8" y="-8" width="1936" height="1056" extended-state="6" />
<layout> <layout>
<window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.24973656" /> <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.24973656" />
<window_info id="Structure" order="1" side_tool="true" weight="0.25" /> <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
<window_info id="Favorites" order="2" side_tool="true" /> <window_info id="Favorites" order="2" side_tool="true" />
<window_info anchor="bottom" id="Message" order="0" /> <window_info anchor="bottom" id="Message" order="0" />
...@@ -143,7 +149,7 @@ ...@@ -143,7 +149,7 @@
<window_info anchor="bottom" id="Inspection" order="5" weight="0.4" /> <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
<window_info anchor="bottom" id="TODO" order="6" /> <window_info anchor="bottom" id="TODO" order="6" />
<window_info anchor="bottom" id="Docker" order="7" show_stripe_button="false" /> <window_info anchor="bottom" id="Docker" order="7" show_stripe_button="false" />
<window_info active="true" anchor="bottom" id="Version Control" order="8" visible="true" weight="0.32929516" /> <window_info anchor="bottom" id="Version Control" order="8" visible="true" weight="0.32929516" />
<window_info anchor="bottom" id="Terminal" order="9" /> <window_info anchor="bottom" id="Terminal" order="9" />
<window_info anchor="bottom" id="Event Log" order="10" side_tool="true" /> <window_info anchor="bottom" id="Event Log" order="10" side_tool="true" />
<window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" /> <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
......
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" prefer="system"> <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" prefer="system">
<system systemId="http://app8.sacooliveros.edu.pe:8080/WebservicesSeguridad/UsuarioWebService?WSDL" uri="src/conf/xml-resources/web-service-references/UsuarioWebService/wsdl/app8.sacooliveros.edu.pe_8080/WebservicesSeguridad/UsuarioWebService.wsdl"/>
<system systemId="http://app8.sacooliveros.edu.pe:8080/WebservicesSeguridad/UsuarioWebService?xsd=1" uri="src/conf/xml-resources/web-service-references/UsuarioWebService/wsdl/app8.sacooliveros.edu.pe_8080/WebservicesSeguridad/UsuarioWebService.xsd_1.xsd"/>
<system systemId="http://app8.sacooliveros.edu.pe:8080/WebservicesSeguridad/MenuWebService?WSDL" uri="src/conf/xml-resources/web-service-references/MenuWebService/wsdl/app8.sacooliveros.edu.pe_8080/WebservicesSeguridad/MenuWebService.wsdl"/> <system systemId="http://app8.sacooliveros.edu.pe:8080/WebservicesSeguridad/MenuWebService?WSDL" uri="src/conf/xml-resources/web-service-references/MenuWebService/wsdl/app8.sacooliveros.edu.pe_8080/WebservicesSeguridad/MenuWebService.wsdl"/>
<system systemId="http://app8.sacooliveros.edu.pe:8080/WebservicesSeguridad/MenuWebService?xsd=1" uri="src/conf/xml-resources/web-service-references/MenuWebService/wsdl/app8.sacooliveros.edu.pe_8080/WebservicesSeguridad/MenuWebService.xsd_1.xsd"/> <system systemId="http://app8.sacooliveros.edu.pe:8080/WebservicesSeguridad/MenuWebService?xsd=1" uri="src/conf/xml-resources/web-service-references/MenuWebService/wsdl/app8.sacooliveros.edu.pe_8080/WebservicesSeguridad/MenuWebService.xsd_1.xsd"/>
<system systemId="http://app8.sacooliveros.edu.pe:8080/WebservicesSeguridad/ProyectoWebService?WSDL" uri="src/conf/xml-resources/web-service-references/ProyectoWebService/wsdl/app8.sacooliveros.edu.pe_8080/WebservicesSeguridad/ProyectoWebService.wsdl"/> <system systemId="http://app8.sacooliveros.edu.pe:8080/WebservicesSeguridad/ProyectoWebService?WSDL" uri="src/conf/xml-resources/web-service-references/ProyectoWebService/wsdl/app8.sacooliveros.edu.pe_8080/WebservicesSeguridad/ProyectoWebService.wsdl"/>
<system systemId="http://app8.sacooliveros.edu.pe:8080/WebservicesSeguridad/ProyectoWebService?xsd=1" uri="src/conf/xml-resources/web-service-references/ProyectoWebService/wsdl/app8.sacooliveros.edu.pe_8080/WebservicesSeguridad/ProyectoWebService.xsd_1.xsd"/> <system systemId="http://app8.sacooliveros.edu.pe:8080/WebservicesSeguridad/ProyectoWebService?xsd=1" uri="src/conf/xml-resources/web-service-references/ProyectoWebService/wsdl/app8.sacooliveros.edu.pe_8080/WebservicesSeguridad/ProyectoWebService.xsd_1.xsd"/>
<system systemId="http://app8.sacooliveros.edu.pe:8080/WebservicesSeguridad/UsuarioWebService?WSDL" uri="src/conf/xml-resources/web-service-references/UsuarioWebService/wsdl/app8.sacooliveros.edu.pe_8080/WebservicesSeguridad/UsuarioWebService.wsdl"/>
<system systemId="http://app8.sacooliveros.edu.pe:8080/WebservicesSeguridad/UsuarioWebService?xsd=1" uri="src/conf/xml-resources/web-service-references/UsuarioWebService/wsdl/app8.sacooliveros.edu.pe_8080/WebservicesSeguridad/UsuarioWebService.xsd_1.xsd"/>
</catalog> </catalog>
\ No newline at end of file
...@@ -22,6 +22,9 @@ import trismegistoplanilla.servicesMysql.TrabajadorResponsableService; ...@@ -22,6 +22,9 @@ import trismegistoplanilla.servicesMysql.TrabajadorResponsableService;
public class UsuarioServlet extends HttpServlet { public class UsuarioServlet extends HttpServlet {
@WebServiceRef(wsdlLocation = "WEB-INF/wsdl/app8.sacooliveros.edu.pe_8080/WebservicesSeguridad/UsuarioWebService.wsdl")
private UsuarioWebService_Service service;
private static final long serialVersionUID = 6883195532697593722L; private static final long serialVersionUID = 6883195532697593722L;
@WebServiceRef(wsdlLocation = "WEB-INF/wsdl/app8.sacooliveros.edu.pe_8080/WebservicesSeguridad/ProyectoWebService.wsdl") @WebServiceRef(wsdlLocation = "WEB-INF/wsdl/app8.sacooliveros.edu.pe_8080/WebservicesSeguridad/ProyectoWebService.wsdl")
...@@ -30,9 +33,6 @@ public class UsuarioServlet extends HttpServlet { ...@@ -30,9 +33,6 @@ public class UsuarioServlet extends HttpServlet {
@WebServiceRef(wsdlLocation = "WEB-INF/wsdl/app8.sacooliveros.edu.pe_8080/WebservicesSeguridad/MenuWebService.wsdl") @WebServiceRef(wsdlLocation = "WEB-INF/wsdl/app8.sacooliveros.edu.pe_8080/WebservicesSeguridad/MenuWebService.wsdl")
private MenuWebService_Service menuservice; private MenuWebService_Service menuservice;
@WebServiceRef(wsdlLocation = "WEB-INF/wsdl/app8.sacooliveros.edu.pe_8080/WebservicesSeguridad/UsuarioWebService.wsdl")
private UsuarioWebService_Service usuarioservice;
@Override @Override
protected void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { protected void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
String param = request.getParameter("accion"); String param = request.getParameter("accion");
...@@ -191,20 +191,6 @@ public class UsuarioServlet extends HttpServlet { ...@@ -191,20 +191,6 @@ public class UsuarioServlet extends HttpServlet {
} }
private UsuarioBean consultarDatosWebservice(java.lang.String usuario, java.lang.String clave, int proyecto) {
// Note that the injected javax.xml.ws.Service reference as well as port objects are not thread safe.
// If the calling of port operations may lead to race condition some synchronization is required.
pe.siso.webservicesseguridad.webservices.UsuarioWebService port = usuarioservice.getUsuarioWebServicePort();
return port.consultarDatosWebservice(usuario, clave, proyecto);
}
private Integer validarUsuarioWebservice(java.lang.String usuario, java.lang.String clave, int proyecto) {
// Note that the injected javax.xml.ws.Service reference as well as port objects are not thread safe.
// If the calling of port operations may lead to race condition some synchronization is required.
pe.siso.webservicesseguridad.webservices.UsuarioWebService port = usuarioservice.getUsuarioWebServicePort();
return port.validarUsuarioWebservice(usuario, clave, proyecto);
}
private java.util.List<pe.siso.webservicesseguridad.webservices.MenuBean> listarCategoriaWebservice(int codigoProyectoDetalle) { private java.util.List<pe.siso.webservicesseguridad.webservices.MenuBean> listarCategoriaWebservice(int codigoProyectoDetalle) {
// Note that the injected javax.xml.ws.Service reference as well as port objects are not thread safe. // Note that the injected javax.xml.ws.Service reference as well as port objects are not thread safe.
// If the calling of port operations may lead to race condition some synchronization is required. // If the calling of port operations may lead to race condition some synchronization is required.
...@@ -247,4 +233,18 @@ public class UsuarioServlet extends HttpServlet { ...@@ -247,4 +233,18 @@ public class UsuarioServlet extends HttpServlet {
return port.listarProyectoUsuario(codigoUsuario); return port.listarProyectoUsuario(codigoUsuario);
} }
private UsuarioBean consultarDatosWebservice(java.lang.String usuario, java.lang.String clave, int proyecto) {
// Note that the injected javax.xml.ws.Service reference as well as port objects are not thread safe.
// If the calling of port operations may lead to race condition some synchronization is required.
pe.siso.webservicesseguridad.webservices.UsuarioWebService port = service.getUsuarioWebServicePort();
return port.consultarDatosWebservice(usuario, clave, proyecto);
}
private Integer validarUsuarioWebservice(java.lang.String usuario, java.lang.String clave, int proyecto) {
// Note that the injected javax.xml.ws.Service reference as well as port objects are not thread safe.
// If the calling of port operations may lead to race condition some synchronization is required.
pe.siso.webservicesseguridad.webservices.UsuarioWebService port = service.getUsuarioWebServicePort();
return port.validarUsuarioWebservice(usuario, clave, proyecto);
}
} }
/* global Ladda, icon */ /* global Ladda, icon */
"use strict"; "use strict";
$(document).ready(() => { $(document).ready(() => {
initSelect2(); initSelect2();
criterioBusqueda(); criterioBusqueda();
...@@ -16,12 +17,14 @@ $(document).ready(() => { ...@@ -16,12 +17,14 @@ $(document).ready(() => {
imprimirFicha(); imprimirFicha();
imprimirActividadFicha(); imprimirActividadFicha();
}); });
// INICIALIZACION // INICIALIZACION
//======================================== //========================================
let JOCriterioBusqueda = {}; let JOCriterioBusqueda = {};
let tipoEntrada = ''; let tipoEntrada = '';
let paramCodigoFicha = 0; let paramCodigoFicha = 0;
/** inicializa el select */ /** inicializa el select */
function initSelect2() { function initSelect2() {
$('.select').select2({ $('.select').select2({
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
</form> </form>
<div class="row"> <div class="row">
<div class="col-md-6 col-md-offset-3"> <div class="col-md-4 col-md-offset-4">
<div class="panel so-card-2"> <div class="panel so-card-2">
<div class="panel-heading bg-primary"> <div class="panel-heading bg-primary">
<h6 class="panel-title text-semibold"> <h6 class="panel-title text-semibold">
...@@ -54,26 +54,55 @@ ...@@ -54,26 +54,55 @@
<div class="panel-body"> <div class="panel-body">
<form action="#" method="post" id="formBuscarFichas" name="formBuscarFichas"> <form action="#" method="post" id="formBuscarFichas" name="formBuscarFichas">
<div class="row"> <div class="row">
<div class="col-md-4"> <div class="col-md-6">
<div class="form-group">
<label for="txtNumeroDocumentoIdentidad" class="text-semibold">N° Documento de Identidad <span class="text-danger">(*)</span></label>
<input type="text" class="form-control text-uppercase" placeholder="Ingresar nro documento" id="txtNumeroDocumentoIdentidad" name="txtNumeroDocumentoIdentidad" minlength="8" maxlength="8" autocomplete="off" aria-required="true">
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label for="txtApellidos" class="text-semibold">Apellidos <span class="text-danger">(*)</span></label>
<input type="text" class="form-control text-uppercase" placeholder="Apellidos" id="txtApellidos" name="txtApellidos" minlength="8" maxlength="8" autocomplete="off" aria-required="true">
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
<div class="form-group"> <div class="form-group">
<label for="cboCriterioBusqueda" class="text-semibold">Criterio de búsqueda <span class="text-danger">(*)</span></label> <label for="cboTipoContratoPlanilla" class="text-semibold">Tipo de contrato <span class="text-danger">(*)</span></label>
<select class="select" id="cboCriterioBusqueda" name="cboCriterioBusqueda"> <select class="select" id="cboTipoContratoPlanilla" name="cboTipoContratoPlanilla">
<option value="0">[SELECCIONAR]</option> <option value="0">[SELECCIONAR]</option>
<option value="1">TIPO DE DOCUMENTO</option> <option value="1">POR NECESIDAD DE MERCADO</option>
<option value="2">APELLIDOS</option> <option value="2">TIEMPO PARCIAL</option>
<option value="3">TIPO DE CONTRATO</option> <option value="3">MENSUAL POR HORA</option>
<option value="4">RAZÓN SOCIAL</option> <option value="4">RECIBO POR HONORARIOS</option>
<option value="5">TIEMPO PARCIAL POR HORA</option>
</select>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label for="cboRazonSocial" class="text-semibold">Razón Social <span class="text-danger">(*)</span></label>
<select class="select" id="cboRazonSocial" name="cboRazonSocial">
<option value="0">[SELECCIONAR]</option>
<option value="1">ACE SACO OLIVEROS</option>
<option value="2">ACE SISTEMA HELICOIDAL</option>
<option value="5">ACE APEIRON</option>
</select> </select>
</div> </div>
</div> </div>
<div id="divRowFiltro1"></div>
<div id="divRowFiltro2"></div>
</div> </div>
<div class="row"> <div class="row">
<div class="col-md-12 text-danger text-right text-semibold"> <div class="col-md-12 text-danger text-right text-semibold">
(*) Campos obligatorios (*) Campos obligatorios
</div> </div>
</div> </div>
<div class="row"> <div class="row">
<div class="col-md-12 text-center"> <div class="col-md-12 text-center">
<button type="submit" class="btn bg-primary text-center" id="btnBuscarFichas"><i class="fa fa-search fa-lg position-left"></i> Buscar </button> <button type="submit" class="btn bg-primary text-center" id="btnBuscarFichas"><i class="fa fa-search fa-lg position-left"></i> Buscar </button>
...@@ -93,8 +122,6 @@ ...@@ -93,8 +122,6 @@
************************* PANEL DE BUSQUEDA DE FICHAS ************************* ************************* PANEL DE BUSQUEDA DE FICHAS *************************
--> -->
<!-- <!--
************************* PANEL DE LISTADO DE FICHAS ************************* ************************* PANEL DE LISTADO DE FICHAS *************************
--> -->
......
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