|
|
@@ -3,7 +3,6 @@ package com.uas.baigang_workshop_workstation.fragment;
|
|
|
import android.annotation.SuppressLint;
|
|
|
import android.app.AlertDialog;
|
|
|
import android.content.Context;
|
|
|
-import android.content.DialogInterface;
|
|
|
import android.content.Intent;
|
|
|
import android.graphics.drawable.BitmapDrawable;
|
|
|
import android.os.Bundle;
|
|
|
@@ -192,21 +191,23 @@ public class GdTimeReportFragmentNew2 extends BaseFragment {
|
|
|
});
|
|
|
|
|
|
reportingWorkAdapter.setReportingWorkListener((baogong, baofei, beizhu, yichanggongshi, gongdanhao, position) -> {
|
|
|
- new AlertDialog.Builder(mActivity).setTitle("提示")
|
|
|
- .setMessage("是否推送相关人员?")
|
|
|
- .setPositiveButton("确认", new DialogInterface.OnClickListener() {
|
|
|
- @Override
|
|
|
- public void onClick(DialogInterface dialog, int which) {
|
|
|
- initGetPersonnelID(baogong,gongdanhao,baofei, beizhu, yichanggongshi,position);
|
|
|
- }
|
|
|
- })
|
|
|
- .setNegativeButton("取消",
|
|
|
- new DialogInterface.OnClickListener() {
|
|
|
- @Override
|
|
|
- public void onClick(DialogInterface dialog, int which) {
|
|
|
- setReportingWork(baogong, baofei, beizhu, yichanggongshi, position);
|
|
|
- }
|
|
|
- }).create().show();
|
|
|
+// new AlertDialog.Builder(mActivity).setTitle("提示")
|
|
|
+// .setMessage("是否推送相关人员?")
|
|
|
+// .setPositiveButton("确认", new DialogInterface.OnClickListener() {
|
|
|
+// @Override
|
|
|
+// public void onClick(DialogInterface dialog, int which) {
|
|
|
+// initGetPersonnelID(baogong,gongdanhao,baofei, beizhu, yichanggongshi,position);
|
|
|
+// }
|
|
|
+// })
|
|
|
+// .setNegativeButton("取消",
|
|
|
+// new DialogInterface.OnClickListener() {
|
|
|
+// @Override
|
|
|
+// public void onClick(DialogInterface dialog, int which) {
|
|
|
+// setReportingWork(baogong, baofei, beizhu, yichanggongshi, position);
|
|
|
+// }
|
|
|
+// }).create().show();
|
|
|
+
|
|
|
+ setReportingWork(baogong, baofei, beizhu, yichanggongshi, position);
|
|
|
});
|
|
|
|
|
|
search_im.setOnClickListener(new View.OnClickListener() {
|