/** 刷新fm数据 */
 public void refreshFMData() {
   if (isChangSHpe) {
     setShoyYeTitle();
   }
   ((ShouYeFragment) fm_shouye).refreshFMData();
   ((JiaoYiGuanLiFragment) fm_jiaoyiguanli).refreshFMData();
   ((FinancialOfficeFragment) fm_caiwushi).refreshFMData();
   ((MineFragment) fm_mine).refreshFMData();
 }
 /**
  * 切换页面
  *
  * @param position
  */
 public void changeFuncPage(int position) {
   if (position < POSITION0) return;
   if (position == POSITION0) {
     curPosition = POSITION0;
     titleShouYe();
     setPageBackVisibility(View.INVISIBLE);
     setPageRightImageVisibility();
     rb_shouye.setChecked(true);
     fm_funcpage0.setVisibility(View.VISIBLE);
     fm_funcpage1.setVisibility(View.GONE);
     fm_funcpage2.setVisibility(View.GONE);
     fm_funcpage3.setVisibility(View.GONE);
   } else if (position == POSITION1) {
     curPosition = POSITION1;
     setPageRightTextVisibility(View.GONE);
     ((JiaoYiGuanLiFragment) fm_jiaoyiguanli).refreshFMData();
     setPageTitle("管理中心");
     tv_title_left.setVisibility(View.GONE);
     setPageBackVisibility(View.INVISIBLE);
     setPageRightImageVisibility();
     rb_jiaoyiguanli.setChecked(true);
     fm_funcpage2.setVisibility(View.GONE);
     fm_funcpage3.setVisibility(View.GONE);
     fm_funcpage0.setVisibility(View.GONE);
     fm_funcpage1.setVisibility(View.VISIBLE);
   } else if (position == POSITION2) {
     curPosition = POSITION2;
     setPageRightTextVisibility(View.GONE);
     setPageTitle("财务室");
     tv_title_left.setVisibility(View.GONE);
     ((FinancialOfficeFragment) fm_caiwushi).refreshFMData();
     setPageBackVisibility(View.INVISIBLE);
     setPageRightImageVisibility();
     rb_caiwushi.setChecked(true);
     fm_funcpage2.setVisibility(View.VISIBLE);
     fm_funcpage0.setVisibility(View.GONE);
     fm_funcpage3.setVisibility(View.GONE);
     fm_funcpage1.setVisibility(View.GONE);
     getFinancialOfficeClick(); // 刷新财务室价格
   } else if (position == POSITION3) {
     curPosition = POSITION3;
     setPageRightTextVisibility(View.GONE);
     ((MineFragment) fm_mine).refreshFMData();
     setPageTitle("我的");
     tv_title_left.setVisibility(View.GONE);
     setPageBackVisibility(View.INVISIBLE);
     setPageRightResource(R.mipmap.more_other);
     rb_mine.setChecked(true);
     fm_funcpage2.setVisibility(View.GONE);
     fm_funcpage0.setVisibility(View.GONE);
     fm_funcpage3.setVisibility(View.VISIBLE);
     fm_funcpage1.setVisibility(View.GONE);
   }
 }