|
|
@@ -1,9 +1,9 @@ |
|
|
|
<template> |
|
|
|
<view style="height: 100%;"> |
|
|
|
<view class="logoBox"> |
|
|
|
<image src="/static/image/logo.png" mode="heightFix"></image> |
|
|
|
<image :src="logo" mode="heightFix"></image> |
|
|
|
<view class="logoText"> |
|
|
|
AI监控预警分析平台 |
|
|
|
{{title}} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="loginBox"> |
|
|
@@ -72,10 +72,22 @@ |
|
|
|
callback(); |
|
|
|
}, |
|
|
|
}] |
|
|
|
} |
|
|
|
}, |
|
|
|
logo:'', |
|
|
|
title:'' |
|
|
|
} |
|
|
|
}, |
|
|
|
onLoad(e) { |
|
|
|
this.$http.get('http://123.57.209.16:8004/api/sys/sysInfo?_t=1728522588922').then(res=>{ |
|
|
|
if(res.code == 200){ |
|
|
|
let sysInfo = res.data |
|
|
|
this.$u.vuex('sysInfo', sysInfo) |
|
|
|
let titleObj = sysInfo.find(e=>e.configKey == 'SYS_NAME') |
|
|
|
if(titleObj)this.title = titleObj.configValue |
|
|
|
let logoObj = sysInfo.find(e=>e.configKey == 'SYS_LOGO') |
|
|
|
if(logoObj)this.logo = logoObj.configValue |
|
|
|
} |
|
|
|
}) |
|
|
|
if (e.redirect) this.redirect = e.redirect |
|
|
|
if (process.env.NODE_ENV === 'development') { |
|
|
|
this.form.account = 'superAdmin' |
|
|
|