@@ -41,7 +41,7 @@ export function getIsAddKf(data) {
}
// 流量(缓冲百分比)
-export function getInternetTraffic(data) {
+export function internetTraffic(data) {
return request('/app/course/getInternetTraffic', data, 'POST', 'application/json;charset=UTF-8','https://h5api.his.cdwjyyh.com');
@@ -264,7 +264,7 @@
courseAnswer,
getFinishCourseVideo,
getIsAddKf,
- getInternetTraffic,
+ internetTraffic,
getIntegralByH5Video,
sendReward,
loginByMp,
@@ -1043,7 +1043,7 @@
bufferRate: Number(this.bufferRate.toFixed(2)),
if(!param.bufferRate) return
- getInternetTraffic(param)
+ internetTraffic(param)
},
getErrMsg(err,type) {
let msgerr = {
@@ -228,7 +228,7 @@
@@ -1038,7 +1038,7 @@
- getInternetTraffic(param).then(res=>{
+ internetTraffic(param).then(res=>{
if(res&&res.code==500&&res.msg == '未知异常,请联系管理员'){
this.sendErrorLog('/app/course/getInternetTraffic',param)
@@ -479,6 +479,13 @@
});
return;
+ if(this.form.isVisit=='未就诊'){
+ uni.showToast({
+ icon:'none',
+ title: '仅支持复诊',
+ });
+ return;
+ }
if(this.orderKey==null){
this.confirm();