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
0457bca1
Commit
0457bca1
authored
Nov 11, 2022
by
Takumi Imai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ファイルコメント追加
parent
f4b02a86
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
705 additions
and
657 deletions
+705
-657
abweb/js/dashboardSetting/dashboardSetting.js
+60
-48
abweb/js/login/login.js
+526
-520
abweb/js/notificationContent/notificationContent.js
+55
-48
abweb/js/operationSelect/operationSelect.js
+40
-36
abweb/js/pdfPrint/pdfPrint.js
+5
-1
abweb/js/pushMessageDetail/pushMessageDetail.js
+5
-0
abweb/js/reportForm/reportForm.js
+4
-1
abweb/js/reportList/reportList.js
+5
-1
abweb/js/sendMessage/sendMessage.js
+1
-1
abweb/js/setting/settings.js
+4
-1
No files found.
abweb/js/dashboardSetting/dashboardSetting.js
View file @
0457bca1
/**
/**
* Dashboard Setting js in dashboard.html
* Dashboard Setting js in dashboard.html
*
*
* @since
1.0 check web
* @since
cms:1.4.3.2&1.4.3.3 web:1.0
*/
*/
var
DashboardSetting
=
{};
var
DashboardSetting
=
{};
DashboardSetting
.
changeSettingCallback
=
function
()
{};
DashboardSetting
.
changeSettingCallback
=
function
()
{};
/**
/**
* Html element array, map with json key from setting data API
* Html element array, map with json key from setting data API
...
@@ -27,33 +27,33 @@ DashboardSetting.defaultSetting = {
...
@@ -27,33 +27,33 @@ DashboardSetting.defaultSetting = {
continousWork
:
1
,
continousWork
:
1
,
warningReport
:
1
,
warningReport
:
1
,
dashboardHome
:
0
,
dashboardHome
:
0
,
}
}
;
/** dummy setting json reponse */
/** dummy setting json reponse */
DashboardSetting
.
dummySettingJson
=
{
DashboardSetting
.
dummySettingJson
=
{
dashboardSettingList
:
[
dashboardSettingList
:
[
{
{
"id"
:
1
,
id
:
1
,
"settingName"
:
"New Report"
,
settingName
:
'New Report'
,
"settingValue"
:
1
settingValue
:
1
,
},
},
{
{
"id"
:
2
,
id
:
2
,
"settingName"
:
"Continous Work"
,
settingName
:
'Continous Work'
,
"settingValue"
:
1
settingValue
:
1
,
},
},
{
{
"id"
:
3
,
id
:
3
,
"settingName"
:
"Warning Report"
,
settingName
:
'Warning Report'
,
"settingValue"
:
1
settingValue
:
1
,
},
},
{
{
"id"
:
4
,
id
:
4
,
"settingName"
:
"Dashboard Home"
,
settingName
:
'Dashboard Home'
,
"settingValue"
:
0
settingValue
:
0
,
}
}
,
],
],
}
}
;
/**
/**
* get setting data from cms
* get setting data from cms
...
@@ -64,34 +64,40 @@ DashboardSetting.getSettingData = function (callback) {
...
@@ -64,34 +64,40 @@ DashboardSetting.getSettingData = function (callback) {
sid
:
COMMON
.
getSid
(),
sid
:
COMMON
.
getSid
(),
};
};
const
url
=
DashboardSetting
.
baseApiUrl
;
const
url
=
DashboardSetting
.
baseApiUrl
;
COMMON
.
cmsAjax
(
url
,
param
,
false
,
function
(
json
)
{
COMMON
.
cmsAjax
(
let
settings
=
{};
url
,
//map id with key when save setting
param
,
const
mapKeys
=
{
false
,
1
:
'newReport'
,
function
(
json
)
{
2
:
'continousWork'
,
let
settings
=
{};
3
:
'warningReport'
,
//map id with key when save setting
4
:
'dashboardHome'
const
mapKeys
=
{
};
1
:
'newReport'
,
if
(
json
&&
json
.
dashboardSettingList
)
{
2
:
'continousWork'
,
for
(
const
item
of
json
.
dashboardSettingList
)
{
3
:
'warningReport'
,
if
(
mapKeys
.
hasOwnProperty
(
item
.
id
))
{
4
:
'dashboardHome'
,
const
settingKey
=
mapKeys
[
item
.
id
];
};
settings
[
settingKey
]
=
item
.
settingValue
;
if
(
json
&&
json
.
dashboardSettingList
)
{
for
(
const
item
of
json
.
dashboardSettingList
)
{
if
(
mapKeys
.
hasOwnProperty
(
item
.
id
))
{
const
settingKey
=
mapKeys
[
item
.
id
];
settings
[
settingKey
]
=
item
.
settingValue
;
}
}
}
}
}
}
if
(
callback
)
{
if
(
callback
)
{
callback
(
settings
);
callback
(
settings
);
}
}
},
},
function
()
{
function
()
{
console
.
log
(
'DashboardSetting.getSettingData error'
);
console
.
log
(
'DashboardSetting.getSettingData error'
);
});
},
);
};
};
/**
/**
* apply settings to screen
* apply settings to screen
* @param {JSON} settings
* @param {JSON} settings
*/
*/
DashboardSetting
.
applySettings
=
function
(
settings
)
{
DashboardSetting
.
applySettings
=
function
(
settings
)
{
for
(
const
key
in
settings
)
{
for
(
const
key
in
settings
)
{
...
@@ -123,15 +129,21 @@ DashboardSetting.saveSetting = function () {
...
@@ -123,15 +129,21 @@ DashboardSetting.saveSetting = function () {
param
[
key
]
=
element
.
enabled
?
1
:
0
;
param
[
key
]
=
element
.
enabled
?
1
:
0
;
}
}
const
url
=
COMMON
.
format
(
ClientData
.
conf_checkApiUrl
(),
ClientData
.
userInfo_accountPath
())
+
CONSTANT
.
URL
.
CMS
.
API
.
SAVE_DASHBOARD_SETTING
;
const
url
=
COMMON
.
format
(
ClientData
.
conf_checkApiUrl
(),
ClientData
.
userInfo_accountPath
())
+
CONSTANT
.
URL
.
CMS
.
API
.
SAVE_DASHBOARD_SETTING
;
COMMON
.
cmsAjax
(
url
,
param
,
false
,
function
(
json
)
{
COMMON
.
cmsAjax
(
DashboardSetting
.
closeModal
();
url
,
if
(
DashboardSetting
.
changeSettingCallback
&&
typeof
DashboardSetting
.
changeSettingCallback
===
'function'
)
{
param
,
DashboardSetting
.
changeSettingCallback
();
false
,
}
function
(
json
)
{
},
function
()
{
DashboardSetting
.
closeModal
();
console
.
log
(
'DashboardSetting.saveSetting error'
);
if
(
DashboardSetting
.
changeSettingCallback
&&
typeof
DashboardSetting
.
changeSettingCallback
===
'function'
)
{
DashboardSetting
.
closeModal
();
DashboardSetting
.
changeSettingCallback
();
});
}
},
function
()
{
console
.
log
(
'DashboardSetting.saveSetting error'
);
DashboardSetting
.
closeModal
();
},
);
};
};
/**
/**
...
...
abweb/js/login/login.js
View file @
0457bca1
// prepared to use Global object(LOGIN)
/**
* prepared to use Global object(LOGIN)
* @since cms:1.4.3.2&1.4.3.3 web:1.0
**/
var
LOGIN
=
{};
var
LOGIN
=
{};
// var requirePasswordChange;
// var requirePasswordChange;
...
@@ -9,579 +13,581 @@ LOGIN.optionList = [];
...
@@ -9,579 +13,581 @@ LOGIN.optionList = [];
LOGIN
.
force_pw_change_on_login
;
LOGIN
.
force_pw_change_on_login
;
LOGIN
.
force_pw_change_periodically
;
LOGIN
.
force_pw_change_periodically
;
LOGIN
.
login_error_flag
=
false
;
LOGIN
.
login_error_flag
=
false
;
LOGIN
.
login_errorMessage
=
""
;
LOGIN
.
login_errorMessage
=
''
;
LOGIN
.
timeWaitSplashScreen
=
2000
;
// wait splash screen 2 second
LOGIN
.
timeWaitSplashScreen
=
2000
;
// wait splash screen 2 second
// Load login Info
// Load login Info
LOGIN
.
loadLoginInfo
=
function
()
{
LOGIN
.
loadLoginInfo
=
function
()
{
$
(
'#chkRemember'
).
attr
(
'checked'
,
'checked'
);
$
(
'#chkRemember'
).
attr
(
'checked'
,
'checked'
);
if
(
ClientData
.
userInfo_accountPath
()
!=
null
)
{
if
(
ClientData
.
userInfo_accountPath
()
!=
null
)
{
$
(
'#txtAccPath'
).
val
(
ClientData
.
userInfo_accountPath
());
$
(
'#txtAccPath'
).
val
(
ClientData
.
userInfo_accountPath
());
}
}
if
(
ClientData
.
userInfo_loginId
()
!=
null
)
{
if
(
ClientData
.
userInfo_loginId
()
!=
null
)
{
$
(
'#txtAccId'
).
val
(
ClientData
.
userInfo_loginId
());
$
(
'#txtAccId'
).
val
(
ClientData
.
userInfo_loginId
());
}
}
};
};
// Initial Screen
// Initial Screen
LOGIN
.
initialScreen
=
function
()
{
LOGIN
.
initialScreen
=
function
()
{
if
(
ClientData
.
userInfo_rememberLogin
())
{
if
(
ClientData
.
userInfo_rememberLogin
())
{
LOGIN
.
loadLoginInfo
();
LOGIN
.
loadLoginInfo
();
}
else
{
}
else
{
$
(
'#txtAccPath'
).
val
(
""
);
$
(
'#txtAccPath'
).
val
(
''
);
$
(
'#txtAccId'
).
val
(
""
);
$
(
'#txtAccId'
).
val
(
''
);
}
}
};
};
// check Save Login Info
// check Save Login Info
LOGIN
.
saveLoginInfo
=
function
()
{
LOGIN
.
saveLoginInfo
=
function
()
{
var
lang
=
I18N
.
getCurrentLanguage
();
var
lang
=
I18N
.
getCurrentLanguage
();
// load language
// load language
I18N
.
changeLanguage
(
lang
);
I18N
.
changeLanguage
(
lang
);
var
accountPath
,
loginId
,
password
;
var
accountPath
,
loginId
,
password
;
var
chkRemember
=
$
(
'#chkRemember'
).
attr
(
'checked'
);
var
chkRemember
=
$
(
'#chkRemember'
).
attr
(
'checked'
);
accountPath
=
$
(
'#txtAccPath'
).
val
();
accountPath
=
$
(
'#txtAccPath'
).
val
();
loginId
=
$
(
'#txtAccId'
).
val
();
loginId
=
$
(
'#txtAccId'
).
val
();
password
=
$
(
'#txtPassword'
).
val
();
password
=
$
(
'#txtPassword'
).
val
();
// save user data to local storage
// save user data to local storage
var
date
=
new
Date
();
var
date
=
new
Date
();
ClientData
.
userInfo_accountPath
(
accountPath
);
ClientData
.
userInfo_accountPath
(
accountPath
);
ClientData
.
userInfo_loginId
(
loginId
);
ClientData
.
userInfo_loginId
(
loginId
);
ClientData
.
userInfo_accountPath_session
(
accountPath
);
ClientData
.
userInfo_accountPath_session
(
accountPath
);
ClientData
.
userInfo_loginId_session
(
loginId
);
ClientData
.
userInfo_loginId_session
(
loginId
);
ClientData
.
userInfo_userName
(
LOGIN
.
userInfo_userName
);
ClientData
.
userInfo_userName
(
LOGIN
.
userInfo_userName
);
if
(
chkRemember
==
'checked'
)
{
if
(
chkRemember
==
'checked'
)
{
ClientData
.
userInfo_rememberLogin
(
true
);
ClientData
.
userInfo_rememberLogin
(
true
);
}
else
{
}
else
{
ClientData
.
userInfo_rememberLogin
(
false
);
ClientData
.
userInfo_rememberLogin
(
false
);
}
}
ClientData
.
userInfo_lastLoginTime
(
date
.
jpDateTimeString
());
ClientData
.
userInfo_lastLoginTime
(
date
.
jpDateTimeString
());
ClientData
.
userInfo_sid_local
(
LOGIN
.
userinfo_sid
);
ClientData
.
userInfo_sid_local
(
LOGIN
.
userinfo_sid
);
// save sid for backup
// save sid for backup
ClientData
.
userInfo_sid_local_bak
(
LOGIN
.
userinfo_sid
);
ClientData
.
userInfo_sid_local_bak
(
LOGIN
.
userinfo_sid
);
LOGIN
.
saveServiceUserOption
();
LOGIN
.
saveServiceUserOption
();
// reset to paging function
// reset to paging function
ClientData
.
JumpQueue
([]);
ClientData
.
JumpQueue
([]);
ClientData
.
IsJumpBack
(
false
);
ClientData
.
IsJumpBack
(
false
);
};
};
// Check validation
// Check validation
LOGIN
.
checkValidation
=
function
()
{
LOGIN
.
checkValidation
=
function
()
{
var
accountPath
=
$
(
'#txtAccPath'
).
val
();
var
accountPath
=
$
(
'#txtAccPath'
).
val
();
var
loginId
=
$
(
'#txtAccId'
).
val
();
var
loginId
=
$
(
'#txtAccId'
).
val
();
var
password
=
$
(
'#txtPassword'
).
val
();
var
password
=
$
(
'#txtPassword'
).
val
();
var
msgError
=
$
(
'#main-error-message'
);
var
msgError
=
$
(
'#main-error-message'
);
if
(
!
ValidationUtil
.
CheckRequiredForText
(
accountPath
))
{
if
(
!
ValidationUtil
.
CheckRequiredForText
(
accountPath
))
{
LOGIN
.
login_errorMessage
=
''
;
LOGIN
.
login_errorMessage
=
""
;
msgError
.
html
(
I18N
.
i18nText
(
'msgLoginEmpty'
));
msgError
.
html
(
I18N
.
i18nText
(
'msgLoginEmpty'
));
msgError
.
attr
(
'lang'
,
'msgLoginEmpty'
);
msgError
.
attr
(
'lang'
,
'msgLoginEmpty'
);
msgError
.
show
();
msgError
.
show
();
return
false
;
return
false
;
}
else
if
(
!
ValidationUtil
.
CheckRequiredForText
(
loginId
))
{
}
else
if
(
!
ValidationUtil
.
CheckRequiredForText
(
loginId
))
{
LOGIN
.
login_errorMessage
=
''
;
LOGIN
.
login_errorMessage
=
""
;
msgError
.
html
(
I18N
.
i18nText
(
'msgLoginEmpty'
));
msgError
.
html
(
I18N
.
i18nText
(
'msgLoginEmpty'
));
msgError
.
attr
(
'lang'
,
'msgLoginEmpty'
);
msgError
.
attr
(
'lang'
,
'msgLoginEmpty'
);
msgError
.
show
();
msgError
.
show
();
return
false
;
return
false
;
}
else
if
(
!
ValidationUtil
.
CheckRequiredForText
(
password
))
{
}
else
if
(
!
ValidationUtil
.
CheckRequiredForText
(
password
))
{
LOGIN
.
login_errorMessage
=
''
;
LOGIN
.
login_errorMessage
=
""
;
msgError
.
html
(
I18N
.
i18nText
(
'msgLoginEmpty'
));
msgError
.
html
(
I18N
.
i18nText
(
'msgLoginEmpty'
));
msgError
.
attr
(
'lang'
,
'msgLoginEmpty'
);
msgError
.
attr
(
'lang'
,
'msgLoginEmpty'
);
msgError
.
show
();
msgError
.
show
();
return
false
;
return
false
;
}
else
{
}
else
{
return
true
;
return
true
;
}
}
};
};
// Check Dialog validation
// Check Dialog validation
LOGIN
.
checkDialogValidation
=
function
()
{
LOGIN
.
checkDialogValidation
=
function
()
{
var
currentPass
=
$
(
'#txtCurrentPass'
).
val
();
var
currentPass
=
$
(
'#txtCurrentPass'
).
val
();
var
newPass
=
$
(
'#txtNewPass'
).
val
();
var
newPass
=
$
(
'#txtNewPass'
).
val
();
var
confirmPass
=
$
(
'#txtConfirmNew'
).
val
();
var
confirmPass
=
$
(
'#txtConfirmNew'
).
val
();
var
msgError
=
$
(
'#dialog-error-message'
);
var
msgError
=
$
(
'#dialog-error-message'
);
if
(
!
ValidationUtil
.
CheckRequiredForText
(
currentPass
))
{
if
(
!
ValidationUtil
.
CheckRequiredForText
(
currentPass
))
{
LOGIN
.
login_errorMessage
=
""
;
LOGIN
.
login_errorMessage
=
''
;
msgError
.
html
(
I18N
.
i18nText
(
'msgPwdEmpty'
));
msgError
.
html
(
I18N
.
i18nText
(
'msgPwdEmpty'
));
msgError
.
attr
(
'lang'
,
'msgPwdEmpty'
);
msgError
.
attr
(
'lang'
,
'msgPwdEmpty'
);
msgError
.
show
();
msgError
.
show
();
return
false
;
return
false
;
}
else
if
(
!
ValidationUtil
.
CheckRequiredForText
(
newPass
))
{
}
else
if
(
!
ValidationUtil
.
CheckRequiredForText
(
newPass
))
{
LOGIN
.
login_errorMessage
=
""
;
LOGIN
.
login_errorMessage
=
''
;
msgError
.
html
(
I18N
.
i18nText
(
'msgPwdEmpty'
));
msgError
.
html
(
I18N
.
i18nText
(
'msgPwdEmpty'
));
msgError
.
attr
(
'lang'
,
'msgPwdEmpty'
);
msgError
.
attr
(
'lang'
,
'msgPwdEmpty'
);
msgError
.
show
();
msgError
.
show
();
return
false
;
return
false
;
}
else
{
}
else
{
if
(
newPass
!=
confirmPass
)
{
if
(
newPass
!=
confirmPass
)
{
LOGIN
.
login_errorMessage
=
""
;
LOGIN
.
login_errorMessage
=
''
;
msgError
.
html
(
I18N
.
i18nText
(
'msgPwdNotMatch'
));
msgError
.
html
(
I18N
.
i18nText
(
'msgPwdNotMatch'
));
msgError
.
attr
(
'lang'
,
'msgPwdNotMatch'
);
msgError
.
attr
(
'lang'
,
'msgPwdNotMatch'
);
msgError
.
show
();
msgError
.
show
();
return
false
;
return
false
;
}
else
if
(
!
ValidationUtil
.
CheckMinLengthForByte
(
newPass
,
6
))
{
}
else
if
(
!
ValidationUtil
.
CheckMinLengthForByte
(
newPass
,
6
))
{
LOGIN
.
login_errorMessage
=
""
;
LOGIN
.
login_errorMessage
=
''
;
msgError
.
html
(
I18N
.
i18nText
(
'msgInvaildLength'
));
msgError
.
html
(
I18N
.
i18nText
(
'msgInvaildLength'
));
msgError
.
attr
(
'lang'
,
'msgInvaildLength'
);
msgError
.
attr
(
'lang'
,
'msgInvaildLength'
);
msgError
.
show
();
msgError
.
show
();
return
false
;
return
false
;
}
else
if
(
!
ValidationUtil
.
CheckMaxLengthForByte
(
newPass
,
16
))
{
}
else
if
(
!
ValidationUtil
.
CheckMaxLengthForByte
(
newPass
,
16
))
{
LOGIN
.
login_errorMessage
=
""
;
LOGIN
.
login_errorMessage
=
''
;
msgError
.
html
(
I18N
.
i18nText
(
'msgInvaildLength'
));
msgError
.
html
(
I18N
.
i18nText
(
'msgInvaildLength'
));
msgError
.
attr
(
'lang'
,
'msgInvaildLength'
);
msgError
.
attr
(
'lang'
,
'msgInvaildLength'
);
msgError
.
show
();
msgError
.
show
();
return
false
;
return
false
;
}
else
if
(
ValidationUtil
.
HasSeqChar
(
newPass
,
3
))
{
}
else
if
(
ValidationUtil
.
HasSeqChar
(
newPass
,
3
))
{
LOGIN
.
login_errorMessage
=
""
;
LOGIN
.
login_errorMessage
=
''
;
msgError
.
html
(
I18N
.
i18nText
(
'msgHasSeqChar'
));
msgError
.
html
(
I18N
.
i18nText
(
'msgHasSeqChar'
));
msgError
.
attr
(
'lang'
,
'msgHasSeqChar'
);
msgError
.
attr
(
'lang'
,
'msgHasSeqChar'
);
msgError
.
show
();
msgError
.
show
();
return
false
;
return
false
;
}
else
if
(
ValidationUtil
.
ContainSameSeqChar
(
newPass
,
currentPass
,
4
))
{
}
else
if
(
ValidationUtil
.
ContainSameSeqChar
(
newPass
,
currentPass
,
4
))
{
LOGIN
.
login_errorMessage
=
""
;
LOGIN
.
login_errorMessage
=
''
;
msgError
.
html
(
I18N
.
i18nText
(
'msgContainSameSeqChar'
));
msgError
.
html
(
I18N
.
i18nText
(
'msgContainSameSeqChar'
));
msgError
.
attr
(
'lang'
,
'msgContainSameSeqChar'
);
msgError
.
attr
(
'lang'
,
'msgContainSameSeqChar'
);
msgError
.
show
();
msgError
.
show
();
return
false
;
return
false
;
}
else
{
}
else
{
return
true
;
return
true
;
}
}
}
}
};
};
// Login Process
// Login Process
LOGIN
.
processLogin
=
function
()
{
LOGIN
.
processLogin
=
function
()
{
var
accountPath
=
""
;
var
accountPath
=
''
;
var
loginId
=
""
;
var
loginId
=
''
;
var
password
=
""
;
var
password
=
''
;
loginId
=
$
(
'#txtAccId'
).
val
();
loginId
=
$
(
'#txtAccId'
).
val
();
password
=
$
(
'#txtPassword'
).
val
();
password
=
$
(
'#txtPassword'
).
val
();
accountPath
=
$
(
'#txtAccPath'
).
val
();
accountPath
=
$
(
'#txtAccPath'
).
val
();
var
requireChangePassword
=
0
;
var
requireChangePassword
=
0
;
var
skipPwdDate
;
var
skipPwdDate
;
var
params
=
{
var
params
=
{
previousSid
:
''
,
previousSid
:
''
,
loginId
:
loginId
,
loginId
:
loginId
,
password
:
password
,
password
:
password
,
urlpath
:
accountPath
urlpath
:
accountPath
,
};
};
// Set sid for login, this will be checked authoring 2 sessions
// Set sid for login, this will be checked authoring 2 sessions
if
(
ClientData
.
userInfo_sid_local
())
{
if
(
ClientData
.
userInfo_sid_local
())
{
params
.
previousSid
=
ClientData
.
userInfo_sid_local
();
params
.
previousSid
=
ClientData
.
userInfo_sid_local
();
}
}
// Get url to login
// Get url to login
url
=
COMMON
.
format
(
ClientData
.
conf_checkApiUrl
(),
accountPath
)
+
CONSTANT
.
URL
.
CMS
.
API
.
LOGIN
;
url
=
COMMON
.
format
(
ClientData
.
conf_checkApiUrl
(),
accountPath
)
+
CONSTANT
.
URL
.
CMS
.
API
.
LOGIN
;
COMMON
.
cmsAjax
(
url
,
params
,
true
,
function
(
data
)
{
COMMON
.
cmsAjax
(
LOGIN
.
userinfo_sid
=
data
.
sid
;
url
,
LOGIN
.
userInfo_userName
=
data
.
userName
;
params
,
LOGIN
.
optionList
=
data
.
serviceOptionList
;
true
,
function
(
data
)
{
LOGIN
.
getServiceOptionList
();
LOGIN
.
userinfo_sid
=
data
.
sid
;
LOGIN
.
userInfo_userName
=
data
.
userName
;
if
(
data
.
result
==
'success'
)
{
LOGIN
.
optionList
=
data
.
serviceOptionList
;
// Save retrieved info
LOGIN
.
saveLoginInfo
();
LOGIN
.
getServiceOptionList
();
// set number new push message to 0
ClientData
.
pushInfo_newMsgNumber
(
0
);
if
(
data
.
result
==
'success'
)
{
// Save retrieved info
$
(
'#main-error-message'
).
css
(
'display'
,
'none'
);
LOGIN
.
saveLoginInfo
();
// set number new push message to 0
console
.
log
(
"data.requirePasswordChange:"
+
data
.
requirePasswordChange
);
ClientData
.
pushInfo_newMsgNumber
(
0
);
COMMON
.
closeLoading
();
$
(
'#main-error-message'
).
css
(
'display'
,
'none'
);
if
(
data
.
requirePasswordChange
==
0
)
{
ClientData
.
userInfo_sid
(
ClientData
.
userInfo_sid_local
());
console
.
log
(
'data.requirePasswordChange:'
+
data
.
requirePasswordChange
);
COMMON
.
closeLoading
();
// move to home.html page
COMMON
.
avwScreenMove
(
"index.html"
);
if
(
data
.
requirePasswordChange
==
0
)
{
ClientData
.
userInfo_sid
(
ClientData
.
userInfo_sid_local
());
}
else
if
(
data
.
requirePasswordChange
==
1
)
{
// move to home.html page
if
(
LOGIN
.
force_pw_change_on_login
==
2
)
{
// force to change
COMMON
.
avwScreenMove
(
'index.html'
);
// password
}
else
if
(
data
.
requirePasswordChange
==
1
)
{
LOGIN
.
OpenChangePasswordDialog
();
if
(
LOGIN
.
force_pw_change_on_login
==
2
)
{
$
(
".ui-dialog-titlebar"
).
hide
();
// force to change
$
(
'#btnSkip'
).
hide
();
// password
$
(
"#txtPwdRemind"
).
css
(
'visibility'
,
'hidden'
);
LOGIN
.
OpenChangePasswordDialog
();
}
else
if
(
LOGIN
.
force_pw_change_on_login
==
1
)
{
// recommend
$
(
'.ui-dialog-titlebar'
).
hide
();
// to change
$
(
'#btnSkip'
).
hide
();
// password
$
(
'#txtPwdRemind'
).
css
(
'visibility'
,
'hidden'
);
}
else
if
(
LOGIN
.
force_pw_change_on_login
==
1
)
{
// Check 30 days
// recommend
skipPwdDate
=
ClientData
.
userInfo_pwdSkipDt
();
// to change
// password
if
(
skipPwdDate
==
null
||
skipPwdDate
==
'undefined'
)
{
LOGIN
.
OpenChangePasswordDialog
();
// Check 30 days
$
(
'#btnSkip'
).
show
();
skipPwdDate
=
ClientData
.
userInfo_pwdSkipDt
();
$
(
".ui-dialog-titlebar"
).
hide
();
}
else
{
if
(
skipPwdDate
==
null
||
skipPwdDate
==
'undefined'
)
{
var
date
=
new
Date
();
LOGIN
.
OpenChangePasswordDialog
();
var
skpPwdDt
=
new
Date
(
skipPwdDate
);
$
(
'#btnSkip'
).
show
();
var
numDay
=
date
.
subtractByDays
(
skpPwdDt
);
$
(
'.ui-dialog-titlebar'
).
hide
();
if
(
numDay
<=
30
)
{
}
else
{
var
date
=
new
Date
();
ClientData
.
userInfo_sid
(
ClientData
.
userInfo_sid_local
());
var
skpPwdDt
=
new
Date
(
skipPwdDate
);
// move to home.html page
var
numDay
=
date
.
subtractByDays
(
skpPwdDt
);
COMMON
.
avwScreenMove
(
"index.html"
);
if
(
numDay
<=
30
)
{
}
else
if
(
numDay
>
30
)
{
ClientData
.
userInfo_sid
(
ClientData
.
userInfo_sid_local
());
LOGIN
.
OpenChangePasswordDialog
();
// move to home.html page
$
(
'#btnSkip'
).
show
();
COMMON
.
avwScreenMove
(
'index.html'
);
$
(
".ui-dialog-titlebar"
).
hide
();
}
else
if
(
numDay
>
30
)
{
}
LOGIN
.
OpenChangePasswordDialog
();
}
$
(
'#btnSkip'
).
show
();
}
else
{
// no need to change password
$
(
'.ui-dialog-titlebar'
).
hide
();
ClientData
.
userInfo_sid
(
ClientData
.
userInfo_sid_local
());
}
}
// move to home.html page
}
else
{
COMMON
.
avwScreenMove
(
"index.html"
);
// no need to change password
}
ClientData
.
userInfo_sid
(
ClientData
.
userInfo_sid_local
());
}
else
if
(
data
.
requirePasswordChange
==
2
)
{
// move to home.html page
if
(
LOGIN
.
force_pw_change_periodically
==
1
)
{
// recommend to
COMMON
.
avwScreenMove
(
'index.html'
);
// change
}
// password
}
else
if
(
data
.
requirePasswordChange
==
2
)
{
$
(
'#btnSkip'
).
show
();
if
(
LOGIN
.
force_pw_change_periodically
==
1
)
{
skipPwdDate
=
ClientData
.
userInfo_pwdSkipDt
();
// recommend to
// change
if
(
skipPwdDate
==
null
||
skipPwdDate
==
'undefined'
)
{
// password
LOGIN
.
OpenChangePasswordDialog
();
$
(
'#btnSkip'
).
show
();
$
(
".ui-dialog-titlebar"
).
hide
();
skipPwdDate
=
ClientData
.
userInfo_pwdSkipDt
();
}
else
{
if
(
skipPwdDate
==
null
||
skipPwdDate
==
'undefined'
)
{
var
date
=
new
Date
();
LOGIN
.
OpenChangePasswordDialog
();
var
skpPwdDt
=
new
Date
(
skipPwdDate
);
$
(
'.ui-dialog-titlebar'
).
hide
();
var
numDay
=
date
.
subtractByDays
(
skpPwdDt
);
}
else
{
var
date
=
new
Date
();
if
(
numDay
<=
30
)
{
var
skpPwdDt
=
new
Date
(
skipPwdDate
);
ClientData
.
userInfo_sid
(
ClientData
.
userInfo_sid_local
());
var
numDay
=
date
.
subtractByDays
(
skpPwdDt
);
// move to home.html page
if
(
numDay
<=
30
)
{
COMMON
.
avwScreenMove
(
"index.html"
);
ClientData
.
userInfo_sid
(
ClientData
.
userInfo_sid_local
());
}
else
if
(
numDay
>
30
)
{
// move to home.html page
LOGIN
.
OpenChangePasswordDialog
();
COMMON
.
avwScreenMove
(
'index.html'
);
$
(
".ui-dialog-titlebar"
).
hide
();
}
else
if
(
numDay
>
30
)
{
}
LOGIN
.
OpenChangePasswordDialog
();
}
$
(
'.ui-dialog-titlebar'
).
hide
();
}
else
if
(
LOGIN
.
force_pw_change_periodically
==
2
)
{
// Force
}
// to
}
// change
}
else
if
(
LOGIN
.
force_pw_change_periodically
==
2
)
{
// password
// Force
LOGIN
.
OpenChangePasswordDialog
();
// to
$
(
'#btnSkip'
).
hide
();
// change
$
(
".ui-dialog-titlebar"
).
hide
();
// password
$
(
"#txtPwdRemind"
).
css
(
'visibility'
,
'hidden'
);
LOGIN
.
OpenChangePasswordDialog
();
}
else
{
// No need to change password
$
(
'#btnSkip'
).
hide
();
ClientData
.
userInfo_sid
(
ClientData
.
userInfo_sid_local
());
$
(
'.ui-dialog-titlebar'
).
hide
();
// move to home.html page
$
(
'#txtPwdRemind'
).
css
(
'visibility'
,
'hidden'
);
COMMON
.
avwScreenMove
(
"index.html"
);
}
else
{
}
// No need to change password
}
ClientData
.
userInfo_sid
(
ClientData
.
userInfo_sid_local
());
}
else
{
// move to home.html page
COMMON
.
closeLoading
();
COMMON
.
avwScreenMove
(
'index.html'
);
LOGIN
.
login_errorMessage
=
data
.
errorMessage
;
}
$
(
'#main-error-message'
).
html
(
COMMON
.
format
(
I18N
.
i18nText
(
'msgLoginErrWrong'
),
data
.
errorMessage
).
toString
());
}
$
(
'#main-error-message'
).
show
();
}
else
{
COMMON
.
closeLoading
();
}
LOGIN
.
login_errorMessage
=
data
.
errorMessage
;
$
(
'#main-error-message'
).
html
(
COMMON
.
format
(
I18N
.
i18nText
(
'msgLoginErrWrong'
),
data
.
errorMessage
).
toString
());
},
function
(
result
)
{
$
(
'#main-error-message'
).
show
();
LOGIN
.
login_error_flag
=
true
;
}
COMMON
.
closeLoading
();
},
if
(
result
.
errorMessage
)
{
function
(
result
)
{
LOGIN
.
login_errorMessage
=
result
.
errorMessage
;
LOGIN
.
login_error_flag
=
true
;
$
(
'#main-error-message'
).
html
(
COMMON
.
format
(
I18N
.
i18nText
(
'msgLoginErrWrong'
),
result
.
errorMessage
).
toString
());
COMMON
.
closeLoading
();
}
else
{
if
(
result
.
errorMessage
)
{
$
(
'#main-error-message'
).
html
(
COMMON
.
format
(
I18N
.
i18nText
(
'msgLoginErrWrong'
),
'E001'
));
LOGIN
.
login_errorMessage
=
result
.
errorMessage
;
}
$
(
'#main-error-message'
).
html
(
COMMON
.
format
(
I18N
.
i18nText
(
'msgLoginErrWrong'
),
result
.
errorMessage
).
toString
());
$
(
'#main-error-message'
).
show
();
}
else
{
});
$
(
'#main-error-message'
).
html
(
COMMON
.
format
(
I18N
.
i18nText
(
'msgLoginErrWrong'
),
'E001'
));
}
$
(
'#main-error-message'
).
show
();
},
);
};
};
// Change Password Process
// Change Password Process
LOGIN
.
changePasswordProcess
=
function
()
{
LOGIN
.
changePasswordProcess
=
function
()
{
var
sid
=
ClientData
.
userInfo_sid_local
();
var
sid
=
ClientData
.
userInfo_sid_local
();
var
loginId
=
$
(
'#txtAccId'
).
val
();
var
loginId
=
$
(
'#txtAccId'
).
val
();
var
password
=
$
(
'#txtCurrentPass'
).
val
();
var
password
=
$
(
'#txtCurrentPass'
).
val
();
var
confirmPass
=
$
(
'#txtConfirmNew'
).
val
();
var
confirmPass
=
$
(
'#txtConfirmNew'
).
val
();
var
params
=
{
var
params
=
{
sid
:
sid
,
sid
:
sid
,
loginId
:
loginId
,
loginId
:
loginId
,
password
:
password
,
password
:
password
,
newPassword
:
confirmPass
,
newPassword
:
confirmPass
,
appId
:
4
appId
:
4
,
};
};
if
(
I18N
.
getCurrentLanguage
())
{
if
(
I18N
.
getCurrentLanguage
())
{
params
.
language
=
I18N
.
getCurrentLanguage
();
params
.
language
=
I18N
.
getCurrentLanguage
();
}
}
const
url
=
COMMON
.
format
(
ClientData
.
conf_checkApiUrl
(),
ClientData
.
userInfo_accountPath
())
+
CONSTANT
.
URL
.
CMS
.
API
.
PASSWORD_CHANGE
;
const
url
=
COMMON
.
format
(
ClientData
.
conf_checkApiUrl
(),
ClientData
.
userInfo_accountPath
())
+
CONSTANT
.
URL
.
CMS
.
API
.
PASSWORD_CHANGE
;
COMMON
.
cmsAjax
(
url
,
params
,
false
,
function
(
result
)
{
COMMON
.
cmsAjax
(
if
(
result
.
httpStatus
==
'200'
)
{
url
,
LOGIN
.
CloseChangePasswordDialog
();
params
,
$
(
'#dialog-error-message'
).
css
(
'display'
,
'none'
);
false
,
ClientData
.
userInfo_sid
(
ClientData
.
userInfo_sid_local
());
function
(
result
)
{
if
(
result
.
httpStatus
==
'200'
)
{
if
(
ClientData
.
serviceOpt_abook_check
()
==
'Y'
)
{
LOGIN
.
CloseChangePasswordDialog
();
// move to home.html page
$
(
'#dialog-error-message'
).
css
(
'display'
,
'none'
);
COMMON
.
avwScreenMove
(
"index.html"
);
ClientData
.
userInfo_sid
(
ClientData
.
userInfo_sid_local
());
}
else
{
$
(
'#dialog-error-message'
).
html
(
I18N
.
i18nText
(
'msgPwdChangeNG'
));
if
(
ClientData
.
serviceOpt_abook_check
()
==
'Y'
)
{
$
(
'#dialog-error-message'
).
show
();
// move to home.html page
COMMON
.
avwScreenMove
(
'index.html'
);
}
}
else
{
}
else
if
(
result
.
httpStatus
==
'401'
)
{
$
(
'#dialog-error-message'
).
html
(
I18N
.
i18nText
(
'msgPwdChangeNG'
));
COMMON
.
goUrlWithCurrentParams
(
CONSTANT
.
PAGE_NAME
.
LOGIN
);
$
(
'#dialog-error-message'
).
show
();
}
else
if
(
result
.
httpStatus
==
'403'
)
{
}
$
(
'#dialog-error-message'
).
html
(
data
.
message
);
}
else
if
(
result
.
httpStatus
==
'401'
)
{
$
(
'#dialog-error-message'
).
show
();
COMMON
.
goUrlWithCurrentParams
(
CONSTANT
.
PAGE_NAME
.
LOGIN
);
}
}
else
if
(
result
.
httpStatus
==
'403'
)
{
},
function
(
result
)
{
$
(
'#dialog-error-message'
).
html
(
data
.
message
);
COMMON
.
closeLoading
();
$
(
'#dialog-error-message'
).
show
();
if
(
result
.
errorMessage
)
{
}
$
(
'#dialog-error-message'
).
html
(
result
.
errorMessage
);
},
}
else
{
function
(
result
)
{
$
(
'#dialog-error-message'
).
html
(
I18N
.
i18nText
(
'msgPwdChangeNG'
));
COMMON
.
closeLoading
();
}
if
(
result
.
errorMessage
)
{
$
(
'#dialog-error-message'
).
show
();
$
(
'#dialog-error-message'
).
html
(
result
.
errorMessage
);
}
else
{
});
$
(
'#dialog-error-message'
).
html
(
I18N
.
i18nText
(
'msgPwdChangeNG'
));
}
$
(
'#dialog-error-message'
).
show
();
},
);
};
};
// Change Language English
// Change Language English
LOGIN
.
changeLanguage
=
function
(
lang
)
{
LOGIN
.
changeLanguage
=
function
(
lang
)
{
I18N
.
changeLanguage
(
lang
);
I18N
.
changeLanguage
(
lang
);
document
.
title
=
I18N
.
i18nText
(
'dspLogin'
)
+
' | '
+
I18N
.
i18nText
(
'sysAppTitle'
);
document
.
title
=
I18N
.
i18nText
(
'dspLogin'
)
+
' | '
+
I18N
.
i18nText
(
'sysAppTitle'
);
if
(
LOGIN
.
login_errorMessage
!=
""
)
{
if
(
LOGIN
.
login_errorMessage
!=
''
)
{
$
(
'#main-error-message'
).
html
(
COMMON
.
format
(
I18N
.
i18nText
(
'msgLoginErrWrong'
),
LOGIN
.
login_errorMessage
).
toString
());
$
(
'#main-error-message'
).
html
(
COMMON
.
format
(
I18N
.
i18nText
(
'msgLoginErrWrong'
),
LOGIN
.
login_errorMessage
).
toString
());
}
}
};
};
// Login click function
// Login click function
LOGIN
.
loginFunction
=
function
()
{
LOGIN
.
loginFunction
=
function
()
{
COMMON
.
showLoading
();
COMMON
.
showLoading
();
if
(
LOGIN
.
checkValidation
())
{
if
(
LOGIN
.
checkValidation
())
{
LOGIN
.
processLogin
();
LOGIN
.
processLogin
();
}
else
{
}
else
{
COMMON
.
closeLoading
();
COMMON
.
closeLoading
();
}
}
};
};
// Change Password function
// Change Password function
LOGIN
.
changePassFunction
=
function
()
{
LOGIN
.
changePassFunction
=
function
()
{
if
(
LOGIN
.
checkDialogValidation
())
{
if
(
LOGIN
.
checkDialogValidation
())
{
LOGIN
.
changePasswordProcess
();
LOGIN
.
changePasswordProcess
();
}
}
};
};
// Skip Password function
// Skip Password function
LOGIN
.
skipPassFunction
=
function
()
{
LOGIN
.
skipPassFunction
=
function
()
{
var
date
=
new
Date
();
var
date
=
new
Date
();
ClientData
.
userInfo_pwdSkipDt
(
date
);
ClientData
.
userInfo_pwdSkipDt
(
date
);
ClientData
.
userInfo_sid
(
ClientData
.
userInfo_sid_local
());
ClientData
.
userInfo_sid
(
ClientData
.
userInfo_sid_local
());
if
(
ClientData
.
serviceOpt_abook_check
()
==
'Y'
)
{
if
(
ClientData
.
serviceOpt_abook_check
()
==
'Y'
)
{
// move to home.html page
// move to home.html page
COMMON
.
avwScreenMove
(
"index.html"
);
COMMON
.
avwScreenMove
(
'index.html'
);
}
else
{
}
else
{
$
(
'#main-error-message'
).
html
(
COMMON
.
format
(
I18N
.
i18nText
(
'msgLoginErrWrong'
),
'E001'
));
$
(
'#main-error-message'
).
html
(
COMMON
.
format
(
I18N
.
i18nText
(
'msgLoginErrWrong'
),
'E001'
));
$
(
'#main-error-message'
).
show
();
$
(
'#main-error-message'
).
show
();
}
}
};
};
// Open Change Password Dialog
// Open Change Password Dialog
LOGIN
.
OpenChangePasswordDialog
=
function
()
{
LOGIN
.
OpenChangePasswordDialog
=
function
()
{
$
(
"#password-reset-modal"
).
show
();
$
(
'#password-reset-modal'
).
show
();
COMMON
.
showLoading
();
COMMON
.
showLoading
();
console
.
log
(
"password open"
);
console
.
log
(
'password open'
);
};
};
// Close Chnage Password Dialog
// Close Chnage Password Dialog
LOGIN
.
CloseChangePasswordDialog
=
function
()
{
LOGIN
.
CloseChangePasswordDialog
=
function
()
{
$
(
"#main-password-change"
).
hide
();
$
(
'#main-password-change'
).
hide
();
COMMON
.
closeLoading
();
COMMON
.
closeLoading
();
};
};
// Save Service Option
// Save Service Option
LOGIN
.
saveServiceUserOption
=
function
()
{
LOGIN
.
saveServiceUserOption
=
function
()
{
$
.
each
(
LOGIN
.
optionList
,
function
(
i
,
option
)
{
$
.
each
(
LOGIN
.
optionList
,
function
(
i
,
option
)
{
if
(
option
.
serviceOptionId
==
22
)
{
ClientData
.
serviceOpt_force_pw_change_periodically
(
option
.
value
);
if
(
option
.
serviceOptionId
==
22
)
{
}
else
if
(
option
.
serviceOptionId
==
21
)
{
ClientData
.
serviceOpt_force_pw_change_periodically
(
option
.
value
);
ClientData
.
serviceOpt_force_pw_change_on_login
(
option
.
value
);
}
else
if
(
option
.
serviceOptionId
==
21
)
{
}
else
if
(
option
.
serviceOptionId
==
49
)
{
ClientData
.
serviceOpt_force_pw_change_on_login
(
option
.
value
);
ClientData
.
serviceOpt_usable_push_message
(
option
.
value
);
}
else
if
(
option
.
serviceOptionId
==
49
)
{
}
else
if
(
option
.
serviceOptionId
==
161
)
{
ClientData
.
serviceOpt_usable_push_message
(
option
.
value
);
ClientData
.
serviceOpt_abook_check
(
option
.
value
);
}
else
if
(
option
.
serviceOptionId
==
161
)
{
}
else
if
(
option
.
serviceOptionId
==
183
)
{
ClientData
.
serviceOpt_abook_check
(
option
.
value
);
ClientData
.
serviceOpt_chat_function
(
option
.
value
);
}
else
if
(
option
.
serviceOptionId
==
183
)
{
}
ClientData
.
serviceOpt_chat_function
(
option
.
value
);
});
}
});
};
};
// Get Service Option
// Get Service Option
LOGIN
.
getServiceOptionList
=
function
()
{
LOGIN
.
getServiceOptionList
=
function
()
{
$
.
each
(
LOGIN
.
optionList
,
function
(
i
,
option
)
{
$
.
each
(
LOGIN
.
optionList
,
function
(
i
,
option
)
{
if
(
option
.
serviceOptionId
==
22
)
{
LOGIN
.
force_pw_change_periodically
=
option
.
value
;
if
(
option
.
serviceOptionId
==
22
)
{
}
else
if
(
option
.
serviceOptionId
==
21
)
{
LOGIN
.
force_pw_change_periodically
=
option
.
value
;
LOGIN
.
force_pw_change_on_login
=
option
.
value
;
}
else
if
(
option
.
serviceOptionId
==
21
)
{
}
LOGIN
.
force_pw_change_on_login
=
option
.
value
;
});
}
});
};
};
LOGIN
.
loginWhenClickEnter
=
function
(
e
)
{
LOGIN
.
loginWhenClickEnter
=
function
(
e
)
{
var
code
=
(
e
.
keyCode
?
e
.
keyCode
:
e
.
which
);
var
code
=
e
.
keyCode
?
e
.
keyCode
:
e
.
which
;
if
(
code
==
13
)
{
// Enter keycode
if
(
code
==
13
)
{
$
(
'#btnLogin'
).
click
();
// Enter keycode
}
$
(
'#btnLogin'
).
click
();
}
};
};
// init login for normal user
// init login for normal user
LOGIN
.
initLoginNormalUser
=
function
()
{
LOGIN
.
initLoginNormalUser
=
function
()
{
document
.
title
=
I18N
.
i18nText
(
'dspLogin'
)
+
' | '
+
I18N
.
i18nText
(
'sysAppTitle'
);
document
.
title
=
I18N
.
i18nText
(
'dspLogin'
)
+
' | '
+
I18N
.
i18nText
(
'sysAppTitle'
);
// Initial Screen
// Initial Screen
LOGIN
.
initialScreen
();
LOGIN
.
initialScreen
();
// Change language
// Change language
let
selector
=
document
.
getElementById
(
'languageSelect'
);
let
selector
=
document
.
getElementById
(
"languageSelect"
);
var
lang
=
I18N
.
getCurrentLanguage
();
var
lang
=
I18N
.
getCurrentLanguage
();
if
(
lang
)
{
if
(
lang
)
{
selector
.
value
=
lang
;
selector
.
value
=
lang
;
}
}
selector
.
addEventListener
(
'change'
,
function
()
{
selector
.
addEventListener
(
"change"
,
function
()
{
LOGIN
.
changeLanguage
(
this
.
value
);
LOGIN
.
changeLanguage
(
this
.
value
);
});
})
// Button login click event
// Button login click event
$
(
'#btnLogin'
).
click
(
LOGIN
.
loginFunction
);
$
(
'#btnLogin'
).
click
(
LOGIN
.
loginFunction
);
// Button Change click event
// Button Change click event
$
(
'#btnChange'
).
click
(
LOGIN
.
changePassFunction
);
$
(
'#btnChange'
).
click
(
LOGIN
.
changePassFunction
);
// Button Skip click event
// Button Skip click event
$
(
'#btnSkip'
).
click
(
LOGIN
.
skipPassFunction
);
$
(
'#btnSkip'
).
click
(
LOGIN
.
skipPassFunction
);
$
(
'#txtPassword'
).
keydown
(
LOGIN
.
loginWhenClickEnter
);
$
(
'#txtPassword'
).
keydown
(
LOGIN
.
loginWhenClickEnter
);
};
};
/* display alert screen */
/* display alert screen */
LOGIN
.
showAlertScreen
=
function
(
errMes
,
scrMove
)
{
LOGIN
.
showAlertScreen
=
function
(
errMes
,
scrMove
)
{
// アラートメッセージの表示
// アラートメッセージの表示
if
(
errMes
==
undefined
||
errMes
==
''
)
{
if
(
errMes
==
undefined
||
errMes
==
""
)
{
errMes
=
'message.'
;
// I18N.i18nText('msgPageImgErr');
errMes
=
"message."
;
// I18N.i18nText('msgPageImgErr');
}
}
COMMON
.
lockLayout
();
COMMON
.
lockLayout
();
/* show error messages */
/* show error messages */
$
().
toastmessage
({
$
().
toastmessage
({
position
:
'middle-center'
,
position
:
'middle-center'
});
});
$
().
toastmessage
(
'showToast'
,
{
$
().
toastmessage
(
'showToast'
,
{
type
:
'error'
,
type
:
'error'
,
sticky
:
true
,
sticky
:
true
,
text
:
errMes
,
text
:
errMes
,
close
:
function
()
{},
close
:
function
()
{
});
}
$
(
'.toast-type-error'
).
css
(
'height'
,
'100px'
);
});
$
(
'.toast-type-error > p'
).
css
(
'padding-top'
,
'35px'
);
$
(
'.toast-type-error'
).
css
(
'height'
,
'100px'
);
$
(
'.toast-item-close'
).
live
(
'click'
,
function
()
{
$
(
'.toast-type-error > p'
).
css
(
'padding-top'
,
'35px'
);
COMMON
.
unlockLayout
();
$
(
'.toast-item-close'
).
live
(
'click'
,
function
()
{
if
(
scrMove
)
{
COMMON
.
unlockLayout
();
COMMON
.
avwScreenMove
(
scrMove
);
if
(
scrMove
)
{
}
COMMON
.
avwScreenMove
(
scrMove
);
});
}
});
};
};
// $(document).ready(function (e) {
// $(document).ready(function (e) {
LOGIN
.
ready
=
function
()
{
LOGIN
.
ready
=
function
()
{
// Session Storage clear
// Session Storage clear
SessionStorageUtils
.
clear
();
SessionStorageUtils
.
clear
();
COMMON
.
userSessionObj
=
null
;
COMMON
.
userSessionObj
=
null
;
// create new session
// create new session
COMMON
.
createUserSession
();
COMMON
.
createUserSession
();
I18N
.
initi18n
();
I18N
.
initi18n
();
var
sysSettings
=
COMMON
.
sysSetting
();
// get info in conf.json
var
sysSettings
=
COMMON
.
sysSetting
();
// get info in conf.json
// check an getits setting
// check an getits setting
if
(
sysSettings
.
apiUrl
==
''
)
{
if
(
sysSettings
.
apiUrl
==
""
)
{
// acquire parameters
var
siteUrl
=
COMMON
.
getUrlParam
(
'siteUrl'
,
''
);
// acquire parameters
var
urlPath
=
COMMON
.
getUrlParam
(
'urlPath'
,
''
);
var
siteUrl
=
COMMON
.
getUrlParam
(
'siteUrl'
,
''
);
var
storeUrl
=
COMMON
.
getUrlParam
(
'storeUrl'
,
''
);
var
urlPath
=
COMMON
.
getUrlParam
(
'urlPath'
,
''
);
if
(
siteUrl
!=
''
&&
urlPath
!=
''
)
{
var
storeUrl
=
COMMON
.
getUrlParam
(
'storeUrl'
,
''
);
// ClientData.siteUrl(siteUrl);
if
(
siteUrl
!=
""
&&
urlPath
!=
""
)
{
// set api connection
ClientData
.
conf_apiUrl
(
siteUrl
+
'{0}/abvapi'
);
// ClientData.siteUrl(siteUrl);
ClientData
.
conf_apiLoginUrl
(
siteUrl
+
'nuabvapi'
);
// set api connection
ClientData
.
conf_checkApiUrl
(
siteUrl
+
'checkapi/web'
);
ClientData
.
conf_apiUrl
(
siteUrl
+
"{0}/abvapi"
);
ClientData
.
conf_apiResourceDlUrl
(
siteUrl
+
'{0}/dl'
);
ClientData
.
conf_apiLoginUrl
(
siteUrl
+
"nuabvapi"
);
// set account setting value
ClientData
.
conf_checkApiUrl
(
siteUrl
+
"checkapi/web"
);
ClientData
.
userInfo_accountPath
(
urlPath
);
ClientData
.
conf_apiResourceDlUrl
(
siteUrl
+
"{0}/dl"
);
ClientData
.
userInfo_accountPath_session
(
urlPath
);
// set account setting value
ClientData
.
userInfo_loginId
(
''
);
ClientData
.
userInfo_accountPath
(
urlPath
);
ClientData
.
userInfo_loginId_session
(
''
);
ClientData
.
userInfo_accountPath_session
(
urlPath
);
}
ClientData
.
userInfo_loginId
(
""
);
}
else
{
ClientData
.
userInfo_loginId_session
(
""
);
// conf parameter set
ClientData
.
conf_apiUrl
(
sysSettings
.
apiUrl
);
}
ClientData
.
conf_checkApiUrl
(
sysSettings
.
checkApiUrl
);
ClientData
.
conf_apiLoginUrl
(
sysSettings
.
apiLoginUrl
);
}
else
{
ClientData
.
conf_apiResourceDlUrl
(
sysSettings
.
apiResourceDlUrl
);
// conf parameter set
}
ClientData
.
conf_apiUrl
(
sysSettings
.
apiUrl
);
ClientData
.
conf_checkApiUrl
(
sysSettings
.
checkApiUrl
);
// Set when you receive the account path with the argument
ClientData
.
conf_apiLoginUrl
(
sysSettings
.
apiLoginUrl
);
ClientData
.
conf_apiResourceDlUrl
(
sysSettings
.
apiResourceDlUrl
);
$
(
'#normalUser'
).
show
();
}
$
(
'#formlogin'
).
hide
();
$
(
'#logologin'
).
animate
(
// Set when you receive the account path with the argument
{
'margin-top'
:
0
,
$
(
'#normalUser'
).
show
();
},
$
(
'#formlogin'
).
hide
();
LOGIN
.
timeWaitSplashScreen
,
$
(
'#logologin'
).
animate
({
function
()
{
"margin-top"
:
0
$
(
'#formlogin'
).
show
();
},
LOGIN
.
timeWaitSplashScreen
,
function
()
{
$
(
'#menu-language'
).
animate
(
$
(
'#formlogin'
).
show
();
{
$
(
'#menu-language'
).
animate
({
opacity
:
1
,
opacity
:
1
},
},
LOGIN
.
timeWaitSplashScreen
);
LOGIN
.
timeWaitSplashScreen
,
$
(
'#formlogin'
).
animate
({
);
opacity
:
1
$
(
'#formlogin'
).
animate
(
},
LOGIN
.
timeWaitSplashScreen
);
{
$
(
'.cnt_footer'
).
animate
({
opacity
:
1
,
opacity
:
1
},
},
LOGIN
.
timeWaitSplashScreen
);
LOGIN
.
timeWaitSplashScreen
,
});
);
LOGIN
.
initLoginNormalUser
();
$
(
'.cnt_footer'
).
animate
(
{
opacity
:
1
,
},
LOGIN
.
timeWaitSplashScreen
,
);
},
);
LOGIN
.
initLoginNormalUser
();
};
};
abweb/js/notificationContent/notificationContent.js
View file @
0457bca1
/**
/**
* Operation Select js in operationSelect.html
* Operation Select js in operationSelect.html
*
*
* @since
1.0 check web
* @since
cms:1.4.3.2&1.4.3.3 web:1.0
*/
*/
var
NotificationSelect
=
{};
var
NotificationSelect
=
{};
NotificationSelect
.
nameSelected
=
""
;
NotificationSelect
.
nameSelected
=
''
;
NotificationSelect
.
valueSelected
=
""
;
NotificationSelect
.
valueSelected
=
''
;
/**
/**
* default operation select data JSON
* default operation select data JSON
*/
*/
...
@@ -14,23 +14,29 @@ NotificationSelect.defaultNotificationSelectJson = [];
...
@@ -14,23 +14,29 @@ NotificationSelect.defaultNotificationSelectJson = [];
/**
/**
* get operation select data from cms
* get operation select data from cms
* @param {function} callback
* @param {function} callback
*/
*/
NotificationSelect
.
getNotificationSelectData
=
function
(
callback
)
{
NotificationSelect
.
getNotificationSelectData
=
function
(
callback
)
{
let
param
=
{
let
param
=
{
sid
:
COMMON
.
getSid
(),
sid
:
COMMON
.
getSid
(),
};
};
const
url
=
COMMON
.
format
(
ClientData
.
conf_checkApiUrl
(),
ClientData
.
userInfo_accountPath
())
+
CONSTANT
.
URL
.
CMS
.
API
.
PUSH_MESSAGE_TEMPLATE
;
const
url
=
COMMON
.
format
(
ClientData
.
conf_checkApiUrl
(),
ClientData
.
userInfo_accountPath
())
+
CONSTANT
.
URL
.
CMS
.
API
.
PUSH_MESSAGE_TEMPLATE
;
COMMON
.
cmsAjax
(
url
,
param
,
false
,
function
(
json
)
{
COMMON
.
cmsAjax
(
if
(
callback
)
{
url
,
callback
(
json
);
param
,
}
false
,
},
function
()
{
function
(
json
)
{
console
.
log
(
'NotificationSelect.getNotificationSelectData error'
);
if
(
callback
)
{
if
(
callback
)
{
callback
(
json
);
callback
(
NotificationSelect
.
defaultNotificationSelectJson
);
}
}
},
});
function
()
{
console
.
log
(
'NotificationSelect.getNotificationSelectData error'
);
if
(
callback
)
{
callback
(
NotificationSelect
.
defaultNotificationSelectJson
);
}
},
);
};
};
/**
/**
...
@@ -48,7 +54,7 @@ NotificationSelect.selectOperationClick = function () {
...
@@ -48,7 +54,7 @@ NotificationSelect.selectOperationClick = function () {
/**
/**
* init data, action when screen onload
* init data, action when screen onload
*/
*/
NotificationSelect
.
init
=
function
(
selectedCallback
)
{
NotificationSelect
.
init
=
function
(
selectedCallback
)
{
NotificationSelect
.
getNotificationSelectData
(
function
(
data
)
{
NotificationSelect
.
getNotificationSelectData
(
function
(
data
)
{
if
(
typeof
data
===
'undefined'
||
data
==
null
)
return
;
if
(
typeof
data
===
'undefined'
||
data
==
null
)
return
;
NotificationSelect
.
createNotificationSelectList
(
data
.
pushMessageTemplate
);
NotificationSelect
.
createNotificationSelectList
(
data
.
pushMessageTemplate
);
...
@@ -59,57 +65,59 @@ NotificationSelect.selectOperationClick = function () {
...
@@ -59,57 +65,59 @@ NotificationSelect.selectOperationClick = function () {
/**
/**
* Implement notification select html
* Implement notification select html
* @returns
* @returns
*/
*/
NotificationSelect
.
createNotificationSelectList
=
function
(
pushMessageTemplate
)
{
NotificationSelect
.
createNotificationSelectList
=
function
(
pushMessageTemplate
)
{
$
(
"#notificationSelectList"
).
empty
();
$
(
'#notificationSelectList'
).
empty
();
if
(
typeof
pushMessageTemplate
===
'undefined'
||
pushMessageTemplate
.
length
<
1
)
return
;
if
(
typeof
pushMessageTemplate
===
'undefined'
||
pushMessageTemplate
.
length
<
1
)
return
;
let
classSelected
=
"selected"
;
let
classSelected
=
'selected'
;
for
(
let
i
=
0
;
i
<
pushMessageTemplate
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
pushMessageTemplate
.
length
;
i
++
)
{
let
divName
=
$
(
"<div class='pl-5 py-3 h-100 w-100 align-self-center select-label'>"
+
pushMessageTemplate
[
i
].
name
+
'</div>'
);
let
divName
=
$
(
"<div class='pl-5 py-3 h-100 w-100 align-self-center select-label'>"
+
pushMessageTemplate
[
i
].
name
+
"</div>"
);
let
divIcon
=
$
(
let
divIcon
=
$
(
"<div class='flex-shrink-1 mx-3 align-self-center'>"
"<div class='flex-shrink-1 mx-3 align-self-center'>"
+
+
"<button class='btn btn-link border collapsed' type='button' data-toggle='collapse' data-target='#collapse"
+
i
+
"' aria-expanded='true' aria-controls='collapse"
+
i
+
"'>"
"<button class='btn btn-link border collapsed' type='button' data-toggle='collapse' data-target='#collapse"
+
+
"<div class='arrow-icon'></div>"
i
+
+
"</button></div>"
);
"' aria-expanded='true' aria-controls='collapse"
+
i
+
"'>"
+
"<div class='arrow-icon'></div>"
+
'</button></div>'
,
);
let
ahrefName
=
$
(
"<a href='#' class='d-flex text-decoration-none'></a>"
);
let
ahrefName
=
$
(
"<a href='#' class='d-flex text-decoration-none'></a>"
);
let
divParentName
=
$
(
"<div class='card mb-2 "
+
classSelected
+
"' id='heading"
+
i
+
"'></div>"
);
let
divParentName
=
$
(
"<div class='card mb-2 "
+
classSelected
+
"' id='heading"
+
i
+
"'></div>"
);
classSelected
=
""
;
classSelected
=
''
;
let
divValue
=
$
(
"<div id='collapse"
+
i
+
"' class='collapse' aria-labelledby='heading"
+
i
+
"' data-parent='#accordion"
+
i
+
"'></div>"
);
let
divValue
=
$
(
"<div id='collapse"
+
i
+
"' class='collapse' aria-labelledby='heading"
+
i
+
"' data-parent='#accordion"
+
i
+
"'></div>"
);
let
divBodyValue
=
$
(
"<div class='card-body'>"
+
pushMessageTemplate
[
i
].
value
+
"</div>"
);
let
divBodyValue
=
$
(
"<div class='card-body'>"
+
pushMessageTemplate
[
i
].
value
+
'</div>'
);
let
messageli
=
$
(
"<li class='accordion' id='accordion"
+
i
+
"'></li>"
);
let
messageli
=
$
(
"<li class='accordion' id='accordion"
+
i
+
"'></li>"
);
ahrefName
.
append
(
divName
);
ahrefName
.
append
(
divName
);
ahrefName
.
append
(
divIcon
);
ahrefName
.
append
(
divIcon
);
divParentName
.
append
(
ahrefName
);
divParentName
.
append
(
ahrefName
);
divValue
.
append
(
divBodyValue
);
divValue
.
append
(
divBodyValue
);
messageli
.
append
(
divParentName
);
messageli
.
append
(
divParentName
);
messageli
.
append
(
divValue
);
messageli
.
append
(
divValue
);
if
(
i
==
0
)
if
(
i
==
0
)
{
{
NotificationSelect
.
nameSelected
=
pushMessageTemplate
[
i
].
name
;
NotificationSelect
.
nameSelected
=
pushMessageTemplate
[
i
].
name
;
NotificationSelect
.
valueSelected
=
pushMessageTemplate
[
i
].
value
;
NotificationSelect
.
valueSelected
=
pushMessageTemplate
[
i
].
value
;
}
}
$
(
"#notificationSelectList"
).
append
(
messageli
);
$
(
'#notificationSelectList'
).
append
(
messageli
);
}
}
}
};
/**
/**
* handle click event of select button
* handle click event of select button
*/
*/
NotificationSelect
.
onClickTempalte
=
function
()
{
NotificationSelect
.
onClickTempalte
=
function
()
{
NotificationSelect
.
chooseTemplate
();
NotificationSelect
.
chooseTemplate
();
};
};
/**
/**
* Get operation select and call back function in main page
* Get operation select and call back function in main page
*/
*/
NotificationSelect
.
chooseTemplate
=
function
()
{
NotificationSelect
.
chooseTemplate
=
function
()
{
let
param
=
{};
let
param
=
{};
param
.
nameSelected
=
NotificationSelect
.
nameSelected
;
param
.
nameSelected
=
NotificationSelect
.
nameSelected
;
param
.
valueSelected
=
NotificationSelect
.
valueSelected
;
param
.
valueSelected
=
NotificationSelect
.
valueSelected
;
...
@@ -122,6 +130,6 @@ NotificationSelect.selectOperationClick = function () {
...
@@ -122,6 +130,6 @@ NotificationSelect.selectOperationClick = function () {
/**
/**
* close setting dialog
* close setting dialog
*/
*/
NotificationSelect
.
closeModal
=
function
()
{
NotificationSelect
.
closeModal
=
function
()
{
$
(
'#select-template-modal .close'
).
click
();
$
(
'#select-template-modal .close'
).
click
();
};
};
\ No newline at end of file
abweb/js/operationSelect/operationSelect.js
View file @
0457bca1
/**
/**
* Operation Select js in operationSelect.html
* Operation Select js in operationSelect.html
*
*
* @since
1.0 check web
* @since
cms:1.4.3.2&1.4.3.3 web:1.0
*/
*/
var
OperationSelect
=
{};
var
OperationSelect
=
{};
OperationSelect
.
changeSelectCallback
=
function
()
{};
OperationSelect
.
changeSelectCallback
=
function
()
{};
OperationSelect
.
operationIdSelected
=
""
;
OperationSelect
.
operationIdSelected
=
''
;
OperationSelect
.
operationNameSelected
=
""
;
OperationSelect
.
operationNameSelected
=
''
;
/**
/**
* default operation select data JSON
* default operation select data JSON
...
@@ -16,23 +16,29 @@ OperationSelect.defaultOperationSelectJson = [];
...
@@ -16,23 +16,29 @@ OperationSelect.defaultOperationSelectJson = [];
/**
/**
* get operation select data from cms
* get operation select data from cms
* @param {function} callback
* @param {function} callback
*/
*/
OperationSelect
.
getOperationSelectData
=
function
(
callback
)
{
OperationSelect
.
getOperationSelectData
=
function
(
callback
)
{
let
param
=
{
let
param
=
{
sid
:
COMMON
.
getSid
(),
sid
:
COMMON
.
getSid
(),
};
};
const
url
=
COMMON
.
format
(
ClientData
.
conf_checkApiUrl
(),
ClientData
.
userInfo_accountPath
())
+
CONSTANT
.
URL
.
CMS
.
API
.
OPERATION_SELECT
;
const
url
=
COMMON
.
format
(
ClientData
.
conf_checkApiUrl
(),
ClientData
.
userInfo_accountPath
())
+
CONSTANT
.
URL
.
CMS
.
API
.
OPERATION_SELECT
;
COMMON
.
cmsAjax
(
url
,
param
,
false
,
function
(
json
)
{
COMMON
.
cmsAjax
(
if
(
callback
)
{
url
,
callback
(
json
);
param
,
}
false
,
},
function
()
{
function
(
json
)
{
console
.
log
(
'OperationSelect.getOperationSelectData error'
);
if
(
callback
)
{
if
(
callback
)
{
callback
(
json
);
callback
(
OperationSelect
.
defaultOperationSelectJson
);
}
}
},
});
function
()
{
console
.
log
(
'OperationSelect.getOperationSelectData error'
);
if
(
callback
)
{
callback
(
OperationSelect
.
defaultOperationSelectJson
);
}
},
);
};
};
/**
/**
...
@@ -61,50 +67,49 @@ OperationSelect.init = function (selectedCallback) {
...
@@ -61,50 +67,49 @@ OperationSelect.init = function (selectedCallback) {
/**
/**
* Implement operation select html
* Implement operation select html
* @returns
* @returns
*/
*/
OperationSelect
.
createOperationSelectList
=
function
(
operationList
)
{
OperationSelect
.
createOperationSelectList
=
function
(
operationList
)
{
$
(
"#operationSelectList"
).
empty
();
$
(
'#operationSelectList'
).
empty
();
if
(
typeof
operationList
===
'undefined'
||
operationList
.
length
<
1
)
return
;
if
(
typeof
operationList
===
'undefined'
||
operationList
.
length
<
1
)
return
;
for
(
let
i
=
0
;
i
<
operationList
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
operationList
.
length
;
i
++
)
{
let
messageli
=
$
(
"<li class='card mb-2' name = 'operationId_"
+
operationList
[
i
].
operationId
+
"' ></li>"
);
let
messageli
=
$
(
"<li class='card mb-2' name = 'operationId_"
+
operationList
[
i
].
operationId
+
"' ></li>"
);
let
ahrefRequiredFlg
=
$
(
let
ahrefRequiredFlg
=
$
(
"<a href='#' class='d-block px-5 py-3 text-decoration-none select-label' data-key='"
+
operationList
[
i
].
operationId
+
"' data-name='"
+
operationList
[
i
].
operationName
+
"' ></a>"
);
"<a href='#' class='d-block px-5 py-3 text-decoration-none select-label' data-key='"
+
operationList
[
i
].
operationId
+
"' data-name='"
+
operationList
[
i
].
operationName
+
"' ></a>"
,
let
divText
=
$
(
"<div class='fs-12 text-truncate d-block'>"
+
operationList
[
i
].
operationName
+
"</div>"
);
);
let
divText
=
$
(
"<div class='fs-12 text-truncate d-block'>"
+
operationList
[
i
].
operationName
+
'</div>'
);
ahrefRequiredFlg
.
append
(
divText
);
messageli
.
append
(
ahrefRequiredFlg
);
$
(
"#operationSelectList"
).
append
(
messageli
);
ahrefRequiredFlg
.
append
(
divText
);
}
messageli
.
append
(
ahrefRequiredFlg
);
$
(
"#operationSelectList :first-child"
).
addClass
(
"selected"
);
}
$
(
'#operationSelectList'
).
append
(
messageli
);
}
$
(
'#operationSelectList :first-child'
).
addClass
(
'selected'
);
};
/**
/**
* handle click event of select button
* handle click event of select button
*/
*/
OperationSelect
.
onClickSelect
=
function
()
{
OperationSelect
.
onClickSelect
=
function
()
{
OperationSelect
.
chooseOperationSelect
();
OperationSelect
.
chooseOperationSelect
();
};
};
/**
/**
* Get operation select and call back function in main page
* Get operation select and call back function in main page
*/
*/
OperationSelect
.
chooseOperationSelect
=
function
()
{
OperationSelect
.
chooseOperationSelect
=
function
()
{
let
param
=
{};
let
param
=
{};
param
.
operationIdSelected
=
OperationSelect
.
operationIdSelected
;
param
.
operationIdSelected
=
OperationSelect
.
operationIdSelected
;
param
.
operationNameSelected
=
OperationSelect
.
operationNameSelected
;
param
.
operationNameSelected
=
OperationSelect
.
operationNameSelected
;
OperationSelect
.
closeModal
();
OperationSelect
.
closeModal
();
if
(
OperationSelect
.
changeSelectCallback
&&
typeof
OperationSelect
.
changeSelectCallback
===
'function'
)
{
if
(
OperationSelect
.
changeSelectCallback
&&
typeof
OperationSelect
.
changeSelectCallback
===
'function'
)
{
OperationSelect
.
changeSelectCallback
(
param
.
operationIdSelected
,
param
.
operationNameSelected
);
OperationSelect
.
changeSelectCallback
(
param
.
operationIdSelected
,
param
.
operationNameSelected
);
}
}
};
};
/**
/**
* close setting dialog
* close setting dialog
*/
*/
OperationSelect
.
closeModal
=
function
()
{
OperationSelect
.
closeModal
=
function
()
{
$
(
'#task-list-modal .close'
).
click
();
$
(
'#task-list-modal .close'
).
click
();
};
};
\ No newline at end of file
abweb/js/pdfPrint/pdfPrint.js
View file @
0457bca1
// PDF PRINT function js
/**
* PDF PRINT function js
*
* @since cms:1.4.3.2&1.4.3.3 web:1.0
**/
var
PP
=
{};
var
PP
=
{};
...
...
abweb/js/pushMessageDetail/pushMessageDetail.js
View file @
0457bca1
/**
* js for pushing detailed messages
* @since cms:1.4.3.2&1.4.3.3 web:1.0
*/
var
PushMessageDetail
=
{};
var
PushMessageDetail
=
{};
PushMessageDetail
.
baseApiUrl
=
COMMON
.
format
(
ClientData
.
conf_checkApiUrl
(),
ClientData
.
userInfo_accountPath
())
+
CONSTANT
.
URL
.
CMS
.
API
.
PUSH_MESSAGE_DETAIL
;
PushMessageDetail
.
baseApiUrl
=
COMMON
.
format
(
ClientData
.
conf_checkApiUrl
(),
ClientData
.
userInfo_accountPath
())
+
CONSTANT
.
URL
.
CMS
.
API
.
PUSH_MESSAGE_DETAIL
;
...
...
abweb/js/reportForm/reportForm.js
View file @
0457bca1
// ReportForm function js
/**
* ReportForm function js
* @since cms:1.4.3.2&1.4.3.3 web:1.0
*/
var
RF
=
{};
var
RF
=
{};
...
...
abweb/js/reportList/reportList.js
View file @
0457bca1
// ReportList function js
/**
* ReportList function js
*
* @since cms:1.4.3.2&1.4.3.3 web:1.0
**/
var
RL
=
{};
var
RL
=
{};
...
...
abweb/js/sendMessage/sendMessage.js
View file @
0457bca1
/**
/**
* Send Message js in sendMessage.html
* Send Message js in sendMessage.html
*
*
* @since
1.0 check web
* @since
cms:1.4.3.2&1.4.3.3 web:1.0
*/
*/
var
SendMessage
=
{};
var
SendMessage
=
{};
...
...
abweb/js/setting/settings.js
View file @
0457bca1
/// Account Settings function js
/**
* Account Settings function js
* @since cms:1.4.3.2&1.4.3.3 web:1.0
**/
var
SETTINGS
=
{};
var
SETTINGS
=
{};
...
...
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