Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
check
Overview
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abook_web
check
Commits
9013b5bd
Commit
9013b5bd
authored
Nov 17, 2022
by
Takumi Imai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
フォームからの画面遷移
parent
1f4f6660
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
18 deletions
+36
-18
abweb/js/reportForm/reportForm.js
+36
-18
No files found.
abweb/js/reportForm/reportForm.js
View file @
9013b5bd
...
@@ -22,7 +22,6 @@ RF.init = function () {
...
@@ -22,7 +22,6 @@ RF.init = function () {
RF
.
loadCommon
=
function
()
{
RF
.
loadCommon
=
function
()
{
TEMPLATE
.
loadHeader
(
'#includedHeader'
);
TEMPLATE
.
loadHeader
(
'#includedHeader'
);
TEMPLATE
.
loadConfirmModal
(
'#includedConfirmModal'
);
TEMPLATE
.
loadConfirmModal
(
'#includedConfirmModal'
);
};
};
/**
/**
...
@@ -30,7 +29,7 @@ RF.loadCommon = function () {
...
@@ -30,7 +29,7 @@ RF.loadCommon = function () {
*/
*/
RF
.
initBreadcrumb
=
function
()
{
RF
.
initBreadcrumb
=
function
()
{
if
(
sessionStorage
.
activeHomePage
==
CONSTANT
.
PAGE_TAB
.
DASHBOARD
)
{
if
(
sessionStorage
.
activeHomePage
==
CONSTANT
.
PAGE_TAB
.
DASHBOARD
)
{
if
(
sessionStorage
.
getItem
(
"pickUpType"
)
==
CONSTANT
.
PICK_UP_TYPE
.
CONTINOUS_WORK
)
{
if
(
sessionStorage
.
getItem
(
'pickUpType'
)
==
CONSTANT
.
PICK_UP_TYPE
.
CONTINOUS_WORK
)
{
navs
=
[
navs
=
[
{
{
titleLang
:
CONSTANT
.
PAGE_NAME
.
DASHBOARD
,
titleLang
:
CONSTANT
.
PAGE_NAME
.
DASHBOARD
,
...
@@ -41,10 +40,10 @@ RF.initBreadcrumb = function () {
...
@@ -41,10 +40,10 @@ RF.initBreadcrumb = function () {
href
:
CONSTANT
.
URL_TREE_NAME
.
PICKUP_CONTINUOS
,
href
:
CONSTANT
.
URL_TREE_NAME
.
PICKUP_CONTINUOS
,
},
},
{
{
titleLang
:
CONSTANT
.
PAGE_NAME
.
REPORT_FORM
titleLang
:
CONSTANT
.
PAGE_NAME
.
REPORT_FORM
,
},
},
]
]
;
}
else
if
(
sessionStorage
.
getItem
(
"pickUpType"
)
==
CONSTANT
.
PICK_UP_TYPE
.
WARNING_REPORT
)
{
}
else
if
(
sessionStorage
.
getItem
(
'pickUpType'
)
==
CONSTANT
.
PICK_UP_TYPE
.
WARNING_REPORT
)
{
navs
=
[
navs
=
[
{
{
titleLang
:
CONSTANT
.
PAGE_NAME
.
DASHBOARD
,
titleLang
:
CONSTANT
.
PAGE_NAME
.
DASHBOARD
,
...
@@ -55,9 +54,9 @@ RF.initBreadcrumb = function () {
...
@@ -55,9 +54,9 @@ RF.initBreadcrumb = function () {
href
:
CONSTANT
.
URL_TREE_NAME
.
PICKUP_WARNING
,
href
:
CONSTANT
.
URL_TREE_NAME
.
PICKUP_WARNING
,
},
},
{
{
titleLang
:
CONSTANT
.
PAGE_NAME
.
REPORT_FORM
titleLang
:
CONSTANT
.
PAGE_NAME
.
REPORT_FORM
,
},
},
]
]
;
}
else
{
}
else
{
navs
=
[
navs
=
[
{
{
...
@@ -70,17 +69,17 @@ RF.initBreadcrumb = function () {
...
@@ -70,17 +69,17 @@ RF.initBreadcrumb = function () {
},
},
{
{
titleLang
:
CONSTANT
.
PAGE_NAME
.
REPORT_LIST
,
titleLang
:
CONSTANT
.
PAGE_NAME
.
REPORT_LIST
,
href
:
CONSTANT
.
URL_TREE_NAME
.
REPORT_LIST
href
:
CONSTANT
.
URL_TREE_NAME
.
REPORT_LIST
,
},
},
{
{
titleLang
:
CONSTANT
.
PAGE_NAME
.
REPORT_FORM
titleLang
:
CONSTANT
.
PAGE_NAME
.
REPORT_FORM
,
},
},
]
]
;
}
}
}
else
{
}
else
{
if
(
sessionStorage
.
getItem
(
"pickUpType"
))
sessionStorage
.
removeItem
(
"pickUpType"
);
if
(
sessionStorage
.
getItem
(
'pickUpType'
))
sessionStorage
.
removeItem
(
'pickUpType'
);
if
(
(
addReportFlg
)
&&
addReportFlg
==
1
)
{
if
(
addReportFlg
&&
addReportFlg
==
1
)
{
navs
=
[
navs
=
[
{
{
titleLang
:
CONSTANT
.
PAGE_NAME
.
OPERATION_LIST
,
titleLang
:
CONSTANT
.
PAGE_NAME
.
OPERATION_LIST
,
...
@@ -88,12 +87,12 @@ RF.initBreadcrumb = function () {
...
@@ -88,12 +87,12 @@ RF.initBreadcrumb = function () {
},
},
{
{
titleLang
:
CONSTANT
.
PAGE_NAME
.
REPORT_LIST
,
titleLang
:
CONSTANT
.
PAGE_NAME
.
REPORT_LIST
,
href
:
CONSTANT
.
URL_TREE_NAME
.
REPORT_LIST
href
:
CONSTANT
.
URL_TREE_NAME
.
REPORT_LIST
,
},
},
{
{
titleLang
:
CONSTANT
.
PAGE_NAME
.
REPORT_FORM
titleLang
:
CONSTANT
.
PAGE_NAME
.
REPORT_FORM
,
},
},
]
]
;
}
else
{
}
else
{
navs
=
[
navs
=
[
{
{
...
@@ -101,13 +100,13 @@ RF.initBreadcrumb = function () {
...
@@ -101,13 +100,13 @@ RF.initBreadcrumb = function () {
href
:
CONSTANT
.
URL_TREE_NAME
.
OPERATION_LIST
,
href
:
CONSTANT
.
URL_TREE_NAME
.
OPERATION_LIST
,
},
},
{
{
titleLang
:
CONSTANT
.
PAGE_NAME
.
REPORT_FORM
titleLang
:
CONSTANT
.
PAGE_NAME
.
REPORT_FORM
,
},
},
]
]
;
}
}
}
}
TEMPLATE
.
loadMainNavsTitle
(
'#includedMainTitle'
,
CONSTANT
.
PAGE_NAME
.
REPORT_FORM
,
navs
,
null
);
TEMPLATE
.
loadMainNavsTitle
(
'#includedMainTitle'
,
CONSTANT
.
PAGE_NAME
.
REPORT_FORM
,
navs
,
null
);
}
}
;
/**
/**
* iinit form view
* iinit form view
...
@@ -143,3 +142,22 @@ RF.initFormView = function () {
...
@@ -143,3 +142,22 @@ RF.initFormView = function () {
COMMON
.
avwScreenMove
(
'index.html'
);
COMMON
.
avwScreenMove
(
'index.html'
);
}
}
};
};
/**
* back page url
*/
RF
.
backPage
=
function
()
{
if
(
sessionStorage
.
activeHomePage
==
CONSTANT
.
PAGE_TAB
.
DASHBOARD
)
{
if
(
addReportFlg
==
1
)
{
COMMON
.
avwScreenMove
(
'reportList.html'
);
}
else
{
COMMON
.
avwScreenMove
(
'pickup.html'
);
}
}
else
{
if
(
addReportFlg
==
1
)
{
COMMON
.
avwScreenMove
(
'reportList.html'
);
}
else
{
COMMON
.
avwScreenMove
(
'index.html'
);
}
}
};
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