系统维护

This commit is contained in:
wxd
2024-12-01 13:27:49 +08:00
parent 3110196928
commit 6c393d5bf7
2 changed files with 18 additions and 18 deletions

View File

@@ -11,8 +11,8 @@ const routes: Array<RouteRecordRaw> = [
{ {
path: "/", path: "/",
// redirect重定向 // redirect重定向
redirect: "/Square" // redirect: "/Square"
// redirect: "/upgrade" redirect: "/upgrade"
}, },
{ {
@@ -320,18 +320,18 @@ let setMurmur = (id:any)=> {
router.beforeEach((to:any, from, next) => { router.beforeEach((to:any, from, next) => {
let upgradeList = ['/feedbackSurvey','/feedbackSurveyCN','emailVerify']//指定页面系统维护也可以访问 let upgradeList = ['/feedbackSurvey','/feedbackSurveyCN','emailVerify']//指定页面系统维护也可以访问
// // 系统维护 // 系统维护
// const toName = to.name === 'upgrade'; const toName = to.name === 'upgrade';
// if(upgradeList.indexOf(to.path) > -1){ if(upgradeList.indexOf(to.path) > -1){
// next(); next();
// }else{ }else{
// if (toName) { if (toName) {
// next(); next();
// } else { } else {
// next({ name: 'upgrade' }); next({ name: 'upgrade' });
// } }
// } }
// return return
// 检查路由是否存在 // 检查路由是否存在
// 机房用户 // 机房用户
let herfData = window.location.search.substring(1) let herfData = window.location.search.substring(1)

View File

@@ -5,13 +5,13 @@
<i class="fi fi-rr-settings"></i> <i class="fi fi-rr-settings"></i>
</div> </div>
<div class="upgrade-content-wire"></div> <div class="upgrade-content-wire"></div>
<div class="upgrade-content-text">System upgrading</div> <!-- <div class="upgrade-content-text">System upgrading</div> -->
<!-- <div class="upgrade-content-text">System maintenance</div> --> <div class="upgrade-content-text">System maintenance</div>
<!-- 没有截至时间 --> <!-- 没有截至时间 -->
<div class="upgrade-content-textab">Due to the system server upgrade, we will start the upgrade from 9:30 am Hong Kong time on the weekend of October 20th until October 21st. During this time,<br> the AiDA system will be temporarily inaccessible. We apologize for any inconvenience this may cause and thank you for your understanding.</div> <!-- <div class="upgrade-content-textab">Due to the system server upgrade, we will start the upgrade from 9:30 am Hong Kong time on the weekend of October 20th until October 21st. During this time,<br> the AiDA system will be temporarily inaccessible. We apologize for any inconvenience this may cause and thank you for your understanding.</div> -->
<!-- 有截至时间 --> <!-- 有截至时间 -->
<!-- <div class="upgrade-content-textab">Due to system server upgrades, We will be upgrading from 9:30 am Hong Kong time on Tuesday, July 9 until 17:00 PM on Tuesday, July 9. During this period, access to the AiDA system will be temporarily unavailable.<br> We apologize for any inconvenience this may cause and appreciate your understanding.</div> --> <!-- <div class="upgrade-content-textab">Due to system server upgrades, We will be upgrading from 9:30 am Hong Kong time on Tuesday, July 9 until 17:00 PM on Tuesday, July 9. During this period, access to the AiDA system will be temporarily unavailable.<br> We apologize for any inconvenience this may cause and appreciate your understanding.</div> -->
<!-- <div class="upgrade-content-textab">The AiDA system cannot be accessed temporarily due to system server maintenance. We apologize for any inconvenience this may cause and thank you for your understanding.</div> --> <div class="upgrade-content-textab">The AiDA system cannot be accessed temporarily due to system server maintenance. We apologize for any inconvenience this may cause and thank you for your understanding.</div>
</div> </div>
</div> </div>
</template> </template>