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
3b01df38
Commit
3b01df38
authored
Feb 06, 2023
by
Kazuyuki Hida
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ダッシュボードからの画面遷移を実装。報告書については試せていない
parent
b10a77da
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
9 deletions
+20
-9
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/DashboardActivity.java
+14
-3
gradle.properties
+6
-6
No files found.
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/activity/DashboardActivity.java
View file @
3b01df38
...
@@ -66,6 +66,7 @@ import static jp.agentec.abook.abv.bl.acms.client.json.OperationDataJSON.TaskRep
...
@@ -66,6 +66,7 @@ import static jp.agentec.abook.abv.bl.acms.client.json.OperationDataJSON.TaskRep
import
static
jp
.
agentec
.
abook
.
abv
.
bl
.
acms
.
client
.
json
.
OperationDataJSON
.
TaskReportInfo
;
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
.
OperationList
;
import
static
jp
.
agentec
.
abook
.
abv
.
bl
.
acms
.
client
.
json
.
OperationListJSON
.
OperationName
;
import
static
jp
.
agentec
.
abook
.
abv
.
bl
.
acms
.
client
.
json
.
OperationListJSON
.
OperationName
;
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_LIST
;
import
static
jp
.
agentec
.
abook
.
abv
.
bl
.
common
.
constant
.
ABookKeys
.
CMD_GET_REPORT_STATUS_COUNT
;
import
static
jp
.
agentec
.
abook
.
abv
.
bl
.
common
.
constant
.
ABookKeys
.
CMD_GET_REPORT_STATUS_COUNT
;
import
static
jp
.
agentec
.
abook
.
abv
.
bl
.
common
.
constant
.
ABookKeys
.
CMD_GO_REPORT_DETAIL
;
import
static
jp
.
agentec
.
abook
.
abv
.
bl
.
common
.
constant
.
ABookKeys
.
CMD_GO_REPORT_DETAIL
;
...
@@ -285,7 +286,10 @@ public class DashboardActivity extends OperationActivity {
...
@@ -285,7 +286,10 @@ public class DashboardActivity extends OperationActivity {
}
}
case
CMD_GO_REPORT_DETAIL:
{
case
CMD_GO_REPORT_DETAIL:
{
long
operationId
=
json
.
getLong
(
OperationId
);
long
operationId
=
json
.
getLong
(
OperationId
);
goReportDetail
(
operationId
);
String
taskKey
=
json
.
has
(
TaskKey
)
?
json
.
getString
(
TaskKey
)
:
null
;
Long
taskReportId
=
json
.
has
(
TaskReportId
)
?
json
.
getLong
(
TaskReportId
)
:
null
;
String
reportStartDate
=
json
.
has
(
ReportStartDate
)
?
json
.
getString
(
ReportStartDate
)
:
null
;
goReportDetail
(
operationId
,
taskKey
,
taskReportId
,
reportStartDate
);
break
;
break
;
}
}
case
CMD_LOCK_REPORT:
{
case
CMD_LOCK_REPORT:
{
...
@@ -393,7 +397,7 @@ public class DashboardActivity extends OperationActivity {
...
@@ -393,7 +397,7 @@ public class DashboardActivity extends OperationActivity {
return
tree
;
return
tree
;
}
}
private
void
goReportDetail
(
long
operationId
)
{
private
void
goReportDetail
(
long
operationId
,
String
taskKey
,
Long
taskReportId
,
String
reportStartDate
)
{
if
(
ActivityHandlingHelper
.
getInstance
().
isMeetingConnected
())
{
if
(
ActivityHandlingHelper
.
getInstance
().
isMeetingConnected
())
{
return
;
return
;
}
}
...
@@ -416,7 +420,7 @@ public class DashboardActivity extends OperationActivity {
...
@@ -416,7 +420,7 @@ public class DashboardActivity extends OperationActivity {
// プロジェクトの指示/報告表示時、必要なJSONファイル作成
// プロジェクトの指示/報告表示時、必要なJSONファイル作成
OperationLogic
operationLogic
=
AbstractLogic
.
getLogic
(
OperationLogic
.
class
);
OperationLogic
operationLogic
=
AbstractLogic
.
getLogic
(
OperationLogic
.
class
);
operationLogic
.
createJsonForOperationContent
(
operationDto
.
operationId
,
contentPath
,
operationDto
.
reportType
==
Constant
.
ReportType
.
RoutineTask
);
operationLogic
.
createJsonForOperationContent
(
operationDto
.
operationId
,
contentPath
,
operationDto
.
reportType
==
RoutineTask
);
// サーバ作業後、対応必要
// サーバ作業後、対応必要
StringBuilder
path
=
new
StringBuilder
();
StringBuilder
path
=
new
StringBuilder
();
...
@@ -425,6 +429,13 @@ public class DashboardActivity extends OperationActivity {
...
@@ -425,6 +429,13 @@ public class DashboardActivity extends OperationActivity {
path
.
append
(
"/index.html?app=android"
);
path
.
append
(
"/index.html?app=android"
);
path
.
append
(
"&report_type="
).
append
(
operationDto
.
reportType
);
// 作業報告タイプ : 0:報告 1:定期点検 2:報告(回答)
path
.
append
(
"&report_type="
).
append
(
operationDto
.
reportType
);
// 作業報告タイプ : 0:報告 1:定期点検 2:報告(回答)
path
.
append
(
"&mobile_flg="
).
append
(
isNormalSize
()
?
"1"
:
"0"
);
// ScreenType
path
.
append
(
"&mobile_flg="
).
append
(
isNormalSize
()
?
"1"
:
"0"
);
// ScreenType
if
(
operationDto
.
reportType
==
RoutineTask
)
{
path
.
append
(
"&taskKey="
).
append
(
taskKey
);
path
.
append
(
"&taskReportId="
).
append
(
taskReportId
);
path
.
append
(
"&reportStartDate="
).
append
(
reportStartDate
);
}
else
{
path
.
append
(
"&taskKey="
).
append
(
taskKey
);
}
Logger
.
d
(
TAG
,
"path : "
+
path
);
Logger
.
d
(
TAG
,
"path : "
+
path
);
Intent
intent
=
new
Intent
();
Intent
intent
=
new
Intent
();
...
...
gradle.properties
View file @
3b01df38
...
@@ -37,10 +37,10 @@ app_versioncode=1
...
@@ -37,10 +37,10 @@ app_versioncode=1
# abvEnvironments.xml
# abvEnvironments.xml
#cms server
#cms server
acms_address
=
https://check.abookcloud.com/acms
#
acms_address=https://check.abookcloud.com/acms
download_server_address
=
https://check.abookcloud.com/acms
#
download_server_address=https://check.abookcloud.com/acms
#
acms_address=https://abook188-1.abook.bz/acms
acms_address
=
https://abook188-1.abook.bz/acms
#
download_server_address=https://abook188-1.abook.bz/acms
download_server_address
=
https://abook188-1.abook.bz/acms
#acms_address=http://10.0.2.2:8080/acms
#acms_address=http://10.0.2.2:8080/acms
#download_server_address=http://10.0.2.2:8080/acms
#download_server_address=http://10.0.2.2:8080/acms
...
@@ -96,8 +96,8 @@ hope_page=http://www.sato.co.jp
...
@@ -96,8 +96,8 @@ hope_page=http://www.sato.co.jp
contact_email
=
grp-atform_support@sato-global.com
contact_email
=
grp-atform_support@sato-global.com
#Log Settings
#Log Settings
log_level
=
2
#
log_level=2
#
log_level=1
log_level
=
1
default_log_name
=
abvje
default_log_name
=
abvje
#エラーレポート/Exportログ送信方法 1:acms 2:平文メール(開発・テスト時のみ) 3:暗号化添付メール
#エラーレポート/Exportログ送信方法 1:acms 2:平文メール(開発・テスト時のみ) 3:暗号化添付メール
...
...
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