|
@@ -720,7 +720,11 @@ public class Jump2View {
|
|
|
intent.putExtra("task_entity", (TaskAcceptedEty) o);
|
|
intent.putExtra("task_entity", (TaskAcceptedEty) o);
|
|
|
((Activity) context).startActivityForResult(intent, ViewUtil.REQUEST_CODE_TASK_LIST);
|
|
((Activity) context).startActivityForResult(intent, ViewUtil.REQUEST_CODE_TASK_LIST);
|
|
|
}
|
|
}
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
|
|
+ public synchronized void goWelfare(Context context, int taskId) {
|
|
|
|
|
+ WebParams webParams = new WebParams(Config.getUrlByPath(Config.PATH_WELFARE_HOME));
|
|
|
|
|
+ goWeb(context, webParams);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
public synchronized void goTaskDetailViewFromTaskList(Activity activity, int task_id) {
|
|
public synchronized void goTaskDetailViewFromTaskList(Activity activity, int task_id) {
|
|
@@ -1001,7 +1005,7 @@ public class Jump2View {
|
|
|
* @param context
|
|
* @param context
|
|
|
* @param webParams
|
|
* @param webParams
|
|
|
*/
|
|
*/
|
|
|
- public void goWeb(Context context, WebParams webParams){
|
|
|
|
|
|
|
+ public void goWeb(Context context, WebParams webParams) {
|
|
|
goWeb(context, webParams, false);
|
|
goWeb(context, webParams, false);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -1031,7 +1035,7 @@ public class Jump2View {
|
|
|
}
|
|
}
|
|
|
Intent intent = new Intent(context, ActWebX5.class);
|
|
Intent intent = new Intent(context, ActWebX5.class);
|
|
|
intent.putExtra(WebParams.class.getSimpleName(), webParams);
|
|
intent.putExtra(WebParams.class.getSimpleName(), webParams);
|
|
|
- if(needNewTask){
|
|
|
|
|
|
|
+ if (needNewTask) {
|
|
|
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
|
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
|
|
}
|
|
}
|
|
|
if (webParams.isForResult()) {
|
|
if (webParams.isForResult()) {
|
|
@@ -2180,7 +2184,6 @@ public class Jump2View {
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 点击看点
|
|
* 点击看点
|
|
|
- *
|
|
|
|
|
*/
|
|
*/
|
|
|
public void goWatchFocus(Context context, RouserArticlesEntity entity) {
|
|
public void goWatchFocus(Context context, RouserArticlesEntity entity) {
|
|
|
try {
|
|
try {
|