|
|
@ -267,7 +267,7 @@ export default {
|
|
|
|
this.popupMag = this.popupMsgList[0].replace(/[,,]/g, '').split('#');
|
|
|
|
this.popupMag = this.popupMsgList[0].replace(/[,,]/g, '').split('#');
|
|
|
|
this.showPopup = true;
|
|
|
|
this.showPopup = true;
|
|
|
|
this.playNum++;
|
|
|
|
this.playNum++;
|
|
|
|
|
|
|
|
|
|
|
|
if (this.synth) {
|
|
|
|
if (this.synth) {
|
|
|
|
const utterance = new SpeechSynthesisUtterance(this.popupMsgList[0].replace(/#/g, ''));
|
|
|
|
const utterance = new SpeechSynthesisUtterance(this.popupMsgList[0].replace(/#/g, ''));
|
|
|
|
utterance.rate = 0.6;
|
|
|
|
utterance.rate = 0.6;
|
|
|
@ -328,10 +328,17 @@ export default {
|
|
|
|
this.roomNameList = JSON.parse(item['Value'])
|
|
|
|
this.roomNameList = JSON.parse(item['Value'])
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
})
|
|
|
|
this.onInitData()
|
|
|
|
|
|
|
|
})
|
|
|
|
})
|
|
|
|
},
|
|
|
|
},
|
|
|
|
onInitData() {
|
|
|
|
},
|
|
|
|
|
|
|
|
mounted() {
|
|
|
|
|
|
|
|
this.$nextTick(() => {
|
|
|
|
|
|
|
|
this.onCalculate();
|
|
|
|
|
|
|
|
this.onGetblobe();
|
|
|
|
|
|
|
|
// 每秒更新一次当前时间
|
|
|
|
|
|
|
|
this.dateTimer = setInterval(() => {
|
|
|
|
|
|
|
|
this.currentDateTime = dayjs().format('YYYY-MM-DD HH:mm dddd');
|
|
|
|
|
|
|
|
}, 10000);
|
|
|
|
getDynamicTableHeader({
|
|
|
|
getDynamicTableHeader({
|
|
|
|
query: 'JSDHQDP',
|
|
|
|
query: 'JSDHQDP',
|
|
|
|
}).then(res => {
|
|
|
|
}).then(res => {
|
|
|
@ -344,22 +351,12 @@ export default {
|
|
|
|
this.getDataTimer = setInterval(() => {
|
|
|
|
this.getDataTimer = setInterval(() => {
|
|
|
|
this.onGetPageData();
|
|
|
|
this.onGetPageData();
|
|
|
|
}, 35000);
|
|
|
|
}, 35000);
|
|
|
|
|
|
|
|
this.popupTimer = setInterval(() => {
|
|
|
|
|
|
|
|
this.onPopupPlay();
|
|
|
|
|
|
|
|
}, 2000);
|
|
|
|
window.addEventListener('resize', this.onCalculate);
|
|
|
|
window.addEventListener('resize', this.onCalculate);
|
|
|
|
this.setRabitMQ();
|
|
|
|
this.setRabitMQ();
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
mounted() {
|
|
|
|
|
|
|
|
this.$nextTick(() => {
|
|
|
|
|
|
|
|
this.onCalculate();
|
|
|
|
|
|
|
|
this.onGetblobe();
|
|
|
|
|
|
|
|
// 每秒更新一次当前时间
|
|
|
|
|
|
|
|
this.dateTimer = setInterval(() => {
|
|
|
|
|
|
|
|
this.currentDateTime = dayjs().format('YYYY-MM-DD HH:mm dddd');
|
|
|
|
|
|
|
|
}, 10000);
|
|
|
|
|
|
|
|
this.popupTimer = setInterval(() => {
|
|
|
|
|
|
|
|
this.onPopupPlay();
|
|
|
|
|
|
|
|
}, 2000);
|
|
|
|
|
|
|
|
// setTimeout(() => {
|
|
|
|
// setTimeout(() => {
|
|
|
|
// this.popupMsgList.push('请,金尧仙,的家属#到,手术室门口接病人');
|
|
|
|
// this.popupMsgList.push('请,金尧仙,的家属#到,手术室门口接病人');
|
|
|
|
// this.popupMsgList.push('请,金尧仙,的家属#到,手术室门口接病人');
|
|
|
|
// this.popupMsgList.push('请,金尧仙,的家属#到,手术室门口接病人');
|
|
|
@ -406,7 +403,7 @@ export default {
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
this.groupIndex = -1;
|
|
|
|
this.groupIndex = -1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
this.onInitData();
|
|
|
|
this.onGetPageData();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
beforeDestroy() {
|
|
|
|
beforeDestroy() {
|
|
|
|