完成 监测点报告 迁移
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
<div class="login-container-form">
|
||||
<div class="title-container">
|
||||
<div class="title">
|
||||
<span style="font-size: 28px">电能质量数据监测云平台</span>
|
||||
<span style="font-size: 28px">{{ getThemeList.name || '电能质量监测系统' }}</span>
|
||||
</div>
|
||||
</div>
|
||||
<el-form :rules="rules" ref="formRef" size="large" class="login-form" :model="form">
|
||||
@@ -72,6 +72,7 @@ import type { FormInstance, InputInstance, FormRules } from 'element-plus'
|
||||
import { useRouter } from 'vue-router'
|
||||
import { ADMIN_INFO } from '@/stores/constant/cacheKey'
|
||||
import { Local } from '@/utils/storage'
|
||||
import { getTheme } from '@/api/systerm.ts'
|
||||
import PopupUpdatePwd from './popupUpdatePwd.vue'
|
||||
|
||||
const router = useRouter()
|
||||
@@ -84,7 +85,7 @@ const passwordRef = ref<InputInstance>()
|
||||
const userInfo = useAdminInfo()
|
||||
Local.remove(ADMIN_INFO)
|
||||
userInfo.removeToken()
|
||||
|
||||
const getThemeList: any = ref([])
|
||||
interface RuleForm {
|
||||
username: string
|
||||
password: string
|
||||
@@ -122,7 +123,9 @@ onBeforeUnmount(() => {
|
||||
clearTimeout(timer)
|
||||
pageBubble.removeListeners()
|
||||
})
|
||||
|
||||
getTheme().then(res => {
|
||||
getThemeList.value = res.data
|
||||
})
|
||||
const onSubmit = async (formEl: FormInstance | undefined) => {
|
||||
if (!formEl) return
|
||||
await formEl.validate((valid, fields) => {
|
||||
|
||||
Reference in New Issue
Block a user