界面标题等logo修改

master
anthonywj 2 years ago
parent 9324c084c0
commit 0c9a7b5c82

@ -8,7 +8,7 @@ ENV = 'production'
#林纪裕cd
# VUE_APP_BASE_API = 'http://r.jiyuudims.cloud:81/UDI_WMS_MC/'
VUE_APP_BASE_API = 'http://r.jiyuudims.cloud:81/UDI_WMS_MC/'
# VUE_APP_BASE_API = 'http://127.0.0.1:9150/UDI_WMS_MC/'
@ -31,7 +31,7 @@ ENV = 'production'
# VUE_APP_BASE_API = 'http://116.204.106.103:9150/UDI_WMS_MC/'
# 漳州中医院
VUE_APP_BASE_API = 'http://192.168.240.119:9150/UDI_WMS_MC/'
# VUE_APP_BASE_API = 'http://192.168.240.119:9150/UDI_WMS_MC/'
# 应用访问路径 例如使用前缀 /admin/

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

@ -69,3 +69,15 @@ export function getCodeSms() {
timeout: 20000
})
}
export function getTitleConfig() {
return request({
url: '/spms/getTitleConfig',
headers: {
isToken: false
},
method: 'get',
timeout: 20000
})
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

After

Width:  |  Height:  |  Size: 19 KiB

@ -60,7 +60,7 @@ export default {
.sidebar-logo-container {
position: relative;
width: 100%;
height: 100px;
height: 110px;
line-height: 50px;
background: #2b2f3a;
text-align: center;
@ -72,7 +72,7 @@ export default {
& .sidebar-logo {
width: 100px;
height: 73px;
height: 100px;
margin-top: 12px;
vertical-align: middle;
margin-right: 12px;
@ -94,7 +94,7 @@ export default {
&.collapse {
.sidebar-logo {
width: 44px;
height: 32px;
height: 44px;
margin-right: 0px;
}
}

@ -2,7 +2,7 @@
<div class="login-container">
<div class="textTitle">
<!-- <h3 class="toptitle">平潭协和医院</h3>-->
<h3 class="toptitle">漳州市中医院</h3>
<h3 class="toptitle">{{ title }}</h3>
<h3 class="topSubtitle">医院UDI管理系统</h3>
</div>
<el-form
@ -98,6 +98,7 @@ import Verify from "vue2-verify";
import axios from "axios";
import Cookies from "js-cookie";
import {decrypt, encrypt} from "@/utils/jsencrypt";
import {getCodeImg, getTitleConfig} from "@/api/login";
export default {
data() {
@ -134,6 +135,7 @@ export default {
showDialog: false, // dialog
redirect: null, //
hospName: "",
title: "福建省XXX医院"
};
},
methods: {
@ -238,6 +240,11 @@ export default {
}
});
},
getTitleConfig() {
getTitleConfig().then(res => {
this.title = res.data.title;
});
},
},
components: {
Verify,
@ -249,7 +256,7 @@ export default {
// URL Encode
this.redirect = decodeURIComponent(query.redirect);
}
this.getTitleConfig();
axios.get("./config.json").then((res) => {
this.hospName = res.data.hosp_name;
});

Loading…
Cancel
Save