dmencu 0.3.8 → 0.3.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/unlogged/render-formulario.tsx +0 -1
- package/dist/server/server/def-config.d.ts +1 -1
- package/dist/server/server/def-config.js +2 -1
- package/dist/unlogged/unlogged/render-formulario.js +1 -2
- package/dist/unlogged/unlogged/render-formulario.tsx +0 -1
- package/install/actualizar_estado_tem_trg.sql +2 -2
- package/install/carga_inicial_tareas_tem.sql +30 -0
- package/install/operaciones.tab +3 -0
- package/package.json +1 -1
|
@@ -867,7 +867,6 @@ function TextoDespliegue(props:{casillero:Texto, forPk:ForPk}){
|
|
|
867
867
|
// var nuevaForPk={...forPk, formulario:idFormularioDestino};
|
|
868
868
|
// nuevaForPk[nuevoCampoPk] = defBoton.num
|
|
869
869
|
dispatch(dispatchers.CAMBIAR_FORMULARIO({forPk:defBoton.forPk, apilarVuelta:true}));
|
|
870
|
-
dispatchByPass(accion_abrir_formulario,{forPk:defBoton.forPk})
|
|
871
870
|
}
|
|
872
871
|
return <DesplegarCasillero
|
|
873
872
|
id={`${id}-externo`}
|
|
@@ -10,8 +10,8 @@ end;
|
|
|
10
10
|
$BODY$;
|
|
11
11
|
|
|
12
12
|
DROP trigger if exists actualizar_estado_tem_trg on base.tareas_tem;
|
|
13
|
-
CREATE TRIGGER actualizar_estado_tem_trg
|
|
14
|
-
AFTER
|
|
13
|
+
CREATE TRIGGER actualizar_estado_tem_trg
|
|
14
|
+
AFTER UPDATE OF estado, tarea
|
|
15
15
|
ON base.tareas_tem
|
|
16
16
|
FOR EACH ROW
|
|
17
17
|
EXECUTE FUNCTION base.actualizar_estado_tem_trg();
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
--set search_path=base;
|
|
2
|
+
--set role ut_owner;
|
|
3
|
+
|
|
4
|
+
-- Primer seteo con data de asignacion desde areas
|
|
5
|
+
-- TODO reveer si agregamos campos asociados a las tareas supe y recu a areas
|
|
6
|
+
|
|
7
|
+
--delete from tareas_areas;
|
|
8
|
+
/*
|
|
9
|
+
insert into tareas_areas(operativo, tarea, area, asignado, asignante, obs_asignante)
|
|
10
|
+
select *
|
|
11
|
+
from (
|
|
12
|
+
select a.operativo, t.tarea, area, case when tarea='encu' then encuestador else null end asignado, recepcionista, obs_recepcionista
|
|
13
|
+
from areas a ,(select t.operativo, t.tarea
|
|
14
|
+
from tareas t join parametros p on unico_registro and t.operativo=p.operativo
|
|
15
|
+
)t
|
|
16
|
+
where a.operativo= t.operativo and a.operativo='UT_2022'
|
|
17
|
+
) n
|
|
18
|
+
--where not exists (select 1 from tareas_areas t where t.operativo= n.operativo and t.tarea=n.tarea and t.area=n.area)
|
|
19
|
+
order by 1,2,3;
|
|
20
|
+
*/
|
|
21
|
+
--delete from tareas_tem;
|
|
22
|
+
insert into tareas_tem (operativo, enc, tarea, habilitada)
|
|
23
|
+
select ta.operativo, ta.enc, ta.tarea, case when ta.tarea='encu' then true else false end
|
|
24
|
+
from (select ta.*, t.enc,t.area from tareas ta, tem t where ta.operativo=t.operativo) ta
|
|
25
|
+
where ta.operativo= (select operativo from parametros where unico_registro)
|
|
26
|
+
and not (ta.operativo, ta.enc, ta.tarea) in (select operativo, enc, tarea from tareas_tem)
|
|
27
|
+
and ta.main_form is not null
|
|
28
|
+
order by 1,3,2;
|
|
29
|
+
|
|
30
|
+
update tem set tarea='encu';
|
package/package.json
CHANGED