系统维护

This commit is contained in:
X1627315083
2025-03-12 16:46:23 +08:00
parent 1c3ad7ca62
commit a28408bcd6
3 changed files with 18 additions and 18 deletions

View File

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

View File

@@ -106,8 +106,7 @@ class myCanvas {
// this.canvas.on('mouse:up', function(event) {
// if(this.canvasState != 'move')this.updateCanvasState('')
// });
this.canvas.on("object:added", (event)=>{
if(!this.isLoadCanvas)this.updateCanvasState('')
this.canvas.on("object:added", (event)=> if(!this.isLoadCanvas)this.updateCanvasState('')
});
return this.canvas
}

View File

@@ -8,14 +8,15 @@
<!-- <div class="upgrade-content-text">System upgrading</div> -->
<div class="upgrade-content-text">System maintenance</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">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 Tuesday, February 4 at 9:30am (HKT) to Thursday, February 6. During this period, the AiDA system will be temporarily inaccessible. <br>We sincerely apologize for the inconvenience caused and thank you for your understanding</div>
<!-- <div class="upgrade-content-textab">Due to system server upgrades, we will be upgrading from Tuesday, February 4 at 9:30am (HKT) to Thursday, February 6. During this period, the AiDA system will be temporarily inaccessible. <br>We sincerely apologize for the inconvenience caused and thank you for your understanding</div> -->
<br>
<br>
<br>
<div class="upgrade-content-textab">由于系统服务器升级我们将于2月4日星期二上午9:30香港时间至2月6日星期四进行升级<br>在此期间AiDA系统暂时无法访问给您带来的不便我们深表歉意并感谢您的理解</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">由于系统服务器维护AiDA系统暂时无法访问对于由此造成的任何不便我们深表歉意并感谢您的理解</div>
<!-- <div class="upgrade-content-textab">由于系统服务器升级我们将于2月4日星期二上午9:30香港时间至2月6日星期四进行升级<br>在此期间AiDA系统将暂时无法访问给您带来的不便我们深表歉意并感谢您的理解</div> -->
</div>
</div>
</template>