Commit 4824a6a3 by Tu Nombre

ghjk

1 parent 6fcac8d7
#Personalizacion
Motor personalizado para el taller vascosrl.lefter.ec
Motor personalizado para el taller https://conplatsa.lefter.ec/manual
Sacar Boton Linea 2
Horacio
......
carpetaDescargas = "/home/taller_1/Descargas/"
carpetaDescargas = "/home/taller_5/Descargas/"
cabezaeraDescargas = "Planilla_Diaria-"
grepfile = "/home/taller_1/Pruebas-RTO/grep.sh"
grepfile = "/home/taller_5/Pruebas-RTO/grep.sh"
deltaminutos = 7
delataPositivoNegativo = "-"
ManualLogin = False # PAra hacer pruebas sin tener que loguear
port = 11500
......@@ -106,7 +106,7 @@ class FosaDiaria():
mes = now.strftime("%m")
ano = now.strftime("%Y")
self.LimpiarCarpertaDescarga()
URL = f"""https://rto.cent.gov.ar/rto/report/planillaDiariaEXCEL/planillaDiariaEXCEL?codTaller=126&fechaConsulta={dia}%2F{mes}%2F{ano}&agruparPorLinea=false&format=excel&extension=xls"""
URL = f"""https://rto.cent.gov.ar/rto/report/planillaDiariaEXCEL/planillaDiariaEXCEL?codTaller=130&fechaConsulta={dia}%2F{mes}%2F{ano}&agruparPorLinea=false&format=excel&extension=xls"""
selenium.get(URL)
......
#!/bin/bash
ls /home/juan/Descargas/ -ls | grep Planilla_Diaria-126 | grep xls | grep -v crdownload &> /dev/shm/tmpscdecas_1.txt
ls /home/juan/Descargas/ -ls | grep Planilla_Diaria-130 | grep xls | grep -v crdownload &> /dev/shm/tmpscdecas_1.txt
......@@ -400,4 +400,4 @@ def _e2q(string):
# Inicio del servicio
if __name__ == "__main__":
app.run("0.0.0.0", port=11000)
app.run("0.0.0.0", port=configuracion.port)

167 KB | W: | H:

167 KB | W: | H:

static/assets/maha2.png
static/assets/maha2.png
static/assets/maha2.png
static/assets/maha2.png
  • 2-up
  • Swipe
  • Onion skin
File mode changed
......@@ -107,7 +107,7 @@ for (var i = 0; i < CamposLanzanCalculoGeneral.length; i++) {
let agr = CamposLanzanCalculoGeneral[i];
for (var j = 0; j < agr.length; j++) {
let bgr = agr[j];
console.log(bgr);
//console.log(bgr);
}
}
......@@ -173,7 +173,9 @@ function calcularResultadoSub(num) {
//eficacia_freno_1.value = resultado2.toFixed(2);
eficacia_freno_1.value = String(efc.toFixed(0)).replace(".",",");
}
//EficaCIA GENERAL SUMA FRENO DE SERVICIO NO PROMEDIO
//EL PESO TOTAL ES LA SUMA DE LOS EJES
document.getElementById('boton_pdf_maha_reporte2').addEventListener('click',reporteLinea1);
document.getElementById('boton_pdf_maha_reporte').addEventListener('click',reporteLinea2);
......
......@@ -132,13 +132,28 @@
</div>
<div class="PDFButtonContainerFixed">
<button class="PDFButton" onclick=
"window.open(
compile(
(new PDF2()).pdf( collectToConvert() ),
new jsPDF('portrait', 'pt', 'a4')
)
.output('bloburl')
)";
>
Pdf Informe
</button>
<img id="maha" src="{{ url_for('static', filename = 'assets/maha.png') }}" style="display: none;">
</div>
<!--
<div class="PDFButtonContainerFixed">
<button class="PDFButton" id="boton_pdf_maha_reporte">
Linea 1
</button>
<button class="PDFButton" id="boton_pdf_maha_reporte2">
Linea 2
</button>
<!--
<button class="PDFButton" onclick=
"window.open(
compile(
......@@ -150,9 +165,9 @@
>
Linea 2
</button>
-->
<img id="maha" src="{{ url_for('static', filename = 'assets/maha2.png') }}" style="display: none;">
</div>
-->
<div class="PDFButtonContainerFixed" style="bottom: 40%;">
<button class="PDFButton" style="bottom: 40%; display: {% if bypass %} none {% else %} block {% endif %};"
onclick="location.reload()">
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!