Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
N
nobu-web-v2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ari_darmawan
nobu-web-v2
Commits
b641a92c
Commit
b641a92c
authored
Feb 10, 2023
by
ari_darmawan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix logbook role terkai
parent
e155bad1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
9 deletions
+28
-9
logbook.component.ts
src/app/admin/logbook/logbook.component.ts
+5
-3
tabs-logbook.component.html
...pp/admin/logbook/tabs-logbook/tabs-logbook.component.html
+20
-3
tabs-logbook.component.ts
src/app/admin/logbook/tabs-logbook/tabs-logbook.component.ts
+0
-0
environment.ts
src/environments/environment.ts
+3
-3
No files found.
src/app/admin/logbook/logbook.component.ts
View file @
b641a92c
...
@@ -26,7 +26,8 @@ export class LogbookComponent implements OnInit {
...
@@ -26,7 +26,8 @@ export class LogbookComponent implements OnInit {
user_id
:
null
,
user_id
:
null
,
start_date
:
null
,
start_date
:
null
,
end_date
:
null
,
end_date
:
null
,
type_id
:
1
type_id
:
1
,
team_id
:
this
.
TeamID
}
}
isDashboardCardEmpty
:
boolean
=
false
;
isDashboardCardEmpty
:
boolean
=
false
;
...
@@ -111,8 +112,8 @@ export class LogbookComponent implements OnInit {
...
@@ -111,8 +112,8 @@ export class LogbookComponent implements OnInit {
}
}
GettingDashboardCardColorsDataAPI
()
{
GettingDashboardCardColorsDataAPI
()
{
this
.
startD
ate
=
AratakaConfig
.
BootstrapDateCustomPicker
({
ID
:
'#StartDate'
,
isGet
:
true
,
isGetFormat
:
'YYYY-MM-DD'
});
this
.
DashboardCountRequest
.
start_d
ate
=
AratakaConfig
.
BootstrapDateCustomPicker
({
ID
:
'#StartDate'
,
isGet
:
true
,
isGetFormat
:
'YYYY-MM-DD'
});
this
.
endD
ate
=
AratakaConfig
.
BootstrapDateCustomPicker
({
ID
:
'#EndDate'
,
isGet
:
true
,
isGetFormat
:
'YYYY-MM-DD'
});
this
.
DashboardCountRequest
.
end_d
ate
=
AratakaConfig
.
BootstrapDateCustomPicker
({
ID
:
'#EndDate'
,
isGet
:
true
,
isGetFormat
:
'YYYY-MM-DD'
});
if
(
this
.
_SP
.
getUserInformation
.
values
.
team_id
==
this
.
Env
.
Team
.
ServiceReport
)
this
.
DashboardCountRequest
.
user_id
=
null
;
if
(
this
.
_SP
.
getUserInformation
.
values
.
team_id
==
this
.
Env
.
Team
.
ServiceReport
)
this
.
DashboardCountRequest
.
user_id
=
null
;
this
.
dashboardListCard
=
[];
this
.
dashboardListCard
=
[];
this
.
isDashboardCardLoading
=
true
;
this
.
isDashboardCardLoading
=
true
;
...
@@ -152,6 +153,7 @@ export class LogbookComponent implements OnInit {
...
@@ -152,6 +153,7 @@ export class LogbookComponent implements OnInit {
end_date
:
this
.
DashboardCountRequest
.
end_date
,
end_date
:
this
.
DashboardCountRequest
.
end_date
,
type_id
:
this
.
dashboardListCard
[
_i
].
TypeId
,
type_id
:
this
.
dashboardListCard
[
_i
].
TypeId
,
type_name
:
this
.
dashboardListCard
[
_i
].
Name
,
type_name
:
this
.
dashboardListCard
[
_i
].
Name
,
team_id
:
this
.
TeamID
}
}
AratakaConfig
.
LoadingPage
.
showLoading
(
'Please wait.., perparing excel.'
)
AratakaConfig
.
LoadingPage
.
showLoading
(
'Please wait.., perparing excel.'
)
...
...
src/app/admin/logbook/tabs-logbook/tabs-logbook.component.html
View file @
b641a92c
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
</tr>
</tr>
</thead>
</thead>
<tbody>
<tbody>
<ng-container
*
ngIf=
"TeamID == Env.Team.SociomileStaff"
>
<ng-container
*
ngIf=
"TeamID == Env.Team.SociomileStaff
&& servicefamily_id != 6
"
>
<tr
*
ngFor=
"let data of listLogbooks.data; let i = index"
>
<tr
*
ngFor=
"let data of listLogbooks.data; let i = index"
>
<td
class=
"col-1"
>
{{((i+1) + ((listRequest.perpage * listRequest.page) - listRequest.perpage))}}.
</td>
<td
class=
"col-1"
>
{{((i+1) + ((listRequest.perpage * listRequest.page) - listRequest.perpage))}}.
</td>
<td>
{{data.ref}}
</td>
<td>
{{data.ref}}
</td>
...
@@ -72,7 +72,7 @@
...
@@ -72,7 +72,7 @@
</tr>
</tr>
</ng-container>
</ng-container>
<ng-container
*
ngIf=
"TeamID == Env.Team.AgentCallCenter"
>
<ng-container
*
ngIf=
"TeamID == Env.Team.AgentCallCenter
&& servicefamily_id != 6
"
>
<tr
*
ngFor=
"let data of listLogbooks.data; let i = index"
>
<tr
*
ngFor=
"let data of listLogbooks.data; let i = index"
>
<td
class=
"col-1"
>
{{((i+1) + ((listRequest.perpage * listRequest.page) - listRequest.perpage))}}.
</td>
<td
class=
"col-1"
>
{{((i+1) + ((listRequest.perpage * listRequest.page) - listRequest.perpage))}}.
</td>
<td>
{{data.ref}}
</td>
<td>
{{data.ref}}
</td>
...
@@ -157,7 +157,7 @@
...
@@ -157,7 +157,7 @@
<td>
{{data.ticket_solution}}
</td>
<td>
{{data.ticket_solution}}
</td>
<td>
{{data.team_name}}
</td>
<td>
{{data.team_name}}
</td>
<td>
{{data.ticket_status}}
</td>
<td>
{{data.ticket_status}}
</td>
<td>
{{data.
clos
e_date}}
</td>
<td>
{{data.
resolv
e_date}}
</td>
<td>
{{data.sla_internal}}
</td>
<td>
{{data.sla_internal}}
</td>
<td>
{{data.sla_hari_kerja}}
</td>
<td>
{{data.sla_hari_kerja}}
</td>
</tr>
</tr>
...
@@ -177,6 +177,23 @@
...
@@ -177,6 +177,23 @@
<td>
{{data.ticket_status}}
</td>
<td>
{{data.ticket_status}}
</td>
<td>
{{data.resolve_date}}
</td>
<td>
{{data.resolve_date}}
</td>
<td>
{{data.target_penyelesaian}}
</td>
<td>
{{data.target_penyelesaian}}
</td>
<td>
{{data.sla_internal}}
</td>
<td>
{{data.sla_hari_kerja}}
</td>
</tr>
</ng-container>
<ng-container
*
ngIf=
"servicefamily_id == 6"
>
<tr
*
ngFor=
"let data of listLogbooks.data; let i = index"
>
<td
class=
"col-1"
>
{{((i+1) + ((listRequest.perpage * listRequest.page) - listRequest.perpage))}}.
</td>
<td>
{{data.ref}}
</td>
<td>
{{data.createdby_name}}
</td>
<td>
{{data.start_date}}
</td>
<td>
{{data.caller_name}}
</td>
<td>
{{data.caller_mobile_phone}}
</td>
<td>
{{data.deskripsi}}
</td>
<td>
{{data.ticket_status}}
</td>
<td>
{{data.resolve_date}}
</td>
<td>
{{data.sla_internal}}
</td>
<td>
{{data.sla_hari_kerja}}
</td>
<td>
{{data.sla_hari_kerja}}
</td>
</tr>
</tr>
</ng-container>
</ng-container>
...
...
src/app/admin/logbook/tabs-logbook/tabs-logbook.component.ts
View file @
b641a92c
This diff is collapsed.
Click to expand it.
src/environments/environment.ts
View file @
b641a92c
...
@@ -4,12 +4,12 @@
...
@@ -4,12 +4,12 @@
export
const
environment
=
{
export
const
environment
=
{
production
:
false
,
production
:
false
,
"APIBASEURL"
:
"http://
localhost:9825
/"
,
"APIBASEURL"
:
"http://
crm.nobubank.com/nobucall-api-v2
/"
,
"MICROSERVICEURL"
:
"http://
innodev.vnetcloud.com/nobucall-history
-log/api/v1/"
,
"MICROSERVICEURL"
:
"http://
crm.nobubank.com/nobucall-api
-log/api/v1/"
,
"SITE_NAME"
:
"Visionet Helpdesk System"
,
"SITE_NAME"
:
"Visionet Helpdesk System"
,
"SITE_LOGO"
:
"https://i0.wp.com/jogorogo.info/wp-content/uploads/2017/07/logo_visionet.png?fit=879%2C227"
,
"SITE_LOGO"
:
"https://i0.wp.com/jogorogo.info/wp-content/uploads/2017/07/logo_visionet.png?fit=879%2C227"
,
"COMPANY_NAME"
:
"PT. Visionet Data Internasional"
,
"COMPANY_NAME"
:
"PT. Visionet Data Internasional"
,
"PARAM_AGENTROLEID"
:
2
,
"PARAM_AGENTROLEID"
:
2
,
"PARAM_AGENTSPVROLEID"
:
1
,
"PARAM_AGENTSPVROLEID"
:
1
,
"PARAM_SPV"
:
"1"
,
"PARAM_SPV"
:
"1"
,
"PARAM_AGENT"
:
"2"
,
"PARAM_AGENT"
:
"2"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment