Commit 154aff46 by 刘鹏

feat : 海云上线当天!!提的优化,图文问诊下一步增加loading提示 rnm

parent 67c2e0bb
......@@ -11,7 +11,7 @@ ext {
"m-user" : "0.0.61.90",
"m-user-medical" : "0.0.61.99",
"m-home" : "0.0.22.70",
"m-im-medical" : "0.0.21.23",
"m-im-medical" : "0.0.21.24",
"m-im" : "0.0.20.76",
"m-dynamic" : "0.0.7.28",
"m-article" : "0.0.0.10",
......@@ -97,7 +97,7 @@ ext {
"m-user" : "0.0.61.90",
"m-user-medical" : "0.0.61.99",
"m-home" : "0.0.22.70",
"m-im-medical" : "0.0.21.23",
"m-im-medical" : "0.0.21.24",
"m-im" : "0.0.20.76",
"m-dynamic" : "0.0.7.28",
"m-article" : "0.0.0.8",
......
......@@ -111,6 +111,7 @@ class GraphicConsultationFlow1Activity : BaseActivity() {
ToastUtil.toastShort("请最少填写10个字")
return@setOnClickListener
} else {
showProgressDialog()
if (publishTrendImgs.size > 0) {
var scope = CoroutineScope(Dispatchers.Default + Job())
scope.launch {
......@@ -127,6 +128,7 @@ class GraphicConsultationFlow1Activity : BaseActivity() {
} else {
//下一步
dismissProgressDialog()
GraphicConsulttionFlow2Activity.start(
this@GraphicConsultationFlow1Activity,
edit_input.text.toString(), "", mDoctorId, mDoctorUid
......@@ -199,6 +201,7 @@ class GraphicConsultationFlow1Activity : BaseActivity() {
upFileByNet(imgFiles)
}
} else {
dismissProgressDialog()
runOnUiThread(Runnable() {
kotlin.run {
YdlCommonOut.Companion.showToast("有图片已被删除");
......@@ -261,7 +264,7 @@ class GraphicConsultationFlow1Activity : BaseActivity() {
}
}
}
dismissProgressDialog()
//下一步
GraphicConsulttionFlow2Activity.start(
this@GraphicConsultationFlow1Activity,
......@@ -272,9 +275,11 @@ class GraphicConsultationFlow1Activity : BaseActivity() {
)
}
} else {
dismissProgressDialog()
ToastUtil.toastShort(response.msg)
}
}, { e ->
dismissProgressDialog()
ToastUtil.toastShort(e.message)
e.printStackTrace()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment