xuxiuxi
2017-04-24 c34f11fb7407594f7c1eb69b11f84a45d13cfa1a
VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/widget/checkin/CheckInRightIntervieweeCell.java
@@ -61,12 +61,13 @@
        fragment_check_in_right_interviewee_cell_name.setText(item.getUsername());
        fragment_check_in_right_interviewee_cell_dept.setText(item.getDeptName());
        fragment_check_in_right_interviewee_cell_post.setText(item.getPostName());
        fragment_check_in_right_interviewee_cell_photo.setImageURI(Uri.parse(AppApi.IMAGE_URL_BASE + item.getImagePath()));
        if (item.getImagePath() != null && !item.getImagePath().equals("")) {
        fragment_check_in_right_interviewee_cell_photo.setImageURI(Uri.parse(AppApi.IMAGE_URL_BASE + item.getSurveillancePhoto()));
        if (item.getSurveillancePhoto() != null && !item.getSurveillancePhoto().equals("")) {
            fragment_check_in_right_interviewee_cell_photo_placeholder.setVisibility(INVISIBLE);
        } else {
            fragment_check_in_right_interviewee_cell_photo_placeholder.setVisibility(VISIBLE);
            fragment_check_in_right_interviewee_cell_photo.setImageURI(Uri.parse(AppApi.IMAGE_URL_BASE + "u45.png"));
        }
    }
    public CheckInQueryItem getInterviewee() {
@@ -84,9 +85,11 @@
    }
    public void resetForm() {
        fragment_check_in_right_interviewee_cell_name.setText("");
        fragment_check_in_right_interviewee_cell_name.setText("被访人员姓名");
        fragment_check_in_right_interviewee_cell_dept.setText("");
        fragment_check_in_right_interviewee_cell_post.setText("");
        fragment_check_in_right_interviewee_cell_photo_placeholder.setText("添加\n被访人员");
        fragment_check_in_right_interviewee_cell_photo_placeholder.setVisibility(VISIBLE);
        fragment_check_in_right_interviewee_cell_photo.setImageURI(null);
    }