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
961cafab
Commit
961cafab
authored
Jan 22, 2020
by
yuichiro ogawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
報告から別の作業報告を表示するための処理を追加(異常報告への遷移)
parent
7ff9ba85
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/activity/HTMLWebViewActivity.java
+10
-4
No files found.
ABVJE_UI_Android/src/jp/agentec/abook/abv/ui/viewer/activity/HTMLWebViewActivity.java
View file @
961cafab
...
@@ -671,13 +671,19 @@ public class HTMLWebViewActivity extends ParentWebViewActivity {
...
@@ -671,13 +671,19 @@ public class HTMLWebViewActivity extends ParentWebViewActivity {
}
}
public
void
kickAddTaskReport
(
Map
<
String
,
String
>
addTaskReportInitParam
)
{
public
void
kickAddTaskReport
(
Map
<
String
,
String
>
addTaskReportInitParam
)
{
// TODO キャッシュからパラメータを受け取ってjsの関数に引数として渡す
// キャッシュからパラメータを受け取りjsの関数に引数として渡す
JSONObject
json
=
new
JSONObject
();
json
.
put
(
ABookKeys
.
UBNORMALITY_REPORT_LOT_NUMBER_7_FIGURE
,
addTaskReportInitParam
.
get
(
ABookKeys
.
UBNORMALITY_REPORT_LOT_NUMBER_7_FIGURE
));
json
.
put
(
ABookKeys
.
UBNORMALITY_REPORT_ITEM_NO
,
addTaskReportInitParam
.
get
(
ABookKeys
.
UBNORMALITY_REPORT_ITEM_NO
));
json
.
put
(
ABookKeys
.
UBNORMALITY_REPORT_FARM_NO
,
addTaskReportInitParam
.
get
(
ABookKeys
.
UBNORMALITY_REPORT_FARM_NO
));
json
.
put
(
ABookKeys
.
UBNORMALITY_REPORT_SHIPPING_SOURCE_NO
,
addTaskReportInitParam
.
get
(
ABookKeys
.
UBNORMALITY_REPORT_SHIPPING_SOURCE_NO
));
final
String
param
=
json
.
toString
();
runOnUiThread
(
new
Runnable
()
{
runOnUiThread
(
new
Runnable
()
{
@Override
@Override
public
void
run
()
{
public
void
run
()
{
if
(
webView
!=
null
)
{
Logger
.
i
(
TAG
,
String
.
format
(
"javascript:CHK_L.addTaskReportWithInitParam('%s')"
,
param
));
webView
.
loadUrl
(
"javascript:CHK_L.addTaskReport()"
);
webViewLoadUrl
(
String
.
format
(
"javascript:CHK_L.addTaskReportWithInitParam('%s')"
,
param
));
}
}
}
});
});
}
}
...
...
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