Commit 8469350f authored by ari_darmawan's avatar ari_darmawan

RELEASED 2.1.1

parent b1c58192
# VERSION 2.1.1 [15-09-2023]
- add tooltip dropdown search
# VERSION 2.1.0 [07-09-2023] # VERSION 2.1.0 [07-09-2023]
- add user team sd - add user team sd
- change component dropdown search - change component dropdown search
\ No newline at end of file
{ {
"name": "smart-city", "name": "smart-city",
"version": "2.1.0", "version": "2.1.1",
"scripts": { "scripts": {
"ng": "ng", "ng": "ng",
"start": "ng serve", "start": "ng serve",
......
...@@ -33,17 +33,21 @@ ...@@ -33,17 +33,21 @@
</p> </p>
<div class="form-group"> <div class="form-group">
<label class="text-muted">Assignee Team <span class="text-danger">*</span></label> <label class="text-muted">Assignee Team <span class="text-danger">*</span></label>
<nz-select <span [nzTitle]="assigneTeamName" nz-tooltip>
style="width: 100%;" <nz-select
[(ngModel)]="AssigneeTeam_ID" style="width: 100%;"
nzPlaceHolder="Select Team" [(ngModel)]="AssigneeTeam_ID"
[disabled]="IsFormTeamDisabled" nzPlaceHolder="Select Team"
nzAllowClear [disabled]="IsFormTeamDisabled"
nzShowSearch nzAllowClear
(ngModelChange)="AssigneeTeamChange()" nzShowSearch
> (ngModelChange)="AssigneeTeamChange()"
<nz-option *ngFor="let o of AssigneeTeamData" [nzValue]="o.ID" [nzLabel]="o.Name"></nz-option> >
</nz-select> <nz-option *ngFor="let o of AssigneeTeamData" [nzValue]="o.ID" [nzLabel]="o.Name" nzCustomContent>
<span nz-tooltip [nzTitle]="o.Name">{{o.Name}}</span>
</nz-option>
</nz-select>
</span>
<!-- <select type="text" <!-- <select type="text"
#inputRequired #inputRequired
class="form-control form-control-sm select-style" class="form-control form-control-sm select-style"
...@@ -57,16 +61,20 @@ ...@@ -57,16 +61,20 @@
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="text-muted">Assignee Agent <span class="text-danger">*</span></label> <label class="text-muted">Assignee Agent <span class="text-danger">*</span></label>
<nz-select <span [nzTitle]="assigneAgentName" nz-tooltip>
style="width: 100%;" <nz-select
[(ngModel)]="AssigneeTeamAgent_ID" style="width: 100%;"
nzPlaceHolder="Select Agent" [(ngModel)]="AssigneeTeamAgent_ID"
[disabled]="IsFormTeamAgentDisabled" nzPlaceHolder="Select Agent"
nzAllowClear [disabled]="IsFormTeamAgentDisabled"
nzShowSearch nzAllowClear
> nzShowSearch
<nz-option *ngFor="let o of AssigneeTeamAgentData" [nzValue]="o.ID" [nzLabel]="o.Name"></nz-option> >
</nz-select> <nz-option *ngFor="let o of AssigneeTeamAgentData" [nzValue]="o.ID" [nzLabel]="o.Name" nzCustomContent>
<span nz-tooltip [nzTitle]="o.Name">{{o.Name}}</span>
</nz-option>
</nz-select>
</span>
<!-- <div [ngClass]="{'arataka-custom-autocomplete': search.isAgent}" *ngIf="search.isAgent"> <!-- <div [ngClass]="{'arataka-custom-autocomplete': search.isAgent}" *ngIf="search.isAgent">
<input type="text" class="form-control form-control-sm" [(ngModel)]="AssigneeTeamAgent_Name" <input type="text" class="form-control form-control-sm" [(ngModel)]="AssigneeTeamAgent_Name"
placeholder="All Agent : Type to search" (blur)="onBlur()" placeholder="All Agent : Type to search" (blur)="onBlur()"
...@@ -124,17 +132,21 @@ ...@@ -124,17 +132,21 @@
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="text-muted">Sub Topic <span class="text-danger">*</span></label> <label class="text-muted">Sub Topic <span class="text-danger">*</span></label>
<nz-select <span [nzTitle]="SubTopic_Name" nz-tooltip>
style="width: 100%;" <nz-select
[(ngModel)]="SubTopic_ID" style="width: 100%;"
nzPlaceHolder="Select Sub Topic" [(ngModel)]="SubTopic_ID"
nzAllowClear nzPlaceHolder="Select Sub Topic"
nzShowSearch nzAllowClear
(ngModelChange)="SubTopicChange()" nzShowSearch
[disabled]="IsFormSubTopicDisabled" (ngModelChange)="SubTopicChange()"
> [disabled]="IsFormSubTopicDisabled"
<nz-option *ngFor="let o of SubTopicData" [nzValue]="o.ID" [nzLabel]="o.Name"></nz-option> >
</nz-select> <nz-option *ngFor="let o of SubTopicData" [nzValue]="o.ID" [nzLabel]="o.Name" nzCustomContent>
<span nz-tooltip [nzTitle]="o.Name">{{o.Name}}</span>
</nz-option>
</nz-select>
</span>
<!-- <div [ngClass]="{'arataka-custom-autocomplete': search.isSubTopic}" *ngIf="search.isSubTopic"> <!-- <div [ngClass]="{'arataka-custom-autocomplete': search.isSubTopic}" *ngIf="search.isSubTopic">
<input type="text" class="form-control form-control-sm" [(ngModel)]="SubTopic_Name" <input type="text" class="form-control form-control-sm" [(ngModel)]="SubTopic_Name"
placeholder="All Sub Topic : Type to search" (blur)="onBlur()" placeholder="All Sub Topic : Type to search" (blur)="onBlur()"
...@@ -161,16 +173,20 @@ ...@@ -161,16 +173,20 @@
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="text-muted">Category <span class="text-danger">*</span></label> <label class="text-muted">Category <span class="text-danger">*</span></label>
<nz-select <span [nzTitle]="Category_Name" nz-tooltip>
style="width: 100%;" <nz-select
[(ngModel)]="Category_ID" style="width: 100%;"
nzPlaceHolder="Select Category" [(ngModel)]="Category_ID"
nzAllowClear nzPlaceHolder="Select Category"
nzShowSearch nzAllowClear
[disabled]="IsFormCategoryDisabled" nzShowSearch
> [disabled]="IsFormCategoryDisabled"
<nz-option *ngFor="let o of CategoryData" [nzValue]="o.ID" [nzLabel]="o.Name"></nz-option> >
</nz-select> <nz-option *ngFor="let o of CategoryData" [nzValue]="o.ID" [nzLabel]="o.Name" nzCustomContent>
<span nz-tooltip [nzTitle]="o.Name">{{o.Name}}</span>
</nz-option>
</nz-select>
</span>
<!-- <div [ngClass]="{'arataka-custom-autocomplete': search.isCategory}" *ngIf="search.isCategory"> <!-- <div [ngClass]="{'arataka-custom-autocomplete': search.isCategory}" *ngIf="search.isCategory">
<input type="text" class="form-control form-control-sm" [(ngModel)]="Category_Name" <input type="text" class="form-control form-control-sm" [(ngModel)]="Category_Name"
placeholder="All Category : Type to search" (blur)="onBlur()" placeholder="All Category : Type to search" (blur)="onBlur()"
...@@ -216,7 +232,21 @@ ...@@ -216,7 +232,21 @@
</p> </p>
<div class="form-group"> <div class="form-group">
<label class="text-muted">Reason <span class="text-danger">*</span></label> <label class="text-muted">Reason <span class="text-danger">*</span></label>
<select type="text" <span [nzTitle]="reasonName" nz-tooltip>
<nz-select
style="width: 100%;"
[(ngModel)]="Complaintment_ID"
nzPlaceHolder="Select Category"
nzAllowClear
nzShowSearch
[disabled]="IsFormComplaintmentDisabled"
>
<nz-option *ngFor="let o of ComplaintmentData" [nzValue]="o.ID" [nzLabel]="o.Name" nzCustomContent>
<span nz-tooltip [nzTitle]="o.Name">{{o.Name}}</span>
</nz-option>
</nz-select>
</span>
<!-- <select type="text"
#inputRequired #inputRequired
class="form-control form-control-sm select-style" class="form-control form-control-sm select-style"
[(ngModel)]="Complaintment_ID" [(ngModel)]="Complaintment_ID"
...@@ -224,7 +254,7 @@ ...@@ -224,7 +254,7 @@
<ng-container *ngFor="let Complaintment of ComplaintmentData; let i = index"> <ng-container *ngFor="let Complaintment of ComplaintmentData; let i = index">
<option value="{{Complaintment.ID}}">{{Complaintment.Name}}</option> <option value="{{Complaintment.ID}}">{{Complaintment.Name}}</option>
</ng-container> </ng-container>
</select> </select> -->
</div> </div>
<div class="row" *ngIf="!IsFormComplaintmentDisabled"> <div class="row" *ngIf="!IsFormComplaintmentDisabled">
<div class="col-6"> <div class="col-6">
...@@ -455,7 +485,9 @@ ...@@ -455,7 +485,9 @@
nzShowSearch nzShowSearch
(ngModelChange)="AssigneeTeamDestinationChange()" (ngModelChange)="AssigneeTeamDestinationChange()"
> >
<nz-option *ngFor="let o of AssigneeTeamDestionationData" [nzValue]="o.ID" [nzLabel]="o.Name"></nz-option> <nz-option *ngFor="let o of AssigneeTeamDestionationData" [nzValue]="o.ID" [nzLabel]="o.Name" nzCustomContent>
<span nz-tooltip [nzTitle]="o.Name">{{o.Name}}</span>
</nz-option>
</nz-select> </nz-select>
<!-- <select type="text" <!-- <select type="text"
#inputRequired #inputRequired
...@@ -478,7 +510,9 @@ ...@@ -478,7 +510,9 @@
nzAllowClear nzAllowClear
nzShowSearch nzShowSearch
> >
<nz-option *ngFor="let o of AssigneeTeamAgentDestinationData" [nzValue]="o.ID" [nzLabel]="o.Name"></nz-option> <nz-option *ngFor="let o of AssigneeTeamAgentDestinationData" [nzValue]="o.ID" [nzLabel]="o.Name" nzCustomContent>
<span nz-tooltip [nzTitle]="o.Name">{{o.Name}}</span>
</nz-option>
</nz-select> </nz-select>
<!-- <select type="text" <!-- <select type="text"
#inputRequired #inputRequired
......
...@@ -139,7 +139,10 @@ export class AdminTicketOnpicDetailComponent implements OnInit { ...@@ -139,7 +139,10 @@ export class AdminTicketOnpicDetailComponent implements OnInit {
public AssigneeTeamDestionationID : string = "" public AssigneeTeamDestionationID : string = ""
public AssigneeTeamAgentDestionationID : string = "" public AssigneeTeamAgentDestionationID : string = ""
public assigneTeamName: string = "";
public assigneAgentName: string = "";
public reasonName: string = "";
public Topic_ID : string = "" public Topic_ID : string = ""
public SubTopic_ID : string = "" public SubTopic_ID : string = ""
public Category_ID : string = "" public Category_ID : string = ""
...@@ -819,6 +822,12 @@ export class AdminTicketOnpicDetailComponent implements OnInit { ...@@ -819,6 +822,12 @@ export class AdminTicketOnpicDetailComponent implements OnInit {
this.ResolveByName = data.fields.resolvedby_id_friendlyname this.ResolveByName = data.fields.resolvedby_id_friendlyname
this.TransactionDate = data.fields.tanggal_transaksi this.TransactionDate = data.fields.tanggal_transaksi
this.SubTopic_Name = data.fields.service_name
this.Category_Name = data.fields.servicesubcategory_name
this.assigneTeamName = data.fields.team_id_friendlyname
this.assigneAgentName = data.fields.agent_id_friendlyname
this.reasonName = data.fields.penyebab_pengaduan_id_friendlyname
this.ResolutionDate = data.fields.resolution_date this.ResolutionDate = data.fields.resolution_date
this.LastUpdate = data.fields.last_update this.LastUpdate = data.fields.last_update
......
...@@ -70,7 +70,9 @@ ...@@ -70,7 +70,9 @@
nzShowSearch nzShowSearch
(ngModelChange)="AssigneeTeamChange()" (ngModelChange)="AssigneeTeamChange()"
> >
<nz-option *ngFor="let o of AssigneeTeamData" [nzValue]="o.ID" [nzLabel]="o.Name"></nz-option> <nz-option *ngFor="let o of AssigneeTeamData" [nzValue]="o.ID" [nzLabel]="o.Name" nzCustomContent>
<span nz-tooltip [nzTitle]="o.Name">{{o.Name}}</span>
</nz-option>
</nz-select> </nz-select>
</div> </div>
<div class="form-group"> <div class="form-group">
...@@ -82,7 +84,9 @@ ...@@ -82,7 +84,9 @@
nzAllowClear nzAllowClear
nzShowSearch nzShowSearch
> >
<nz-option *ngFor="let o of AssigneeTeamAgentData" [nzValue]="o.ID" [nzLabel]="o.Name"></nz-option> <nz-option *ngFor="let o of AssigneeTeamAgentData" [nzValue]="o.ID" [nzLabel]="o.Name" nzCustomContent>
<span nz-tooltip [nzTitle]="o.Name">{{o.Name}}</span>
</nz-option>
</nz-select> </nz-select>
<!-- <div [ngClass]="{'arataka-custom-autocomplete': search.isAgent}" *ngIf="search.isAgent"> <!-- <div [ngClass]="{'arataka-custom-autocomplete': search.isAgent}" *ngIf="search.isAgent">
<input type="text" class="form-control form-control-sm" [(ngModel)]="AssigneeTeamAgent_Name" <input type="text" class="form-control form-control-sm" [(ngModel)]="AssigneeTeamAgent_Name"
...@@ -126,7 +130,9 @@ ...@@ -126,7 +130,9 @@
nzShowSearch nzShowSearch
(ngModelChange)="SubTopicChange()" (ngModelChange)="SubTopicChange()"
> >
<nz-option *ngFor="let o of SubTopicData" [nzValue]="o.ID" [nzLabel]="o.Name"></nz-option> <nz-option *ngFor="let o of SubTopicData" [nzValue]="o.ID" [nzLabel]="o.Name" nzCustomContent>
<span nz-tooltip [nzTitle]="o.Name">{{o.Name}}</span>
</nz-option>
</nz-select> </nz-select>
<!-- <div [ngClass]="{'arataka-custom-autocomplete': search.isSubTopic}" *ngIf="search.isSubTopic"> <!-- <div [ngClass]="{'arataka-custom-autocomplete': search.isSubTopic}" *ngIf="search.isSubTopic">
<input type="text" class="form-control form-control-sm" [(ngModel)]="SubTopic_Name" <input type="text" class="form-control form-control-sm" [(ngModel)]="SubTopic_Name"
...@@ -156,7 +162,9 @@ ...@@ -156,7 +162,9 @@
nzAllowClear nzAllowClear
nzShowSearch nzShowSearch
> >
<nz-option *ngFor="let o of CategoryData" [nzValue]="o.ID" [nzLabel]="o.Name"></nz-option> <nz-option *ngFor="let o of CategoryData" [nzValue]="o.ID" [nzLabel]="o.Name" nzCustomContent>
<span nz-tooltip [nzTitle]="o.Name">{{o.Name}}</span>
</nz-option>
</nz-select> </nz-select>
<!-- <div [ngClass]="{'arataka-custom-autocomplete': search.isCategory}" *ngIf="search.isCategory"> <!-- <div [ngClass]="{'arataka-custom-autocomplete': search.isCategory}" *ngIf="search.isCategory">
<input type="text" class="form-control form-control-sm" [(ngModel)]="Category_Name" <input type="text" class="form-control form-control-sm" [(ngModel)]="Category_Name"
......
...@@ -91,30 +91,38 @@ ...@@ -91,30 +91,38 @@
</p> </p>
<div class="form-group"> <div class="form-group">
<label class="text-muted">Assignee Team <span class="text-danger">*</span></label> <label class="text-muted">Assignee Team <span class="text-danger">*</span></label>
<span [nzTitle]="assigneTeamName" nz-tooltip>
<nz-select
style="width: 100%;"
[(ngModel)]="AssigneeTeam_ID"
nzPlaceHolder="Select Team"
nzAllowClear
nzShowSearch
(ngModelChange)="AssigneeTeamChange()"
[disabled]="IsFormTeamDisabled"
>
<nz-option *ngFor="let o of AssigneeTeamData" [nzValue]="o.ID" [nzLabel]="o.Name" nzCustomContent>
<span nz-tooltip [nzTitle]="o.Name">{{o.Name}}</span>
</nz-option>
</nz-select>
</span>
</div>
<div class="form-group">
<label class="text-muted">Assignee Agent <span class="text-danger">*</span></label>
<span [nzTitle]="assigneAgentName" nz-tooltip>
<nz-select <nz-select
style="width: 100%;" style="width: 100%;"
[(ngModel)]="AssigneeTeam_ID" [(ngModel)]="AssigneeTeamAgent_ID"
nzPlaceHolder="Select Team" [disabled]="IsFormTeamAgentDisabled"
nzPlaceHolder="Select Agent"
nzAllowClear nzAllowClear
nzShowSearch nzShowSearch
(ngModelChange)="AssigneeTeamChange()" >
[disabled]="IsFormTeamDisabled" <nz-option *ngFor="let o of AssigneeTeamAgentData" [nzValue]="o.ID" [nzLabel]="o.Name" nzCustomContent>
> <span nz-tooltip [nzTitle]="o.Name">{{o.Name}}</span>
<nz-option *ngFor="let o of AssigneeTeamData" [nzValue]="o.ID" [nzLabel]="o.Name"></nz-option> </nz-option>
</nz-select> </nz-select>
</div> </span>
<div class="form-group">
<label class="text-muted">Assignee Agent <span class="text-danger">*</span></label>
<nz-select
style="width: 100%;"
[(ngModel)]="AssigneeTeamAgent_ID"
[disabled]="IsFormTeamAgentDisabled"
nzPlaceHolder="Select Agent"
nzAllowClear
nzShowSearch
>
<nz-option *ngFor="let o of AssigneeTeamAgentData" [nzValue]="o.ID" [nzLabel]="o.Name"></nz-option>
</nz-select>
<!-- <div class="form-group"> <!-- <div class="form-group">
<label class="text-muted">Assignee Agent <span class="text-danger">*</span></label> <label class="text-muted">Assignee Agent <span class="text-danger">*</span></label>
<div [ngClass]="{'arataka-custom-autocomplete': search.isAgent}" *ngIf="search.isAgent"> <div [ngClass]="{'arataka-custom-autocomplete': search.isAgent}" *ngIf="search.isAgent">
...@@ -178,20 +186,25 @@ ...@@ -178,20 +186,25 @@
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="text-muted">Sub Topic <span class="text-danger">*</span></label> <label class="text-muted">Sub Topic <span class="text-danger">*</span></label>
<nz-select <span [nzTitle]="SubTopic_Name" nz-tooltip>
style="width: 100%;" <nz-select
[(ngModel)]="SubTopic_ID" style="width: 100%;"
nzPlaceHolder="Select Sub Topic" [(ngModel)]="SubTopic_ID"
nzAllowClear nzPlaceHolder="Select Sub Topic"
nzShowSearch nzAllowClear
(ngModelChange)="SubTopicChange()" nzShowSearch
[disabled]="IsFormSubTopicDisabled" (ngModelChange)="SubTopicChange()"
> [disabled]="IsFormSubTopicDisabled"
<nz-option *ngFor="let o of SubTopicData" [nzValue]="o.ID" [nzLabel]="o.Name"></nz-option> >
</nz-select> <nz-option *ngFor="let o of SubTopicData" [nzValue]="o.ID" [nzLabel]="o.Name" nzCustomContent>
<span nz-tooltip [nzTitle]="o.Name">{{o.Name}}</span>
</nz-option>
</nz-select>
</span>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="text-muted">Category <span class="text-danger">*</span></label> <label class="text-muted">Category <span class="text-danger">*</span></label>
<span [nzTitle]="Category_Name" nz-tooltip>
<nz-select <nz-select
style="width: 100%;" style="width: 100%;"
[(ngModel)]="Category_ID" [(ngModel)]="Category_ID"
...@@ -200,8 +213,11 @@ ...@@ -200,8 +213,11 @@
nzShowSearch nzShowSearch
[disabled]="IsFormCategoryDisabled" [disabled]="IsFormCategoryDisabled"
> >
<nz-option *ngFor="let o of CategoryData" [nzValue]="o.ID" [nzLabel]="o.Name"></nz-option> <nz-option *ngFor="let o of CategoryData" [nzValue]="o.ID" [nzLabel]="o.Name" nzCustomContent>
</nz-select> <span nz-tooltip [nzTitle]="o.Name">{{o.Name}}</span>
</nz-option>
</nz-select>
</span>
<!-- <div class="form-group"> <!-- <div class="form-group">
<label class="text-muted">Sub Topic <span class="text-danger">*</span></label> <label class="text-muted">Sub Topic <span class="text-danger">*</span></label>
<div [ngClass]="{'arataka-custom-autocomplete': search.isSubTopic}" *ngIf="search.isSubTopic"> <div [ngClass]="{'arataka-custom-autocomplete': search.isSubTopic}" *ngIf="search.isSubTopic">
...@@ -275,7 +291,21 @@ ...@@ -275,7 +291,21 @@
</p> </p>
<div class="form-group"> <div class="form-group">
<label class="text-muted">Reason <span class="text-danger">*</span></label> <label class="text-muted">Reason <span class="text-danger">*</span></label>
<select type="text" <span [nzTitle]="reasonName" nz-tooltip>
<nz-select
style="width: 100%;"
[(ngModel)]="Complaintment_ID"
nzPlaceHolder="Select Reason"
nzAllowClear
nzShowSearch
[disabled]="IsFormComplaintmentDisabled"
>
<nz-option *ngFor="let o of ComplaintmentData" [nzValue]="o.ID" [nzLabel]="o.Name" nzCustomContent>
<span nz-tooltip [nzTitle]="o.Name">{{o.Name}}</span>
</nz-option>
</nz-select>
</span>
<!-- <select type="text"
#inputRequired #inputRequired
class="form-control form-control-sm select-style" class="form-control form-control-sm select-style"
[(ngModel)]="Complaintment_ID" [(ngModel)]="Complaintment_ID"
...@@ -283,7 +313,7 @@ ...@@ -283,7 +313,7 @@
<ng-container *ngFor="let Complaintment of ComplaintmentData; let i = index"> <ng-container *ngFor="let Complaintment of ComplaintmentData; let i = index">
<option value="{{Complaintment.ID}}">{{Complaintment.Name}}</option> <option value="{{Complaintment.ID}}">{{Complaintment.Name}}</option>
</ng-container> </ng-container>
</select> </select> -->
</div> </div>
<div class="row" *ngIf="!IsFormComplaintmentDisabled"> <div class="row" *ngIf="!IsFormComplaintmentDisabled">
<div class="col-6"> <div class="col-6">
...@@ -523,7 +553,9 @@ ...@@ -523,7 +553,9 @@
nzShowSearch nzShowSearch
(ngModelChange)="AssigneeTeamDestinationChange()" (ngModelChange)="AssigneeTeamDestinationChange()"
> >
<nz-option *ngFor="let o of AssigneeTeamDestionationData" [nzValue]="o.ID" [nzLabel]="o.Name"></nz-option> <nz-option *ngFor="let o of AssigneeTeamDestionationData" [nzValue]="o.ID" [nzLabel]="o.Name" nzCustomContent>
<span nz-tooltip [nzTitle]="o.Name">{{o.Name}}</span>
</nz-option>
</nz-select> </nz-select>
<!-- <select type="text" <!-- <select type="text"
#inputRequired #inputRequired
...@@ -546,7 +578,9 @@ ...@@ -546,7 +578,9 @@
nzAllowClear nzAllowClear
nzShowSearch nzShowSearch
> >
<nz-option *ngFor="let o of AssigneeTeamAgentDestinationData" [nzValue]="o.ID" [nzLabel]="o.Name"></nz-option> <nz-option *ngFor="let o of AssigneeTeamAgentDestinationData" [nzValue]="o.ID" [nzLabel]="o.Name" nzCustomContent>
<span nz-tooltip [nzTitle]="o.Name">{{o.Name}}</span>
</nz-option>
</nz-select> </nz-select>
<!-- <select type="text" <!-- <select type="text"
#inputRequired #inputRequired
......
...@@ -143,7 +143,10 @@ export class AdminTicketDetailComponent implements OnInit { ...@@ -143,7 +143,10 @@ export class AdminTicketDetailComponent implements OnInit {
public AssigneeTeam_ID : string = "" public AssigneeTeam_ID : string = ""
public AssigneeTeamAgent_ID : string = "" public AssigneeTeamAgent_ID : string = ""
public AssigneeTeamAgent_Name: string = "" public AssigneeTeamAgent_Name: string = ""
public assigneTeamName: string = "";
public assigneAgentName: string = "";
public reasonName: string = "";
public AssigneeTeamDestionationID : string = "" public AssigneeTeamDestionationID : string = ""
public AssigneeTeamAgentDestionationID : string = "" public AssigneeTeamAgentDestionationID : string = ""
...@@ -930,7 +933,12 @@ export class AdminTicketDetailComponent implements OnInit { ...@@ -930,7 +933,12 @@ export class AdminTicketDetailComponent implements OnInit {
this.ResolutionDate = data.fields.resolution_date this.ResolutionDate = data.fields.resolution_date
this.LastUpdate = data.fields.last_update this.LastUpdate = data.fields.last_update
this.ttrDeadline = data.fields.ttr_escalation_deadline this.ttrDeadline = data.fields.ttr_escalation_deadline
this.SubTopic_Name = data.fields.service_name
this.Category_Name = data.fields.servicesubcategory_name
this.assigneTeamName = data.fields.team_id_friendlyname
this.assigneAgentName = data.fields.agent_id_friendlyname
this.reasonName = data.fields.penyebab_pengaduan_id_friendlyname
//if on PIC //if on PIC
//ServiceDeskLogsID must be null first at get detail ticket //ServiceDeskLogsID must be null first at get detail ticket
this.ServiceDeskLogsID = null this.ServiceDeskLogsID = null
......
...@@ -38,7 +38,7 @@ import { PipeEncryptoJs } from '../pipe/pipe-global.pipe'; ...@@ -38,7 +38,7 @@ import { PipeEncryptoJs } from '../pipe/pipe-global.pipe';
import { PipeDencryptoJs } from '../pipe/pipe-global.pipe'; import { PipeDencryptoJs } from '../pipe/pipe-global.pipe';
*/ */
import { NzSelectModule } from 'ng-zorro-antd'; import { NzSelectModule } from 'ng-zorro-antd';
import { NgZorroAntdModule } from 'ng-zorro-antd'; import { NgZorroAntdModule, NzPopoverModule, NzToolTipModule } from 'ng-zorro-antd';
@NgModule({ @NgModule({
declarations: [ declarations: [
/*PipeSha256, /*PipeSha256,
...@@ -79,7 +79,9 @@ import { NgZorroAntdModule } from 'ng-zorro-antd'; ...@@ -79,7 +79,9 @@ import { NgZorroAntdModule } from 'ng-zorro-antd';
AdminRoutingModule, AdminRoutingModule,
CKEditorModule, CKEditorModule,
NzSelectModule, NzSelectModule,
NgZorroAntdModule NgZorroAntdModule,
NzPopoverModule,
NzToolTipModule
] ]
}) })
export class AdminModule { } export class AdminModule { }
import { Component, OnInit,Injector, Input, Output, EventEmitter } from '@angular/core'; import { Component, OnInit,Injector, Input, Output, EventEmitter } from '@angular/core';
import { Router } from '@angular/router'; import { Router } from '@angular/router';
import { en_US, NzI18nService } from 'ng-zorro-antd';
import { MicroService } from '../shared/serviceproxy/service-proxy.service'; import { MicroService } from '../shared/serviceproxy/service-proxy.service';
import { environment } from '../environments/environment.prod'; import { environment } from '../environments/environment.prod';
import * as $ from 'jquery'; import * as $ from 'jquery';
...@@ -22,9 +22,12 @@ export class AppComponent implements OnInit{ ...@@ -22,9 +22,12 @@ export class AppComponent implements OnInit{
constructor( constructor(
private router: Router, private router: Router,
private i18n: NzI18nService,
// private _ServiceProxyWeb : ServiceProxyWeb, // private _ServiceProxyWeb : ServiceProxyWeb,
private MicroService: MicroService private MicroService: MicroService
) { } ) {
this.i18n.setLocale(en_US);
}
public href: string = ""; public href: string = "";
......
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