|
@@ -158,6 +158,7 @@ public class HomeFragment extends Fragment implements View.OnClickListener {
|
|
|
event.setClickType(constu.MAIN_ACTIVITY_EVENT_CHANGE);
|
|
|
EventBus.getDefault().post(event);
|
|
|
bundle.putString(constu.TASK_STATUS_MSG_KEY, "0");
|
|
|
+ bundle.putString(constu.TASK_TIME_MSG_KEY, "today");
|
|
|
Navigation.findNavController(getActivity(), R.id.home_host_fragment).navigate(R.id.navigation_task, bundle);
|
|
|
break;
|
|
|
case R.id.v_home_scout_solved:
|
|
@@ -165,10 +166,11 @@ public class HomeFragment extends Fragment implements View.OnClickListener {
|
|
|
event.setClickType(constu.MAIN_ACTIVITY_EVENT_CHANGE);
|
|
|
EventBus.getDefault().post(event);
|
|
|
bundle.putString(constu.TASK_STATUS_MSG_KEY, "1, 2, 3, 4");
|
|
|
+ bundle.putString(constu.TASK_TIME_MSG_KEY, "today");
|
|
|
Navigation.findNavController(getActivity(), R.id.home_host_fragment).navigate(R.id.navigation_task, bundle);
|
|
|
break;
|
|
|
case R.id.view_total_task:
|
|
|
- //立即巡视
|
|
|
+ //今日任务
|
|
|
event.setClickType(constu.MAIN_ACTIVITY_EVENT_CHANGE);
|
|
|
EventBus.getDefault().post(event);
|
|
|
bundle.putString(constu.TASK_TIME_MSG_KEY, "today");
|