Tipo de Proceso
\n\n {this.state.process.type.name\n ? this.state.process.type.name\n : null}\n
\n\n Estado del Proceso\n
\n\n {this.state.process.state.name\n ? this.state.process.state.name\n : null}\n
\n\n Cuantía a Contratar\n
\n\n {\n
\n Tipo de contrato\n
\n\n {this.state.process.agreement.name\n ? this.state.process.agreement.name\n : null}\n
\nSegmento
\n\n {this.state.process.category.length > 0\n ? this.state.process.category[0].name\n : null}\n
\nFamilia
\n\n {this.state.process.category.length > 0 ? this.state.process.category.map(\n function(item, index) {\n if (index > 0) {\n return (\n {`${item.name}, `}\n );\n }else if(index === this.state.process.category.length){\n return (\n {`${item.name}`}\n );\n }\n },\n this\n ) : null}\n
\nObjeto
\n\n {this.state.process.details}\n
\nAlcance
\n\n {this.state.process.reach}\n
\nPlazo
\n\n {this.state.process.term}\n
\n\n {this.state.process.date_start\n ? this.state.process.date_start\n : null}\n
\n\n {item.pivot.date_schedule}\n
\n\n {item.pivot.date_schedule}\n
\n\n {this.state.process.date_end\n ? this.state.process.date_end\n : null}\n
\n\n Dirección Física de Entrega de Documentos del\n Proceso\n
\nCorreo electrónico
\n\n {this.state.process.contact.length > 0\n ? this.state.process.contact[0].full_name\n : null}\n
\n\n {this.state.process.contact.length > 0\n ? this.state.process.contact[0].email\n : null}\n
\nNombre | \nDescripción | \n\n Fecha publicación de documento\n | \nDocumento | \n\n |
---|---|---|---|---|
{item.name} | \n{item.description} | \n{item.date_publish} | \n\n {item.ext}\n | \n\n \n \n \n | \n
{\n this.getData()\n .then((data) => {\n this.setState({\n processes: data,\n });\n this.numberInput.input.input.value = \"\";\n this.setState({\n valueState: { key: \"\", label: \"Estado\" },\n });\n this.setState({\n valueType: { key: \"\", label: \"Tipo de proceso\" },\n });\n this.setState((prevState) => ({\n filter: {\n ...prevState.filter,\n process_type_id: null,\n process_state_id: null,\n date_end: null,\n },\n }));\n })\n .catch((e) => {\n this.setState({ processes: \"No hay datos\" });\n });\n }}\n >\n
Número del Proceso | \nTipo de Proceso | \nEstado | \n\n Objeto\n | \nCuantía | \nFecha de apertura | \nFecha de cierre | \n\n |
---|---|---|---|---|---|---|---|
{item.number} | \n\n {item.type.length > 0 ? item.type[0].name : null}\n | \n\n {item.state.length > 0\n ? item.state[0].name\n : null}\n | \n\n {item.details} \n | \n \n {\n | \n {item.date_start} | \n{item.date_end} | \n\n \n \n \n | \n