Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
portal-apps-manage
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
portal-apps-manage
Commits
573ac80d
Commit
573ac80d
authored
Sep 15, 2025
by
sawit
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
routes myjob excel
parent
40f1ed97
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
113 additions
and
13 deletions
+113
-13
approved-list.component.ts
...manage/my-portal/approved-list/approved-list.component.ts
+3
-3
category-list-approve.component.ts
.../category-list-approve/category-list-approve.component.ts
+4
-4
category-list.component.ts
...manage/my-portal/category-list/category-list.component.ts
+3
-3
create-category.component.ts
...ge/my-portal/create-category/create-category.component.ts
+3
-3
myjob.routes.ts
src/app/portal-manage/myjob/myjob.routes.ts
+100
-0
No files found.
src/app/portal-manage/my-portal/approved-list/approved-list.component.ts
View file @
573ac80d
...
...
@@ -146,11 +146,11 @@ export class ApprovedListComponent implements OnInit {
}
openView
(
id
:
string
)
{
if
(
id
==
'1'
)
{
this
.
router
.
navigate
([
'/'
+
this
.
path
.
data
+
'/view-list-excel/1'
]);
this
.
router
.
navigate
([
'/
portal-manage/
'
+
this
.
path
.
data
+
'/view-list-excel/1'
]);
}
else
if
(
id
==
'2'
)
{
this
.
router
.
navigate
([
'/'
+
this
.
path
.
data
+
'/view-list-doc/1'
]);
this
.
router
.
navigate
([
'/
portal-manage/
'
+
this
.
path
.
data
+
'/view-list-doc/1'
]);
}
else
if
(
id
==
'3'
)
{
this
.
router
.
navigate
([
'/'
+
this
.
path
.
data
+
'/view-list-course/1'
]);
this
.
router
.
navigate
([
'/
portal-manage/
'
+
this
.
path
.
data
+
'/view-list-course/1'
]);
}
}
}
src/app/portal-manage/my-portal/category-list-approve/category-list-approve.component.ts
View file @
573ac80d
...
...
@@ -129,14 +129,14 @@ export class CategoryListApproveComponent implements OnInit {
this
.
getListCount
();
}
openView
(
id
:
string
)
{
if
(
id
==
'1'
)
{
this
.
router
.
navigate
([
'/'
+
this
.
path
.
data
+
'/approve-excel'
]);
this
.
router
.
navigate
([
'/
portal-manage/
'
+
this
.
path
.
data
+
'/approve-excel'
]);
}
else
if
(
id
==
'2'
)
{
this
.
router
.
navigate
([
'/'
+
this
.
path
.
data
+
'/approve-doc'
]);
this
.
router
.
navigate
([
'/
portal-manage/
'
+
this
.
path
.
data
+
'/approve-doc'
]);
}
else
if
(
id
==
'3'
)
{
this
.
router
.
navigate
([
'/'
+
this
.
path
.
data
+
'/approve-course'
]);
this
.
router
.
navigate
([
'/
portal-manage/
'
+
this
.
path
.
data
+
'/approve-course'
]);
}
}
async
getListCount
()
{
...
...
src/app/portal-manage/my-portal/category-list/category-list.component.ts
View file @
573ac80d
...
...
@@ -164,11 +164,11 @@ export class CategorylistComponent implements OnInit {
}
openView
(
id
:
string
)
{
if
(
id
==
'1'
)
{
this
.
router
.
navigate
([
'/'
+
this
.
path
.
data
+
'/view-list-excel'
]);
this
.
router
.
navigate
([
'/
portal-manage/
'
+
this
.
path
.
data
+
'/view-list-excel'
]);
}
else
if
(
id
==
'2'
)
{
this
.
router
.
navigate
([
'/'
+
this
.
path
.
data
+
'/view-list-doc'
]);
this
.
router
.
navigate
([
'/
portal-manage/
'
+
this
.
path
.
data
+
'/view-list-doc'
]);
}
else
if
(
id
==
'3'
)
{
this
.
router
.
navigate
([
'/'
+
this
.
path
.
data
+
'/view-list-course'
]);
this
.
router
.
navigate
([
'/
portal-manage/
'
+
this
.
path
.
data
+
'/view-list-course'
]);
}
// else if (id == '4') {
// this.router.navigate(['/' + this.path.data + '/view-list-widgets']);
...
...
src/app/portal-manage/my-portal/create-category/create-category.component.ts
View file @
573ac80d
...
...
@@ -169,11 +169,11 @@ export class CreateCategoryComponent implements OnInit {
}
openView
(
id
:
string
)
{
if
(
id
==
'1'
)
{
this
.
router
.
navigate
([
'/'
+
this
.
path
.
data
+
'/list-excel'
]);
this
.
router
.
navigate
([
'/
portal-manage/
'
+
this
.
path
.
data
+
'/list-excel'
]);
}
else
if
(
id
==
'2'
)
{
this
.
router
.
navigate
([
'/'
+
this
.
path
.
data
+
'/list-doc'
]);
this
.
router
.
navigate
([
'/
portal-manage/
'
+
this
.
path
.
data
+
'/list-doc'
]);
}
else
if
(
id
==
'3'
)
{
this
.
router
.
navigate
([
'/'
+
this
.
path
.
data
+
'/list-course'
]);
this
.
router
.
navigate
([
'/
portal-manage/
'
+
this
.
path
.
data
+
'/list-course'
]);
}
// else if (id == '4') {
// this.router.navigate(['/' + this.path.data + '/list-widgets']);
...
...
src/app/portal-manage/myjob/myjob.routes.ts
View file @
573ac80d
...
...
@@ -103,6 +103,106 @@ export const MYJOB_ROUTES: Routes = [
import
(
'./company-department/major/major.component'
).
then
((
m
)
=>
m
.
MajorComponent
),
},
{
path
:
'category-list'
,
loadComponent
:
()
=>
import
(
'../my-portal/category-list/category-list.component'
).
then
((
m
)
=>
m
.
CategorylistComponent
),
},
{
path
:
'view-list-excel'
,
loadComponent
:
()
=>
import
(
'../my-portal/category-list/view-list-excel/view-list-excel.component'
).
then
((
m
)
=>
m
.
ViewListExcelComponent
),
},
{
path
:
'view-list-doc'
,
loadComponent
:
()
=>
import
(
'../my-portal/category-list/view-list-doc/view-list-doc.component'
).
then
((
m
)
=>
m
.
ViewListDocComponent
),
},
{
path
:
'view-list-course'
,
loadComponent
:
()
=>
import
(
'../my-portal/category-list/view-list-course/view-list-course.component'
).
then
((
m
)
=>
m
.
ViewListCourseComponent
),
},
{
path
:
'create-category'
,
loadComponent
:
()
=>
import
(
'../my-portal/create-category/create-category.component'
).
then
((
m
)
=>
m
.
CreateCategoryComponent
),
},
{
path
:
'list-excel'
,
loadComponent
:
()
=>
import
(
'../my-portal/create-category/list-excel/list-excel.component'
).
then
((
m
)
=>
m
.
ListExcelComponent
),
},
{
path
:
'list-doc'
,
loadComponent
:
()
=>
import
(
'../my-portal/create-category/list-doc/list-doc.component'
).
then
((
m
)
=>
m
.
ListDocComponent
),
},
{
path
:
'list-course'
,
loadComponent
:
()
=>
import
(
'../my-portal/create-category/list-course/list-course.component'
).
then
((
m
)
=>
m
.
ListCourseComponent
),
},
{
path
:
'category-list-approve'
,
loadComponent
:
()
=>
import
(
'../my-portal/category-list-approve/category-list-approve.component'
).
then
((
m
)
=>
m
.
CategoryListApproveComponent
),
},
{
path
:
'approve-excel'
,
loadComponent
:
()
=>
import
(
'../my-portal/category-list-approve/approve-excel/approve-excel.component'
).
then
((
m
)
=>
m
.
ApproveExcelComponent
),
},
{
path
:
'approve-doc'
,
loadComponent
:
()
=>
import
(
'../my-portal/category-list-approve/approve-doc/approve-doc.component'
).
then
((
m
)
=>
m
.
ApproveDocComponent
),
},
{
path
:
'approve-course'
,
loadComponent
:
()
=>
import
(
'../my-portal/category-list-approve/approve-course/approve-course.component'
).
then
((
m
)
=>
m
.
ApproveCourseComponent
),
},
{
path
:
'approved-list'
,
loadComponent
:
()
=>
import
(
'../my-portal/approved-list/approved-list.component'
).
then
((
m
)
=>
m
.
ApprovedListComponent
),
},
{
path
:
'view-list-excel/:type'
,
loadComponent
:
()
=>
import
(
'../my-portal/approved-list/view-list-excel/view-list-excel.component'
).
then
((
m
)
=>
m
.
ViewListExcelComponent
),
},
{
path
:
'view-list-doc/:type'
,
loadComponent
:
()
=>
import
(
'../my-portal/approved-list/view-list-doc/view-list-doc.component'
).
then
((
m
)
=>
m
.
ViewListDocComponent
),
},
{
path
:
'view-list-course/:type'
,
loadComponent
:
()
=>
import
(
'../my-portal/approved-list/view-list-course/view-list-course.component'
).
then
((
m
)
=>
m
.
ViewListCourseComponent
),
},
{
path
:
'excel-list'
,
loadComponent
:
()
=>
import
(
'../my-portal/excel-list/excel-list.component'
).
then
((
m
)
=>
m
.
ExcelListComponent
),
},
{
path
:
'excel-report-toggle'
,
loadComponent
:
()
=>
import
(
'../my-portal/excel-report-toggle/excel-report-toggle.component'
).
then
((
m
)
=>
m
.
ExcelReportToggleComponent
),
},
{
path
:
'datasource-table'
,
loadComponent
:
()
=>
import
(
'../my-portal/datasource-table/datasource-table.component'
).
then
((
m
)
=>
m
.
DatasourceTableComponent
),
},
{
path
:
'excel-report'
,
loadComponent
:
()
=>
import
(
'../my-portal/excel-report/excel-report.component'
).
then
((
m
)
=>
m
.
ExcelReportComponent
),
},
{
path
:
''
,
redirectTo
:
'dashboard'
,
pathMatch
:
'full'
...
...
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