系统升级
This commit is contained in:
@@ -11,8 +11,8 @@ const routes: Array<RouteRecordRaw> = [
|
|||||||
{
|
{
|
||||||
path: "/",
|
path: "/",
|
||||||
// redirect重定向
|
// redirect重定向
|
||||||
redirect: "/Square"
|
// redirect: "/Square"
|
||||||
// redirect: "/upgrade"
|
redirect: "/upgrade"
|
||||||
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -267,17 +267,17 @@ router.beforeEach((to:any, from, next) => {
|
|||||||
let upgradeList = ['/feedbackSurvey','/feedbackSurveyCN']//指定页面系统维护也可以访问
|
let upgradeList = ['/feedbackSurvey','/feedbackSurveyCN']//指定页面系统维护也可以访问
|
||||||
|
|
||||||
// 系统维护
|
// 系统维护
|
||||||
// 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)
|
||||||
|
|||||||
@@ -8,10 +8,10 @@
|
|||||||
<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 system server upgrades, We will be upgrading from 9:30 am Hong Kong time on Tuesday, July 9 until further notice. 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 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>
|
||||||
|
|||||||
Reference in New Issue
Block a user