feat(emergency): 新增应急就医群聊功能

- 工作台新增"应急就医"入口,支持多工单选择弹窗
- 新增应急就医相关 API:参与工单列表、群成员增减、专家/员工搜索
- 群聊页面集成侧边导航抽屉(DrawerLayout),展示群成员并支持添加/移除
- 新增添加成员页面(AddMemberActivity),支持搜索专家和员工
- InputActionSetting 扩展:新增结束会话、结束问诊名称、评价等控制字段
- IMManager.startGroupChat 支持传入 InputActionSetting 定制输入区行为
- TUIUtils 新增 WORK_TYPE_EMERGENCY 类型常量
- 新增 ParamedicOperateHelper 统一管理应急群聊操作回调

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
zhanglei
2026-08-04 17:27:23 +08:00
co-authored by Claude Opus 4.7
parent 2c4b640adb
commit f61d8c90c9
89 changed files with 3409 additions and 69 deletions
@@ -85,6 +85,7 @@ public class StartGroupMemberSelectActivity extends BaseLightActivity {
limit = getIntent().getIntExtra(TUIContactConstants.Selection.LIMIT, Integer.MAX_VALUE);
alreadySelectedList = getIntent().getStringArrayListExtra(TUIContactConstants.Selection.SELECTED_LIST);
mTitleBar = findViewById(R.id.group_create_title_bar);
mTitleBar.setTitle(getString(R.string.select_group_member), ITitleBarLayout.Position.MIDDLE);
mTitleBar.setTitle(getResources().getString(com.tencent.qcloud.tuicore.R.string.sure), ITitleBarLayout.Position.RIGHT);
mTitleBar.getRightIcon().setVisibility(View.GONE);
mTitleBar.setOnRightClickListener(new View.OnClickListener() {
@@ -16,12 +16,13 @@
android:paddingLeft="15.36dp">
<CheckBox
android:layout_marginTop="5dp"
android:id="@+id/contact_check_box"
android:layout_width="18dp"
android:layout_height="18dp"
android:layout_marginRight="10dp"
android:button="@null"
android:background="@drawable/contact_checkbox_selector"
android:button="@null"
android:clickable="false"
android:focusable="false"
android:visibility="gone" />
@@ -30,24 +31,24 @@
android:layout_width="45dp"
android:layout_height="@dimen/contact_avatar_width">
<com.tencent.qcloud.tuicore.component.gatherimage.ShadeImageView
android:id="@+id/ivAvatar"
android:layout_width="@dimen/contact_avatar_width"
android:layout_height="@dimen/contact_avatar_height"
android:clickable="false"
android:focusable="false" />
<com.tencent.qcloud.tuicore.component.gatherimage.ShadeImageView
android:id="@+id/ivAvatar"
android:layout_width="@dimen/contact_avatar_width"
android:layout_height="@dimen/contact_avatar_height"
android:clickable="false"
android:focusable="false" />
<View
android:id="@+id/user_status"
android:layout_width="12dp"
android:layout_height="12dp"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true"
android:layout_alignParentBottom="true"
android:layout_marginEnd="0dp"
android:layout_marginBottom="1dp"
android:background="?attr/user_status_offline"
android:visibility="gone"
android:elevation="4dp" />
android:elevation="4dp"
android:visibility="gone" />
</RelativeLayout>
@@ -62,13 +63,13 @@
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_centerInParent="true"
android:singleLine="true"
android:ellipsize="end"
android:textSize="17.28sp"
android:lineHeight="23.04sp"
android:clickable="false"
android:ellipsize="end"
android:focusable="false"
android:lineHeight="23.04sp"
android:singleLine="true"
android:textColor="@color/black_font_color"
android:textSize="17.28sp"
tools:text="@string/default_friend" />
<com.tencent.qcloud.tuicore.component.UnreadCountTextView
@@ -92,6 +92,7 @@
<string name="modify_group_name">Edit Group Name</string>
<string name="add_group_member">Add Member</string>
<string name="select_group_member">选择群成员</string>
<string name="group_join_type">Group Joining Method</string>
<string name="forbid_join">Prohibited from Joining</string>
<string name="manager_judge">Admin Approval</string>