Commit da9585e5 by Ooh-Ao

widget

parent 6ae16559
body, html { body,
margin: 0; html {
padding: 0; overflow-y: auto !important;
height: 200%; margin: 0 !important;
padding: 0 !important;
/* height: 200%; */
} }
import { Component, OnInit } from '@angular/core'; import { Component, OnInit, ViewEncapsulation } from '@angular/core';
import { ServicesComponent } from '../services/services.component'; import { ServicesComponent } from '../services/services.component';
import { Service, WidjetService } from '../services/widjet.service'; import { Service, WidjetService } from '../services/widjet.service';
import { CommonModule } from '@angular/common'; import { CommonModule } from '@angular/common';
...@@ -9,7 +9,8 @@ import { ActivatedRoute } from '@angular/router'; ...@@ -9,7 +9,8 @@ import { ActivatedRoute } from '@angular/router';
standalone: true, standalone: true,
imports: [CommonModule, ServicesComponent], imports: [CommonModule, ServicesComponent],
templateUrl: './layout-widjet.component.html', templateUrl: './layout-widjet.component.html',
styleUrls: ['./layout-widjet.component.css'] styleUrls: ['./layout-widjet.component.css'],
encapsulation: ViewEncapsulation.None
}) })
export class LayoutWidjetComponent implements OnInit { export class LayoutWidjetComponent implements OnInit {
appName = "" appName = ""
......
...@@ -40,7 +40,7 @@ export class WidjetService { ...@@ -40,7 +40,7 @@ export class WidjetService {
dataModel: "ss", dataModel: "ss",
dataSoure: "sss", dataSoure: "sss",
api: "", api: "",
width: 6, width: 12,
heigth: "", heigth: "",
tag: "" tag: ""
}, },
...@@ -51,7 +51,7 @@ export class WidjetService { ...@@ -51,7 +51,7 @@ export class WidjetService {
dataModel: "ss", dataModel: "ss",
dataSoure: "sss", dataSoure: "sss",
api: "", api: "",
width: 6, width: 12,
heigth: "", heigth: "",
tag: "" tag: ""
}, },
...@@ -62,7 +62,7 @@ export class WidjetService { ...@@ -62,7 +62,7 @@ export class WidjetService {
dataModel: "ss", dataModel: "ss",
dataSoure: "sss", dataSoure: "sss",
api: "select data", api: "select data",
width: 3, width: 12,
heigth: "", heigth: "",
tag: "" tag: ""
}, },
...@@ -73,7 +73,7 @@ export class WidjetService { ...@@ -73,7 +73,7 @@ export class WidjetService {
dataModel: "4444", dataModel: "4444",
dataSoure: "2312", dataSoure: "2312",
api: "https://hrplus.myhr.co.th/hr/taapi/leave/statistic?yearId=2024", api: "https://hrplus.myhr.co.th/hr/taapi/leave/statistic?yearId=2024",
width: 3, width: 12,
heigth: "", heigth: "",
tag: "" tag: ""
}, },
...@@ -84,7 +84,7 @@ export class WidjetService { ...@@ -84,7 +84,7 @@ export class WidjetService {
dataModel: "4444", dataModel: "4444",
dataSoure: "2312", dataSoure: "2312",
api: "https://hrplus.myhr.co.th/hr/taapi/leave/statistic?yearId=2024", api: "https://hrplus.myhr.co.th/hr/taapi/leave/statistic?yearId=2024",
width: 3, width: 12,
heigth: "", heigth: "",
tag: "" tag: ""
}, },
...@@ -95,7 +95,7 @@ export class WidjetService { ...@@ -95,7 +95,7 @@ export class WidjetService {
dataModel: "4444", dataModel: "4444",
dataSoure: "2312", dataSoure: "2312",
api: "https://hrplus.myhr.co.th/hr/taapi/leave/statistic?yearId=2024", api: "https://hrplus.myhr.co.th/hr/taapi/leave/statistic?yearId=2024",
width: 3, width: 12,
heigth: "", heigth: "",
tag: "" tag: ""
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment