From d123b52198a3b5a21897f80693da88da84a0277a Mon Sep 17 00:00:00 2001 From: "shengwen.chen" Date: Fri, 19 Sep 2025 18:34:30 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=AF=B9=E6=8E=A5=E9=A9=BE=E9=A9=B6?= =?UTF-8?q?=E8=88=B1=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/scheduleList/index.vue | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) 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() } }