[6.9.0]
[fix] [taxi] [选择标定点 不出语言]
This commit is contained in:
@@ -1194,7 +1194,7 @@ object TaxiTaskModel {
|
||||
return
|
||||
}
|
||||
}
|
||||
setCalibrationSite(data.data)
|
||||
setCalibrationSite(data.data,true)
|
||||
}
|
||||
|
||||
override fun onFail(code: Int, msg: String) {
|
||||
@@ -1209,7 +1209,10 @@ object TaxiTaskModel {
|
||||
})
|
||||
}
|
||||
|
||||
fun setCalibrationSite(data: StartServiceRespBean.Result?) {
|
||||
fun setCalibrationSite(data: StartServiceRespBean.Result?, showVoice: Boolean) {
|
||||
if(showVoice) {
|
||||
VoiceNotice.showNotice("开始接单啦")
|
||||
}
|
||||
BizLoopManager.runInMainThread{
|
||||
mDriveToNearestStationTask = data
|
||||
mLastArrivedSiteId = -1L //开始标定站点任务时, 到达站点标志位需复位
|
||||
|
||||
@@ -466,7 +466,6 @@ class ItineraryCurrentModel : BaseViewModel<UnmannedState, TaskUiIntent>(),
|
||||
driveToNearestStationTask: StartServiceRespBean.Result?,
|
||||
currentTaskWithOrder: QueryCurrentTaskRespBean.Result?
|
||||
) {
|
||||
VoiceNotice.showNotice("开始接单啦")
|
||||
updateDriveToNearestStationTaskUI(driveToNearestStationTask)
|
||||
}
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@ class SwtichSiteModel : ViewModel() {
|
||||
}
|
||||
|
||||
fun selectNewSite(checkStationBean: StartStationBean) {
|
||||
TaxiTaskModel.setCalibrationSite( checkStationBean.toResult())
|
||||
TaxiTaskModel.setCalibrationSite(checkStationBean.toResult(), false)
|
||||
this.viewCallback?.showCalibrationSite()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user