2/8 版本修改支持多个版本修改1.0

20240912_adapter
wangwei 2 months ago
parent 34d3c24fd2
commit c6c5fc8282

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

@ -3,7 +3,8 @@
<div class="textTitle">
<!-- <h3 class="toptitle">平潭协和医院</h3>-->
<h3 class="toptitle">{{ title }}</h3>
<h3 class="topSubtitle">{{ subTitle }}</h3>
<!--<h3 class="topSubtitle">{{ subTitle }}</h3>-->
<h3 class="topSubtitle">{{ webVersionName }}</h3>
</div>
<el-form
class="card-box login-form"
@ -16,7 +17,14 @@
>
<el-card class="box-card">
<div style="text-align: center; margin-top: 10px">
<img alt="element-logo" src="@/assets/logo/logo.png"/>
<div v-if="webLogo == ''">
<img alt="element-logo" src="@/assets/logo/logo.png">
</div>
<div v-else>
<img alt="element-logo" :src="webLogo">
</div>
<!--<img alt="element-logo" src= "@/assets/logo/logo.png"/>-->
</div>
<h3 class="title">用户登录</h3>
<el-form-item prop="username" class="item" style="margin-top: -20px">
@ -147,6 +155,7 @@ import Cookies from "js-cookie";
import {decrypt, encrypt} from "@/utils/jsencrypt";
import {getCodeImg, getTitleConfig} from "@/api/login";
import {forceModifyPasswd, modifyPasswd} from "@/api/auth/authAdmin";
import { isBlank } from '@/utils/strUtil'
export default {
data() {
@ -188,6 +197,8 @@ export default {
hospName: "",
title: "福建省XXX医院",
subTitle: "医院UDI管理系统",
webVersionName: "医院UDI管理系统",
webLogo: "",
passwordFormVisible: false,
passwordFormData: {
oldPassword: "",
@ -390,6 +401,10 @@ export default {
getTitleConfig().then(res => {
this.title = res.data.title;
this.subTitle = res.data.subTitle;
if (!isBlank(res.data.webVersion)){
this.webVersionName = res.data.webVersion
}
this.webLogo = res.data.webLogo
});
},
passwdSubmit() {

Loading…
Cancel
Save