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
a334ecc8
Commit
a334ecc8
authored
Feb 07, 2023
by
Yujin Seo
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/contract/sato/1.0.300_51421_dashboard_help' into 'contract/sato/1.0.300'
ダッシュボード関連の不具合対応 See merge request
!276
parents
fa2b2b86
b25150dc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
1 deletions
+20
-1
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/DashboardActivity.java
+14
-1
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/HelpActivity.java
+6
-0
No files found.
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/DashboardActivity.java
View file @
a334ecc8
...
...
@@ -61,11 +61,13 @@ import static jp.agentec.abook.abv.bl.acms.client.json.OperationDataJSON.ReportS
import
static
jp
.
agentec
.
abook
.
abv
.
bl
.
acms
.
client
.
json
.
OperationDataJSON
.
ReportStatusId
;
import
static
jp
.
agentec
.
abook
.
abv
.
bl
.
acms
.
client
.
json
.
OperationDataJSON
.
SendBackUserId
;
import
static
jp
.
agentec
.
abook
.
abv
.
bl
.
acms
.
client
.
json
.
OperationDataJSON
.
SendBackUserName
;
import
static
jp
.
agentec
.
abook
.
abv
.
bl
.
acms
.
client
.
json
.
OperationDataJSON
.
TaskCode
;
import
static
jp
.
agentec
.
abook
.
abv
.
bl
.
acms
.
client
.
json
.
OperationDataJSON
.
TaskKey
;
import
static
jp
.
agentec
.
abook
.
abv
.
bl
.
acms
.
client
.
json
.
OperationDataJSON
.
TaskReportId
;
import
static
jp
.
agentec
.
abook
.
abv
.
bl
.
acms
.
client
.
json
.
OperationDataJSON
.
TaskReportInfo
;
import
static
jp
.
agentec
.
abook
.
abv
.
bl
.
acms
.
client
.
json
.
OperationListJSON
.
OperationList
;
import
static
jp
.
agentec
.
abook
.
abv
.
bl
.
acms
.
client
.
json
.
OperationListJSON
.
OperationName
;
import
static
jp
.
agentec
.
abook
.
abv
.
bl
.
common
.
Constant
.
HelpViewType
.
OperationDashboard
;
import
static
jp
.
agentec
.
abook
.
abv
.
bl
.
common
.
Constant
.
ReportType
.
RoutineTask
;
import
static
jp
.
agentec
.
abook
.
abv
.
bl
.
common
.
constant
.
ABookKeys
.
CMD_GET_REPORT_LIST
;
import
static
jp
.
agentec
.
abook
.
abv
.
bl
.
common
.
constant
.
ABookKeys
.
CMD_GET_REPORT_STATUS_COUNT
;
...
...
@@ -95,6 +97,14 @@ public class DashboardActivity extends OperationActivity {
}
});
ImageButton
helpButton
=
findViewById
(
R
.
id
.
btn_help
);
helpButton
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
@Override
public
void
onClick
(
View
v
)
{
showHelpViewDialog
(
OperationDashboard
);
}
});
progress
=
findViewById
(
R
.
id
.
refresh_prog
);
createWebView
();
...
...
@@ -129,6 +139,7 @@ public class DashboardActivity extends OperationActivity {
mDashboardButton
.
setEnabled
(
false
);
}
@SuppressLint
(
"SetJavaScriptEnabled"
)
private
void
createWebView
()
{
webView
=
new
CheckFormWebview
(
this
,
new
CheckFormWebview
.
KeyActionCallback
()
{
...
...
@@ -160,7 +171,6 @@ public class DashboardActivity extends OperationActivity {
Logger
.
d
(
TAG
,
"loadUrl: "
+
DASHBOARD_URL
);
}
@SuppressLint
(
"SetJavaScriptEnabled"
)
private
void
initSettings
(
WebSettings
settings
)
{
settings
.
setSupportMultipleWindows
(
true
);
// 新しいウィンドウを開くイベントを取得する
...
...
@@ -386,6 +396,7 @@ public class DashboardActivity extends OperationActivity {
task
.
put
(
TaskKey
,
report
.
getTaskKey
());
task
.
put
(
TaskReportInfo
,
report
.
getTaskReportInfo
());
task
.
put
(
TaskReportId
,
report
.
getTaskReportId
());
task
.
put
(
TaskCode
,
report
.
getTaskCode
());
task
.
put
(
ReportStartDate
,
report
.
getReportStartDateAsString
());
task
.
put
(
ReportLockUserId
,
report
.
getReportLockUserId
());
task
.
put
(
ReportLockUserName
,
report
.
getReportLockUserName
());
...
...
@@ -527,5 +538,7 @@ public class DashboardActivity extends OperationActivity {
Logger
.
e
(
TAG
,
e
);
throw
e
;
}
// 強制的に画面更新するためにリロード fixme
webView
.
loadUrl
(
DASHBOARD_URL
);
}
}
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/HelpActivity.java
View file @
a334ecc8
...
...
@@ -259,6 +259,12 @@ public class HelpActivity extends ABVUIActivity {
mMainDescription
=
PatternStringUtil
.
patternToString
(
getApplicationContext
(),
R
.
string
.
msg_help_dashboard
,
getUserPref
(
AppDefType
.
UserPrefKey
.
RESOURCE_PATTERN_TYPE
,
0
));
mHelpDisplayInfoList
.
add
(
settingHelpDisplayInfo
(
PatternStringUtil
.
patternToString
(
getApplicationContext
(),
R
.
string
.
msg_help_report_locked
,
getUserPref
(
AppDefType
.
UserPrefKey
.
RESOURCE_PATTERN_TYPE
,
0
)),
R
.
drawable
.
ic_unlock
));
mHelpDisplayInfoList
.
add
(
settingHelpDisplayInfo
(
PatternStringUtil
.
patternToString
(
getApplicationContext
(),
R
.
string
.
msg_help_report_send_back
,
getUserPref
(
AppDefType
.
UserPrefKey
.
RESOURCE_PATTERN_TYPE
,
0
)),
R
.
drawable
.
ic_sendback
));
break
;
}
if
(!(
helpViewTye
==
Constant
.
HelpViewType
.
OperationListDirector
||
helpViewTye
==
Constant
.
HelpViewType
.
OperationListReporter
||
helpViewTye
==
Constant
.
HelpViewType
.
OperationDetail
))
{
...
...
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