コード例 #1
0
 private void getDatasFromInterface() {
   getFlowFormElements.getFlowFormElements(
       Detail_xzfwsh_chakantabs_MainActivity.this,
       1,
       infofile.infoUsername().get(),
       infofile.infoUserType().get(),
       FlowID,
       WFID,
       Integer.valueOf(infoFile.CurNode().get()).intValue());
 }
コード例 #2
0
 @Override
 public void onClick(View v) {
   switch (v.getId()) {
     case R.id.back:
       this.finish();
       break;
     case R.id.ll1:
       DatePickDialog.showDateCheckDialog(this, tv_1, true);
       break;
     case R.id.btn_ty:
       Constants.shouwenOrfawen = 2000;
       Constants.passOrNot = 1;
       Constants.ShenHeYiJian = edt_shyj.getText().toString();
       Constants.userName = cxry_username.toString();
       Constants.userCode = cxry_usercode.toString();
       getFlowFormElements.GetCheckNextStepInfo(
           this,
           1000,
           FlowID,
           infofile.WFID().get(),
           0,
           infofile.CurNode().get() + "",
           "1",
           0,
           infofile.infoUsername().get());
       break;
     case R.id.btn_bty:
       Constants.shouwenOrfawen = 2000;
       Constants.passOrNot = 0;
       Constants.ShenHeYiJian = edt_shyj.getText().toString();
       Constants.userName = cxry_username.toString();
       Constants.userCode = cxry_usercode.toString();
       getFlowFormElements.GetCheckNextStepInfo(
           this,
           1000,
           FlowID,
           infofile.WFID().get(),
           0,
           infofile.CurNode().get() + "",
           "0",
           0,
           infofile.infoUsername().get());
       break;
     case R.id.btn_th:
       showInfo();
       break;
     case R.id.btn_ckzw:
       if (hasDownZW) {
         IAppOfficeUtil.OpenOfficeFile(iAppOffice, zw_path);
       } else {
         getFlowFormElements.LoadArchiveData(
             Detail_xzfwsh_chakantabs_MainActivity.this,
             2000,
             0,
             ArcStepID,
             infofile.WFID().get(),
             infofile.WFStepID().get());
       }
       // FileUtil.writeBase64StringToFile(
       // handleResult.getContent(), zw_path);
       // if (iAppOffice != null) {
       // IAppOfficeUtil.OpenOfficeFile(iAppOffice, zw_path);
       // }
       break;
     default:
       break;
   }
 }