Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
design
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
abookCheck
design
Commits
44603713
Commit
44603713
authored
Jun 23, 2021
by
Lee Munkyeong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
JSアンドロイド対応。
parent
27be2101
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
app/script/check.js
+4
-0
No files found.
app/script/check.js
View file @
44603713
...
...
@@ -4,6 +4,7 @@ var CHK = {};
CHK
.
operationType
;
//プロジェクトタイプ 0:リストコンテンツ 1:図面コンテンツ 2:360コンテンツ 3:PDFコンテンツ
CHK
.
isCms
=
false
;
//true:CMSモード
CHK
.
isWeb
=
false
;
//true:Web表示モード
CHK
.
isAndroid
=
false
;
CHK
.
reportMode
=
"1"
;
//報告モード default1で、定期点検で変更される
CHK
.
debug
;
//1:デバッグモード
CHK
.
isMobile
;
//1:モバイル対応で表示
...
...
@@ -178,6 +179,7 @@ CHK.initCommon = function() {
CHK
.
isCms
=
urlParam
.
is_cms
;
CHK
.
isWeb
=
urlParam
.
is_web
;
CHK
.
isWindows
=
urlParam
.
app
&&
urlParam
.
app
==
"windows"
;
// windowsアプリの対応追加 v1.1.0
CHK
.
isAndroid
=
urlParam
.
is_android
&&
urlParam
.
is_android
==
"1"
;
// ウェブの場合、作業一覧の表示広さを変更
if
(
CHK
.
isWeb
)
{
$
(
"#checkList"
).
addClass
(
"web"
);
...
...
@@ -880,6 +882,8 @@ CHK.sendABookCheckApi = function(param, callback) {
}
else
if
(
CHK
.
isWindows
)
{
// windowsアプリの場合の対応
window
.
external
.
notify
(
JSON
.
stringify
(
param
));
}
else
if
(
CHK
.
isAndroid
){
android
.
sendParam
(
JSON
.
stringify
(
param
));
}
else
{
var
query
=
""
;
for
(
var
key
in
param
)
{
...
...
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