Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YDL-Component-Medical
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨凯
YDL-Component-Medical
Commits
6944f63c
Commit
6944f63c
authored
Nov 26, 2021
by
刘鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat : 问诊人适配,消息空列表提示修改
parent
ca1d57b5
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
50 additions
and
35 deletions
+50
-35
config.gradle
config.gradle
+4
-4
ChatUnusualView.kt
m-im/src/main/java/com/yidianling/im/ui/page/widget/ChatUnusualView.kt
+1
-1
GraphicConsulttionFlow2Activity.kt
m-im/src/main/java/com/yidianling/medical/GraphicConsulttionFlow2Activity.kt
+1
-1
MedicalArchivesListActivity.kt
m-im/src/main/java/com/yidianling/medical/archives/MedicalArchivesListActivity.kt
+7
-0
im_chat_unusual_view_btn_bg.xml
m-im/src/main/res/drawable/im_chat_unusual_view_btn_bg.xml
+4
-3
im_chat_unusual_view.xml
m-im/src/main/res/layout/im_chat_unusual_view.xml
+2
-2
medical_graphic_consultation_flow2.xml
m-im/src/main/res/layout/medical_graphic_consultation_flow2.xml
+2
-1
medical_item_archives_flow2_list.xml
m-im/src/main/res/layout/medical_item_archives_flow2_list.xml
+1
-0
im_default_siliao.png
m-im/src/main/res/mipmap-xhdpi/im_default_siliao.png
+0
-0
im_default_siliao_none.png
m-im/src/main/res/mipmap-xhdpi/im_default_siliao_none.png
+0
-0
medical_check_bottom_right.png
m-im/src/main/res/mipmap-xhdpi/medical_check_bottom_right.png
+0
-0
platform_dialog_normal_layout.xml
ydl-platform/src/main/res/layout/platform_dialog_normal_layout.xml
+28
-23
No files found.
config.gradle
View file @
6944f63c
...
...
@@ -10,7 +10,7 @@ ext {
"m-fm"
:
"0.0.30.03"
,
"m-user"
:
"0.0.61.84"
,
"m-home"
:
"0.0.22.70"
,
"m-im"
:
"0.0.20.4
1
"
,
"m-im"
:
"0.0.20.4
8
"
,
"m-dynamic"
:
"0.0.7.28"
,
"m-article"
:
"0.0.0.10"
,
...
...
@@ -33,7 +33,7 @@ ext {
//-------------- 功能组件 --------------
//第一步
"ydl-platform"
:
"0.0.40.5
8
"
,
"ydl-platform"
:
"0.0.40.5
9
"
,
//第二步 若干
"ydl-webview"
:
"0.0.38.53"
,
...
...
@@ -94,7 +94,7 @@ ext {
"m-fm"
:
"0.0.30.01"
,
"m-user"
:
"0.0.61.84"
,
"m-home"
:
"0.0.22.70"
,
"m-im"
:
"0.0.20.4
1
"
,
"m-im"
:
"0.0.20.4
8
"
,
"m-dynamic"
:
"0.0.7.28"
,
"m-article"
:
"0.0.0.8"
,
...
...
@@ -116,7 +116,7 @@ ext {
//-------------- 功能组件 --------------
//第一步
"ydl-platform"
:
"0.0.40.5
8
"
,
"ydl-platform"
:
"0.0.40.5
9
"
,
//第二步 若干
"ydl-webview"
:
"0.0.38.53"
,
...
...
m-im/src/main/java/com/yidianling/im/ui/page/widget/ChatUnusualView.kt
View file @
6944f63c
...
...
@@ -59,7 +59,7 @@ class ChatUnusualView constructor(private val mContext: Context, attrs: Attribut
// 没有私聊数据(服务中)
TYPE_CHAT_SERVICING_NO_DATA
->
{
unusual_txt
.
text
=
"当前没有正在为您服务的咨询师"
unusual_btn
.
text
=
"
去咨询
"
unusual_btn
.
text
=
"
找医生
"
unusual_btn
.
visibility
=
View
.
VISIBLE
unusual_img
.
setImageResource
(
R
.
mipmap
.
im_default_siliao_none
)
}
...
...
m-im/src/main/java/com/yidianling/medical/GraphicConsulttionFlow2Activity.kt
View file @
6944f63c
...
...
@@ -192,7 +192,7 @@ class GraphicConsulttionFlow2Activity : BaseActivity() {
}
ServiceImpl
.
instance
.
createArchivesOrder
(
""
,
fileStrExtra
,
isFirst
,
stringExtra
,
input_first_mit
.
text
.
toString
(),
...
...
m-im/src/main/java/com/yidianling/medical/archives/MedicalArchivesListActivity.kt
View file @
6944f63c
...
...
@@ -5,6 +5,7 @@ import android.content.Context
import
android.content.Intent
import
android.view.LayoutInflater
import
android.view.View
import
android.widget.TextView
import
androidx.core.content.ContextCompat
import
androidx.recyclerview.widget.LinearLayoutManager
import
androidx.swiperefreshlayout.widget.SwipeRefreshLayout
...
...
@@ -78,6 +79,7 @@ class MedicalArchivesListActivity : BaseActivity(), SwipeRefreshLayout.OnRefresh
}
add_archives
.
setOnClickListener
{
isFirstLoadData
=
false
//添加用户档案
MedicalAddNewArchivesActivity
.
start
(
this
@MedicalArchivesListActivity
)
}
...
...
@@ -122,6 +124,8 @@ class MedicalArchivesListActivity : BaseActivity(), SwipeRefreshLayout.OnRefresh
}
}
else
{
mAdapter
.
loadMoreEnd
(
false
)
var
net_error
=
mEmptyView
.
findViewById
<
TextView
>(
R
.
id
.
net_error
)
net_error
.
text
=
"暂无数据"
mAdapter
.
emptyView
=
mEmptyView
}
...
...
@@ -148,11 +152,14 @@ class MedicalArchivesListActivity : BaseActivity(), SwipeRefreshLayout.OnRefresh
}
else
{
doctor_swipe_refresh_layout
.
isRefreshing
=
false
mAdapter
.
loadMoreFail
()
mAdapter
.
emptyView
=
mEmptyView
}
},
{
e
->
doctor_swipe_refresh_layout
.
isRefreshing
=
false
mAdapter
.
loadMoreFail
()
var
net_error
=
mEmptyView
.
findViewById
<
TextView
>(
R
.
id
.
net_error
)
net_error
.
text
=
"网络异常,请稍后再试"
mAdapter
.
emptyView
=
mEmptyView
})
...
...
m-im/src/main/res/drawable/im_chat_unusual_view_btn_bg.xml
View file @
6944f63c
...
...
@@ -3,9 +3,9 @@
android:shape=
"rectangle"
>
<gradient
android:endColor=
"
@color/platform_main_theme
"
android:startColor=
"
@color/platform_main_theme_light
"
/>
android:endColor=
"
#3464EC
"
android:startColor=
"
#3464EC
"
/>
<corners
android:radius=
"
14
dp"
/>
<corners
android:radius=
"
8
dp"
/>
</shape>
\ No newline at end of file
m-im/src/main/res/layout/im_chat_unusual_view.xml
View file @
6944f63c
...
...
@@ -27,8 +27,8 @@
android:gravity=
"center"
android:paddingLeft=
"22dp"
android:paddingRight=
"22dp"
android:text=
"
去咨询
"
android:textSize=
"1
2d
p"
android:text=
"
找医生
"
android:textSize=
"1
4s
p"
android:textColor=
"@color/platform_but_text_color"
android:layout_marginTop=
"20dp"
android:background=
"@drawable/im_chat_unusual_view_btn_bg"
...
...
m-im/src/main/res/layout/medical_graphic_consultation_flow2.xml
View file @
6944f63c
...
...
@@ -148,6 +148,7 @@
app:layout_constraintTop_toBottomOf=
"@id/dec_title"
/>
<androidx.recyclerview.widget.RecyclerView
android:layout_marginTop=
"8dp"
android:id=
"@+id/rv_people_list"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
/>
...
...
@@ -162,7 +163,7 @@
android:id=
"@+id/first_mit"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"
16
dp"
android:layout_marginTop=
"
24
dp"
android:text=
"是否首次问诊"
android:textColor=
"#ff0c1d31"
android:textSize=
"14sp"
...
...
m-im/src/main/res/layout/medical_item_archives_flow2_list.xml
View file @
6944f63c
...
...
@@ -7,6 +7,7 @@
android:layout_height=
"wrap_content"
android:layout_marginStart=
"12dp"
android:layout_marginTop=
"12dp"
android:minHeight=
"62dp"
android:background=
"@drawable/medical_bg_edit_f2f5f8"
tools:background=
"@drawable/medical_list_check_bg"
>
...
...
m-im/src/main/res/mipmap-xhdpi/im_default_siliao.png
View replaced file @
ca1d57b5
View file @
6944f63c
128 KB
|
W:
|
H:
22 KB
|
W:
|
H:
2-up
Swipe
Onion skin
m-im/src/main/res/mipmap-xhdpi/im_default_siliao_none.png
View replaced file @
ca1d57b5
View file @
6944f63c
119 KB
|
W:
|
H:
22 KB
|
W:
|
H:
2-up
Swipe
Onion skin
m-im/src/main/res/mipmap-xhdpi/medical_check_bottom_right.png
View replaced file @
ca1d57b5
View file @
6944f63c
1.76 KB
|
W:
|
H:
1.64 KB
|
W:
|
H:
2-up
Swipe
Onion skin
ydl-platform/src/main/res/layout/platform_dialog_normal_layout.xml
View file @
6944f63c
<?xml version="1.0" encoding="utf-8"?>
<ScrollView
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:layout_width=
"match_parent"
android:minWidth=
"300dp"
android:maxWidth=
"300dp"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center"
>
android:layout_gravity=
"center"
android:maxWidth=
"300dp"
android:minWidth=
"300dp"
>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:
orientation=
"horizontal
"
android:
layout_gravity=
"center
"
>
android:
layout_gravity=
"center
"
android:
orientation=
"horizontal
"
>
<LinearLayout
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:minWidth=
"300dp"
android:maxWidth=
"300dp"
android:background=
"@drawable/normaldialog_layout_bg"
android:maxWidth=
"300dp"
android:minWidth=
"300dp"
android:orientation=
"vertical"
android:scrollbars=
"vertical"
>
...
...
@@ -26,63 +26,68 @@
android:id=
"@+id/title"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:gravity=
"center"
android:layout_marginTop=
"10dp"
android:gravity=
"center"
android:text=
"提示"
android:textSize=
"18sp"
/>
<RelativeLayout
android:id=
"@+id/message_layout"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:gravity=
"center"
android:layout_marginLeft=
"24dp"
android:layout_marginRight=
"24dp"
android:orientation=
"vertical"
>
android:gravity=
"center"
android:orientation=
"vertical"
>
<TextView
android:id=
"@+id/message"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:autoLink=
"all"
android:gravity=
"center"
android:textSize=
"18sp"
android:textColor=
"#10233A"
android:text=
"正文"
android:autoLink=
"all"
/>
android:textColor=
"#10233A"
android:textSize=
"18sp"
/>
</RelativeLayout>
<View
android:layout_width=
"match_parent"
android:layout_height=
"
1
dp"
android:layout_height=
"
0.5
dp"
android:background=
"#E7ECF0"
/>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:minHeight=
"53dp"
android:orientation=
"horizontal"
>
android:orientation=
"horizontal"
>
<Button
android:elevation=
"0dp"
android:id=
"@+id/cancel_btn"
android:layout_width=
"0dp"
android:layout_height=
"match_parent"
android:layout_weight=
"1"
android:textColor=
"#8595A9"
android:textSize=
"18sp"
android:background=
"@drawable/normaldialog_left_btn_select"
android:text=
"取消"
/>
android:text=
"取消"
android:textColor=
"#8595A9"
android:textSize=
"18sp"
/>
<View
android:layout_width=
"0.5dp"
android:layout_height=
"36dp"
android:background=
"#E7ECF0"
/>
android:background=
"#E7ECF0"
/>
<Button
android:elevation=
"0dp"
android:id=
"@+id/confirm_btn"
android:layout_width=
"0dp"
android:layout_height=
"match_parent"
android:layout_weight=
"1"
android:textSize=
"18sp"
android:textColor=
"#3464EC"
android:background=
"@drawable/normaldialog_right_btn_select"
android:text=
"确定"
/>
android:text=
"确定"
android:textColor=
"#3464EC"
android:textSize=
"18sp"
/>
</LinearLayout>
</LinearLayout>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment