mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
Fix store and improve search
This commit is contained in:
@@ -51,19 +51,16 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{{ LoadedDocument | json }}
|
||||||
|
|
||||||
<div *ngIf="LoadedDocument" class="aside-right flex-column height-100">
|
<div *ngIf="LoadedDocument" class="aside-right flex-column height-100">
|
||||||
<div class="buttons">
|
<div class="buttons">
|
||||||
<button (click)="notImplemented()" class="btn-ok" shape="round" >Efectuar Despacho</button>
|
<button (click)="openExpedientActionsModal('0')" class="btn-ok" shape="round" >Efectuar Despacho</button>
|
||||||
<button (click)="notImplemented()" class="btn-cancel" shape="round" >Descartar</button>
|
|
||||||
<div class="solid"></div>
|
<div class="solid"></div>
|
||||||
<button (click)="notImplemented()" class="btn-cancel" shape="round" >Solicitar Parecer</button>
|
<button (click)="openExpedientActionsModal('0')" class="btn-cancel" shape="round" >Solicitar Parecer</button>
|
||||||
<button (click)="notImplemented()" class="btn-cancel" shape="round" >Pedido de Deferimento</button>
|
<button (click)="openExpedientActionsModal('2')" class="btn-cancel" shape="round" >Pedido de Deferimento</button>
|
||||||
<button (click)="notImplemented()" class="btn-cancel" shape="round" >Marcar Reunião</button>
|
<button (click)="openBookMeetingModal()" class="btn-cancel" shape="round" >Marcar Reunião</button>
|
||||||
<button (click)="notImplemented()" *ngIf="LoadedDocument.Status != 'Pending'" class="btn-cancel" shape="round" >Enviar para Pendentes</button>
|
|
||||||
<div class="solid"></div>
|
|
||||||
<button (click)="notImplemented()" class="btn-cancel" shape="round" >Executar</button>
|
|
||||||
<button (click)="notImplemented()" class="btn-cancel" shape="round" >Delegar</button>
|
|
||||||
<button (click)="notImplemented()" class="btn-cancel" shape="round" >Arquivar</button>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,8 @@ import { MenuController, ModalController, NavParams } from '@ionic/angular';
|
|||||||
import { AlertService } from 'src/app/services/alert.service';
|
import { AlertService } from 'src/app/services/alert.service';
|
||||||
import { ProcessesService } from 'src/app/services/processes.service';
|
import { ProcessesService } from 'src/app/services/processes.service';
|
||||||
import { InAppBrowser } from '@ionic-native/in-app-browser/ngx';
|
import { InAppBrowser } from '@ionic-native/in-app-browser/ngx';
|
||||||
|
import { ExpedientTaskModalPage } from 'src/app/pages/gabinete-digital/expediente/expedient-task-modal/expedient-task-modal.page';
|
||||||
|
import { BookMeetingModalPage } from 'src/app/pages/gabinete-digital/expediente/book-meeting-modal/book-meeting-modal.page';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-document-detail',
|
selector: 'app-document-detail',
|
||||||
@@ -63,11 +65,112 @@ export class DocumentDetailPage implements OnInit {
|
|||||||
this.menu.open();
|
this.menu.open();
|
||||||
this.modalController.dismiss();
|
this.modalController.dismiss();
|
||||||
}
|
}
|
||||||
close(){
|
close() {
|
||||||
this.modalController.dismiss();
|
this.modalController.dismiss();
|
||||||
}
|
}
|
||||||
notImplemented(){
|
notImplemented() {
|
||||||
this.alertService.presentAlert('Funcionalidade em desenvolvimento');
|
this.alertService.presentAlert('Funcionalidade em desenvolvimento');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// efetuar despacho
|
||||||
|
async openExpedientActionsModal( taskAction: any) {
|
||||||
|
|
||||||
|
let task;
|
||||||
|
|
||||||
|
if(this.LoadedDocument.ApplicationID == 361) {
|
||||||
|
task = {
|
||||||
|
serialNumber: this.LoadedDocument.DispatchNumber,
|
||||||
|
taskStartDate: this.LoadedDocument.DateDispatch,
|
||||||
|
isEvent: true,
|
||||||
|
workflowInstanceDataFields: {
|
||||||
|
FsId: this.LoadedDocument.ApplicationID,
|
||||||
|
FolderID: null,
|
||||||
|
DocId: this.LoadedDocument.DispatchNumber,
|
||||||
|
Subject: this.LoadedDocument.Assunto
|
||||||
|
},
|
||||||
|
}
|
||||||
|
} else if (this.LoadedDocument.ApplicationID == 8) {
|
||||||
|
task = {
|
||||||
|
serialNumber: this.LoadedDocument.SourceId,
|
||||||
|
taskStartDate: this.LoadedDocument.CreateDate,
|
||||||
|
isEvent: true,
|
||||||
|
workflowInstanceDataFields: {
|
||||||
|
FsId: this.LoadedDocument.ApplicationID,
|
||||||
|
FolderID: null,
|
||||||
|
DocId: this.LoadedDocument.SourceId,
|
||||||
|
Subject: this.LoadedDocument.SourceName
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
let classs;
|
||||||
|
if( window.innerWidth <= 800) {
|
||||||
|
classs = 'modal modal-desktop'
|
||||||
|
} else {
|
||||||
|
classs = 'modal modal-desktop showAsideOptions'
|
||||||
|
}
|
||||||
|
const modal = await this.modalController.create({
|
||||||
|
component: ExpedientTaskModalPage,
|
||||||
|
componentProps: {
|
||||||
|
taskAction: taskAction,
|
||||||
|
task: task,
|
||||||
|
},
|
||||||
|
cssClass: classs,
|
||||||
|
});
|
||||||
|
await modal.present();
|
||||||
|
modal.onDidDismiss().then( async(res)=>{});
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
async openBookMeetingModal() {
|
||||||
|
|
||||||
|
let task;
|
||||||
|
|
||||||
|
if(this.LoadedDocument.ApplicationID == 361) {
|
||||||
|
task = {
|
||||||
|
serialNumber: this.LoadedDocument.DispatchNumber,
|
||||||
|
taskStartDate: this.LoadedDocument.DateDispatch,
|
||||||
|
isEvent: true,
|
||||||
|
workflowInstanceDataFields: {
|
||||||
|
FsId: this.LoadedDocument.ApplicationID,
|
||||||
|
FolderID: null,
|
||||||
|
DocId: this.LoadedDocument.DispatchNumber,
|
||||||
|
Subject: this.LoadedDocument.Assunto
|
||||||
|
},
|
||||||
|
}
|
||||||
|
} else if (this.LoadedDocument.ApplicationID == 8) {
|
||||||
|
task = {
|
||||||
|
serialNumber: this.LoadedDocument.SourceId,
|
||||||
|
taskStartDate: this.LoadedDocument.CreateDate,
|
||||||
|
isEvent: true,
|
||||||
|
workflowInstanceDataFields: {
|
||||||
|
FsId: this.LoadedDocument.ApplicationID,
|
||||||
|
FolderID: null,
|
||||||
|
DocId: this.LoadedDocument.SourceId,
|
||||||
|
Subject: this.LoadedDocument.SourceName
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
let classs;
|
||||||
|
if( window.innerWidth <= 800) {
|
||||||
|
classs = 'book-meeting-modal modal modal-desktop'
|
||||||
|
} else {
|
||||||
|
classs = 'modal modal-desktop showAsideOptions'
|
||||||
|
}
|
||||||
|
const modal = await this.modalController.create({
|
||||||
|
component: BookMeetingModalPage,
|
||||||
|
componentProps: {
|
||||||
|
task: task,
|
||||||
|
},
|
||||||
|
cssClass: classs,
|
||||||
|
backdropDismiss: false
|
||||||
|
});
|
||||||
|
await modal.present();
|
||||||
|
modal.onDidDismiss();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -350,7 +350,6 @@ export class ExpedienteDetailPage implements OnInit {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
async openOptions(taskAction?: any) {
|
async openOptions(taskAction?: any) {
|
||||||
const popover = await this.popoverController.create({
|
const popover = await this.popoverController.create({
|
||||||
component: OptsExpedientePage,
|
component: OptsExpedientePage,
|
||||||
@@ -365,6 +364,4 @@ export class ExpedienteDetailPage implements OnInit {
|
|||||||
return await popover.present();
|
return await popover.present();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -158,7 +158,7 @@
|
|||||||
<div class="content ion-align-items-center">
|
<div class="content ion-align-items-center">
|
||||||
|
|
||||||
<div class="d-flex ion-justify-content-between ">
|
<div class="d-flex ion-justify-content-between ">
|
||||||
<span class="result-name">{{ searchDocument.Assunto}}</span>
|
<span class="result-name">{{ searchDocument.Assunto}} -- {{ searchDocument.ApplicationType}} </span>
|
||||||
<span class="app-name" *ngIf="itemIcons() == 'AccoesPresidenciais & ArquivoDespachoElect' ">{{ searchDocument.appName}}</span>
|
<span class="app-name" *ngIf="itemIcons() == 'AccoesPresidenciais & ArquivoDespachoElect' ">{{ searchDocument.appName}}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="d-flex ion-justify-content-between ">
|
<div class="d-flex ion-justify-content-between ">
|
||||||
|
|||||||
@@ -11,6 +11,9 @@ import { slugify } from 'src/plugin/javascript-remove-accents.js';
|
|||||||
import { ViewEventPage } from 'src/app/pages/agenda/view-event/view-event.page';
|
import { ViewEventPage } from 'src/app/pages/agenda/view-event/view-event.page';
|
||||||
import { PublicationDetailPage } from '../publications/view-publications/publication-detail/publication-detail.page';
|
import { PublicationDetailPage } from '../publications/view-publications/publication-detail/publication-detail.page';
|
||||||
import { DocumentDetailPage } from 'src/app/modals/document-detail/document-detail.page';
|
import { DocumentDetailPage } from 'src/app/modals/document-detail/document-detail.page';
|
||||||
|
import { ExpedientTaskModalPage } from '../gabinete-digital/expediente/expedient-task-modal/expedient-task-modal.page';
|
||||||
|
import { OptsExpedientePage } from 'src/app/shared/popover/opts-expediente/opts-expediente.page';
|
||||||
|
import { CreateProcessPage } from 'src/app/modals/create-process/create-process.page';
|
||||||
|
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
@@ -561,7 +564,6 @@ export class SearchPage implements OnInit {
|
|||||||
|
|
||||||
const ApplicationType = searchDocument.ApplicationType.toString()
|
const ApplicationType = searchDocument.ApplicationType.toString()
|
||||||
const Id = searchDocument.Id
|
const Id = searchDocument.Id
|
||||||
|
|
||||||
if(this.select == false){
|
if(this.select == false){
|
||||||
if(this.type == "Agenda") {
|
if(this.type == "Agenda") {
|
||||||
|
|
||||||
@@ -580,13 +582,13 @@ export class SearchPage implements OnInit {
|
|||||||
this.viewPublicationDetail(Id);
|
this.viewPublicationDetail(Id);
|
||||||
}
|
}
|
||||||
else if(this.type == "AccoesPresidenciais & ArquivoDespachoElect"){
|
else if(this.type == "AccoesPresidenciais & ArquivoDespachoElect"){
|
||||||
console.log('OPEN DOC');
|
|
||||||
this.viewDocumentDetail(Id, ApplicationType);
|
|
||||||
|
|
||||||
|
if(ApplicationType == '8' || ApplicationType == '361') {
|
||||||
|
this.viewDocumentDetail(Id, ApplicationType);
|
||||||
|
// this.openExpedientActionsModal(searchDocument)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
async viewPublicationDetail(publicationId:string) {
|
async viewPublicationDetail(publicationId:string) {
|
||||||
@@ -606,7 +608,8 @@ export class SearchPage implements OnInit {
|
|||||||
|
|
||||||
async viewDocumentDetail(docId:string, applicationId:string) {
|
async viewDocumentDetail(docId:string, applicationId:string) {
|
||||||
let classs;
|
let classs;
|
||||||
if( window.innerWidth <= 800){
|
|
||||||
|
if( window.innerWidth <= 800) {
|
||||||
classs = 'modal modal-desktop'
|
classs = 'modal modal-desktop'
|
||||||
} else {
|
} else {
|
||||||
classs = 'modal modal-desktop showAsideOptions'
|
classs = 'modal modal-desktop showAsideOptions'
|
||||||
@@ -621,8 +624,36 @@ export class SearchPage implements OnInit {
|
|||||||
cssClass: classs,
|
cssClass: classs,
|
||||||
});
|
});
|
||||||
await modal.present();
|
await modal.present();
|
||||||
modal.onDidDismiss().then((res)=>{
|
modal.onDidDismiss().then((res)=>{});
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
async openExpedientActionsModal(doc: any) {
|
||||||
|
|
||||||
|
let customTask = {
|
||||||
|
serialNumber: doc.SourceId,
|
||||||
|
taskStartDate: doc.CreateDate,
|
||||||
|
isEvent: true,
|
||||||
|
workflowInstanceDataFields: {
|
||||||
|
FsId: doc.ApplicationId,
|
||||||
|
FolderID: null,
|
||||||
|
DocId: doc.SourceId,
|
||||||
|
Subject: doc.SourceName
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
const popover = await this.modalController.create({
|
||||||
|
component: OptsExpedientePage,
|
||||||
|
cssClass: 'model aside-modal search-submodal',
|
||||||
|
componentProps: {
|
||||||
|
fulltask: customTask,
|
||||||
|
task: customTask
|
||||||
|
},
|
||||||
|
//translucent: true
|
||||||
});
|
});
|
||||||
|
return await popover.present();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,9 +8,7 @@ import { Event } from 'src/app/models/event.model';
|
|||||||
import { InAppBrowser } from '@ionic-native/in-app-browser/ngx';
|
import { InAppBrowser } from '@ionic-native/in-app-browser/ngx';
|
||||||
import { ProcessesService } from 'src/app/services/processes.service';
|
import { ProcessesService } from 'src/app/services/processes.service';
|
||||||
import { ExpedientTaskModalPage } from 'src/app/pages/gabinete-digital/expediente/expedient-task-modal/expedient-task-modal.page';
|
import { ExpedientTaskModalPage } from 'src/app/pages/gabinete-digital/expediente/expedient-task-modal/expedient-task-modal.page';
|
||||||
import { momentG } from 'src/plugin/momentG';
|
|
||||||
import { BookMeetingModalPage } from 'src/app/pages/gabinete-digital/expediente/book-meeting-modal/book-meeting-modal.page';
|
import { BookMeetingModalPage } from 'src/app/pages/gabinete-digital/expediente/book-meeting-modal/book-meeting-modal.page';
|
||||||
import { ChatPopoverPage } from '../../popover/chat-popover/chat-popover.page';
|
|
||||||
import { OptsExpedientePage } from '../../popover/opts-expediente/opts-expediente.page';
|
import { OptsExpedientePage } from '../../popover/opts-expediente/opts-expediente.page';
|
||||||
import { ToastService } from 'src/app/services/toast.service';
|
import { ToastService } from 'src/app/services/toast.service';
|
||||||
import { EliminateEventPage } from 'src/app/modals/eliminate-event/eliminate-event.page';
|
import { EliminateEventPage } from 'src/app/modals/eliminate-event/eliminate-event.page';
|
||||||
|
|||||||
@@ -15,68 +15,70 @@ export class EventoaprovacaoStoreService {
|
|||||||
private keyNamepr: string;
|
private keyNamepr: string;
|
||||||
private _count = 0
|
private _count = 0
|
||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
|
|
||||||
this.keyNamemd = (SHA1(this.constructor.name+"md")).toString()
|
this.keyNamemd = (SHA1(this.constructor.name+"md")).toString()
|
||||||
this.keyNamepr = (SHA1(this.constructor.name+"pr")).toString()
|
this.keyNamepr = (SHA1(this.constructor.name+"pr")).toString()
|
||||||
|
|
||||||
|
|
||||||
setTimeout(()=>{
|
setTimeout(()=>{
|
||||||
let restoremd = localstoreService.get(this.keyNamemd, {})
|
let restoremd = localstoreService.get(this.keyNamemd, {})
|
||||||
let restorepr = localstoreService.get(this.keyNamepr, {})
|
let restorepr = localstoreService.get(this.keyNamepr, {})
|
||||||
this._listpr = restorepr.eventsListpr || []
|
|
||||||
this._listmd = restoremd.eventsListmd || []
|
|
||||||
this._count = restorepr.count.length + restoremd.count.length || 0
|
|
||||||
}, 10)
|
|
||||||
|
|
||||||
}
|
this._listpr = restorepr.eventsListpr || []
|
||||||
|
this._listmd = restoremd.eventsListmd || []
|
||||||
|
this._count = this._listpr.length + this._listmd.length || 0
|
||||||
|
}, 10)
|
||||||
|
|
||||||
get listpr() {
|
}
|
||||||
return this._listpr
|
|
||||||
}
|
|
||||||
|
|
||||||
get listmd() {
|
get listpr() {
|
||||||
return this._listmd
|
return this._listpr
|
||||||
}
|
}
|
||||||
get count() {
|
|
||||||
return this._count
|
|
||||||
}
|
|
||||||
set count(value: number) {
|
|
||||||
this._count = value
|
|
||||||
}
|
|
||||||
|
|
||||||
resetpr(eventsList: any) {
|
get listmd() {
|
||||||
this._listpr = eventsList
|
return this._listmd
|
||||||
|
}
|
||||||
|
|
||||||
this.count = this._listmd.length + this.listpr.length
|
get count() {
|
||||||
this.savepr(this._listpr)
|
return this._count
|
||||||
}
|
}
|
||||||
|
|
||||||
resetmd(eventsList: any) {
|
set count(value: number) {
|
||||||
this._listmd = eventsList
|
this._count = value
|
||||||
|
}
|
||||||
|
|
||||||
this.count = this._listmd.length + this.listpr.length
|
resetpr(eventsList: any) {
|
||||||
this.savemd(this._listmd)
|
this._listpr = eventsList
|
||||||
}
|
|
||||||
private savemd(eventsListmd: any) {
|
|
||||||
setTimeout(()=>{
|
|
||||||
localstoreService.set(this.keyNamemd,{
|
|
||||||
eventsListmd,
|
|
||||||
count: this._listmd,
|
|
||||||
})
|
|
||||||
}, 10)
|
|
||||||
|
|
||||||
}
|
this.count = this._listmd.length + this.listpr.length
|
||||||
|
this.savepr(this._listpr)
|
||||||
|
}
|
||||||
|
|
||||||
private savepr(eventsListpr: any) {
|
resetmd(eventsList: any) {
|
||||||
setTimeout(()=>{
|
this._listmd = eventsList
|
||||||
localstoreService.set(this.keyNamepr,{
|
|
||||||
eventsListpr,
|
|
||||||
count: this._listpr,
|
|
||||||
})
|
|
||||||
}, 10)
|
|
||||||
|
|
||||||
}
|
this.count = this._listmd.length + this.listpr.length
|
||||||
|
this.savemd(this._listmd)
|
||||||
|
}
|
||||||
|
|
||||||
|
private savemd(eventsListmd: any) {
|
||||||
|
setTimeout(()=>{
|
||||||
|
localstoreService.set(this.keyNamemd,{
|
||||||
|
eventsListmd,
|
||||||
|
})
|
||||||
|
}, 10)
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private savepr(eventsListpr: any) {
|
||||||
|
setTimeout(()=>{
|
||||||
|
localstoreService.set(this.keyNamepr,{
|
||||||
|
eventsListpr,
|
||||||
|
})
|
||||||
|
}, 10)
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -7,51 +7,50 @@ import { AES, enc, SHA1 } from 'crypto-js'
|
|||||||
})
|
})
|
||||||
export class ExpedientegdStoreService {
|
export class ExpedientegdStoreService {
|
||||||
|
|
||||||
// main data
|
// main data
|
||||||
private _list: Event[]
|
private _list: Event[]
|
||||||
// local storage keyName
|
// local storage keyName
|
||||||
private keyName: string;
|
private keyName: string;
|
||||||
private _count = 0
|
private _count = 0
|
||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
|
|
||||||
this.keyName = (SHA1(this.constructor.name)).toString()
|
this.keyName = (SHA1(this.constructor.name)).toString()
|
||||||
|
|
||||||
|
setTimeout(()=>{
|
||||||
|
let restore = localstoreService.get(this.keyName, {})
|
||||||
|
this._list = restore.eventsList || []
|
||||||
|
this._count = restore.count || 0
|
||||||
|
}, 10)
|
||||||
|
|
||||||
setTimeout(()=>{
|
}
|
||||||
let restore = localstoreService.get(this.keyName, {})
|
|
||||||
this._list = restore.eventsList || []
|
|
||||||
this._count = restore.count || 0
|
|
||||||
}, 10)
|
|
||||||
|
|
||||||
}
|
get list() {
|
||||||
|
return this._list
|
||||||
|
}
|
||||||
|
get count() {
|
||||||
|
return this._count
|
||||||
|
}
|
||||||
|
set count(value: number) {
|
||||||
|
this._count = value
|
||||||
|
}
|
||||||
|
|
||||||
get list() {
|
reset(eventsList: any) {
|
||||||
return this._list
|
this._list = eventsList
|
||||||
}
|
|
||||||
get count() {
|
|
||||||
return this._count
|
|
||||||
}
|
|
||||||
set count(value: number) {
|
|
||||||
this._count = value
|
|
||||||
}
|
|
||||||
|
|
||||||
reset(eventsList: any) {
|
this.count = this._list.length
|
||||||
this._list = eventsList
|
this.save(this._list)
|
||||||
|
}
|
||||||
|
|
||||||
this.count = this._list.length
|
private save(eventsList: any) {
|
||||||
this.save(this._list)
|
setTimeout(()=>{
|
||||||
}
|
localstoreService.set(this.keyName,{
|
||||||
|
eventsList,
|
||||||
|
count: this._list.length
|
||||||
|
})
|
||||||
|
}, 10)
|
||||||
|
|
||||||
private save(eventsList: any) {
|
}
|
||||||
setTimeout(()=>{
|
|
||||||
localstoreService.set(this.keyName,{
|
|
||||||
eventsList,
|
|
||||||
count: this._list.length
|
|
||||||
})
|
|
||||||
}, 10)
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
|
|
||||||
export const environment = {
|
export const environment = {
|
||||||
production: false,
|
production: false,
|
||||||
apiURL: 'https://equilibrium.dyndns.info/GabineteDigital.Services/V4/api/',
|
//apiURL: 'https://equilibrium.dyndns.info/GabineteDigital.Services/V4/api/',
|
||||||
/* apiURL: 'http://gpr-dev-01.gabinetedigital.local/GabineteDigital.Services/V4/api/', */
|
apiURL: 'http://gpr-dev-01.gabinetedigital.local/GabineteDigital.Services/V4/api/',
|
||||||
apiChatUrl: 'https://www.tabularium.pt/api/v1/',
|
apiChatUrl: 'https://www.tabularium.pt/api/v1/',
|
||||||
/* apiChatUrl: 'http://chat.gabinetedigital.local:3000/api/v1/', */
|
/* apiChatUrl: 'http://chat.gabinetedigital.local:3000/api/v1/', */
|
||||||
domain: 'gabinetedigital.local', //gabinetedigital.local
|
domain: 'gabinetedigital.local', //gabinetedigital.local
|
||||||
|
|||||||
@@ -56,8 +56,6 @@ describe('Puppeteer tests', () => {
|
|||||||
// wait for component
|
// wait for component
|
||||||
await page.waitForSelector('app-new-event')
|
await page.waitForSelector('app-new-event')
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// subject
|
// subject
|
||||||
await page.type('app-new-event .ion-item-container input', faker.commerce.productDescription() )
|
await page.type('app-new-event .ion-item-container input', faker.commerce.productDescription() )
|
||||||
// Location
|
// Location
|
||||||
|
|||||||
Reference in New Issue
Block a user