Commit 41b720d2 authored by 柳 佳乐's avatar 柳 佳乐
Browse files

修复双目相机录制时还在获取帧bug

parent ce47b172
......@@ -47,7 +47,7 @@ export default {
},
data() {
return {
activeTab: 'appointment',
activeTab: 'nonAppointmentForm',
selectedRows: null,
nonAppointmentForm: {},
formRules: {
......
......@@ -540,9 +540,11 @@ export default {
console.log(param)
//低帧率
if(!this.dynamiSettings.lowFpsMode){
this.dynamiSettings.lowFpsMode = true
await this.toggleLowFpsMode(this.dynamiSettings.lowFpsMode)
setTimeout()
}
startMultiCameraRecode(param).then(res => {
this.isRecording = true;
this.recordingStartTime = new Date();
......
......@@ -6,16 +6,16 @@ Vue.use(Vuex)
export default new Vuex.Store({
state: {
patientInfo: {
name: 'Tom',//姓名
age: 25,//年龄
gender: '1',//性别
phone: '19955807499',//手机号
idCard: '341221200005067836',//身份证号
nativePlace: 'null',//籍贯
height: 165,//身高
weight: 55,//体重
name: null,//姓名
age: null,//年龄
gender: null,//性别
phone: null,//手机号
idCard: null,//身份证号
nativePlace: null,//籍贯
height: 0,//身高
weight: 0,//体重
bookingId: null,//预约ID
bkBkTime:'2023-08-10 10:00:00',//预约时间
bkBkTime:null,//预约时间
},
},
mutations: {
......@@ -53,7 +53,13 @@ export default new Vuex.Store({
str+='-';
state.patientInfo.age ? str += state.patientInfo.age : str+='null';//年龄
str+='-';
state.patientInfo.gender ? str += state.patientInfo.gender : str+='null';//性别
if(state.patientInfo.gender == 0){
str += '';
}else if(state.patientInfo.gender == 1){
str += '';
}else{
str += 'null';
}
str+='-';
state.patientInfo.phone ? str += state.patientInfo.phone : str+='null';//手机号
str+='-';
......
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