penambahan UI update password

This commit is contained in:
2024-06-28 16:31:55 +07:00
parent be071b75b1
commit 97b2445d4f
7 changed files with 277 additions and 11 deletions

View File

@@ -426,7 +426,7 @@ export class CostManagementComponent implements OnInit {
);
}
export(){
export() {
this.spinnerExportActive = true;
setTimeout(() => {
const columnsToExport = [

View File

@@ -2,6 +2,8 @@
<h4 style="color: #ffffff; margin-bottom: 20px !important">
Comparison of Water and Electricity Costs > {{ dataRow.building }}
</h4>
<p style="color: #ffffff">Room : {{ dataRow?.roomName }}</p>
<p style="color: #ffffff">Category : {{ dataRow?.categoryName }}</p>
<div class="card-dashboard">
<ngx-datatable

View File

@@ -29,6 +29,10 @@ export class ModalExportComponent {
ngOnInit() {
this.formattedEndDate = this.dataRow.endDate.slice(0, 7);
}
ngAfterViewInit(): void {
console.log(this.dataRow);
this.fetchData(
this.dataRow.categoryId,
this.dataRow.roomId,
@@ -75,7 +79,7 @@ export class ModalExportComponent {
columnsToExport
);
this.spinnerExportActive = false;
this.activeModal.close('Export completed');
this.activeModal.close("Export completed");
}, 3000);
}
}