|
@@ -14,6 +14,7 @@ import android.util.Log;
|
|
import android.view.Gravity;
|
|
import android.view.Gravity;
|
|
import android.view.View;
|
|
import android.view.View;
|
|
import android.widget.Button;
|
|
import android.widget.Button;
|
|
|
|
+import android.widget.EditText;
|
|
import android.widget.ImageView;
|
|
import android.widget.ImageView;
|
|
import android.widget.LinearLayout;
|
|
import android.widget.LinearLayout;
|
|
import android.widget.RadioButton;
|
|
import android.widget.RadioButton;
|
|
@@ -99,6 +100,9 @@ public class ConsentActivity extends AppCompatActivity {
|
|
public AppCompatRadioButton radioButton3;
|
|
public AppCompatRadioButton radioButton3;
|
|
public AppCompatRadioButton radioButton4;
|
|
public AppCompatRadioButton radioButton4;
|
|
public AppCompatRadioButton radioButton5;
|
|
public AppCompatRadioButton radioButton5;
|
|
|
|
+
|
|
|
|
+ public EditText etPatientId;
|
|
|
|
+ public LinearLayout patientSearchLayout;
|
|
/** left Menu **/
|
|
/** left Menu **/
|
|
|
|
|
|
/** Right Menu **/
|
|
/** Right Menu **/
|
|
@@ -254,6 +258,10 @@ public class ConsentActivity extends AppCompatActivity {
|
|
// radioBtn4 = (RadioButton) findViewById(R.id.radioBtn4);
|
|
// radioBtn4 = (RadioButton) findViewById(R.id.radioBtn4);
|
|
// radioBtn5 = (RadioButton) findViewById(R.id.radioBtn5);
|
|
// radioBtn5 = (RadioButton) findViewById(R.id.radioBtn5);
|
|
radioLayout = (RelativeLayout) findViewById(R.id.radioLayout);
|
|
radioLayout = (RelativeLayout) findViewById(R.id.radioLayout);
|
|
|
|
+
|
|
|
|
+ etPatientId = (EditText) findViewById(R.id.etPatientId);
|
|
|
|
+ patientSearchLayout = (LinearLayout) findViewById(R.id.patientSearchLayout);
|
|
|
|
+
|
|
leftMenu.setRadioGroupDraw(indexPage);
|
|
leftMenu.setRadioGroupDraw(indexPage);
|
|
|
|
|
|
if (!indexPage.equals("I")) {
|
|
if (!indexPage.equals("I")) {
|
|
@@ -264,6 +272,7 @@ public class ConsentActivity extends AppCompatActivity {
|
|
|
|
|
|
dateLayout.setOnClickListener(leftMenu.onClickListener);
|
|
dateLayout.setOnClickListener(leftMenu.onClickListener);
|
|
radioGroup.setOnCheckedChangeListener(leftMenu.onCheckedChangeListener);
|
|
radioGroup.setOnCheckedChangeListener(leftMenu.onCheckedChangeListener);
|
|
|
|
+ patientSearchLayout.setOnClickListener(leftMenu.onClickListener);
|
|
|
|
|
|
leftMenu.getWardList();
|
|
leftMenu.getWardList();
|
|
leftMenu.getDeptList();
|
|
leftMenu.getDeptList();
|
|
@@ -352,9 +361,9 @@ public class ConsentActivity extends AppCompatActivity {
|
|
protected void onDestroy() {
|
|
protected void onDestroy() {
|
|
if (tapClick == false) {
|
|
if (tapClick == false) {
|
|
try {
|
|
try {
|
|
- SignWrapper.getInstance().deleteAll();
|
|
|
|
- Util.clearPreference(mContext, "userInfo");
|
|
|
|
- Util.clearPreference(mContext, "sessionTime");
|
|
|
|
|
|
+// SignWrapper.getInstance().deleteAll();
|
|
|
|
+// Util.clearPreference(mContext, "userInfo");
|
|
|
|
+// Util.clearPreference(mContext, "sessionTime");
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
}
|
|
}
|
|
}
|
|
}
|