|
|
@@ -507,27 +507,38 @@ public class BusinessAddActivity extends BaseActivity implements View.OnClickLis
|
|
|
* @author:Arison on 2016/7/20
|
|
|
*/
|
|
|
public void loadManGenJin() {
|
|
|
-// progressDialog.show();
|
|
|
-// String url = Constants.getAppBaseUrl(ct) + "/mobile/crm/getBusinessChanceRecorder.action";
|
|
|
-// Map<String, Object> params = new HashMap<>();
|
|
|
-// params.put("caller", "employee");
|
|
|
-// params.put("condition", "1=1");
|
|
|
-// LinkedHashMap<String, Object> headers = new LinkedHashMap<>();
|
|
|
-// headers.put("Cookie", "JSESSIONID=" + CommonUtil.getSharedPreferences(ct, "sessionId"));
|
|
|
-// ViewUtil.httpSendRequest(ct, url, params, mHandler, headers, LOAD_MANGENJIN, null, null, "post");
|
|
|
+// HashMap param = new HashMap<>();
|
|
|
+// param.put("caller", "employee");
|
|
|
+// param.put("condition", "1=1");
|
|
|
+// Bundle bundle = new Bundle();
|
|
|
+// bundle.putSerializable("param", param);
|
|
|
+// Intent intent = new Intent(ct, SelectActivity.class);
|
|
|
+// intent.putExtra("type", 1);
|
|
|
+// intent.putExtra("reid", R.style.OAThemeMeet);
|
|
|
+// intent.putExtras(bundle);
|
|
|
+// intent.putExtra("key", "recorders");
|
|
|
+// intent.putExtra("showKey", "BC_DOMAN");
|
|
|
+// intent.putExtra("action", "/mobile/crm/getBusinessChanceRecorder.action");
|
|
|
+// intent.putExtra("title", "商机跟进入");
|
|
|
+// startActivityForResult(intent, 0x23);
|
|
|
|
|
|
HashMap param = new HashMap<>();
|
|
|
- param.put("caller", "employee");
|
|
|
+ param.put("caller", "Ask4leave");
|
|
|
+ param.put("which", "form");
|
|
|
+ param.put("field", "va_emcode");
|
|
|
param.put("condition", "1=1");
|
|
|
+ param.put("page", "1");
|
|
|
+ param.put("pageSize", "100");
|
|
|
+ param.put("sessionId", CommonUtil.getSharedPreferences(ct, "sessionId"));
|
|
|
Bundle bundle = new Bundle();
|
|
|
bundle.putSerializable("param", param);
|
|
|
Intent intent = new Intent(ct, SelectActivity.class);
|
|
|
intent.putExtra("type", 1);
|
|
|
intent.putExtra("reid", R.style.OAThemeMeet);
|
|
|
intent.putExtras(bundle);
|
|
|
- intent.putExtra("key", "recorders");
|
|
|
- intent.putExtra("showKey", "BC_DOMAN");
|
|
|
- intent.putExtra("action", "/mobile/crm/getBusinessChanceRecorder.action");
|
|
|
+ intent.putExtra("key", "");
|
|
|
+ intent.putExtra("showKey", "em_name");
|
|
|
+ intent.putExtra("action", "common/dbfind.action");
|
|
|
intent.putExtra("title", "商机跟进入");
|
|
|
startActivityForResult(intent, 0x23);
|
|
|
}
|
|
|
@@ -680,7 +691,7 @@ public class BusinessAddActivity extends BaseActivity implements View.OnClickLis
|
|
|
break;
|
|
|
case 0x23://跟进入
|
|
|
// enterManCode
|
|
|
- enterManCode= JSON.parseObject(b.getJson()).getString("EM_CODE");
|
|
|
+ enterManCode= JSON.parseObject(b.getJson()).getString("em_code");
|
|
|
et_business_enterMan.setText(b.getName());
|
|
|
break;
|
|
|
case 0x22://当前阶段
|