Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abook_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_android
abook_check
Commits
484b514b
Commit
484b514b
authored
Aug 30, 2021
by
Lee Munkyeong
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
作業更新関連修正
parent
7912e132
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
20 deletions
+26
-20
ABVJE_Launcher_Android/assets/check
+1
-1
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/OperationListActivity.java
+21
-18
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/activity/HTMLXWalkWebViewActivity.java
+4
-1
No files found.
check
@
5d0e71bd
Subproject commit
7321568f2997cb2f8eef0e2052f0b7d481c751a
a
Subproject commit
5d0e71bd7ff6383baab4a0f7f333279b7307a27
a
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/OperationListActivity.java
View file @
484b514b
...
...
@@ -128,7 +128,7 @@ public class OperationListActivity extends ABVUIActivity {
public
int
sortType
=
2
;
public
boolean
isSearch
=
false
;
public
int
mOperationGroupMasterId
=
0
;
boolean
firstFlg
=
true
;
private
EditText
mSearchTextView
;
// 検索画面の作業名
private
TextView
mStartDate
;
// 検索画面の作業開始日
private
TextView
mEndDate
;
// 検索画面の作業終了日
...
...
@@ -201,6 +201,7 @@ public class OperationListActivity extends ABVUIActivity {
paramList
.
add
(
"app=android"
);
paramList
.
add
(
"mobile_flg="
+
(
isNormalSize
()
?
"1"
:
"0"
));
paramList
.
add
(
"isRFIDBarcodeScan="
+
(
ABVDataCache
.
getInstance
().
serviceOption
.
isUsableRFIDBarcodeScan
()
?
"1"
:
"0"
));
paramList
.
add
(
"isOperationGroupMaster="
+
(
ABVDataCache
.
getInstance
().
serviceOption
.
isOperationGroupMaster
()
?
"1"
:
"0"
));
mCheckWebView
.
postUrl
(
OPERATION_LIST_PAGE
+
StringUtil
.
join
(
"&"
,
paramList
),
null
);
mListHelper
=
getListHelper
();
updateNeedSyncRoutineOperation
();
...
...
@@ -350,7 +351,6 @@ public class OperationListActivity extends ABVUIActivity {
showProgressPopup
();
}
});
clearSearch
();
dataRefresh
(
true
);
break
;
...
...
@@ -478,7 +478,7 @@ public class OperationListActivity extends ABVUIActivity {
mOperationGroupMasterId
=
0
;
isSearch
=
false
;
sortType
=
2
;
clearData
();
//
clearData();
}
// 検索済みかどうかチェック
...
...
@@ -536,12 +536,7 @@ public class OperationListActivity extends ABVUIActivity {
public
void
onResume
()
{
Logger
.
i
(
TAG
,
"onResume:start"
);
super
.
onResume
();
handler
.
post
(
new
Runnable
()
{
@Override
public
void
run
()
{
showProgressPopup
();
}
});
if
(
isSearch
)
{
isSearch
=
false
;
return
;
...
...
@@ -557,17 +552,18 @@ public class OperationListActivity extends ABVUIActivity {
}
// 報告画面から作業一覧へ戻った時の同期処理
final
long
operationId
=
getUserPref
(
AppDefType
.
UserPrefKey
.
SYNC_TARGET_OPERATION_ID
,
-
1L
);
if
(
operationId
!=
-
1
)
{
dataRefresh
(
true
);
// リソースパターンの適用
}
if
(!
activityResultFlg
&&
operationId
==
-
1
)
{
if
(
operationId
==
-
1
)
{
handler
.
post
(
new
Runnable
()
{
@Override
public
void
run
()
{
showProgressPopup
();
}
});
if
(
firstFlg
)
{
dataRefresh
(
true
);
firstFlg
=
false
;
}
putUserPref
(
AppDefType
.
UserPrefKey
.
SYNC_TARGET_OPERATION_ID
,
-
1L
);
activityResultFlg
=
false
;
runOnUiThread
(
new
Runnable
()
{
@Override
public
void
run
()
{
...
...
@@ -581,6 +577,13 @@ public class OperationListActivity extends ABVUIActivity {
});
}
if
(!
activityResultFlg
&&
operationId
==
-
1
)
{
//dataRefresh(true);
}
putUserPref
(
AppDefType
.
UserPrefKey
.
SYNC_TARGET_OPERATION_ID
,
-
1L
);
activityResultFlg
=
false
;
}
// 検索ダイアログ表示
private
void
showSearchDialog
()
{
contentRefresher
.
stopRefresh
();
...
...
@@ -1947,7 +1950,7 @@ public class OperationListActivity extends ABVUIActivity {
}
public
void
createJsonForOperationList
(
String
filePath
)
{
clearSearch
();
//
clearSearch();
List
<
OperationDto
>
operationList
=
mListHelper
.
filterOperationList
();
mOperationLogic
.
createOperationListJson
(
operationList
,
filePath
);
mOperationGroupMasterLogic
.
createOperationGroupMasterListJson
(
filePath
);
...
...
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/activity/HTMLXWalkWebViewActivity.java
View file @
484b514b
...
...
@@ -490,7 +490,10 @@ public class HTMLXWalkWebViewActivity extends ParentWebViewActivity {
configureRemote
();
}
});
historyListBtn
.
setVisibility
(
View
.
GONE
);
if
(
ContentJSON
.
KEY_LIST_TYPE
.
equals
(
mContentDto
.
contentType
))
{
fl
.
setVisibility
(
View
.
GONE
);
}
if
(
isLinkedContent
)
{
if
(
ContentJSON
.
KEY_MOVIE_TYPE
.
equals
(
mContentDto
.
contentType
)
||
ContentJSON
.
KEY_MUSIC_TYPE
.
equals
(
mContentDto
.
contentType
)
||
ContentJSON
.
KEY_PANO_IMAGE_TYPE
.
equals
(
mContentDto
.
contentType
)
||
ContentJSON
.
KEY_PANO_MOVIE_TYPE
.
equals
(
mContentDto
.
contentType
)
...
...
Kim Peace
@kim-p
mentioned in commit
60e0ca4b
Aug 30, 2021
mentioned in commit
60e0ca4b
mentioned in commit 60e0ca4b1637389e412284d047fd380c74f95538
Toggle commit list
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