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
d2c14b10
Commit
d2c14b10
authored
Dec 02, 2022
by
Takumi Imai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#50922 表領域がある報告済の作業がある報告で「報告追加」ボタンをクリックしても、処理待ち状態のままになる場合がある
parent
adc38c55
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
19 deletions
+22
-19
abweb/js/reportForm/reportForm.js
+22
-19
No files found.
abweb/js/reportForm/reportForm.js
View file @
d2c14b10
...
...
@@ -122,12 +122,17 @@ RF.initFormView = function () {
if
(
reportStartDate
)
params
.
reportStartDate
=
reportStartDate
;
const
url
=
COMMON
.
format
(
ClientData
.
conf_checkApiUrl
(),
ClientData
.
userInfo_accountPath
())
+
CONSTANT
.
URL
.
CMS
.
HTML
.
BASE
+
CONSTANT
.
URL
.
CMS
.
HTML
.
LIST_REPORT_FORM
;
$
(
'#report-form'
).
load
(
url
,
params
,
function
()
{
initPageLoad
();
COMMON
.
closeLoading
();
$
(
'#report-form'
).
load
(
url
,
params
,
function
(
data
,
status
)
{
if
(
status
===
'success'
)
{
initPageLoad
();
COMMON
.
closeLoading
();
}
else
{
RF
.
backPage
();
COMMON
.
closeLoading
();
}
});
}
else
{
COMMON
.
avwScreenMove
(
'index.html'
);
COMMON
.
avwScreenMove
(
CONSTANT
.
URL_TREE_NAME
.
OPERATION_LIST
);
}
};
...
...
@@ -137,21 +142,19 @@ RF.initFormView = function () {
RF
.
backPage
=
function
()
{
// need to save Data
setTimeout
(
function
()
{
RF
.
initFormView
();
},
750
);
if
(
sessionStorage
.
activeHomePage
==
CONSTANT
.
PAGE_TAB
.
DASHBOARD
)
{
if
(
sessionStorage
.
getItem
(
'pickUpType'
)
==
CONSTANT
.
PICK_UP_TYPE
.
NEW_REPORT
)
{
COMMON
.
avwScreenMove
(
'reportList.html'
);
if
(
sessionStorage
.
activeHomePage
==
CONSTANT
.
PAGE_TAB
.
DASHBOARD
)
{
if
(
sessionStorage
.
getItem
(
'pickUpType'
)
==
CONSTANT
.
PICK_UP_TYPE
.
NEW_REPORT
)
{
COMMON
.
avwScreenMove
(
'reportList.html'
);
}
else
{
COMMON
.
avwScreenMove
(
'pickup.html'
);
}
}
else
{
COMMON
.
avwScreenMove
(
'pickup.html'
);
const
reportType
=
sessionStorage
.
getItem
(
'reportType'
);
if
(
addReportFlg
==
1
||
reportType
==
CONSTANT
.
REPORT_TYPE_INT
.
ROUTINE
)
{
COMMON
.
avwScreenMove
(
'reportList.html'
);
}
else
{
COMMON
.
avwScreenMove
(
'index.html'
);
}
}
}
else
{
const
reportType
=
sessionStorage
.
getItem
(
'reportType'
);
if
(
addReportFlg
==
1
||
reportType
==
CONSTANT
.
REPORT_TYPE_INT
.
ROUTINE
)
{
COMMON
.
avwScreenMove
(
'reportList.html'
);
}
else
{
COMMON
.
avwScreenMove
(
'index.html'
);
}
}
},
750
);
};
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