Commit 3b6745b0 by yuichiro ogawa

安定板_異常報告遷移のバグの修正

parent be4f452f
......@@ -1740,6 +1740,8 @@ public class ActivityHandlingHelper extends ABookHelper implements RemoteObserve
/**
* KAGOME Ph2 検品→品質異常報告への遷移
*
* Activityスタックから作業一覧を検索し、WebViewの起動を実行する
*
* @param operationId
* @param contentId
*/
......@@ -1754,18 +1756,8 @@ public class ActivityHandlingHelper extends ABookHelper implements RemoteObserve
if (activity instanceof OperationListActivity) {
// 報告一覧の表示
((OperationListActivity) activity).startTaskDirectionOrReportView(dto);
// // 報告一覧のWebViewから報告の新規追加処理をキックする
// final ABVAuthenticatedActivity peekActivity = currentActivityStack.peek();
// if (peekActivity instanceof HTMLWebViewActivity) {
// ((HTMLWebViewActivity) peekActivity).addTaskReportFlg = true;
// //((HTMLWebViewActivity) peekActivity).kickAddTaskReport();
// return;
// }
break;
}
}
// // 報告の新規追加が出来なかった場合例外をスロー
// throw new IllegalStateException("transitioning to abnormality report is failed.");
}
}
......@@ -28,6 +28,7 @@ import android.widget.Toast;
import org.json.adf.JSONObject;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import jp.agentec.abook.abv.bl.acms.client.json.content.ContentJSON;
......@@ -678,6 +679,8 @@ public class HTMLWebViewActivity extends ParentWebViewActivity implements KeyAct
webViewLoadUrl(String.format("javascript:CHK_L.addTaskReportWithInitParam('%s')", param));
}
});
// キャッシュのクリア
getABVUIDataCache().ubnormalityReportParam = new HashMap<>();
}
@Override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment