private void sendQuotation() {
    CommonProgressDialog.getInstance()
        .showCancelableProgressDialog(getActivity(), getString(R.string.message_sent_loading));
    // 是滞存在附件
    if (!Utils.isEmpty(sendData.mFilePath)) {

      RequestCenter.uploadFile(uploadListener, sendData.mFilePath, "quotationAttachment");
    } else {
      if (isEdit) {
        RequestCenter.modifyQuotation(sendData, sendListener);
      } else {
        RequestCenter.sendQuotation(sendData, quoteSource, quotationid, sendListener);
      }
    }
  }
 @Override
 public void onSuccess(Object obj) {
   requestSystemMessage();
   SupplierApplication.getInstance().setUser((User) obj);
   RequestCenter.boundAccount(new SimpleDisposeDataListener(), true);
   initUserMsg();
 }
 @Override
 public void onPullDownToRefresh(PullToRefreshBase<ListView> refreshView) {
   Util.saveChildLastRefreshTime(getActivity(), getFragmentTag());
   ImageLoader.getInstance().clearDiskCache();
   ImageLoader.getInstance().clearMemoryCache();
   RequestCenter.profile(profileListener);
 }
        @Override
        public void onSuccess(Object obj) {
          // TODO Auto-generated method stub
          MessageDetailUpLoadFile data = (MessageDetailUpLoadFile) obj;

          if ("0".equals(data.code)) {
            sendData.prodPhoto = data.content;
            LogUtil.e("error", "content:" + sendData.prodPhoto);
            // 进行下面的数据上传
            if (isEdit) {
              RequestCenter.modifyQuotation(sendData, sendListener);
            } else {
              RequestCenter.sendQuotation(sendData, quoteSource, quotationid, sendListener);
            }
          } else {
            showError(data.err);
          }
        }
 @Override
 public void onReceive(Context context, Intent intent) {
   int code = intent.getIntExtra("code", 0);
   if (99999 == code) {
     ToastUtil.toast(BaseActivity.this, intent.getStringExtra("reLoginReason"));
     // 重新登录
     RequestCenter.login(
         SharedPreferenceManager.getInstance().getString("lastLoginName", ""),
         SharedPreferenceManager.getInstance().getString("lastLoginPassword", ""),
         loginListener);
   } else if (30001 == code) {
     ToastUtil.toast(BaseActivity.this, intent.getStringExtra("reLoginReason"));
     // 登录失败
     SysManager.logout();
     SysManager.exitSystem(BaseActivity.this);
     startActivity(new Intent(BaseActivity.this, LoginActivity_.class));
   }
 }
 @Override
 public void onSuccess(Object result) {
   SupplierApplication.getInstance().setUser((User) result);
   RequestCenter.boundAccount(new SimpleDisposeDataListener(), true);
 }
 private void requestSystemMessage() {
   RequestCenter.getSystemPromotion(sysPromotionListener);
 }
 private void initData() {
   RequestCenter.getRelatedQuotations(mRfqID, mIsRecommend, dataListener);
 }