|
@ -4,29 +4,30 @@ |
|
|
<el-row style="margin-right: -10px; margin-left: -10px"> |
|
|
<el-row style="margin-right: -10px; margin-left: -10px"> |
|
|
<el-col :span="24" style="padding-right: 10px; padding-left: 10px"> |
|
|
<el-col :span="24" style="padding-right: 10px; padding-left: 10px"> |
|
|
<el-form-item> |
|
|
<el-form-item> |
|
|
<LoginFormTitle style="width: 100%" /> |
|
|
<!-- <LoginFormTitle style="width: 100%" /> --> |
|
|
|
|
|
<div class="font-size-18px">您好,欢迎使用<span class="color-[rgb(74,154,236)]">长春华涛SPC系统</span></div> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
<el-col :span="24" style="padding-right: 10px; padding-left: 10px"> |
|
|
<el-col :span="24" style="padding-right: 10px; padding-left: 10px"> |
|
|
<el-form-item v-if="loginData.tenantEnable === 'true'" prop="tenantName"> |
|
|
<el-form-item v-if="loginData.tenantEnable === 'true'" label="租户名称"> |
|
|
<el-input v-model="loginData.loginForm.tenantName" :placeholder="t('login.tenantNamePlaceholder')" |
|
|
<el-input v-model="loginData.loginForm.tenantName" :placeholder="t('login.tenantNamePlaceholder')" |
|
|
:prefix-icon="iconHouse" link type="primary" /> |
|
|
link type="primary" /> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
<el-col :span="24" style="padding-right: 10px; padding-left: 10px"> |
|
|
<el-col :span="24" style="padding-right: 10px; padding-left: 10px"> |
|
|
<el-form-item prop="username"> |
|
|
<el-form-item label="用户名"> |
|
|
<el-input v-model="loginData.loginForm.username" :placeholder="t('login.usernamePlaceholder')" |
|
|
<el-input v-model="loginData.loginForm.username" :placeholder="t('login.usernamePlaceholder')" |
|
|
:prefix-icon="iconAvatar" style="height: 42px;" /> |
|
|
:prefix-icon="iconAvatar" style="height: 42px;" /> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
<el-col :span="24" style="padding-right: 10px; padding-left: 10px"> |
|
|
<el-col :span="24" style="padding-right: 10px; padding-left: 10px"> |
|
|
<el-form-item prop="password"> |
|
|
<el-form-item label="密码"> |
|
|
<el-input v-model="loginData.loginForm.password" :placeholder="t('login.passwordPlaceholder')" |
|
|
<el-input v-model="loginData.loginForm.password" :placeholder="t('login.passwordPlaceholder')" |
|
|
:prefix-icon="iconLock" show-password type="password" @keyup.enter="getCode()" style="height: 42px;" /> |
|
|
:prefix-icon="iconLock" show-password type="password" @keyup.enter="getCode()" style="height: 42px;" /> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
<el-col :span="24" style="padding-right: 10px; padding-left: 10px"> |
|
|
<el-col :span="24" style="padding-right: 10px; padding-left: 10px"> |
|
|
<el-form-item prop="code"> |
|
|
<el-form-item prop="code" label="验证码"> |
|
|
<div class="flex w-[100%]"> |
|
|
<div class="flex w-[100%]"> |
|
|
<el-input v-model="loginData.loginForm.code" :placeholder="t('login.codePlaceholder')" |
|
|
<el-input v-model="loginData.loginForm.code" :placeholder="t('login.codePlaceholder')" |
|
|
style="width: 76%;margin-right: 10px;height: 42px;" @keyup.enter="handleLogin()"> |
|
|
style="width: 76%;margin-right: 10px;height: 42px;" @keyup.enter="handleLogin()"> |
|
@ -275,4 +276,12 @@ onMounted(() => { |
|
|
cursor: pointer; |
|
|
cursor: pointer; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
.login-form{ |
|
|
|
|
|
background: white; |
|
|
|
|
|
width: 100%; |
|
|
|
|
|
box-shadow: 0px 0px 20px rgba(0,0,0,0.1) |
|
|
|
|
|
} |
|
|
|
|
|
::v-deep.el-form-item--large{ |
|
|
|
|
|
// margin-bottom: 15px; |
|
|
|
|
|
} |
|
|
</style> |
|
|
</style> |
|
|