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
0ca80b2d
Commit
0ca80b2d
authored
2 years ago
by
Kang Donghun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
additional commit
parent
f2d74518
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
14 additions
and
8 deletions
+14
-8
abweb/common/js/constant.js
+6
-0
abweb/js/dashboardSetting/dashboard-setting.js
+1
-1
abweb/js/operationList/operationList.js
+1
-1
abweb/js/pickup/pickup.js
+3
-3
abweb/js/pushMessageDetail/push-message-detail.js
+1
-1
abweb/js/pushMessageList/push-message-list.js
+1
-1
abweb/js/sendMessage/send-message.js
+1
-1
No files found.
abweb/common/js/constant.js
View file @
0ca80b2d
...
...
@@ -60,6 +60,12 @@ CONSTANT.URL = {
SAVE_DASHBOARD_SETTING
:
'saveDashboardSetting/'
,
PUSH_MESSAGE_TEMPLATE
:
'pushMessageTemplate/'
,
OPERATION_SELECT
:
'operationSelect/'
,
NEW_REPORT
:
'newReport/'
,
WORKING_FLOW
:
'workingFlow/'
,
WARNING_WITH_REPORT
:
'warningWithReport/'
,
PUSH_MESSAGE_DETAIL
:
'pushMessageDetail/'
,
PUSH_MESSAGE_LIST
:
'pushMessageList/'
,
SEND_PUSH_MESSAGE
:
'sendPushMessage/'
,
},
HTML
:
{
...
...
This diff is collapsed.
Click to expand it.
abweb/js/dashboardSetting/dashboard-setting.js
View file @
0ca80b2d
...
...
@@ -122,7 +122,7 @@ DashboardSetting.saveSetting = function () {
const
element
=
DashboardSetting
.
elementItems
[
key
];
param
[
key
]
=
element
.
enabled
?
1
:
0
;
}
const
url
=
CO
NSTANT
.
URL
.
CMS
.
BASE
+
ClientData
.
userInfo_accountPath
()
+
CONSTANT
.
URL
.
CMS
.
API
.
BASE
+
'saveDashboardSetting/'
;
const
url
=
CO
MMON
.
format
(
ClientData
.
conf_checkApiUrl
(),
ClientData
.
userInfo_accountPath
)
+
CONSTANT
.
URL
.
CMS
.
API
.
SAVE_DASHBOARD_SETTING
;
COMMON
.
cmsAjax
(
url
,
param
,
false
,
function
(
json
)
{
DashboardSetting
.
closeModal
();
if
(
DashboardSetting
.
changeSettingCallback
&&
typeof
DashboardSetting
.
changeSettingCallback
===
'function'
)
{
...
...
This diff is collapsed.
Click to expand it.
abweb/js/operationList/operationList.js
View file @
0ca80b2d
...
...
@@ -539,7 +539,7 @@ OL.saveOperationReadingLog = function (operationId, operationType, reportType) {
* @returns url
*/
OL
.
createUrlOfOperation
=
function
(
enableAddReport
,
reportType
)
{
let
baseUrl
=
COMMON
.
format
(
ClientData
.
conf_checkApiUrl
(),
ClientData
.
userInfo_accountPath
)
+
CONSTANT
.
URL
.
HTML
.
BASE
;
let
baseUrl
=
COMMON
.
format
(
ClientData
.
conf_checkApiUrl
(),
ClientData
.
userInfo_accountPath
)
+
CONSTANT
.
URL
.
CMS
.
HTML
.
BASE
;
if
(
reportType
==
CONSTANT
.
REPORT_TYPE
.
ROUTINE
||
enableAddReport
==
'1'
)
{
return
baseUrl
+
CONSTANT
.
URL
.
CMS
.
HTML
.
TASK_REPORT_LIST
;
}
else
{
...
...
This diff is collapsed.
Click to expand it.
abweb/js/pickup/pickup.js
View file @
0ca80b2d
...
...
@@ -48,9 +48,9 @@ PICKUP.defaultPickupList = {
}
PICKUP
.
baseApiUrl
=
COMMON
.
format
(
ClientData
.
conf_checkApiUrl
(),
ClientData
.
userInfo_accountPath
);
PICKUP
.
getNewReportListApiUrl
=
PICKUP
.
baseApiUrl
+
'newReport'
;
PICKUP
.
getContinuousWorkListApiUrl
=
PICKUP
.
baseApiUrl
+
'workingFlow'
;
PICKUP
.
getReportWithWarningsListApiUrl
=
PICKUP
.
baseApiUrl
+
'warningWithReport'
;
PICKUP
.
getNewReportListApiUrl
=
PICKUP
.
baseApiUrl
+
CONSTANT
.
URL
.
CMS
.
API
.
NEW_REPORT
;
PICKUP
.
getContinuousWorkListApiUrl
=
PICKUP
.
baseApiUrl
+
CONSTANT
.
URL
.
CMS
.
API
.
WORKING_FLOW
;
PICKUP
.
getReportWithWarningsListApiUrl
=
PICKUP
.
baseApiUrl
+
CONSTANT
.
URL
.
CMS
.
API
.
WARNING_WITH_REPORT
;
/**
* Call get new report list api get data
...
...
This diff is collapsed.
Click to expand it.
abweb/js/pushMessageDetail/push-message-detail.js
View file @
0ca80b2d
var
PushMessageDetail
=
{};
PushMessageDetail
.
baseApiUrl
=
COMMON
.
format
(
ClientData
.
conf_checkApiUrl
(),
ClientData
.
userInfo_accountPath
)
+
'pushMessageDetail/'
;
PushMessageDetail
.
baseApiUrl
=
COMMON
.
format
(
ClientData
.
conf_checkApiUrl
(),
ClientData
.
userInfo_accountPath
)
+
CONSTANT
.
URL
.
CMS
.
API
.
PUSH_MESSAGE_DETAIL
;
PushMessageDetail
.
dummyMessageDetailJson
=
{
pushMessageId
:
1
,
...
...
This diff is collapsed.
Click to expand it.
abweb/js/pushMessageList/push-message-list.js
View file @
0ca80b2d
...
...
@@ -3,7 +3,7 @@
* @since cms:1.4.3.2&1.4.3.3 web:1.0
*/
var
PushMessageList
=
{};
PushMessageList
.
baseApiUrl
=
COMMON
.
format
(
ClientData
.
conf_checkApiUrl
(),
ClientData
.
userInfo_accountPath
)
+
'
pushMessageList/
'
;
PushMessageList
.
baseApiUrl
=
COMMON
.
format
(
ClientData
.
conf_checkApiUrl
(),
ClientData
.
userInfo_accountPath
)
+
''
;
/**
* Init when html onload
...
...
This diff is collapsed.
Click to expand it.
abweb/js/sendMessage/send-message.js
View file @
0ca80b2d
...
...
@@ -5,7 +5,7 @@
*/
var
SendMessage
=
{};
SendMessage
.
baseApiUrl
=
COMMON
.
format
(
ClientData
.
conf_checkApiUrl
(),
ClientData
.
userInfo_accountPath
)
+
'sendPushMessage/'
;
SendMessage
.
baseApiUrl
=
COMMON
.
format
(
ClientData
.
conf_checkApiUrl
(),
ClientData
.
userInfo_accountPath
)
+
CONSTANT
.
URL
.
CMS
.
API
.
SEND_PUSH_MESSAGE
;
/**
* Get input content
...
...
This diff is collapsed.
Click to expand it.
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