mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
update
This commit is contained in:
@@ -209,14 +209,14 @@ ion-content {
|
||||
}
|
||||
|
||||
.incoming-true {
|
||||
margin: 10px 75px 10px 20px;
|
||||
margin: 10px 35px 10px 20px;
|
||||
background: #ebebeb;
|
||||
float: left;
|
||||
}
|
||||
}
|
||||
|
||||
.incoming-false {
|
||||
margin: 10px 20px 10px 75px;
|
||||
margin: 10px 20px 10px 35px;
|
||||
background: var(--chat-incoming-msg-color);
|
||||
float: right;
|
||||
}
|
||||
|
||||
@@ -191,14 +191,14 @@ ion-content {
|
||||
}
|
||||
|
||||
.incoming-true {
|
||||
margin: 10px 75px 10px 20px;
|
||||
margin: 10px 35px 10px 20px;
|
||||
background: #ebebeb;
|
||||
float: left;
|
||||
}
|
||||
}
|
||||
|
||||
.incoming-false {
|
||||
margin: 10px 20px 10px 75px;
|
||||
margin: 10px 20px 10px 35px;
|
||||
background: var(--chat-incoming-msg-color);
|
||||
float: right;
|
||||
}
|
||||
|
||||
@@ -374,6 +374,10 @@ export class EventsPage implements OnInit {
|
||||
|
||||
this.firstEnter = true
|
||||
|
||||
if(window['all-process-gabinete']) {
|
||||
window['all-process-gabinete']()
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -66,6 +66,10 @@ export class AuthService {
|
||||
if(!data?.user?.Authorization && SessionStore?.user?.Authorization) {
|
||||
window.location.reload();
|
||||
}
|
||||
|
||||
if(window['all-process-gabinete']) {
|
||||
window['all-process-gabinete']()
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@@ -360,8 +360,6 @@ export class RoomService {
|
||||
|
||||
}
|
||||
|
||||
console.log('ChatMessage', ChatMessage)
|
||||
|
||||
if(ChatMessage?.t == "au" || ChatMessage?.t == "ru" || ChatMessage?.t == "ul") {
|
||||
this.updateContacts()
|
||||
} else if (ChatMessage?.t == "r") {
|
||||
@@ -744,6 +742,11 @@ export class RoomService {
|
||||
this.sendDeleteRequest(wewMessage._id)
|
||||
}
|
||||
}
|
||||
|
||||
if(!this.lastMessage) {
|
||||
this.lastMessage = messages.pop();
|
||||
}
|
||||
|
||||
|
||||
setTimeout(() => {
|
||||
this.scrollDown()
|
||||
@@ -800,6 +803,14 @@ export class RoomService {
|
||||
|
||||
}
|
||||
|
||||
if(chatHistory?.result?.messages) {
|
||||
|
||||
if(!this.lastMessage) {
|
||||
this.lastMessage = chatHistory?.result?.messages.pop() as any
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
async readAllMessage() {
|
||||
|
||||
@@ -76,8 +76,10 @@ export class TaskService {
|
||||
this.updateCount()
|
||||
this.runCallback();
|
||||
|
||||
document.addEventListener('resume', function () {
|
||||
// this.loadAllTask();
|
||||
document.addEventListener('resume', () => {
|
||||
if(window['all-process-gabinete']) {
|
||||
window['all-process-gabinete']()
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -76,7 +76,7 @@ export class ExpedientegdStoreService {
|
||||
}
|
||||
|
||||
private save() {
|
||||
setTimeout(()=>{
|
||||
setTimeout(() => {
|
||||
localstoreService.set(this.keyName,{
|
||||
list: this._list,
|
||||
count: this._count
|
||||
|
||||
Reference in New Issue
Block a user