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
a0ff7e4c
Commit
a0ff7e4c
authored
Oct 26, 2022
by
Takumi Imai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#49768 報告フォームのヒストリーバック用
parent
24ef7ad7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
abvw/common/js/constant.js
+5
-0
abvw/js/operationList/operationList.js
+3
-3
No files found.
abvw/common/js/constant.js
View file @
a0ff7e4c
...
...
@@ -41,6 +41,11 @@ CONSTANT.ADD_REPORT_FLG = {
ABLE
:
'1'
,
};
CONSTANT
.
REPLY_NO
=
{
REPORT
:
'0'
,
ANSWER
:
'1'
,
};
CONSTANT
.
URL
=
{
CMS
:
{
// BASE_CMS: 'https://' + location.host + '/checkapi/web/',
...
...
abvw/js/operationList/operationList.js
View file @
a0ff7e4c
...
...
@@ -510,8 +510,7 @@ OL.sendOperation = function (operationId, operationType, reportType, enableAddRe
let
params
=
{};
params
.
sid
=
COMMON
.
getSid
();
params
.
operationId
=
operationId
;
params
.
returnUrl
=
CONSTANT
.
URL
.
WEB
.
BASE
+
CONSTANT
.
URL
.
WEB
.
OPERATION_LIST
;
const
url
=
OL
.
createUrlOfOperation
(
enableAddReport
,
reportType
);
const
url
=
OL
.
createUrlOfOperation
(
enableAddReport
,
reportType
,
operationId
);
COMMON
.
postCommunication
(
url
,
params
);
};
...
...
@@ -539,6 +538,7 @@ OL.saveOperationReadingLog = function (operationId, operationType, reportType) {
*
* @param {boolean} enableAddReport
* @param {Number} reportType
* @param {Number} operationId
* @returns url
*/
OL
.
createUrlOfOperation
=
function
(
enableAddReport
,
reportType
)
{
...
...
@@ -546,6 +546,6 @@ OL.createUrlOfOperation = function (enableAddReport, reportType) {
if
(
reportType
==
CONSTANT
.
REPORT_TYPE
.
ROUTINE
||
enableAddReport
==
'1'
)
{
return
baseUrl
+
CONSTANT
.
URL
.
CMS
.
HTML
.
TASK_REPORT_LIST
;
}
else
{
return
baseUrl
+
CONSTANT
.
URL
.
CMS
.
HTML
.
LIST_REPORT_FORM
;
return
baseUrl
+
CONSTANT
.
URL
.
CMS
.
HTML
.
LIST_REPORT_FORM
+
'/'
+
CONSTANT
.
REPLY_NO
.
REPORT
;
}
};
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