diff --git a/src/views/scheduleList/index.vue b/src/views/scheduleList/index.vue index 8682416..78174ca 100644 --- a/src/views/scheduleList/index.vue +++ b/src/views/scheduleList/index.vue @@ -89,7 +89,7 @@
请勿吸烟,请照顾好自己随身携带的物品,请耐心等待,我们将竭诚为您服务
+{{ FooterText }}
@@ -115,7 +115,6 @@ export default { patientList: [], currentDateTime: dayjs().format('YYYY-MM-DD HH:mm dddd'), dateTimer: null, - carouselCountDown: 20, carouselTimer: null, activeIndex: 0, getDataTimer: null, @@ -125,10 +124,13 @@ export default { logoUrlBackup: "", groupIndex: -1, roomNameList: [], - stayTime: 30, depList: [], selectDepList: [], serverTimeStamp: '', + stayTime: 30, + FooterText: '请勿吸烟,请照顾好自己随身携带的物品,请耐心等待,我们将竭诚为您服务', + ReflushTime: 20, + carouselCountDown: 20, }; }, methods: { @@ -136,7 +138,7 @@ export default { textToColor, onGetPageData() { let today = dayjs().format('YYYY-MM-DD'); - // today = '2024-06-06'; + today = '2024-06-06'; const QueryFiledDic = {}; this.queryCondition.forEach(queryItem => { if (queryItem['queryType'] == 'dateTime') { @@ -205,7 +207,7 @@ export default { this.carouselCountDown -= 1; if (this.carouselCountDown == 0) { this.$refs.carousel.next(); - this.carouselCountDown = 20; + this.carouselCountDown = this.ReflushTime; } }, 1000); }); @@ -245,6 +247,13 @@ export default { if (item['Key'] == "StayTime") { this.stayTime = Number(item['Value']) } + if (item['Key'] == "FooterText") { + this.FooterText = item['Value'] + } + if (item['Key'] == "ReflushTime") { + this.ReflushTime = Number(item['Value']) + this.carouselCountDown = Number(item['Value']) + } }) }) }, @@ -296,7 +305,7 @@ export default { this.$refs.carousel.setActiveItem(index); if (this.carouselTimer) { clearInterval(this.carouselTimer); - this.carouselCountDown = 20; + this.carouselCountDown = this.ReflushTime; this.onCarouselTimer() } }