mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-21 05:45:50 +00:00
add search
This commit is contained in:
@@ -61,6 +61,7 @@ export class DeplomasService {
|
||||
this._diplomasGerarList = restoreDiplomasGerarList.list || []
|
||||
this._diplomasGerarListCount = parseInt(restoreDiplomasGerarList.count) || 0
|
||||
|
||||
this.runCallback()
|
||||
}, 10)
|
||||
|
||||
}
|
||||
@@ -131,6 +132,8 @@ export class DeplomasService {
|
||||
if(window['all-process-gabinete']) {
|
||||
window['all-process-gabinete']()
|
||||
}
|
||||
|
||||
this.runCallback()
|
||||
}
|
||||
|
||||
resetDiplomasParaAssinar(value: any[]) {
|
||||
@@ -142,6 +145,8 @@ export class DeplomasService {
|
||||
if(window['all-process-gabinete']) {
|
||||
window['all-process-gabinete']()
|
||||
}
|
||||
|
||||
this.runCallback()
|
||||
}
|
||||
|
||||
resetDiplomasReview(value: any[]) {
|
||||
@@ -152,6 +157,8 @@ export class DeplomasService {
|
||||
if(window['all-process-gabinete']) {
|
||||
window['all-process-gabinete']()
|
||||
}
|
||||
|
||||
this.runCallback()
|
||||
}
|
||||
|
||||
resetDiplomaGerar(value: any[]) {
|
||||
@@ -163,6 +170,8 @@ export class DeplomasService {
|
||||
if(window['all-process-gabinete']) {
|
||||
window['all-process-gabinete']()
|
||||
}
|
||||
|
||||
this.runCallback()
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -35,47 +35,9 @@ export class DespachoStoreService {
|
||||
let restore = localstoreService.get(this.keyName, {})
|
||||
this._list = restore.list || []
|
||||
this._count = parseInt(restore.count) || 0
|
||||
|
||||
this.runCallback()
|
||||
}, 10)
|
||||
|
||||
|
||||
setTimeout(()=>{
|
||||
|
||||
// this.Query().Update(
|
||||
// (select:customTask): boolean => select.Folio == 'Formação',
|
||||
// (update:customTask) => update.Folio = 'Formação 5'
|
||||
// )
|
||||
|
||||
// this.Query().Update(
|
||||
// (select:customTask): boolean => select.Folio == 'Formação',
|
||||
// (update:customTask) => {
|
||||
// update.Folio = 'Formação 7';
|
||||
// update.DocumentURL = 'peter';
|
||||
// }
|
||||
// )
|
||||
|
||||
// this.Query().Update(
|
||||
// (select:customTask): boolean => select.Folio == 'Formação',
|
||||
// (update:customTask): customTask => ({
|
||||
// CreateDate: '',
|
||||
// DocId: 0,
|
||||
// DocumentURL: '',
|
||||
// DocumentsQty: '',
|
||||
// FolderID: 0,
|
||||
// Folio:' ',
|
||||
// Remetente: '',
|
||||
// Senders: '',
|
||||
// SerialNumber: '',
|
||||
// Status: '',
|
||||
// WorkflowName: '',
|
||||
// activityInstanceName: ''
|
||||
// })
|
||||
// )
|
||||
|
||||
// this.Query().Delete(
|
||||
// (select: customTask): boolean => select.DocId == 3 && select.DocId >= 1
|
||||
// )
|
||||
|
||||
}, 5000)
|
||||
|
||||
}
|
||||
|
||||
@@ -141,6 +103,7 @@ export class DespachoStoreService {
|
||||
this._count = this._list.length
|
||||
}
|
||||
|
||||
this.runCallback()
|
||||
setTimeout(()=>{
|
||||
localstoreService.set(this.keyName,{
|
||||
list: this._list,
|
||||
|
||||
@@ -29,6 +29,7 @@ constructor() {
|
||||
setTimeout(()=>{
|
||||
let restore = localstoreService.get(this.keyName, {})
|
||||
this._list = restore.list || []
|
||||
this.runCallback()
|
||||
}, 10)
|
||||
|
||||
}
|
||||
@@ -71,6 +72,7 @@ private save() {
|
||||
})
|
||||
}, 10)
|
||||
|
||||
this.runCallback()
|
||||
this.updateNewCount()
|
||||
}
|
||||
|
||||
|
||||
@@ -43,6 +43,7 @@ export class EventoaprovacaoStoreService {
|
||||
this._list = list || {}
|
||||
|
||||
this.updateCount();
|
||||
this.runCallback()
|
||||
}, 10)
|
||||
|
||||
}
|
||||
@@ -78,6 +79,7 @@ export class EventoaprovacaoStoreService {
|
||||
this._list[segment] = []
|
||||
this._counts[segment] = 0
|
||||
}
|
||||
|
||||
|
||||
|
||||
value = value.map( e => this.EventoApprovePipe.transform(e, e))
|
||||
@@ -92,6 +94,8 @@ export class EventoaprovacaoStoreService {
|
||||
list: this._list,
|
||||
counts: this._counts
|
||||
})
|
||||
|
||||
this.runCallback()
|
||||
}, 10)
|
||||
|
||||
if(window['all-process-gabinete']) {
|
||||
|
||||
@@ -32,6 +32,8 @@ export class ExpedientegdStoreService {
|
||||
let restore = localstoreService.get(this.keyName, {})
|
||||
this._list = restore.list || []
|
||||
this._count = parseInt(restore.count) || 0
|
||||
|
||||
this.runCallback()
|
||||
}, 10)
|
||||
|
||||
}
|
||||
@@ -61,6 +63,8 @@ export class ExpedientegdStoreService {
|
||||
if(window['all-process-gabinete']) {
|
||||
window['all-process-gabinete']()
|
||||
}
|
||||
|
||||
this.runCallback()
|
||||
}
|
||||
|
||||
private save() {
|
||||
|
||||
@@ -40,6 +40,8 @@ export class PedidosStoreService {
|
||||
this._listDeferimento = restoreParecer.listParecer || []
|
||||
this._countparecer = parseInt(restoreParecer.count) || 0
|
||||
this._countDeferiemnto = parseInt(restoreDeferimento.count) || 0
|
||||
|
||||
this.runCallback()
|
||||
|
||||
}, 10)
|
||||
|
||||
@@ -85,6 +87,8 @@ export class PedidosStoreService {
|
||||
|
||||
this.countparecer = this._listParecer.length
|
||||
this.saveDeferimento()
|
||||
|
||||
this.runCallback()
|
||||
if(window['all-process-gabinete']) {
|
||||
window['all-process-gabinete']()
|
||||
}
|
||||
@@ -95,6 +99,7 @@ export class PedidosStoreService {
|
||||
|
||||
this.countdeferimento =this._listDeferimento.length
|
||||
this.saveParecer()
|
||||
this.runCallback()
|
||||
if(window['all-process-gabinete']) {
|
||||
window['all-process-gabinete']()
|
||||
}
|
||||
|
||||
@@ -32,6 +32,8 @@ export class PendestesStoreService {
|
||||
let restore = localstoreService.get(this.keyName, {})
|
||||
this._list = restore.list || []
|
||||
this._count = parseInt(restore.count) || 0
|
||||
|
||||
this.runCallback()
|
||||
}, 10)
|
||||
|
||||
}
|
||||
@@ -66,6 +68,8 @@ export class PendestesStoreService {
|
||||
if(window['all-process-gabinete']) {
|
||||
window['all-process-gabinete']()
|
||||
}
|
||||
|
||||
this.runCallback()
|
||||
}
|
||||
|
||||
private save() {
|
||||
|
||||
Reference in New Issue
Block a user