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
36f4abc2
Commit
36f4abc2
authored
Dec 01, 2021
by
霍志良
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:修改
parent
44b9412e
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
29 additions
and
31 deletions
+29
-31
config.gradle
config.gradle
+2
-2
GraphicConsultationFlow1Activity.kt
m-im/src/main/java/com/yidianling/medical/GraphicConsultationFlow1Activity.kt
+0
-25
MedicalAddNewArchivesActivity.kt
m-im/src/main/java/com/yidianling/medical/archives/MedicalAddNewArchivesActivity.kt
+23
-0
MedicalArchivesListActivity.kt
m-im/src/main/java/com/yidianling/medical/archives/MedicalArchivesListActivity.kt
+2
-2
medical_add_new_archives_activity.xml
m-im/src/main/res/layout/medical_add_new_archives_activity.xml
+2
-2
No files found.
config.gradle
View file @
36f4abc2
...
...
@@ -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.5
5
"
,
"m-im"
:
"0.0.20.5
8
"
,
"m-dynamic"
:
"0.0.7.28"
,
"m-article"
:
"0.0.0.10"
,
...
...
@@ -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.5
5
"
,
"m-im"
:
"0.0.20.5
8
"
,
"m-dynamic"
:
"0.0.7.28"
,
"m-article"
:
"0.0.0.8"
,
...
...
m-im/src/main/java/com/yidianling/medical/GraphicConsultationFlow1Activity.kt
View file @
36f4abc2
...
...
@@ -159,31 +159,6 @@ class GraphicConsultationFlow1Activity : BaseActivity() {
iv_back
.
setOnClickListener
{
backCheck
()
}
showDialogTip
()
}
private
fun
showDialogTip
()
{
val
builder
=
NormalDialog
.
Builder
(
this
@GraphicConsultationFlow1Activity
,
"center"
,
true
)
builder
.
setTitle
(
""
)
builder
.
setMessage
(
"\n为向您添加的就诊人提供问诊服务,您需要向我们提供该就诊人的身份证号码,并确保在提供前已取得该就诊人的授权同意;若该就诊人为儿童的,您需要在提供前征得该儿童监控人的同意。\n"
)
builder
.
setPositiveButton
(
"不同意"
)
{
dialog
,
which
->
//关闭页面
finish
()
dialog
.
dismiss
()
}.
setNegativeButton
(
"同意"
)
{
dialog
,
which
->
dialog
.
dismiss
()
}
builder
.
setRight_color
(
"#3464EC"
)
builder
.
setLeft_color
(
"#3464EC"
)
builder
.
setContent_color
(
"#10233A"
)
builder
.
create
().
show
()
}
@SuppressLint
(
"CheckResult"
)
...
...
m-im/src/main/java/com/yidianling/medical/archives/MedicalAddNewArchivesActivity.kt
View file @
36f4abc2
...
...
@@ -3,8 +3,10 @@ package com.yidianling.medical.archives
import
android.annotation.SuppressLint
import
android.content.Context
import
android.content.Intent
import
android.view.View
import
com.ydl.ydlcommon.base.BaseActivity
import
com.ydl.ydlcommon.utils.StatusBarUtils
import
com.ydl.ydlcommon.view.dialog.NormalDialog
import
com.yidianling.common.tools.ToastUtil
import
com.yidianling.im.R
import
com.yidianling.uikit.custom.http.ServiceImpl
...
...
@@ -103,9 +105,30 @@ class MedicalAddNewArchivesActivity : BaseActivity() {
iv_back
.
setOnClickListener
{
finish
()
}
showDialogTip
()
}
private
fun
showDialogTip
()
{
val
builder
=
NormalDialog
.
Builder
(
this
@MedicalAddNewArchivesActivity
,
"center"
,
false
)
builder
.
setTitle
(
""
)
builder
.
setMessage
(
"\n为向您添加的就诊人提供问诊服务,您需要向我们提供该就诊人的身份证号码,并确保在提供前已取得该就诊人的授权同意;若该就诊人为儿童的,您需要在提供前征得该儿童监护人的同意。\n"
)
builder
.
setPositiveButton
(
"不同意"
)
{
dialog
,
which
->
//关闭页面
finish
()
dialog
.
dismiss
()
}.
setNegativeButton
(
"同意"
)
{
dialog
,
which
->
dialog
.
dismiss
()
}
builder
.
setRight_color
(
"#3464EC"
)
builder
.
setLeft_color
(
"#3464EC"
)
builder
.
setContent_color
(
"#10233A"
)
builder
.
create
().
show
()
}
@SuppressLint
(
"CheckResult"
)
private
fun
checkInfo
()
{
if
(
et_name
.
text
.
isNullOrEmpty
())
{
...
...
m-im/src/main/java/com/yidianling/medical/archives/MedicalArchivesListActivity.kt
View file @
36f4abc2
...
...
@@ -124,10 +124,10 @@ class MedicalArchivesListActivity : BaseActivity(), SwipeRefreshLayout.OnRefresh
}
}
else
{
mAdapter
.
loadMoreEnd
(
false
)
mAdapter
.
setNewData
(
list
)
var
net_error
=
mEmptyView
.
findViewById
<
TextView
>(
R
.
id
.
net_error
)
net_error
.
text
=
"暂无
数据
"
net_error
.
text
=
"暂无
就诊人信息,请添加~
"
mAdapter
.
emptyView
=
mEmptyView
}
}
else
{
//非第一页数据
...
...
m-im/src/main/res/layout/medical_add_new_archives_activity.xml
View file @
36f4abc2
...
...
@@ -26,7 +26,7 @@
android:gravity=
"center"
android:maxEms=
"10"
android:maxLines=
"1"
android:text=
"新增
问
诊人"
android:text=
"新增
就
诊人"
android:textColor=
"@color/medical_color_10233a"
android:textSize=
"18sp"
android:textStyle=
"bold"
/>
...
...
@@ -197,7 +197,7 @@
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"20dp"
android:text=
"与
问
诊人的关系"
android:text=
"与
就
诊人的关系"
android:textColor=
"#ff0c1d31"
android:textSize=
"14sp"
app:layout_constraintLeft_toLeftOf=
"@id/tv_name"
...
...
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