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

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

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