58 lines
2.1 KiB
HTML
58 lines
2.1 KiB
HTML
<app-loading-panel></app-loading-panel>
|
|
|
|
<div class="grid">
|
|
<div class="lg:col-12">
|
|
<input type="text" kendoTextBox for="txtEmpNo" style="width:92%;height:calc(1.4285714286em + 10px);" value="{{OrgCount}}" readonly placeholder="Organogram position"/>
|
|
<button [svgIcon]="apiService.KendoSVGIcon['search']" kendoButton themeColor="primary" style="height:calc(1.4285714286em + 10px);" (click)="OpenForm()"></button>
|
|
</div>
|
|
<!--<div class="lg:col-8">
|
|
<label for="txtEmpNo">Selected: {{OrgCount}}</label>
|
|
</div>-->
|
|
</div>
|
|
|
|
|
|
@if (showPopUp) {
|
|
<kendo-dialog (close)="closeForm()">
|
|
<kendo-dialog-titlebar>
|
|
Organogram Picker
|
|
</kendo-dialog-titlebar>
|
|
<div class="col-12 md:col-2">
|
|
<button kendoButton class="k-button k-primary" [svgIcon]="apiService.KendoSVGIcon['redo']" (click)="SearchOrg()">Find</button>
|
|
</div>
|
|
<div class="card card-w-title">
|
|
<div class="grid">
|
|
<fieldset>
|
|
<div class="col-10 p-shadow-7" style="width: 550px; height: 400px">
|
|
<div class="box">
|
|
<kendo-treeview [nodes]="_ogranograms"
|
|
kendoTreeViewExpandable
|
|
kendoTreeViewFlatDataBinding
|
|
kendoTreeViewSelectable
|
|
idField="id"
|
|
parentIdField="parentID"
|
|
textField="empNoNameView"
|
|
selectBy="id"
|
|
style="width: 550px; height: 400px"
|
|
[(selectedKeys)]="taggedSelection">
|
|
<ng-template kendoTreeViewNodeTemplate let-dataItem>
|
|
<img src="assets/photos/{{iconClass(dataItem)}}" width="20">
|
|
{{ dataItem.empNoNameView}}
|
|
</ng-template>
|
|
</kendo-treeview>
|
|
</div>
|
|
</div>
|
|
</fieldset>
|
|
</div>
|
|
</div>
|
|
<kendo-dialog-actions>
|
|
<div class="k-grid">
|
|
<div class="col-12" align="right">
|
|
<button class="k-button" (click)="closeForm()">Cancel</button>
|
|
<button class="k-button k-primary" (click)="onSelect($event)">Select</button>
|
|
</div>
|
|
</div>
|
|
</kendo-dialog-actions>
|
|
</kendo-dialog>
|
|
}
|
|
|