|
@@ -17,6 +17,7 @@ import com.yingyangfly.baselib.ext.show
|
|
|
import com.yingyangfly.baselib.ext.toast
|
|
|
import com.yingyangfly.baselib.mvvm.BaseMVVMActivity
|
|
|
import com.yingyangfly.baselib.router.RouterUrlCommon
|
|
|
+import com.yingyangfly.baselib.utils.JumpUtil
|
|
|
import com.yingyangfly.baselib.utils.RxBusCodes
|
|
|
import gorden.rxbus2.Subscribe
|
|
|
import gorden.rxbus2.ThreadMode
|
|
@@ -77,12 +78,16 @@ class ConsultationRecordActivity :
|
|
|
}
|
|
|
"3" -> {
|
|
|
//3已拒诊
|
|
|
-
|
|
|
+ reinterview(bean.sysUserId)
|
|
|
}
|
|
|
"4" -> {
|
|
|
//4已完成
|
|
|
|
|
|
}
|
|
|
+ "5" -> {
|
|
|
+ //已取消
|
|
|
+ reinterview(bean.sysUserId)
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -222,4 +227,15 @@ class ConsultationRecordActivity :
|
|
|
finish()
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 重新问诊
|
|
|
+ */
|
|
|
+ private fun reinterview(id: String) {
|
|
|
+ JumpUtil.jumpActivityWithUrl(
|
|
|
+ RouterUrlCommon.doctorDetails,
|
|
|
+ id,
|
|
|
+ mContext
|
|
|
+ )
|
|
|
+ }
|
|
|
+
|
|
|
}
|