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
2af6df32
Commit
2af6df32
authored
Jun 10, 2021
by
Yujin Seo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#42180 作業一覧対応
parent
af66b452
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
15 deletions
+12
-15
app/index.html
+1
-1
app/script/check-list.js
+6
-12
app/script/check.js
+5
-2
No files found.
app/index.html
View file @
2af6df32
...
...
@@ -112,7 +112,7 @@
<a
class=
"dropdown-item"
href=
"#"
>
閲覧日が新しい順
</a>
</div>
<a
href=
"
#
"
class=
"text-decoration-none py-2 lht-0 d-inline-block ml-3"
>
<a
href=
"
javascript:CHK_L.sendAppCommand('refreshContent');
"
class=
"text-decoration-none py-2 lht-0 d-inline-block ml-3"
>
<i
class=
"fa fa-redo text-dark"
></i>
<span
class=
"d-none d-md-inline text-dark fs-10"
>
リセット
...
...
app/script/check-list.js
View file @
2af6df32
...
...
@@ -118,17 +118,9 @@ CHK_L.init = function() {
if
(
CHK
.
hasAddTaskAuthority
())
{
$
(
".addition"
).
show
();
}
});
// 作業追加区分によって表示・非表示設定
if
(
addReportFlg
==
CHK
.
ADD_REPORT_FLG
.
UNABLE
)
{
$
(
"#editHeader"
).
hide
();
$
(
"#listValues"
).
hide
();
}
else
{
$
(
"#editHeader"
).
show
();
}
if
(
CHK
.
isWeb
)
{
$
(
"#headerNav"
).
show
();
}
});
CHK_L
.
sendAppCommand
(
"finishInit"
);
}
if
(
CHK
.
isWeb
)
{
...
...
@@ -247,9 +239,11 @@ CHK_L.updateList = function() {
* アプリにコマンド送信
* @param {any} command
*/
CHK_L
.
sendAppCommand
=
function
(
command
)
{
CHK_L
.
sendAppCommand
=
function
(
command
,
operationId
,
contentId
)
{
var
param
=
{};
param
.
cmd
=
CHK
.
getCommand
(
command
);
param
.
operationId
=
operationId
;
param
.
contentId
=
contentId
;
CHK
.
sendABookCheckApi
(
param
);
}
...
...
app/script/check.js
View file @
2af6df32
...
...
@@ -48,8 +48,11 @@ CHK.jsonPath = {
};
//アプリ送信用コマンド
CHK
.
apiCmd
=
{
finishInit
:
"finishInit"
,
//初期化完了
goRelationContent
:
"goRelationContent"
,
//関連資料
goSetting
:
"goSetting"
,
//設定
goOperation
:
"goOperation"
,
//作業開始
refreshContent
:
"refreshContent"
,
//新着更新
editAttached
:
"editAttached"
,
//添付ファイル編集
saveAttached
:
"saveAttached"
,
//添付ファイル保存
insertReport
:
"insertTaskReport"
,
//作業報告保存
...
...
@@ -244,7 +247,7 @@ CHK.init = function() {
$
(
"#report_dialog"
).
height
(
$
(
".noTitleDialog:visible"
).
height
()
-
100
);
}
});
}
}
}
/**
...
...
@@ -2644,7 +2647,7 @@ CHK.createOperationList = function(operationList) {
for
(
var
i
=
0
;
i
<
operationList
.
length
;
i
++
)
{
var
operationTR
=
$
(
"<tr/>"
);
//TODO aタグlist.html 転移処理
var
operationNameTd
=
$
(
"<td class='operationId_"
+
operationList
[
i
].
operationId
+
"'><a href='list.html'
class='d-block text-black text-decoration-none mb-1'>"
+
operationList
[
i
].
operationName
+
"</a></td>"
);
var
operationNameTd
=
$
(
"<td class='operationId_"
+
operationList
[
i
].
operationId
+
"'><a href=
\"
javascript:CHK_L.sendAppCommand('goOperation', '"
+
operationList
[
i
].
operationId
+
"', '"
+
operationList
[
i
].
contentId
+
"');
\"
class='d-block text-black text-decoration-none mb-1'>"
+
operationList
[
i
].
operationName
+
"</a></td>"
);
var
operationStartDateTd
=
$
(
"<td/>"
,
{
class
:
"operationStartDate"
}).
text
(
setOperationDate
(
operationList
[
i
].
operationStartDate
));
var
operationEndDateTd
=
$
(
"<td/>"
,
{
class
:
"operationEndDate"
}).
text
(
setOperationDate
(
operationList
[
i
].
operationEndDate
));
var
iconTd
=
operationList
[
i
].
operationType
==
CHK
.
OPERATION_TYPE
.
VTOUR
?
$
(
"<td class='p-2'> <button class='btn btn-outline-primary fs-8 py-2'>VR</button> </td>"
)
:
""
;
...
...
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