Commit 0e1292ad by Ooh-Ao

domain companyid

parent 539f7e82
...@@ -18,6 +18,36 @@ ...@@ -18,6 +18,36 @@
Please enter a Username Please enter a Username
</div> </div>
</div> </div>
<div class="mb-4 position-relative">
<label for="exampleInputPassword1" class="form-label">บริษัท</label>
<input [(ngModel)]="companyName" name="datasource" type="text" class="form-control" aria-describedby="emailHelp"
[ngModelOptions]="{standalone: true}">
<div class="invalid-feedback">
Please enter a Username
</div>
</div>
<div class="mb-4 position-relative">
<label for="exampleInputPassword1" class="form-label">Domain</label>
<input [(ngModel)]="domain" name="datasource" type="text" class="form-control" aria-describedby="emailHelp"
[ngModelOptions]="{standalone: true}">
<div class="invalid-feedback">
Please enter a Username
</div>
</div>
<!-- <div class="mb-4 position-relative">
<label for="exampleInputPassword1" class="form-label">บริษัท</label>
<input name="datasource" type="text" class="form-control" aria-describedby="emailHelp">
<div class="invalid-feedback">
Please enter a Username
</div>
</div>
<div class="mb-4 position-relative">
<label for="exampleInputPassword1" class="form-label">Domain</label>
<input name="datasource" type="text" class="form-control" aria-describedby="emailHelp">
<div class="invalid-feedback">
Please enter a Username
</div>
</div> -->
<div class="mb-3 position-relative"> <div class="mb-3 position-relative">
<label for="exampleInputEmail1" class="form-label">เลือก Widget</label> <label for="exampleInputEmail1" class="form-label">เลือก Widget</label>
<select [(ngModel)]="widgetModel" class="form-control" [ngModelOptions]="{standalone: true}" <select [(ngModel)]="widgetModel" class="form-control" [ngModelOptions]="{standalone: true}"
......
...@@ -16,6 +16,8 @@ export class LayoutWidjetSettingComponent implements OnInit { ...@@ -16,6 +16,8 @@ export class LayoutWidjetSettingComponent implements OnInit {
widgetList: Service[] = [] widgetList: Service[] = []
widgetModel?: Service widgetModel?: Service
appName: string = "" appName: string = ""
companyName: string = ""
domain: string=""
constructor(private widjetService: WidjetService) { constructor(private widjetService: WidjetService) {
this.widgetList = this.widjetService.widjetList this.widgetList = this.widjetService.widjetList
} }
......
...@@ -815,7 +815,7 @@ export class WidjetService { ...@@ -815,7 +815,7 @@ export class WidjetService {
description: "4444", description: "4444",
dataModel: "4444", dataModel: "4444",
dataSoure: "", dataSoure: "",
api: "https://zeeme.myhr.co.th/ZeemeApi/rest/timestamp/empfull-between-date/${companyId}/${memberId}/2024-07-01/2024-07-23", api: "https://zeeme.myhr.co.th/ZeemeApi/rest/timestamp/empfull-between-date/${companyId}/${memberId}/2024-07-24/2024-07-24",
width: 12, 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