Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
myhr-portal
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
angular
myhr-portal
Commits
41b485e9
Commit
41b485e9
authored
Jun 28, 2024
by
Nakarin Luankla
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UPDATE open image
parent
f28ccdfc
Hide whitespace changes
Inline
Side-by-side
Showing
23 changed files
with
151 additions
and
16 deletions
+151
-16
approve-course.component.html
src/app/apps/approve-course/approve-course.component.html
+1
-1
approve-course.component.ts
src/app/apps/approve-course/approve-course.component.ts
+12
-0
approve-doc.component.html
src/app/apps/approve-doc/approve-doc.component.html
+1
-1
approve-doc.component.ts
src/app/apps/approve-doc/approve-doc.component.ts
+12
-0
approve-excel.component.html
src/app/apps/approve-excel/approve-excel.component.html
+1
-1
approve-excel.component.ts
src/app/apps/approve-excel/approve-excel.component.ts
+12
-0
apps.module.ts
src/app/apps/apps.module.ts
+3
-1
list-course.component.html
src/app/apps/list-course/list-course.component.html
+1
-1
list-course.component.ts
src/app/apps/list-course/list-course.component.ts
+12
-0
list-doc.component.html
src/app/apps/list-doc/list-doc.component.html
+2
-2
list-doc.component.ts
src/app/apps/list-doc/list-doc.component.ts
+12
-0
list-excell.component.html
src/app/apps/list-excell/list-excell.component.html
+2
-2
list-excell.component.ts
src/app/apps/list-excell/list-excell.component.ts
+12
-1
open-image.component.html
src/app/apps/open-image/open-image.component.html
+2
-0
open-image.component.scss
src/app/apps/open-image/open-image.component.scss
+0
-0
open-image.component.ts
src/app/apps/open-image/open-image.component.ts
+16
-0
view-list-course.component.html
...app/apps/view-list-course/view-list-course.component.html
+1
-1
view-list-course.component.ts
src/app/apps/view-list-course/view-list-course.component.ts
+12
-0
view-list-doc.component.html
src/app/apps/view-list-doc/view-list-doc.component.html
+1
-1
view-list-doc.component.ts
src/app/apps/view-list-doc/view-list-doc.component.ts
+12
-1
view-list-excel.component.html
src/app/apps/view-list-excel/view-list-excel.component.html
+1
-1
view-list-excel.component.ts
src/app/apps/view-list-excel/view-list-excel.component.ts
+12
-0
styles.scss
src/styles.scss
+11
-2
No files found.
src/app/apps/approve-course/approve-course.component.html
View file @
41b485e9
...
...
@@ -26,7 +26,7 @@
</tr>
<tr
*
ngFor=
"let data of filterListCourse() | slice: (page-1) * pageSize : (page-1) * pageSize + pageSize ; let i = index"
>
<td
class=
"text-center"
>
{{i+1}}
</td>
<td><img
width=
"100"
class=
"border p-1"
src=
"{{data.getImage()}}"
></td>
<td><img
width=
"100"
class=
"border p-1"
src=
"{{data.getImage()}}"
(
click
)="
openEmployeeModal
(
data
.
getImage
())"
></td>
<td>
{{ data.thName }}
</td>
<td
class=
"text-wrap"
>
{{ data.thDesc }}
</td>
<td>
{{data.courseType}}
</td>
...
...
src/app/apps/approve-course/approve-course.component.ts
View file @
41b485e9
...
...
@@ -4,6 +4,7 @@ import { CourseModel } from 'src/app/model/course.model';
import
{
CourseService
}
from
'src/app/service/course.service'
;
import
{
ConfirmModalComponent
}
from
'../confirm-modal/confirm-modal.component'
;
import
{
AlertModalComponent
}
from
'../alert-modal/alert-modal.component'
;
import
{
OpenImageComponent
}
from
'../open-image/open-image.component'
;
declare
var
require
:
any
const
FileSaver
=
require
(
'file-saver'
);
@
Component
({
...
...
@@ -18,6 +19,17 @@ export class ApproveCourseComponent implements OnInit {
search
:
string
=
''
constructor
(
private
modalService
:
NgbModal
,
private
courseService
:
CourseService
)
{
}
openEmployeeModal
(
image
:
string
)
{
const
modalRef
=
this
.
modalService
.
open
(
OpenImageComponent
,
{
centered
:
true
,
windowClass
:
'my-dialog-img-preview'
})
modalRef
.
componentInstance
.
linkImage
=
image
modalRef
.
result
.
then
(
result
=>
{
},
reason
=>
{
this
.
modalService
.
dismissAll
()
})
}
async
downloadFile
(
logId
:
string
){
try
{
const
data
=
await
this
.
courseService
.
downloadFile
(
logId
).
toPromise
();
...
...
src/app/apps/approve-doc/approve-doc.component.html
View file @
41b485e9
...
...
@@ -27,7 +27,7 @@
</tr>
<tr
*
ngFor=
"let data of filterListDoc() | slice: (page-1) * pageSize : (page-1) * pageSize + pageSize ; let i = index"
>
<td
class=
"text-center"
>
{{i+1}}
</td>
<td><img
width=
"100"
class=
"border p-1"
src=
"{{data.getImage()}}"
></td>
<td><img
width=
"100"
class=
"border p-1"
src=
"{{data.getImage()}}"
(
click
)="
openEmployeeModal
(
data
.
getImage
())"
></td>
<!-- <td >{{data.id}}</td> -->
<td>
{{ data.thName }}
</td>
<td>
{{ data.thDesc }}
</td>
...
...
src/app/apps/approve-doc/approve-doc.component.ts
View file @
41b485e9
...
...
@@ -4,6 +4,7 @@ import { DocumentModel } from 'src/app/model/document.model';
import
{
AlertModalComponent
}
from
'../alert-modal/alert-modal.component'
;
import
{
DocumentService
}
from
'src/app/service/document.service'
;
import
{
NgbModal
}
from
'@ng-bootstrap/ng-bootstrap'
;
import
{
OpenImageComponent
}
from
'../open-image/open-image.component'
;
declare
var
require
:
any
const
FileSaver
=
require
(
'file-saver'
);
@
Component
({
...
...
@@ -18,6 +19,17 @@ export class ApproveDocComponent implements OnInit {
search
:
string
=
''
constructor
(
private
modalService
:
NgbModal
,
private
documentService
:
DocumentService
)
{
}
openEmployeeModal
(
image
:
string
)
{
const
modalRef
=
this
.
modalService
.
open
(
OpenImageComponent
,
{
centered
:
true
,
windowClass
:
'my-dialog-img-preview'
})
modalRef
.
componentInstance
.
linkImage
=
image
modalRef
.
result
.
then
(
result
=>
{
},
reason
=>
{
this
.
modalService
.
dismissAll
()
})
}
async
downloadFile
(
logId
:
string
,
lang
:
string
){
try
{
const
data
=
await
this
.
documentService
.
downloadFile
(
logId
,
lang
).
toPromise
();
...
...
src/app/apps/approve-excel/approve-excel.component.html
View file @
41b485e9
...
...
@@ -26,7 +26,7 @@
</tr>
<tr
*
ngFor=
"let data of filterListExcel() | slice: (page-1) * pageSize : (page-1) * pageSize + pageSize ; let i = index"
>
<td
class=
"text-center"
>
{{i+1}}
</td>
<td><img
width=
"100"
class=
"border p-1"
src=
"{{data.getImage()}}"
></td>
<td><img
width=
"100"
class=
"border p-1"
src=
"{{data.getImage()}}"
(
click
)="
openEmployeeModal
(
data
.
getImage
())"
></td>
<!-- <td >{{data.id}}</td> -->
<td>
{{ data.thName }}
</td>
<td>
{{ data.thDesc }}
</td>
...
...
src/app/apps/approve-excel/approve-excel.component.ts
View file @
41b485e9
...
...
@@ -4,6 +4,7 @@ import { ExcelModel } from 'src/app/model/excel.model';
import
{
ExcelService
}
from
'src/app/service/excel.service'
;
import
{
AlertModalComponent
}
from
'../alert-modal/alert-modal.component'
;
import
{
ConfirmModalComponent
}
from
'../confirm-modal/confirm-modal.component'
;
import
{
OpenImageComponent
}
from
'../open-image/open-image.component'
;
declare
var
require
:
any
const
FileSaver
=
require
(
'file-saver'
);
@
Component
({
...
...
@@ -18,6 +19,17 @@ export class ApproveExcelComponent implements OnInit {
search
:
string
=
''
constructor
(
private
modalService
:
NgbModal
,
private
excelService
:
ExcelService
)
{
}
openEmployeeModal
(
image
:
string
)
{
const
modalRef
=
this
.
modalService
.
open
(
OpenImageComponent
,
{
centered
:
true
,
windowClass
:
'my-dialog-img-preview'
})
modalRef
.
componentInstance
.
linkImage
=
image
modalRef
.
result
.
then
(
result
=>
{
},
reason
=>
{
this
.
modalService
.
dismissAll
()
})
}
async
downloadFile
(
logId
:
string
){
try
{
const
data
=
await
this
.
excelService
.
downloadFile
(
logId
).
toPromise
();
...
...
src/app/apps/apps.module.ts
View file @
41b485e9
...
...
@@ -95,6 +95,7 @@ import { ViewListDocComponent } from './view-list-doc/view-list-doc.component';
import
{
ViewListCourseComponent
}
from
'./view-list-course/view-list-course.component'
;
import
{
TagInputModule
}
from
'ngx-chips'
;
import
{
ApprovedListComponent
}
from
'./approved-list/approved-list.component'
;
import
{
OpenImageComponent
}
from
'./open-image/open-image.component'
;
@
NgModule
({
...
...
@@ -167,7 +168,8 @@ import { ApprovedListComponent } from './approved-list/approved-list.component';
ViewListExcelComponent
,
ViewListDocComponent
,
ViewListCourseComponent
,
ApprovedListComponent
ApprovedListComponent
,
OpenImageComponent
],
providers
:
[
ContactService
,
...
...
src/app/apps/list-course/list-course.component.html
View file @
41b485e9
...
...
@@ -24,7 +24,7 @@
<tbody>
<tr
*
ngFor=
"let data of filterListCourse() | slice: (page-1) * pageSize : (page-1) * pageSize + pageSize ; let i = index"
>
<td
class=
"text-center"
>
{{i+1}}
</td>
<td><img
width=
"100"
class=
"border p-1"
src=
"{{data.getImage()}}"
></td>
<td><img
width=
"100"
class=
"border p-1"
src=
"{{data.getImage()}}"
(
click
)="
openEmployeeModal
(
data
.
getImage
())"
></td>
<!-- <td >{{data.id}}</td> -->
<td>
{{ data.thName }}
</td>
<td
class=
"text-wrap"
>
{{ data.thDesc }}
</td>
...
...
src/app/apps/list-course/list-course.component.ts
View file @
41b485e9
...
...
@@ -10,6 +10,7 @@ import { TagService } from 'src/app/service/tag.service';
import
{
TagModel
}
from
'src/app/model/tag.mmodel'
;
import
{
GroupModel
}
from
'src/app/model/group.mmodel'
;
import
{
GroupService
}
from
'src/app/service/group.service'
;
import
{
OpenImageComponent
}
from
'../open-image/open-image.component'
;
declare
var
require
:
any
const
FileSaver
=
require
(
'file-saver'
);
@
Component
({
...
...
@@ -228,6 +229,17 @@ export class ListCourseComponent implements OnInit {
console
.
error
(
'Error loading data:'
,
error
);
}
}
openEmployeeModal
(
image
:
string
)
{
const
modalRef
=
this
.
modalService
.
open
(
OpenImageComponent
,
{
centered
:
true
,
windowClass
:
'my-dialog-img-preview'
})
modalRef
.
componentInstance
.
linkImage
=
image
modalRef
.
result
.
then
(
result
=>
{
},
reason
=>
{
this
.
modalService
.
dismissAll
()
})
}
openLink
(
url
:
string
){
window
.
open
(
url
,
"_blank"
);
}
...
...
src/app/apps/list-doc/list-doc.component.html
View file @
41b485e9
...
...
@@ -25,11 +25,11 @@
<tbody>
<tr
*
ngFor=
"let data of filterListDoc() | slice: (page-1) * pageSize : (page-1) * pageSize + pageSize ; let i = index"
>
<td
class=
"text-center"
>
{{i+1}}
</td>
<td><img
width=
"100"
class=
"border p-1"
src=
"{{data.getImage()}}"
></td>
<td><img
width=
"100"
class=
"border p-1"
src=
"{{data.getImage()}}"
(
click
)="
openEmployeeModal
(
data
.
getImage
())"
></td>
<!-- <td >{{data.id}}</td> -->
<td>
{{ data.thName }}
</td>
<td>
{{ data.thDesc }}
</td>
<td
class=
"text-center"
><i
class=
"fas fa-link pointer"
(
click
)="
openLink
(
data
.
link1
)"
></i></td>
<td
class=
"text-center"
><i
class=
"fas fa-link pointer"
(
click
)="
openLink
(
data
.
link1
)"
></i></td>
<td
class=
"text-center"
>
<i
class=
"fas fa-download pointer"
(
click
)="
downloadFile
(
data
.
logId
,'
tha
')"
></i></td>
<td
class=
"text-center"
>
<i
class=
"fas fa-download pointer"
(
click
)="
downloadFile
(
data
.
logId
,'
eng
')"
></i></td>
<td
class=
"text-center"
>
...
...
src/app/apps/list-doc/list-doc.component.ts
View file @
41b485e9
...
...
@@ -9,6 +9,7 @@ import { TagService } from 'src/app/service/tag.service';
import
{
TagModel
}
from
'src/app/model/tag.mmodel'
;
import
{
GroupModel
}
from
'src/app/model/group.mmodel'
;
import
{
GroupService
}
from
'src/app/service/group.service'
;
import
{
OpenImageComponent
}
from
'../open-image/open-image.component'
;
declare
var
require
:
any
const
FileSaver
=
require
(
'file-saver'
);
@
Component
({
...
...
@@ -237,6 +238,17 @@ export class ListDocComponent implements OnInit {
console
.
error
(
'Error loading data:'
,
error
);
}
}
openEmployeeModal
(
image
:
string
)
{
const
modalRef
=
this
.
modalService
.
open
(
OpenImageComponent
,
{
centered
:
true
,
windowClass
:
'my-dialog-img-preview'
})
modalRef
.
componentInstance
.
linkImage
=
image
modalRef
.
result
.
then
(
result
=>
{
},
reason
=>
{
this
.
modalService
.
dismissAll
()
})
}
closeBtnClick
()
{
this
.
modalService
.
dismissAll
();
}
...
...
src/app/apps/list-excell/list-excell.component.html
View file @
41b485e9
...
...
@@ -24,11 +24,11 @@
<tbody>
<tr
*
ngFor=
"let data of filterListExcel() | slice: (page-1) * pageSize : (page-1) * pageSize + pageSize ; let i = index"
>
<td
class=
"text-center"
>
{{i+1}}
</td>
<td><img
width=
"100"
class=
"border p-1"
src=
"{{data.getImage()}}"
></td>
<td><img
width=
"100"
class=
"border p-1"
src=
"{{data.getImage()}}"
(
click
)="
openEmployeeModal
(
data
.
getImage
())"
></td>
<!-- <td >{{data.id}}</td> -->
<td>
{{ data.thName }}
</td>
<td>
{{ data.thDesc }}
</td>
<td
class=
"text-center"
><i
class=
"fas fa-link pointer"
(
click
)="
openLink
(
data
.
link1
)"
></i></td>
<td
class=
"text-center"
><i
class=
"fas fa-link pointer"
(
click
)="
openLink
(
data
.
link1
)"
></i></td>
<td
class=
"text-center"
>
<i
class=
"fas fa-download pointer"
(
click
)="
downloadFile
(
data
.
logId
)"
></i></td>
<td
class=
"text-center"
>
...
...
src/app/apps/list-excell/list-excell.component.ts
View file @
41b485e9
...
...
@@ -9,6 +9,7 @@ import { TagService } from 'src/app/service/tag.service';
import
{
TagModel
}
from
'src/app/model/tag.mmodel'
;
import
{
GroupService
}
from
'src/app/service/group.service'
;
import
{
GroupModel
}
from
'src/app/model/group.mmodel'
;
import
{
OpenImageComponent
}
from
'../open-image/open-image.component'
;
declare
var
require
:
any
const
FileSaver
=
require
(
'file-saver'
);
...
...
@@ -240,7 +241,17 @@ export class ListExcelComponent implements OnInit {
this
.
getListGroup
();
}
openEmployeeModal
(
image
:
string
)
{
const
modalRef
=
this
.
modalService
.
open
(
OpenImageComponent
,
{
centered
:
true
,
windowClass
:
'my-dialog-img-preview'
})
modalRef
.
componentInstance
.
linkImage
=
image
modalRef
.
result
.
then
(
result
=>
{
},
reason
=>
{
this
.
modalService
.
dismissAll
()
})
}
closeBtnClick
()
{
this
.
modalService
.
dismissAll
();
}
...
...
src/app/apps/open-image/open-image.component.html
0 → 100644
View file @
41b485e9
<img
[
src
]="
linkImage
"
style=
"width:100%;transform: scale(1.4)"
>
\ No newline at end of file
src/app/apps/open-image/open-image.component.scss
0 → 100644
View file @
41b485e9
src/app/apps/open-image/open-image.component.ts
0 → 100644
View file @
41b485e9
import
{
Component
,
Input
,
OnInit
}
from
'@angular/core'
;
import
{
NgbActiveModal
}
from
'@ng-bootstrap/ng-bootstrap'
;
@
Component
({
selector
:
'app-open-image'
,
templateUrl
:
'./open-image.component.html'
,
styleUrls
:
[
'./open-image.component.scss'
]
})
export
class
OpenImageComponent
implements
OnInit
{
@
Input
()
linkImage
:
string
=
''
constructor
(
public
activeModal
:
NgbActiveModal
)
{
}
ngOnInit
():
void
{
}
}
src/app/apps/view-list-course/view-list-course.component.html
View file @
41b485e9
...
...
@@ -28,7 +28,7 @@
</tr>
<tr
*
ngFor=
"let data of filterListCourse() | slice: (page-1) * pageSize : (page-1) * pageSize + pageSize ; let i = index"
>
<td
class=
"text-center"
>
{{i+1}}
</td>
<td><img
width=
"100"
class=
"border p-1"
src=
"{{data.getImage()}}"
></td>
<td><img
width=
"100"
class=
"border p-1"
src=
"{{data.getImage()}}"
(
click
)="
openEmployeeModal
(
data
.
getImage
())"
></td>
<td>
{{ data.thName }}
</td>
<td
class=
"text-wrap"
>
{{ data.thDesc }}
</td>
<td>
{{data.courseType}}
</td>
...
...
src/app/apps/view-list-course/view-list-course.component.ts
View file @
41b485e9
...
...
@@ -6,6 +6,7 @@ import { CourseModel } from 'src/app/model/course.model';
import
{
CourseContentModel
}
from
'src/app/model/course-content.model'
;
import
{
ActivatedRoute
}
from
'@angular/router'
;
import
{
ConfirmModalComponent
}
from
'../confirm-modal/confirm-modal.component'
;
import
{
OpenImageComponent
}
from
'../open-image/open-image.component'
;
declare
var
require
:
any
const
FileSaver
=
require
(
'file-saver'
);
@
Component
({
...
...
@@ -24,6 +25,17 @@ export class ViewListCourseComponent implements OnInit {
this
.
checkType
=
result
.
get
(
"type"
)
!
;
});
}
openEmployeeModal
(
image
:
string
)
{
const
modalRef
=
this
.
modalService
.
open
(
OpenImageComponent
,
{
centered
:
true
,
windowClass
:
'my-dialog-img-preview'
})
modalRef
.
componentInstance
.
linkImage
=
image
modalRef
.
result
.
then
(
result
=>
{
},
reason
=>
{
this
.
modalService
.
dismissAll
()
})
}
async
downloadFile
(
logId
:
string
){
try
{
const
data
=
await
this
.
courseService
.
downloadFileContent
(
logId
).
toPromise
();
...
...
src/app/apps/view-list-doc/view-list-doc.component.html
View file @
41b485e9
...
...
@@ -29,7 +29,7 @@
</tr>
<tr
*
ngFor=
"let data of filterListDoc() | slice: (page-1) * pageSize : (page-1) * pageSize + pageSize ; let i = index"
>
<td
class=
"text-center"
>
{{i+1}}
</td>
<td><img
width=
"100"
class=
"border p-1"
src=
"{{data.getImage()}}"
></td>
<td><img
width=
"100"
class=
"border p-1"
src=
"{{data.getImage()}}"
(
click
)="
openEmployeeModal
(
data
.
getImage
())"
></td>
<!-- <td >{{data.id}}</td> -->
<td>
{{ data.thName }}
</td>
<td>
{{ data.thDesc }}
</td>
...
...
src/app/apps/view-list-doc/view-list-doc.component.ts
View file @
41b485e9
...
...
@@ -5,6 +5,7 @@ import { DocumentService } from 'src/app/service/document.service';
import
{
DocumentContentModel
}
from
'src/app/model/document-content.model'
;
import
{
ActivatedRoute
}
from
'@angular/router'
;
import
{
ConfirmModalComponent
}
from
'../confirm-modal/confirm-modal.component'
;
import
{
OpenImageComponent
}
from
'../open-image/open-image.component'
;
declare
var
require
:
any
const
FileSaver
=
require
(
'file-saver'
);
@
Component
({
...
...
@@ -23,7 +24,17 @@ export class ViewListDocComponent implements OnInit {
this
.
checkType
=
result
.
get
(
"type"
)
!
;
});
}
openEmployeeModal
(
image
:
string
)
{
const
modalRef
=
this
.
modalService
.
open
(
OpenImageComponent
,
{
centered
:
true
,
windowClass
:
'my-dialog-img-preview'
})
modalRef
.
componentInstance
.
linkImage
=
image
modalRef
.
result
.
then
(
result
=>
{
},
reason
=>
{
this
.
modalService
.
dismissAll
()
})
}
deleteFile
(
item
:
DocumentContentModel
){
const
modalRef
=
this
.
modalService
.
open
(
ConfirmModalComponent
,
{
centered
:
true
,
...
...
src/app/apps/view-list-excel/view-list-excel.component.html
View file @
41b485e9
...
...
@@ -28,7 +28,7 @@
</tr>
<tr
*
ngFor=
"let data of filterListExcel() | slice: (page-1) * pageSize : (page-1) * pageSize + pageSize ; let i = index"
>
<td
class=
"text-center"
>
{{i+1}}
</td>
<td><img
width=
"100"
class=
"border p-1"
src=
"{{data.getImage()}}"
></td>
<td><img
width=
"100"
class=
"border p-1"
src=
"{{data.getImage()}}"
(
click
)="
openEmployeeModal
(
data
.
getImage
())"
></td>
<!-- <td >{{data.id}}</td> -->
<td>
{{ data.thName }}
</td>
<td>
{{ data.thDesc }}
</td>
...
...
src/app/apps/view-list-excel/view-list-excel.component.ts
View file @
41b485e9
...
...
@@ -5,6 +5,7 @@ import { ExcelService } from 'src/app/service/excel.service';
import
{
AlertModalComponent
}
from
'../alert-modal/alert-modal.component'
;
import
{
ExcelContentModel
}
from
'src/app/model/excel-content.model'
;
import
{
ActivatedRoute
}
from
'@angular/router'
;
import
{
OpenImageComponent
}
from
'../open-image/open-image.component'
;
declare
var
require
:
any
const
FileSaver
=
require
(
'file-saver'
);
@
Component
({
...
...
@@ -23,6 +24,17 @@ export class ViewListExcelComponent implements OnInit {
this
.
checkType
=
result
.
get
(
"type"
)
!
;
});
}
openEmployeeModal
(
image
:
string
)
{
const
modalRef
=
this
.
modalService
.
open
(
OpenImageComponent
,
{
centered
:
true
,
windowClass
:
'my-dialog-img-preview'
})
modalRef
.
componentInstance
.
linkImage
=
image
modalRef
.
result
.
then
(
result
=>
{
},
reason
=>
{
this
.
modalService
.
dismissAll
()
})
}
deleteFile
(
item
:
ExcelContentModel
){
const
modalRef
=
this
.
modalService
.
open
(
ConfirmModalComponent
,
{
centered
:
true
,
...
...
src/styles.scss
View file @
41b485e9
...
...
@@ -73,4 +73,13 @@ body {
}
.pointer
:hover
{
color
:
#2962ff
;
}
\ No newline at end of file
}
.my-dialog-img-preview
.modal-dialog
{
display
:
flex
!
important
;
justify-content
:
center
!
important
;
.modal-content
{
background-color
:
#fff0
!
important
;
border
:
none
!
important
;
width
:
auto
!
important
;
}
}
\ No newline at end of file
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