|
|
@ -15,6 +15,7 @@ import com.qhclh.ytzh.home.MainActivity; |
|
|
import com.qhclh.ytzh.index.WorkEvent; |
|
|
import com.qhclh.ytzh.index.WorkEvent; |
|
|
import com.qhclh.ytzh.utils.GlideImageLoader; |
|
|
import com.qhclh.ytzh.utils.GlideImageLoader; |
|
|
import com.qhclh.ytzh.utils.RecyclerViewUtil; |
|
|
import com.qhclh.ytzh.utils.RecyclerViewUtil; |
|
|
|
|
|
import com.qhclh.ytzh.work.CatchChicken.CCInfosActivity; |
|
|
import com.qhclh.ytzh.work.CatchChicken.CCScanActivity; |
|
|
import com.qhclh.ytzh.work.CatchChicken.CCScanActivity; |
|
|
import com.qhclh.ytzh.work.Fowl.FowlActivity; |
|
|
import com.qhclh.ytzh.work.Fowl.FowlActivity; |
|
|
import com.qhclh.ytzh.work.Hatchery.HatcheryActivity; |
|
|
import com.qhclh.ytzh.work.Hatchery.HatcheryActivity; |
|
|
@ -157,6 +158,11 @@ public class WorkFragment extends BaseFragment { |
|
|
startActivity(new Intent(getActivity(), CCScanActivity.class)); |
|
|
startActivity(new Intent(getActivity(), CCScanActivity.class)); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (x == 14) { |
|
|
|
|
|
///< 抓鸡记录 |
|
|
|
|
|
startActivity(new Intent(getActivity(), CCInfosActivity.class)); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
@ -220,6 +226,10 @@ public class WorkFragment extends BaseFragment { |
|
|
///< 抓鸡扫码 |
|
|
///< 抓鸡扫码 |
|
|
workBeanList.add(new WorkBean(R.drawable.saoyisao, "抓鸡扫码", 13)); |
|
|
workBeanList.add(new WorkBean(R.drawable.saoyisao, "抓鸡扫码", 13)); |
|
|
} |
|
|
} |
|
|
|
|
|
if (MainActivity.workList.contains("014")) { |
|
|
|
|
|
///< 抓鸡记录 |
|
|
|
|
|
workBeanList.add(new WorkBean(R.drawable.jilu, "抓鸡记录", 14)); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -308,6 +318,10 @@ public class WorkFragment extends BaseFragment { |
|
|
///< 抓鸡扫码 |
|
|
///< 抓鸡扫码 |
|
|
workBeanList.add(new WorkBean(R.drawable.saoyisao, "抓鸡扫码", 13)); |
|
|
workBeanList.add(new WorkBean(R.drawable.saoyisao, "抓鸡扫码", 13)); |
|
|
} |
|
|
} |
|
|
|
|
|
if (event.getWorkList().contains("014")) { |
|
|
|
|
|
///< 抓鸡记录 |
|
|
|
|
|
workBeanList.add(new WorkBean(R.drawable.jilu, "抓鸡记录", 14)); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (event.getWorkList().contains("007")) { |
|
|
if (event.getWorkList().contains("007")) { |
|
|
|