fix: 9280水利登录页
This commit is contained in:
parent
87562b5aa0
commit
708c6975d2
BIN
god-ui/public/images/shuili-bg.png
Normal file
BIN
god-ui/public/images/shuili-bg.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 MiB |
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="login" id="loginDom">
|
<div class="login" id="loginDom">
|
||||||
<el-form ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form">
|
<el-form ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form">
|
||||||
<!-- <h3 class="title">智慧车间安防监控和管理系统系统</h3>-->
|
<h3 class="title">{{ title }}</h3>
|
||||||
<el-form-item prop="username">
|
<el-form-item prop="username">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="loginForm.username"
|
v-model="loginForm.username"
|
||||||
@ -70,6 +70,7 @@ export default {
|
|||||||
name: "Login",
|
name: "Login",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
title: '',
|
||||||
codeUrl: "",
|
codeUrl: "",
|
||||||
loginForm: {
|
loginForm: {
|
||||||
username: "",
|
username: "",
|
||||||
@ -169,9 +170,11 @@ export default {
|
|||||||
this.redirect = '/index'
|
this.redirect = '/index'
|
||||||
break;
|
break;
|
||||||
case '9280':
|
case '9280':
|
||||||
|
this.title = '淮海水利综合管控升级改造平台'
|
||||||
document.title = '淮海水利项目综合管控升级改造平台'
|
document.title = '淮海水利项目综合管控升级改造平台'
|
||||||
loginDom.style.backgroundImage = 'url(/images/huaihai-bg.png)'
|
loginDom.style.backgroundImage = 'url(/images/shuili-bg.png)'
|
||||||
this.redirect = '/waterhome'
|
this.redirect = '/waterhome'
|
||||||
|
document.querySelector('.login-form').style.marginLeft = '0'
|
||||||
break;
|
break;
|
||||||
case '9290':
|
case '9290':
|
||||||
document.title = '管仲远程视频监控平台'
|
document.title = '管仲远程视频监控平台'
|
||||||
|
Loading…
Reference in New Issue
Block a user