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
bb0544ca
Commit
bb0544ca
authored
Aug 24, 2021
by
Kim Eunchul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#42998 I/O 帳票出力画面改善
parent
beaf139b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
58 additions
and
0 deletions
+58
-0
ABVJE_BL/src/jp/agentec/abook/abv/bl/acms/type/AcmsApis.java
+2
-0
ABVJE_UI_Android/res/layout/content_view_toolbar.xml
+14
-0
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/common/activity/ABVContentViewActivity.java
+42
-0
No files found.
ABVJE_BL/src/jp/agentec/abook/abv/bl/acms/type/AcmsApis.java
View file @
bb0544ca
...
@@ -158,6 +158,8 @@ public class AcmsApis {
...
@@ -158,6 +158,8 @@ public class AcmsApis {
public
static
final
String
ApiGetApertureMasterData
=
"getApertureMasterData"
;
public
static
final
String
ApiGetApertureMasterData
=
"getApertureMasterData"
;
// 簡易帳票一覧取得
// 簡易帳票一覧取得
public
static
final
String
ApiQuickReportSearch
=
"quickReportSearch"
;
public
static
final
String
ApiQuickReportSearch
=
"quickReportSearch"
;
public
static
final
String
ApiQuickReportPrint
=
"quickReportRevisionByOperation/revisionByOperationSearch/"
;
// 簡易帳票リビジョン一覧取得
// 簡易帳票リビジョン一覧取得
public
static
final
String
ApiQuickReportRevision
=
"quickReportRevision"
;
public
static
final
String
ApiQuickReportRevision
=
"quickReportRevision"
;
...
...
ABVJE_UI_Android/res/layout/content_view_toolbar.xml
View file @
bb0544ca
...
@@ -142,6 +142,20 @@
...
@@ -142,6 +142,20 @@
android:background=
"@drawable/btn_view_sub_menu"
/>
android:background=
"@drawable/btn_view_sub_menu"
/>
<ImageButton
<ImageButton
android:id=
"@+id/btn_operation_print"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:background=
"@drawable/btn_operation_print"
android:layout_centerVertical=
"true"
android:layout_alignParentRight=
"true"
android:scaleX=
"0.6"
android:scaleY=
"0.6"
style=
"@style/ToolBarIcon"
android:layout_marginRight=
"50dp"
android:visibility=
"gone"
/>
<ImageButton
android:id=
"@+id/btn_show_task_list"
android:id=
"@+id/btn_show_task_list"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
...
...
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/common/activity/ABVContentViewActivity.java
View file @
bb0544ca
...
@@ -80,6 +80,9 @@ import jp.agentec.abook.abv.ui.viewer.activity.HTMLXWalkWebViewActivity;
...
@@ -80,6 +80,9 @@ import jp.agentec.abook.abv.ui.viewer.activity.HTMLXWalkWebViewActivity;
import
jp.agentec.abook.abv.ui.viewer.activity.NoPdfViewActivity
;
import
jp.agentec.abook.abv.ui.viewer.activity.NoPdfViewActivity
;
import
jp.agentec.abook.abv.ui.viewer.activity.PhotoEditActivity
;
import
jp.agentec.abook.abv.ui.viewer.activity.PhotoEditActivity
;
import
jp.agentec.abook.abv.ui.viewer.foxitPdf.FoxitPdfCore
;
import
jp.agentec.abook.abv.ui.viewer.foxitPdf.FoxitPdfCore
;
import
jp.agentec.abook.abv.bl.acms.type.AcmsApis
;
import
jp.agentec.abook.abv.ui.viewer.activity.OnlineHTMLWebViewActivity
;
import
jp.agentec.abook.abv.ui.common.constant.NaviConsts
;
import
jp.agentec.adf.util.DateTimeUtil
;
import
jp.agentec.adf.util.DateTimeUtil
;
import
jp.agentec.adf.util.FileUtil
;
import
jp.agentec.adf.util.FileUtil
;
import
jp.agentec.adf.util.StringUtil
;
import
jp.agentec.adf.util.StringUtil
;
...
@@ -127,6 +130,7 @@ public abstract class ABVContentViewActivity extends ABVAuthenticatedActivity {
...
@@ -127,6 +130,7 @@ public abstract class ABVContentViewActivity extends ABVAuthenticatedActivity {
protected
TextView
operationNameTitle
;
protected
TextView
operationNameTitle
;
protected
ImageButton
operationHomeButton
;
protected
ImageButton
operationHomeButton
;
protected
ImageButton
taskListButton
;
protected
ImageButton
taskListButton
;
protected
ImageButton
quickReportPrintButton
;
// protected ImageButton helpButton;
// protected ImageButton helpButton;
protected
boolean
isPageFinished
;
protected
boolean
isPageFinished
;
...
@@ -665,6 +669,7 @@ public abstract class ABVContentViewActivity extends ABVAuthenticatedActivity {
...
@@ -665,6 +669,7 @@ public abstract class ABVContentViewActivity extends ABVAuthenticatedActivity {
}
}
fl
.
setBackgroundColor
(
getResources
().
getColor
(
R
.
color
.
operation_color
));
fl
.
setBackgroundColor
(
getResources
().
getColor
(
R
.
color
.
operation_color
));
operationHomeButton
=
(
ImageButton
)
findViewById
(
R
.
id
.
btn_operation_home
);
operationHomeButton
=
(
ImageButton
)
findViewById
(
R
.
id
.
btn_operation_home
);
quickReportPrintButton
=
(
ImageButton
)
findViewById
(
R
.
id
.
btn_operation_print
);
operationHomeButton
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
operationHomeButton
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
@Override
@Override
public
void
onClick
(
View
v
)
{
public
void
onClick
(
View
v
)
{
...
@@ -679,6 +684,23 @@ public abstract class ABVContentViewActivity extends ABVAuthenticatedActivity {
...
@@ -679,6 +684,23 @@ public abstract class ABVContentViewActivity extends ABVAuthenticatedActivity {
});
});
operationHomeButton
.
setVisibility
(
View
.
VISIBLE
);
operationHomeButton
.
setVisibility
(
View
.
VISIBLE
);
if
(
operationDto
.
operationType
==
OperationType
.
PDF
){
// 簡易帳票印刷ボタン
quickReportPrintButton
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
@Override
public
void
onClick
(
View
v
)
{
showPrintTargetSelect
(
operationDto
);
}
});
if
(
ABVDataCache
.
getInstance
().
serviceOption
.
isUnableIOReport
())
{
quickReportPrintButton
.
setVisibility
(
View
.
VISIBLE
);
}
else
{
findViewById
(
R
.
id
.
print_layout
).
setVisibility
(
View
.
GONE
);
quickReportPrintButton
.
setVisibility
(
View
.
GONE
);
}
}
taskListButton
=
(
ImageButton
)
findViewById
(
R
.
id
.
btn_show_task_list
);
taskListButton
=
(
ImageButton
)
findViewById
(
R
.
id
.
btn_show_task_list
);
taskListButton
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
taskListButton
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
@Override
@Override
...
@@ -721,6 +743,26 @@ public abstract class ABVContentViewActivity extends ABVAuthenticatedActivity {
...
@@ -721,6 +743,26 @@ public abstract class ABVContentViewActivity extends ABVAuthenticatedActivity {
}
}
/**
/**
* 簡易帳票印刷対象選択画面表示
*/
private
void
showPrintTargetSelect
(
OperationDto
operationDto
)
{
Intent
intent
=
new
Intent
();
StringBuffer
path
=
new
StringBuffer
();
path
.
append
(
ABVEnvironment
.
getInstance
().
acmsAddress
);
path
.
append
(
ABVDataCache
.
getInstance
().
getUrlPath
()+
"/checkapi/"
);
path
.
append
(
AcmsApis
.
ApiQuickReportPrint
);
path
.
append
(
operationDto
.
operationId
+
"/"
);
path
.
append
(
ABVDataCache
.
getInstance
().
getMemberInfo
().
sid
);
path
.
append
(
"?operationId="
+
operationDto
.
operationId
);
path
.
append
(
"&sid="
+
ABVDataCache
.
getInstance
().
getMemberInfo
().
sid
);
intent
.
setClass
(
ABVContentViewActivity
.
this
,
OnlineHTMLWebViewActivity
.
class
);
intent
.
setFlags
(
Intent
.
FLAG_ACTIVITY_SINGLE_TOP
);
intent
.
putExtra
(
"LINKURL"
,
""
+
path
);
startActivity
(
intent
,
NaviConsts
.
Right
);
}
/**
* 360編集画面を閉じた時、呼び出す
* 360編集画面を閉じた時、呼び出す
*/
*/
public
void
callUnloadAuth
()
{
public
void
callUnloadAuth
()
{
...
...
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