Commit 5a297706 by 刘鹏

feat : 接诊倒计时问题修复

parent 104a1fb8
...@@ -12,7 +12,7 @@ ext { ...@@ -12,7 +12,7 @@ ext {
"m-user-medical" : "0.0.61.94", "m-user-medical" : "0.0.61.94",
"m-home" : "0.0.22.70", "m-home" : "0.0.22.70",
"m-im" : "0.0.20.76", "m-im" : "0.0.20.76",
"m-im-medical" : "0.0.20.81", "m-im-medical" : "0.0.20.82",
"m-dynamic" : "0.0.7.28", "m-dynamic" : "0.0.7.28",
"m-article" : "0.0.0.10", "m-article" : "0.0.0.10",
...@@ -98,7 +98,7 @@ ext { ...@@ -98,7 +98,7 @@ ext {
"m-user-medical" : "0.0.61.94", "m-user-medical" : "0.0.61.94",
"m-home" : "0.0.22.70", "m-home" : "0.0.22.70",
"m-im" : "0.0.20.76", "m-im" : "0.0.20.76",
"m-im-medical" : "0.0.20.81", "m-im-medical" : "0.0.20.82",
"m-dynamic" : "0.0.7.28", "m-dynamic" : "0.0.7.28",
"m-article" : "0.0.0.8", "m-article" : "0.0.0.8",
......
...@@ -525,7 +525,7 @@ public class YDLMessageFragment extends TFragment implements ModuleProxy { ...@@ -525,7 +525,7 @@ public class YDLMessageFragment extends TFragment implements ModuleProxy {
} }
if(timer != null){ if(timer != null){
timer.cancel(); timer.cancel();
}else { }
timer = new CountDownTimer(time * 1000, 1) { timer = new CountDownTimer(time * 1000, 1) {
@Override @Override
public void onTick(long millisUntilFinished) { public void onTick(long millisUntilFinished) {
...@@ -551,19 +551,15 @@ public class YDLMessageFragment extends TFragment implements ModuleProxy { ...@@ -551,19 +551,15 @@ public class YDLMessageFragment extends TFragment implements ModuleProxy {
timeStr.length(), timeStr.length(),
Spanned.SPAN_EXCLUSIVE_EXCLUSIVE Spanned.SPAN_EXCLUSIVE_EXCLUSIVE
); );
time_count_down.setText(spannable); time_count_down.setText(spannable);
}else { }else {
time_count_down.setText(""); time_count_down.setText("");
} }
} }
@Override @Override
public void onFinish() { public void onFinish() {
} }
}; };
}
timer.start(); timer.start();
......
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