Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
Grievance-Redressal-App
Commits
3e370077
Commit
3e370077
authored
1 year ago
by
Mansur Shaik
Browse files
Options
Download
Patches
Plain Diff
Removed mark as others and resolved from junck tab of nodal officer
parent
70b3e9f6
uat-release-1.0
1 merge request
!186
Removed mark as others and resolved from junck tab of nodal officer
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/app/modules/grievance-modules/components/grievance-details/grievance-details.component.html
+3
-3
...onents/grievance-details/grievance-details.component.html
src/app/modules/grievance-modules/components/grievance-details/grievance-details.component.ts
+8
-2
...mponents/grievance-details/grievance-details.component.ts
src/app/modules/grievance-modules/components/grievance-raiser-form/grievance-raiser-form.component.html
+1
-1
...rievance-raiser-form/grievance-raiser-form.component.html
with
12 additions
and
6 deletions
+12
-6
src/app/modules/grievance-modules/components/grievance-details/grievance-details.component.html
+
3
−
3
View file @
3e370077
...
@@ -156,7 +156,7 @@
...
@@ -156,7 +156,7 @@
<div
class=
"user-container"
>
<div
class=
"user-container"
>
<h2
class=
"user-text-heading"
>
{{currentTabName}}
</h2>
<h2
class=
"user-text-heading"
>
{{currentTabName}}
</h2>
<div
class=
"action-btns"
>
<div
class=
"action-btns"
>
<button
mat-raised-button
class=
"MR15"
*ngIf=
"userRole === 'Nodal Officer' && currentTabName !== 'Resolved'"
<button
mat-raised-button
class=
"MR15"
*ngIf=
"
(
userRole === 'Nodal Officer' && currentTabName !== 'Resolved'
&& currentTabName !== 'Junk') || userRole === 'Grievance Nodal' && currentTabName === 'Junk'
"
(click)=
"handleClick('markothers')"
>
Mark As Others
</button>
(click)=
"handleClick('markothers')"
>
Mark As Others
</button>
<button
mat-raised-button
class=
"MR15"
*ngIf=
"!(currentTabName == 'Resolved' || currentTabName == 'Junk')"
<button
mat-raised-button
class=
"MR15"
*ngIf=
"!(currentTabName == 'Resolved' || currentTabName == 'Junk')"
(click)=
"handleClick('markjunk')"
>
Mark As Junk
</button>
(click)=
"handleClick('markjunk')"
>
Mark As Junk
</button>
...
@@ -174,7 +174,7 @@
...
@@ -174,7 +174,7 @@
*ngIf=
"(currentTabName == 'Escalated to me' || currentTabName == 'Not Assigned' || currentTabName == 'Pending' || currentTabName === 'Nudged')"
*ngIf=
"(currentTabName == 'Escalated to me' || currentTabName == 'Not Assigned' || currentTabName == 'Pending' || currentTabName === 'Nudged')"
(click)=
"handleClick('nudge')"
>
Send Reminder
</button>
(click)=
"handleClick('nudge')"
>
Send Reminder
</button>
</span>
</span>
<button
type=
"submit"
*ngIf=
"userRole === 'Nodal Officer' && currentTabName !== 'Resolved'"
<button
type=
"submit"
*ngIf=
"userRole === 'Nodal Officer' && currentTabName !== 'Resolved'
&& currentTabName !== 'Junk'
"
[disabled]=
"!grievanceResolutionForm.valid"
(click)=
"handleClick('resolved',grievanceResolutionForm.value)"
[disabled]=
"!grievanceResolutionForm.valid"
(click)=
"handleClick('resolved',grievanceResolutionForm.value)"
mat-raised-button
color=
"primary"
>
mat-raised-button
color=
"primary"
>
Mark as resolved
Mark as resolved
...
@@ -281,7 +281,7 @@
...
@@ -281,7 +281,7 @@
<mat-divider
*ngIf=
"userRole === 'Nodal Officer' || 'Grievance Nodal' && currentTabName !== 'Resolved'"
<mat-divider
*ngIf=
"userRole === 'Nodal Officer' || 'Grievance Nodal' && currentTabName !== 'Resolved'"
style=
"margin-top:1rem !important"
></mat-divider>
style=
"margin-top:1rem !important"
></mat-divider>
<form
[formGroup]=
"grievanceResolutionForm"
>
<form
[formGroup]=
"grievanceResolutionForm"
>
<div
*ngIf=
"userRole === 'Nodal Officer' && currentTabName !== 'Resolved'"
id=
"nodal"
<div
*ngIf=
"userRole === 'Nodal Officer' && currentTabName !== 'Resolved'
&& currentTabName !== 'Junk'
"
id=
"nodal"
class=
"resolution-class"
>
class=
"resolution-class"
>
<!-- <mat-form-field> -->
<!-- <mat-form-field> -->
<mat-grid-list
cols=
"6"
rowHeight=
"10rem"
[gutterSize]=
"'100px'"
>
<mat-grid-list
cols=
"6"
rowHeight=
"10rem"
[gutterSize]=
"'100px'"
>
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/grievance-modules/components/grievance-details/grievance-details.component.ts
+
8
−
2
View file @
3e370077
...
@@ -397,6 +397,11 @@ export class GrievanceDetailsComponent {
...
@@ -397,6 +397,11 @@ export class GrievanceDetailsComponent {
...
this
.
ticketUpdateRequest
,
...
this
.
ticketUpdateRequest
,
"
cc
"
:
-
1
,
"
cc
"
:
-
1
,
isJunk
:
this
.
ticketDetails
.
junk
,
isJunk
:
this
.
ticketDetails
.
junk
,
}
if
(
this
.
userRole
===
'
Grievance Nodal
'
)
{
this
.
ticketUpdateRequest
[
'
status
'
]
=
'
OPEN
'
;
this
.
ticketUpdateRequest
[
'
isJunk
'
]
=
false
;
}
}
const
otherDialogData
=
{
const
otherDialogData
=
{
header
:
`Enter reason to mark as 'Other'`
,
header
:
`Enter reason to mark as 'Other'`
,
...
@@ -513,9 +518,10 @@ export class GrievanceDetailsComponent {
...
@@ -513,9 +518,10 @@ export class GrievanceDetailsComponent {
this
.
getTicketById
();
this
.
getTicketById
();
this
.
toastrService
.
showToastr
(
"
Ticket updated successfully!
"
,
'
Success
'
,
'
success
'
,
''
);
this
.
toastrService
.
showToastr
(
"
Ticket updated successfully!
"
,
'
Success
'
,
'
success
'
,
''
);
this
.
router
.
navigate
([
'
/grievance/manage-tickets/
'
],{
queryParams
:
{
tabName
:
this
.
currentTabName
}});
this
.
router
.
navigate
([
'
/grievance/manage-tickets/
'
],{
queryParams
:
{
tabName
:
this
.
currentTabName
}});
},
error
:
(
err
)
=>
{
},
error
:
(
err
or
)
=>
{
this
.
isDataLoading
=
false
;
this
.
isDataLoading
=
false
;
this
.
toastrService
.
showToastr
(
err
,
'
Error
'
,
'
error
'
,
''
);
const
errorMessage
=
error
.
error
.
error_message
?
error
.
error
.
error_message
:
error
.
error
.
error
;
this
.
toastrService
.
showToastr
(
errorMessage
,
'
Error
'
,
'
error
'
,
''
);
}
}
});
});
}
}
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/grievance-modules/components/grievance-raiser-form/grievance-raiser-form.component.html
+
1
−
1
View file @
3e370077
...
@@ -149,7 +149,7 @@
...
@@ -149,7 +149,7 @@
<!-- if no files are available -->
<!-- if no files are available -->
<mat-card-content
class=
"empty-content-class"
*ngIf=
"files.length == 0"
>
Supports
<mat-card-content
class=
"empty-content-class"
*ngIf=
"files.length == 0"
>
Supports
only PDF, JPEG, PNG. with maximum
only PDF, JPEG, PNG. with maximum
size of 5 MB
/
Attachment.
</mat-card-content>
size of 5 MB
per
Attachment.
</mat-card-content>
<mat-card-content
*ngIf=
"files.length > 0"
class=
"file-list-container"
>
<mat-card-content
*ngIf=
"files.length > 0"
class=
"file-list-container"
>
<div
*ngFor=
"let file of files; let i = index"
class=
"preview"
>
<div
*ngFor=
"let file of files; let i = index"
class=
"preview"
>
<div
class=
"layout"
>
<div
class=
"layout"
>
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets