Browse Source

swzdr签收任务页面绘制完成

yanglei 1 day ago
parent
commit
045f844bdb

+ 11 - 1
app/src/main/AndroidManifest.xml

@@ -95,8 +95,15 @@
         android:networkSecurityConfig="@xml/network_security_config"
         android:supportsRtl="true"
         android:theme="@style/AppTheme">
+        <activity android:name=".mvp.ui.activity.SwQsActivity" />
         <activity android:name=".mvp.ui.activity.SwzdrQsRwActivity" />
-        <activity android:name=".mvp.ui.activity.SwzdrActivity" />
+        <activity android:name=".mvp.ui.activity.SwzdrActivity">
+            <intent-filter>
+                <action android:name="android.intent.action.MAIN" />
+
+                <category android:name="android.intent.category.LAUNCHER" />
+            </intent-filter>
+        </activity>
         <activity android:name=".mvp.ui.activity.AddJwryActivity" />
         <activity android:name=".mvp.ui.activity.JwryListActivity" />
         <activity android:name=".mvp.ui.activity.AddJwtdActivity" />
@@ -409,11 +416,14 @@
             android:launchMode="singleTop"
             android:screenOrientation="portrait"
             android:windowSoftInputMode="adjustPan|stateHidden">
+
+            <!--
             <intent-filter>
                 <action android:name="android.intent.action.MAIN" />
 
                 <category android:name="android.intent.category.LAUNCHER" />
             </intent-filter>
+            -->
         </activity> <!-- 地图功能隐藏 -->
         <activity
             android:name="com.amap.api.navi.AmapRouteActivity"

+ 41 - 0
app/src/main/java/com/zkjc/policedemo/di/component/SwQsComponent.java

@@ -0,0 +1,41 @@
+package com.zkjc.policedemo.di.component;
+
+import dagger.BindsInstance;
+import dagger.Component;
+
+import com.jess.arms.di.component.AppComponent;
+
+import com.zkjc.policedemo.di.module.SwQsModule;
+import com.zkjc.policedemo.mvp.contract.SwQsContract;
+
+import com.jess.arms.di.scope.ActivityScope;
+import com.zkjc.policedemo.mvp.ui.activity.SwQsActivity;
+
+
+/**
+ * ================================================
+ * Description:
+ * <p>
+ * Created by MVPArmsTemplate on 01/08/2025 17:20
+ * <a href="mailto:jess.yan.effort@gmail.com">Contact me</a>
+ * <a href="https://github.com/JessYanCoding">Follow me</a>
+ * <a href="https://github.com/JessYanCoding/MVPArms">Star me</a>
+ * <a href="https://github.com/JessYanCoding/MVPArms/wiki">See me</a>
+ * <a href="https://github.com/JessYanCoding/MVPArmsTemplate">模版请保持更新</a>
+ * ================================================
+ */
+@ActivityScope
+@Component(modules = SwQsModule.class, dependencies = AppComponent.class)
+public interface SwQsComponent {
+    void inject(SwQsActivity activity);
+
+    @Component.Builder
+    interface Builder {
+        @BindsInstance
+        SwQsComponent.Builder view(SwQsContract.View view);
+
+        SwQsComponent.Builder appComponent(AppComponent appComponent);
+
+        SwQsComponent build();
+    }
+}

+ 30 - 0
app/src/main/java/com/zkjc/policedemo/di/module/SwQsModule.java

@@ -0,0 +1,30 @@
+package com.zkjc.policedemo.di.module;
+
+import com.jess.arms.di.scope.ActivityScope;
+
+import dagger.Binds;
+import dagger.Module;
+import dagger.Provides;
+
+import com.zkjc.policedemo.mvp.contract.SwQsContract;
+import com.zkjc.policedemo.mvp.model.SwQsModel;
+
+
+/**
+ * ================================================
+ * Description:
+ * <p>
+ * Created by MVPArmsTemplate on 01/08/2025 17:20
+ * <a href="mailto:jess.yan.effort@gmail.com">Contact me</a>
+ * <a href="https://github.com/JessYanCoding">Follow me</a>
+ * <a href="https://github.com/JessYanCoding/MVPArms">Star me</a>
+ * <a href="https://github.com/JessYanCoding/MVPArms/wiki">See me</a>
+ * <a href="https://github.com/JessYanCoding/MVPArmsTemplate">模版请保持更新</a>
+ * ================================================
+ */
+@Module
+public abstract class SwQsModule {
+
+    @Binds
+    abstract SwQsContract.Model bindSwQsModel(SwQsModel model);
+}

+ 29 - 0
app/src/main/java/com/zkjc/policedemo/mvp/contract/SwQsContract.java

@@ -0,0 +1,29 @@
+package com.zkjc.policedemo.mvp.contract;
+
+import com.jess.arms.mvp.IView;
+import com.jess.arms.mvp.IModel;
+
+
+/**
+ * ================================================
+ * Description:
+ * <p>
+ * Created by MVPArmsTemplate on 01/08/2025 17:20
+ * <a href="mailto:jess.yan.effort@gmail.com">Contact me</a>
+ * <a href="https://github.com/JessYanCoding">Follow me</a>
+ * <a href="https://github.com/JessYanCoding/MVPArms">Star me</a>
+ * <a href="https://github.com/JessYanCoding/MVPArms/wiki">See me</a>
+ * <a href="https://github.com/JessYanCoding/MVPArmsTemplate">模版请保持更新</a>
+ * ================================================
+ */
+public interface SwQsContract {
+    //对于经常使用的关于UI的方法可以定义到IView中,如显示隐藏进度条,和显示文字消息
+    interface View extends IView {
+
+    }
+
+    //Model层定义接口,外部只需关心Model返回的数据,无需关心内部细节,即是否使用缓存
+    interface Model extends IModel {
+
+    }
+}

+ 46 - 0
app/src/main/java/com/zkjc/policedemo/mvp/model/SwQsModel.java

@@ -0,0 +1,46 @@
+package com.zkjc.policedemo.mvp.model;
+
+import android.app.Application;
+
+import com.google.gson.Gson;
+import com.jess.arms.integration.IRepositoryManager;
+import com.jess.arms.mvp.BaseModel;
+
+import com.jess.arms.di.scope.ActivityScope;
+
+import javax.inject.Inject;
+
+import com.zkjc.policedemo.mvp.contract.SwQsContract;
+
+
+/**
+ * ================================================
+ * Description:
+ * <p>
+ * Created by MVPArmsTemplate on 01/08/2025 17:20
+ * <a href="mailto:jess.yan.effort@gmail.com">Contact me</a>
+ * <a href="https://github.com/JessYanCoding">Follow me</a>
+ * <a href="https://github.com/JessYanCoding/MVPArms">Star me</a>
+ * <a href="https://github.com/JessYanCoding/MVPArms/wiki">See me</a>
+ * <a href="https://github.com/JessYanCoding/MVPArmsTemplate">模版请保持更新</a>
+ * ================================================
+ */
+@ActivityScope
+public class SwQsModel extends BaseModel implements SwQsContract.Model {
+    @Inject
+    Gson mGson;
+    @Inject
+    Application mApplication;
+
+    @Inject
+    public SwQsModel(IRepositoryManager repositoryManager) {
+        super(repositoryManager);
+    }
+
+    @Override
+    public void onDestroy() {
+        super.onDestroy();
+        this.mGson = null;
+        this.mApplication = null;
+    }
+}

+ 53 - 0
app/src/main/java/com/zkjc/policedemo/mvp/presenter/SwQsPresenter.java

@@ -0,0 +1,53 @@
+package com.zkjc.policedemo.mvp.presenter;
+
+import android.app.Application;
+
+import com.jess.arms.integration.AppManager;
+import com.jess.arms.di.scope.ActivityScope;
+import com.jess.arms.mvp.BasePresenter;
+import com.jess.arms.http.imageloader.ImageLoader;
+
+import me.jessyan.rxerrorhandler.core.RxErrorHandler;
+
+import javax.inject.Inject;
+
+import com.zkjc.policedemo.mvp.contract.SwQsContract;
+
+
+/**
+ * ================================================
+ * Description:
+ * <p>
+ * Created by MVPArmsTemplate on 01/08/2025 17:20
+ * <a href="mailto:jess.yan.effort@gmail.com">Contact me</a>
+ * <a href="https://github.com/JessYanCoding">Follow me</a>
+ * <a href="https://github.com/JessYanCoding/MVPArms">Star me</a>
+ * <a href="https://github.com/JessYanCoding/MVPArms/wiki">See me</a>
+ * <a href="https://github.com/JessYanCoding/MVPArmsTemplate">模版请保持更新</a>
+ * ================================================
+ */
+@ActivityScope
+public class SwQsPresenter extends BasePresenter<SwQsContract.Model, SwQsContract.View> {
+    @Inject
+    RxErrorHandler mErrorHandler;
+    @Inject
+    Application mApplication;
+    @Inject
+    ImageLoader mImageLoader;
+    @Inject
+    AppManager mAppManager;
+
+    @Inject
+    public SwQsPresenter(SwQsContract.Model model, SwQsContract.View rootView) {
+        super(model, rootView);
+    }
+
+    @Override
+    public void onDestroy() {
+        super.onDestroy();
+        this.mErrorHandler = null;
+        this.mAppManager = null;
+        this.mImageLoader = null;
+        this.mApplication = null;
+    }
+}

+ 128 - 0
app/src/main/java/com/zkjc/policedemo/mvp/ui/activity/SwQsActivity.java

@@ -0,0 +1,128 @@
+package com.zkjc.policedemo.mvp.ui.activity;
+
+import android.content.Intent;
+import android.os.Bundle;
+import android.widget.Button;
+import android.widget.ImageView;
+import android.widget.LinearLayout;
+import android.widget.RelativeLayout;
+import android.widget.TextView;
+
+import androidx.annotation.NonNull;
+import androidx.annotation.Nullable;
+
+import com.jess.arms.di.component.AppComponent;
+import com.jess.arms.utils.ArmsUtils;
+import com.zkjc.common.base.ZkjcBaseActivity;
+import com.zkjc.common.view.CommonTitleBarV3;
+import com.zkjc.policedemo.R;
+import com.zkjc.policedemo.di.component.DaggerSwQsComponent;
+import com.zkjc.policedemo.mvp.contract.SwQsContract;
+import com.zkjc.policedemo.mvp.presenter.SwQsPresenter;
+
+import butterknife.BindView;
+import butterknife.ButterKnife;
+
+import static com.jess.arms.utils.Preconditions.checkNotNull;
+
+
+/**
+ * ================================================
+ * Description:
+ * <p>
+ * Created by MVPArmsTemplate on 01/08/2025 17:20
+ * <a href="mailto:jess.yan.effort@gmail.com">Contact me</a>
+ * <a href="https://github.com/JessYanCoding">Follow me</a>
+ * <a href="https://github.com/JessYanCoding/MVPArms">Star me</a>
+ * <a href="https://github.com/JessYanCoding/MVPArms/wiki">See me</a>
+ * <a href="https://github.com/JessYanCoding/MVPArmsTemplate">模版请保持更新</a>
+ * ================================================
+ */
+public class SwQsActivity extends ZkjcBaseActivity<SwQsPresenter> implements SwQsContract.View {
+
+    @BindView(R.id.title_bar)
+    CommonTitleBarV3 titleBar;
+    @BindView(R.id.item_head)
+    ImageView itemHead;
+    @BindView(R.id.item_gljb)
+    TextView itemGljb;
+    @BindView(R.id.item_name)
+    TextView itemName;
+    @BindView(R.id.iv_sex)
+    ImageView ivSex;
+    @BindView(R.id.item_jz)
+    TextView itemJz;
+    @BindView(R.id.item_rylb)
+    TextView itemRylb;
+    @BindView(R.id.rl_xm)
+    RelativeLayout rlXm;
+    @BindView(R.id.tv_sfzh_mz)
+    TextView tvSfzhMz;
+    @BindView(R.id.rl_sfzh)
+    RelativeLayout rlSfzh;
+    @BindView(R.id.iv_add)
+    ImageView ivAdd;
+    @BindView(R.id.rl_address)
+    RelativeLayout rlAddress;
+    @BindView(R.id.ll_hjdpcs)
+    LinearLayout llHjdpcs;
+    @BindView(R.id.ll_hjdz)
+    LinearLayout llHjdz;
+    @BindView(R.id.ll_xjzd)
+    LinearLayout llXjzd;
+    @BindView(R.id.ll_one)
+    LinearLayout llOne;
+    @BindView(R.id.fxpc_left_tv_id)
+    TextView fxpcLeftTvId;
+    @BindView(R.id.bt_qs)
+    Button btQs;
+
+    @Override
+    public void setupActivityComponent(@NonNull AppComponent appComponent) {
+        DaggerSwQsComponent //如找不到该类,请编译一下项目
+                .builder()
+                .appComponent(appComponent)
+                .view(this)
+                .build()
+                .inject(this);
+    }
+
+    @Override
+    public int initView(@Nullable Bundle savedInstanceState) {
+        return R.layout.activity_sw_qs; //如果你不需要框架帮你设置 setContentView(id) 需要自行设置,请返回 0
+    }
+
+    @Override
+    public void initData(@Nullable Bundle savedInstanceState) {
+        titleBar.setTitle("签收");
+    }
+
+    @Override
+    public void showLoading() {
+
+    }
+
+    @Override
+    public void hideLoading() {
+
+    }
+
+    @Override
+    public void showMessage(@NonNull String message) {
+        checkNotNull(message);
+        ArmsUtils.snackbarText(message);
+    }
+
+    @Override
+    public void launchActivity(@NonNull Intent intent) {
+        checkNotNull(intent);
+        ArmsUtils.startActivity(intent);
+    }
+
+    @Override
+    public void killMyself() {
+        finish();
+    }
+
+
+}

+ 2 - 0
app/src/main/java/com/zkjc/policedemo/mvp/ui/activity/SwzdrActivity.java

@@ -162,11 +162,13 @@ public class SwzdrActivity extends ZkjcBaseActivity<SwzdrPresenter> implements S
             case R.id.bt_lgqsrw:
                 Intent intent = new Intent(this,SwzdrQsRwActivity.class);
                 intent.putExtra("title","新增列管责任签收");
+                intent.putExtra("flag","xzlg");
                 ArmsUtils.startActivity(intent);
                 break;
             case R.id.bt_hjbgzrqs:
                 Intent intent1 = new Intent(this,SwzdrQsRwActivity.class);
                 intent1.putExtra("title","户籍变更责任签收");
+                intent1.putExtra("flag","hjbg");
                 ArmsUtils.startActivity(intent1);
                 break;
         }

+ 115 - 4
app/src/main/java/com/zkjc/policedemo/mvp/ui/activity/SwzdrQsRwActivity.java

@@ -2,21 +2,40 @@ package com.zkjc.policedemo.mvp.ui.activity;
 
 import android.content.Intent;
 import android.os.Bundle;
+import android.view.View;
 
 import androidx.annotation.NonNull;
 import androidx.annotation.Nullable;
+import androidx.recyclerview.widget.LinearLayoutManager;
+import androidx.recyclerview.widget.RecyclerView;
 
-import com.jess.arms.base.BaseActivity;
 import com.jess.arms.di.component.AppComponent;
 import com.jess.arms.utils.ArmsUtils;
-
+import com.scwang.smart.refresh.footer.ClassicsFooter;
+import com.scwang.smart.refresh.header.ClassicsHeader;
+import com.scwang.smart.refresh.layout.SmartRefreshLayout;
+import com.scwang.smart.refresh.layout.api.RefreshLayout;
+import com.scwang.smart.refresh.layout.constant.SpinnerStyle;
+import com.scwang.smart.refresh.layout.listener.OnRefreshLoadMoreListener;
 import com.zkjc.common.base.ZkjcBaseActivity;
+import com.zkjc.common.view.CommonTitleBarV3;
+import com.zkjc.policedemo.R;
 import com.zkjc.policedemo.di.component.DaggerSwzdrQsRwComponent;
 import com.zkjc.policedemo.mvp.contract.SwzdrQsRwContract;
+import com.zkjc.policedemo.mvp.model.entity.SydwEntity;
 import com.zkjc.policedemo.mvp.presenter.SwzdrQsRwPresenter;
+import com.zkjc.policedemo.mvp.ui.adapter.BaseRecycleAdapter;
+import com.zkjc.policedemo.mvp.ui.adapter.SwhjqsAdapter;
+import com.zkjc.policedemo.mvp.ui.adapter.SwxzqsAdapter;
+import com.zkjc.policedemo.mvp.ui.adapter.SydwLbAdapter;
 
-import com.zkjc.policedemo.R;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
 
+import butterknife.BindView;
+import butterknife.ButterKnife;
 
 import static com.jess.arms.utils.Preconditions.checkNotNull;
 
@@ -33,7 +52,20 @@ import static com.jess.arms.utils.Preconditions.checkNotNull;
  * <a href="https://github.com/JessYanCoding/MVPArmsTemplate">模版请保持更新</a>
  * ================================================
  */
-public class SwzdrQsRwActivity extends ZkjcBaseActivity<SwzdrQsRwPresenter> implements SwzdrQsRwContract.View {
+public class SwzdrQsRwActivity extends ZkjcBaseActivity<SwzdrQsRwPresenter> implements SwzdrQsRwContract.View, OnRefreshLoadMoreListener {
+
+    @BindView(R.id.title_bar)
+    CommonTitleBarV3 titleBar;
+    @BindView(R.id.recyclerView)
+    RecyclerView recyclerView;
+    @BindView(R.id.smart_refresh)
+    SmartRefreshLayout smart_refresh;
+    private SwxzqsAdapter swxzqsAdapter;
+    private SwhjqsAdapter swhjqsAdapter;
+    private List<String> datas;
+    private int pageNo = 1;
+    private int pageSize = 10;
+    private String flag;
 
     @Override
     public void setupActivityComponent(@NonNull AppComponent appComponent) {
@@ -52,7 +84,84 @@ public class SwzdrQsRwActivity extends ZkjcBaseActivity<SwzdrQsRwPresenter> impl
 
     @Override
     public void initData(@Nullable Bundle savedInstanceState) {
+        Intent intent = getIntent();
+        flag = intent.getStringExtra("flag");
+        String title = intent.getStringExtra("title");
+        //设置 Header
+        smart_refresh.setRefreshHeader(new ClassicsHeader(this).setEnableLastTime(true));
+        //设置 Footer
+        smart_refresh.setRefreshFooter(new ClassicsFooter(this).setSpinnerStyle(SpinnerStyle.FixedBehind));
+        smart_refresh.autoRefresh();
+        datas = new ArrayList<>();
+        recyclerView.setLayoutManager(new LinearLayoutManager(this, LinearLayoutManager.VERTICAL, false));
+        smart_refresh.setOnRefreshListener(this);
+        smart_refresh.setOnLoadMoreListener(this);
+        if (flag.equals("xzlg")) {
+            //新增列管任务签收
+            titleBar.setTitle(title + "0");
+            swxzqsAdapter = new SwxzqsAdapter(datas);
+            swxzqsAdapter.setHasStableIds(true);
+            recyclerView.setAdapter(swxzqsAdapter);
+            swxzqsAdapter.setOnRecyclerViewListenerv2(new BaseRecycleAdapter.OnRecyclerViewListenerV2() {
+                @Override
+                public void onItemClick(View view, int position) {
+                    ArmsUtils.startActivity(SwQsActivity.class);
+                }
+
+                @Override
+                public boolean onItemLongClick(View view, int position) {
+                    return false;
+                }
+            });
+        } else {
+            //户籍变更业务签收
+            titleBar.setTitle(title + "0");
+            swhjqsAdapter = new SwhjqsAdapter(datas);
+            swhjqsAdapter.setHasStableIds(true);
+            recyclerView.setAdapter(swhjqsAdapter);
+            swhjqsAdapter.setOnRecyclerViewListenerv2(new BaseRecycleAdapter.OnRecyclerViewListenerV2() {
+                @Override
+                public void onItemClick(View view, int position) {
+                    ArmsUtils.startActivity(SwQsActivity.class);
+                }
+
+                @Override
+                public boolean onItemLongClick(View view, int position) {
+                    return false;
+                }
+            });
+        }
+
+
+    }
+
+    @Override
+    public void onLoadMore(@NonNull RefreshLayout refreshLayout) {
+        requestData(++pageNo, pageSize);
+    }
 
+    private void requestData(int pageNo, int pageSize) {
+        for (int i = 0; i < 10; i++) {
+            datas.add(i + "");
+        }
+        if (flag.equals("xzlg")) {
+            swxzqsAdapter.notifyDataSetChanged();
+        } else {
+            swhjqsAdapter.notifyDataSetChanged();
+        }
+        smart_refresh.finishLoadMore();
+        smart_refresh.finishRefresh();
+    }
+
+    @Override
+    public void onRefresh(@NonNull RefreshLayout refreshLayout) {
+        datas.clear();
+        if (flag.equals("xzlg")) {
+            swxzqsAdapter.notifyDataSetChanged();
+        } else {
+            swhjqsAdapter.notifyDataSetChanged();
+        }
+        requestData(pageNo = 1, pageSize);
     }
 
     @Override
@@ -81,4 +190,6 @@ public class SwzdrQsRwActivity extends ZkjcBaseActivity<SwzdrQsRwPresenter> impl
     public void killMyself() {
         finish();
     }
+
+
 }

+ 38 - 0
app/src/main/java/com/zkjc/policedemo/mvp/ui/adapter/SwhjqsAdapter.java

@@ -0,0 +1,38 @@
+package com.zkjc.policedemo.mvp.ui.adapter;
+
+import com.zkjc.policedemo.R;
+
+import java.util.List;
+
+public class SwhjqsAdapter extends BaseRecycleAdapter<String> {
+    private boolean isFromRhzf;
+    public SwhjqsAdapter(List<String> datas) {
+        super(datas);
+    }
+
+    @Override
+    protected void bindData(BaseViewHolder holder, int position) {
+        if (holder != null) {
+
+
+            holder.setOnItemClickListenerV2(R.id.item_qs, position, onRecyclerViewListenerv2);
+
+
+
+        }
+    }
+
+
+
+    @Override
+    public int getLayoutId() {
+        return R.layout.item_hjbgzrqs;
+    }
+
+
+    private OnRecyclerViewListenerV2 onRecyclerViewListenerv2;
+
+    public void setOnRecyclerViewListenerv2(OnRecyclerViewListenerV2 onRecyclerViewListenerv2) {
+        this.onRecyclerViewListenerv2 = onRecyclerViewListenerv2;
+    }
+}

+ 11 - 0
app/src/main/java/com/zkjc/policedemo/mvp/ui/adapter/SwxzqsAdapter.java

@@ -15,7 +15,14 @@ public class SwxzqsAdapter extends BaseRecycleAdapter<String> {
 
     @Override
     protected void bindData(BaseViewHolder holder, int position) {
+        if (holder != null) {
 
+
+            holder.setOnItemClickListenerV2(R.id.item_qs, position, onRecyclerViewListenerv2);
+
+
+
+        }
     }
 
 
@@ -26,5 +33,9 @@ public class SwxzqsAdapter extends BaseRecycleAdapter<String> {
     }
 
 
+    private OnRecyclerViewListenerV2 onRecyclerViewListenerv2;
 
+    public void setOnRecyclerViewListenerv2(OnRecyclerViewListenerV2 onRecyclerViewListenerv2) {
+        this.onRecyclerViewListenerv2 = onRecyclerViewListenerv2;
+    }
 }

+ 1 - 1
app/src/main/res/drawable/shape_lgdw.xml

@@ -2,7 +2,7 @@
 <shape xmlns:android="http://schemas.android.com/apk/res/android"
     android:shape="rectangle">
 
-            <solid android:color="#a106dff" />
+            <solid android:color="#AAD4E0F4" />
             <corners android:radius="6dp" />
 
 </shape>

+ 10 - 0
app/src/main/res/drawable/sw_shape_qs.xml

@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<shape xmlns:android="http://schemas.android.com/apk/res/android"
+    android:shape="rectangle">
+
+
+    <solid android:color="#ff106dff" />
+    <corners android:radius="22dp" />
+
+
+</shape>

+ 437 - 0
app/src/main/res/layout/activity_sw_qs.xml

@@ -0,0 +1,437 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+    xmlns:tools="http://schemas.android.com/tools"
+    android:layout_width="match_parent"
+    android:layout_height="match_parent"
+    android:background="@color/white"
+    android:orientation="vertical">
+
+    <com.zkjc.common.view.CommonTitleBarV3
+        android:id="@+id/title_bar"
+        android:layout_width="match_parent"
+        android:layout_height="wrap_content"
+        android:layout_marginTop="25dp" />
+
+    <ScrollView
+        android:layout_width="match_parent"
+        android:layout_height="match_parent"
+        android:background="#f8f8f8">
+
+        <LinearLayout
+            android:layout_width="match_parent"
+            android:layout_height="match_parent"
+            android:orientation="vertical">
+
+            <RelativeLayout
+                android:layout_width="match_parent"
+                android:layout_height="wrap_content"
+                android:layout_margin="12dp"
+                android:background="@drawable/white_bg">
+
+                <ImageView
+                    android:id="@+id/item_head"
+                    android:layout_width="48dp"
+                    android:layout_height="48dp"
+                    android:layout_marginLeft="12dp"
+                    android:layout_marginTop="12dp"
+                    android:src="@mipmap/default_image" />
+
+                <TextView
+                    android:id="@+id/item_gljb"
+                    android:layout_width="40dp"
+                    android:layout_height="24dp"
+                    android:layout_marginLeft="16dp"
+                    android:layout_marginTop="56dp"
+                    android:background="@drawable/shape_gljb_c"
+                    android:gravity="center"
+                    android:text="C级"
+                    android:textColor="#00A870" />
+
+                <RelativeLayout
+                    android:id="@+id/rl_xm"
+                    android:layout_width="match_parent"
+                    android:layout_height="wrap_content"
+                    android:layout_marginLeft="12dp"
+                    android:layout_marginTop="12dp"
+                    android:layout_toRightOf="@id/item_head">
+
+                    <TextView
+                        android:id="@+id/item_name"
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:text="张萌"
+                        android:textColor="#ff111111"
+                        android:textSize="14sp" />
+
+                    <ImageView
+                        android:id="@+id/iv_sex"
+                        android:layout_width="16dp"
+                        android:layout_height="16dp"
+                        android:layout_marginLeft="8dp"
+                        android:layout_marginTop="2dp"
+                        android:layout_toRightOf="@id/item_name"
+                        android:src="@drawable/icon_girl" />
+
+                    <LinearLayout
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:layout_alignParentRight="true"
+                        android:layout_marginRight="12dp"
+                        android:orientation="horizontal">
+
+                        <TextView
+                            android:id="@+id/item_jz"
+                            android:layout_width="wrap_content"
+                            android:layout_height="wrap_content"
+                            android:text="治安"
+                            android:textColor="#ffe34d59"
+                            android:textSize="12sp"
+
+                            />
+
+                        <TextView
+                            android:id="@+id/item_rylb"
+                            android:layout_width="wrap_content"
+                            android:layout_height="wrap_content"
+                            android:layout_marginLeft="4dp"
+                            android:text="肇事肇祸精神病人"
+                            android:textColor="#ff8860cc"
+                            android:textSize="12sp" />
+                    </LinearLayout>
+
+                </RelativeLayout>
+
+                <RelativeLayout
+                    android:id="@+id/rl_sfzh"
+                    android:layout_width="match_parent"
+                    android:layout_height="wrap_content"
+                    android:layout_below="@id/rl_xm"
+                    android:layout_marginLeft="12dp"
+                    android:layout_marginTop="12dp"
+                    android:layout_toRightOf="@id/item_head"
+                    android:minHeight="18dp">
+
+
+                    <TextView
+                        android:id="@+id/tv_sfzh_mz"
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:layout_centerVertical="true"
+                        android:layout_marginLeft="8dp"
+                        android:text="220102197801201816 | 满族"
+                        android:textColor="#ff111111"
+                        android:textSize="12sp" />
+
+
+                </RelativeLayout>
+
+
+                <RelativeLayout
+                    android:id="@+id/rl_address"
+                    android:layout_width="match_parent"
+                    android:layout_height="wrap_content"
+                    android:layout_below="@id/rl_sfzh"
+                    android:layout_marginLeft="12dp"
+                    android:layout_marginTop="12dp"
+                    android:layout_toRightOf="@id/item_head"
+                    android:minHeight="18dp">
+
+                    <ImageView
+                        android:id="@+id/iv_add"
+                        android:layout_width="16dp"
+                        android:layout_height="16dp"
+                        android:layout_centerVertical="true"
+                        android:src="@drawable/icon_addresss_gray" />
+
+                    <TextView
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:layout_centerVertical="true"
+                        android:layout_marginLeft="8dp"
+                        android:layout_marginRight="12dp"
+                        android:layout_toRightOf="@id/iv_add"
+                        android:text="吉林省长春市南关区景观公寓1栋1520室"
+                        android:textColor="#ff111111"
+                        android:textSize="12sp" />
+                </RelativeLayout>
+
+                <LinearLayout
+                    android:id="@+id/ll_one"
+                    android:layout_width="match_parent"
+                    android:layout_height="wrap_content"
+                    android:layout_below="@id/rl_address"
+                    android:layout_margin="12dp"
+                    android:background="@drawable/shape_lgdw"
+                    android:orientation="vertical">
+
+                    <LinearLayout
+                        android:id="@+id/ll_hjdpcs"
+                        android:layout_width="match_parent"
+                        android:layout_height="wrap_content"
+                        android:layout_marginTop="12dp"
+                        android:orientation="horizontal">
+
+                        <TextView
+                            android:layout_width="wrap_content"
+                            android:layout_height="wrap_content"
+                            android:layout_gravity="center"
+                            android:layout_marginLeft="12dp"
+                            android:text="户籍地派出所"
+                            android:textColor="#ff999999"
+                            android:textSize="12sp" />
+
+                        <TextView
+                            android:layout_width="wrap_content"
+                            android:layout_height="wrap_content"
+                            android:layout_gravity="center"
+                            android:layout_marginLeft="4dp"
+                            android:layout_marginRight="12dp"
+                            android:text="吉林省长春市南关区卫星路派出所"
+                            android:textColor="#ff111111"
+                            android:textSize="12sp" />
+                    </LinearLayout>
+
+                    <LinearLayout
+                        android:id="@+id/ll_hjdz"
+                        android:layout_width="match_parent"
+                        android:layout_height="wrap_content"
+                        android:layout_marginTop="8dp"
+
+                        android:orientation="horizontal">
+
+                        <TextView
+                            android:layout_width="wrap_content"
+                            android:layout_height="wrap_content"
+                            android:layout_gravity="center"
+                            android:layout_marginLeft="12dp"
+                            android:text="户 籍 地 详 址 "
+                            android:textColor="#ff999999"
+                            android:textSize="12sp" />
+
+                        <TextView
+                            android:layout_width="wrap_content"
+                            android:layout_height="wrap_content"
+                            android:layout_gravity="center"
+                            android:layout_marginLeft="4dp"
+                            android:layout_marginRight="12dp"
+                            android:text="吉林省吉林市丰满区飞跃路佳苑路委50组"
+                            android:textColor="#ff111111"
+                            android:textSize="12sp" />
+                    </LinearLayout>
+
+                    <LinearLayout
+                        android:id="@+id/ll_xjzd"
+                        android:layout_width="match_parent"
+                        android:layout_height="wrap_content"
+                        android:layout_marginTop="8dp"
+                        android:layout_marginBottom="12dp"
+                        android:orientation="horizontal">
+
+                        <TextView
+                            android:layout_width="wrap_content"
+                            android:layout_height="wrap_content"
+                            android:layout_gravity="center"
+                            android:layout_marginLeft="12dp"
+                            android:text="现住地派出所"
+                            android:textColor="#ff999999"
+                            android:textSize="12sp" />
+
+                        <TextView
+                            android:layout_width="wrap_content"
+                            android:layout_height="wrap_content"
+                            android:layout_gravity="center"
+                            android:layout_marginLeft="4dp"
+                            android:layout_marginRight="12dp"
+                            android:text="吉林省长春市南关区乐民PCS"
+                            android:textColor="#ff111111"
+                            android:textSize="12sp" />
+                    </LinearLayout>
+                </LinearLayout>
+
+                <LinearLayout
+                    android:layout_width="match_parent"
+                    android:layout_height="wrap_content"
+                    android:layout_below="@id/ll_one"
+                    android:layout_marginLeft="12dp"
+                    android:layout_marginRight="12dp"
+                    android:orientation="vertical">
+
+                    <LinearLayout
+                        android:layout_width="match_parent"
+                        android:layout_height="wrap_content"
+                        android:orientation="horizontal">
+
+                        <TextView
+                            android:layout_width="wrap_content"
+                            android:layout_height="wrap_content"
+                            android:layout_gravity="center"
+                            android:layout_marginLeft="12dp"
+                            android:text="警种管理单位"
+                            android:textColor="#ff999999"
+                            android:textSize="12sp" />
+
+                        <TextView
+                            android:layout_width="wrap_content"
+                            android:layout_height="wrap_content"
+                            android:layout_gravity="center"
+                            android:layout_marginLeft="4dp"
+                            android:layout_marginRight="12dp"
+                            android:text="吉林省长春市南关区卫星路派出所"
+                            android:textColor="#ff111111"
+                            android:textSize="12sp" />
+                    </LinearLayout>
+
+                    <LinearLayout
+                        android:layout_width="match_parent"
+                        android:layout_height="wrap_content"
+                        android:layout_marginTop="8dp"
+                        android:orientation="horizontal">
+
+                        <TextView
+                            android:layout_width="wrap_content"
+                            android:layout_height="wrap_content"
+                            android:layout_gravity="center"
+                            android:layout_marginLeft="12dp"
+                            android:text="警种稳控民警"
+                            android:textColor="#ff999999"
+                            android:textSize="12sp" />
+
+                        <TextView
+                            android:layout_width="wrap_content"
+                            android:layout_height="wrap_content"
+                            android:layout_gravity="center"
+                            android:layout_marginLeft="4dp"
+                            android:layout_marginRight="12dp"
+                            android:text="王武"
+                            android:textColor="#ff111111"
+                            android:textSize="12sp" />
+                    </LinearLayout>
+
+                    <LinearLayout
+                        android:layout_width="match_parent"
+                        android:layout_height="wrap_content"
+                        android:layout_marginTop="8dp"
+                        android:orientation="horizontal">
+
+                        <TextView
+                            android:layout_width="wrap_content"
+                            android:layout_height="wrap_content"
+                            android:layout_gravity="center"
+                            android:layout_marginLeft="12dp"
+                            android:text="稳控民警电话"
+                            android:textColor="#ff999999"
+                            android:textSize="12sp" />
+
+                        <TextView
+                            android:layout_width="wrap_content"
+                            android:layout_height="wrap_content"
+                            android:layout_gravity="center"
+                            android:layout_marginLeft="4dp"
+                            android:layout_marginRight="12dp"
+                            android:text="13112341234"
+                            android:textColor="#ff111111"
+                            android:textSize="12sp" />
+                    </LinearLayout>
+
+                    <LinearLayout
+                        android:layout_width="match_parent"
+                        android:layout_height="wrap_content"
+                        android:layout_marginTop="8dp"
+                        android:orientation="horizontal">
+
+                        <TextView
+                            android:layout_width="wrap_content"
+                            android:layout_height="wrap_content"
+                            android:layout_marginLeft="12dp"
+                            android:text="涉稳主要问题"
+                            android:textColor="#ff999999"
+                            android:textSize="12sp" />
+
+                        <TextView
+                            android:layout_width="wrap_content"
+                            android:layout_height="wrap_content"
+                            android:layout_marginLeft="4dp"
+                            android:layout_marginRight="12dp"
+                            android:text="SWZDR在本地多次投诉后,于10月8日上京SF一次,之后买票至天津探亲,已三月有余,现核查是否长居天津。"
+                            android:textColor="#ff111111"
+                            android:textSize="12sp" />
+                    </LinearLayout>
+
+                    <LinearLayout
+                        android:layout_width="match_parent"
+                        android:layout_height="wrap_content"
+                        android:layout_marginTop="8dp"
+                        android:layout_marginBottom="12dp"
+                        android:orientation="horizontal">
+
+                        <TextView
+                            android:layout_width="wrap_content"
+                            android:layout_height="wrap_content"
+                            android:layout_marginLeft="12dp"
+                            android:text="涉  稳  经  历  "
+                            android:textColor="#ff999999"
+                            android:textSize="12sp" />
+
+                        <TextView
+                            android:layout_width="wrap_content"
+                            android:layout_height="wrap_content"
+                            android:layout_marginLeft="4dp"
+                            android:layout_marginRight="12dp"
+                            android:text="2024-09-24 SF吉林省长春市XFJ;2024-10-08 上京SF一次,之后买票至天津探亲。"
+                            android:textColor="#ff111111"
+                            android:textSize="12sp" />
+                    </LinearLayout>
+                </LinearLayout>
+
+            </RelativeLayout>
+
+            <LinearLayout
+                android:layout_width="match_parent"
+                android:layout_height="wrap_content"
+                android:layout_marginLeft="12dp"
+                android:layout_marginRight="12dp"
+                android:background="@drawable/white_bg"
+                android:minHeight="50dp"
+                android:orientation="horizontal">
+
+
+                <TextView
+                    android:id="@+id/fxpc_left_tv_id"
+                    android:layout_width="wrap_content"
+                    android:layout_height="wrap_content"
+                    android:layout_gravity="center"
+                    android:layout_marginLeft="12dp"
+                    android:drawableLeft="@drawable/btx"
+                    android:drawablePadding="5dp"
+                    android:text="重点人电话"
+                    android:textColor="#ff666666"
+                    android:textSize="14sp" />
+
+                <EditText
+                    android:layout_width="match_parent"
+                    android:layout_height="match_parent"
+                    android:layout_marginRight="12dp"
+                    android:background="@null"
+                    android:gravity="end|center"
+                    android:hint="请输入重点人联系电话"
+                    android:inputType="phone"
+                    android:textColor="#ff111111"
+                    android:textSize="14sp" />
+            </LinearLayout>
+
+            <Button
+                android:id="@+id/bt_qs"
+                android:layout_width="match_parent"
+                android:layout_height="44dp"
+                android:layout_marginLeft="12dp"
+                android:layout_marginTop="100dp"
+                android:layout_marginRight="12dp"
+                android:layout_marginBottom="12dp"
+                android:background="@drawable/sw_shape_qs"
+                android:text="签收"
+                android:textColor="@color/white"
+                android:textSize="18sp"
+                android:textStyle="bold" />
+        </LinearLayout>
+    </ScrollView>
+</LinearLayout>

+ 1 - 0
app/src/main/res/layout/item_hjbgzrqs.xml

@@ -104,6 +104,7 @@
                 android:src="@mipmap/icon_id_gray" />
 
             <TextView
+                android:id="@+id/tv_sfzh"
                 android:layout_width="wrap_content"
                 android:layout_height="wrap_content"
                 android:layout_centerVertical="true"

+ 3 - 0
app/src/main/res/layout/item_xzlgzrqs.xml

@@ -71,6 +71,7 @@
                 android:layout_centerVertical="true"
                 android:id="@+id/iv_sfzh"/>
             <TextView
+                android:id="@+id/tv_sfzh"
                 android:layout_toRightOf="@id/iv_sfzh"
                 android:layout_width="wrap_content"
                 android:layout_height="wrap_content"
@@ -107,6 +108,7 @@
                 android:layout_centerVertical="true"
                 android:id="@+id/iv_add"/>
             <TextView
+                android:id="@+id/tv_address"
                 android:layout_toRightOf="@id/iv_add"
                 android:layout_width="wrap_content"
                 android:layout_height="wrap_content"
@@ -136,6 +138,7 @@
                 android:textSize="12sp"
                 />
             <TextView
+                android:id="@+id/tv_lgdw"
                 android:layout_gravity="center"
                 android:layout_width="wrap_content"
                 android:layout_height="wrap_content"