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
13df0a46
Commit
13df0a46
authored
Mar 29, 2019
by
Lee Jaebin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PDFで帳票フォームの対応
parent
cf9c78e7
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
1 deletions
+14
-1
ABVJE_BL/src/jp/agentec/abook/abv/bl/logic/OperationLogic.java
+2
-1
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/common/activity/ABVContentViewActivity.java
+4
-0
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/helper/ActivityHandlingHelper.java
+3
-0
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/activity/ContentViewActivity.java
+5
-0
No files found.
ABVJE_BL/src/jp/agentec/abook/abv/bl/logic/OperationLogic.java
View file @
13df0a46
...
@@ -1134,7 +1134,8 @@ public class OperationLogic extends AbstractLogic {
...
@@ -1134,7 +1134,8 @@ public class OperationLogic extends AbstractLogic {
if
(
taskReportDtoList
!=
null
&&
taskReportDtoList
.
size
()
>
0
)
{
if
(
taskReportDtoList
!=
null
&&
taskReportDtoList
.
size
()
>
0
)
{
int
allSendCount
=
mTaskReportSendDao
.
getSendableTaskReportSendDataCount
(
operationId
,
taskKey
);
int
allSendCount
=
mTaskReportSendDao
.
getSendableTaskReportSendDataCount
(
operationId
,
taskKey
);
int
progress
=
maxProgress
/
allSendCount
==
0
?
1
:
allSendCount
;
allSendCount
=
allSendCount
==
0
?
1
:
allSendCount
;
int
progress
=
maxProgress
/
allSendCount
;
// 送信済みsendIdをまとめて削除するため、リストに追加して最後に削除
// 送信済みsendIdをまとめて削除するため、リストに追加して最後に削除
List
<
Integer
>
removeTaskReportSendIds
=
new
ArrayList
<
Integer
>();
List
<
Integer
>
removeTaskReportSendIds
=
new
ArrayList
<
Integer
>();
...
...
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/common/activity/ABVContentViewActivity.java
View file @
13df0a46
...
@@ -940,6 +940,10 @@ public abstract class ABVContentViewActivity extends ABVAuthenticatedActivity {
...
@@ -940,6 +940,10 @@ public abstract class ABVContentViewActivity extends ABVAuthenticatedActivity {
closeProgressPopup
();
closeProgressPopup
();
if
(
ActivityHandlingHelper
.
getInstance
().
searchOzdActivityStack
())
{
// OZD作業画面があるかを確認
if
(
ActivityHandlingHelper
.
getInstance
().
searchOzdActivityStack
())
{
// OZD作業画面があるかを確認
// PDF且つ、一時保存の場合は、以下の処理を行わないでreturn null;で処理を終わらせる
if
(
mCmd
.
equals
(
ABookKeys
.
CMD_LOCAL_SAVE_TASK_REPORT
)
&&
isOperationPdf
)
{
return
null
;
}
if
(!
isError
)
{
// エラーがなしの場合
if
(!
isError
)
{
// エラーがなしの場合
if
(
mAddReport
)
{
// 作業追加ありの場合
if
(
mAddReport
)
{
// 作業追加ありの場合
// コールバック処理のみ行う。
// コールバック処理のみ行う。
...
...
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/home/helper/ActivityHandlingHelper.java
View file @
13df0a46
...
@@ -83,6 +83,7 @@ import jp.agentec.abook.abv.ui.viewer.activity.ImageViewActivity;
...
@@ -83,6 +83,7 @@ import jp.agentec.abook.abv.ui.viewer.activity.ImageViewActivity;
import
jp.agentec.abook.abv.ui.viewer.activity.ParentWebViewActivity
;
import
jp.agentec.abook.abv.ui.viewer.activity.ParentWebViewActivity
;
import
jp.agentec.abook.abv.ui.viewer.activity.PreviewActivity
;
import
jp.agentec.abook.abv.ui.viewer.activity.PreviewActivity
;
import
jp.agentec.abook.abv.ui.viewer.activity.VideoViewActivity
;
import
jp.agentec.abook.abv.ui.viewer.activity.VideoViewActivity
;
import
jp.agentec.abook.abv.ui.viewer.view.OperationTaskLayout
;
import
jp.agentec.adf.net.http.HttpDownloadSimpleNotification
;
import
jp.agentec.adf.net.http.HttpDownloadSimpleNotification
;
import
jp.agentec.adf.util.DateTimeFormat
;
import
jp.agentec.adf.util.DateTimeFormat
;
import
jp.agentec.adf.util.DateTimeUtil
;
import
jp.agentec.adf.util.DateTimeUtil
;
...
@@ -1599,6 +1600,8 @@ public class ActivityHandlingHelper extends ABookHelper implements RemoteObserve
...
@@ -1599,6 +1600,8 @@ public class ActivityHandlingHelper extends ABookHelper implements RemoteObserve
final
String
scriptUrl
=
url
;
final
String
scriptUrl
=
url
;
if
(
activity
instanceof
ParentWebViewActivity
)
{
if
(
activity
instanceof
ParentWebViewActivity
)
{
((
ParentWebViewActivity
)
activity
).
callViewLoadUrl
(
scriptUrl
);
((
ParentWebViewActivity
)
activity
).
callViewLoadUrl
(
scriptUrl
);
}
else
if
(
activity
instanceof
ContentViewActivity
)
{
((
ContentViewActivity
)
activity
).
callOzWebViewLoadUrl
(
scriptUrl
);
}
}
}
}
}
}
...
...
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/activity/ContentViewActivity.java
View file @
13df0a46
...
@@ -4972,6 +4972,11 @@ public class ContentViewActivity extends ABVContentViewActivity {
...
@@ -4972,6 +4972,11 @@ public class ContentViewActivity extends ABVContentViewActivity {
operationTaskLayout
.
taskWebViewLoadUrl
(
url
);
operationTaskLayout
.
taskWebViewLoadUrl
(
url
);
}
}
// OZDからのscript呼び出す用
public
void
callOzWebViewLoadUrl
(
String
url
)
{
operationTaskLayout
.
taskWebViewLoadUrl
(
url
);
}
/**
/**
* PDFプロジェクトのアクション制御メソッド
* PDFプロジェクトのアクション制御メソッド
* @param checkParam
* @param checkParam
...
...
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