PJ_Base、UI
This commit is contained in:
@ -66,7 +66,11 @@ public class LoginModel extends BaseModel<LoginPresenter, LoginContract.Model> {
|
||||
}else {
|
||||
LoginInfo item = new LoginInfo();
|
||||
item.setStatus(false);
|
||||
item.setReason(result);
|
||||
if (result != null && result.contains("html")) {
|
||||
item.setReason("服务器接口请求失败(404): 未找到指定资源,请检查服务器地址或联系管理员。");
|
||||
} else {
|
||||
item.setReason(result);
|
||||
}
|
||||
p.getContract().responseResult(item);
|
||||
}
|
||||
}
|
||||
|
||||
@ -45,7 +45,7 @@ public class PatrolListActivity extends BaseView<PatrolListPresenter, PatrolList
|
||||
|
||||
private void initView() {
|
||||
pDialog = new SweetAlertDialog(this, SweetAlertDialog.PROGRESS_TYPE);
|
||||
pDialog.getProgressHelper().setBarColor(Color.parseColor("#00A0E9"));
|
||||
pDialog.getProgressHelper().setBarColor(Color.parseColor("#009688"));
|
||||
pDialog.setCancelable(true);
|
||||
pDialog.setCanceledOnTouchOutside(true);
|
||||
}
|
||||
|
||||
@ -8,9 +8,8 @@ public class MethodURL {
|
||||
/**
|
||||
* 项目名
|
||||
*/
|
||||
// public static final String PJ_Base = "SIPAIIS_WMS";
|
||||
|
||||
public static final String PJ_Base = "JSYW";
|
||||
// public static final String PJ_Base = "SIPAIIS_WMS";
|
||||
public static final String PJ_Base = "SIPAIIS_WMS";
|
||||
|
||||
/**
|
||||
* 方法名
|
||||
|
||||
@ -95,7 +95,7 @@ public class MonitorScreenActivity extends AppCompatActivity {
|
||||
}
|
||||
});
|
||||
pDialog = new SweetAlertDialog(this, SweetAlertDialog.PROGRESS_TYPE);
|
||||
pDialog.getProgressHelper().setBarColor(Color.parseColor("#00A0E9"));
|
||||
pDialog.getProgressHelper().setBarColor(Color.parseColor("#009688"));
|
||||
pDialog.setCancelable(true);
|
||||
pDialog.setCanceledOnTouchOutside(true);
|
||||
progressDialog = new ProgressDialog(this);
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
<resources>
|
||||
<string name="app_name">碳谷绿湾</string>
|
||||
<string name="appflag">JSYW</string>
|
||||
<string name="app_flag">JSYW</string>
|
||||
<string name="app_flag_patrol">JSYW</string>
|
||||
<string name="appflag">SIPAIIS_WMS</string>
|
||||
<string name="app_flag">SIPAIIS_WMS</string>
|
||||
<string name="app_flag_patrol">SIPAIIS_WMS</string>
|
||||
|
||||
<string name="no_nfc">该设备不支持NFC</string>
|
||||
<string name="open_nfc">NFC功能没打开,请打开</string>
|
||||
|
||||
Reference in New Issue
Block a user