界面标题等logo修改

master
anthonywj 2 years ago
parent 5e4d13c9de
commit 4068e7fbd7

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

@ -75,3 +75,16 @@ export function getCodeSms() {
timeout: 20000 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: 4.6 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 { .sidebar-logo-container {
position: relative; position: relative;
width: 100%; width: 100%;
height: 100px; height: 110px;
line-height: 50px; line-height: 50px;
background: #2b2f3a; background: #2b2f3a;
text-align: center; text-align: center;
@ -72,7 +72,7 @@ export default {
& .sidebar-logo { & .sidebar-logo {
width: 100px; width: 100px;
height: 73px; height: 100px;
margin-top: 12px; margin-top: 12px;
vertical-align: middle; vertical-align: middle;
margin-right: 12px; margin-right: 12px;
@ -94,7 +94,7 @@ export default {
&.collapse { &.collapse {
.sidebar-logo { .sidebar-logo {
width: 44px; width: 44px;
height: 32px; height: 44px;
margin-right: 0px; margin-right: 0px;
} }
} }

@ -2123,7 +2123,6 @@ export default {
type: "warning", type: "warning",
}) })
.then(() => { .then(() => {
debugger;
this.updateLoading = true; this.updateLoading = true;
let query = { let query = {
uuid: this.editQuery.uuid, uuid: this.editQuery.uuid,

@ -405,7 +405,6 @@ export default {
}, },
initBusType() { initBusType() {
debugger
let query = { let query = {
code: this.orderFormData.invCode, code: this.orderFormData.invCode,
}; };

@ -564,7 +564,6 @@ export default {
uploadHandleError() { uploadHandleError() {
}, },
uploadHandleSuccess(response, file, fileList) { uploadHandleSuccess(response, file, fileList) {
debugger;
if (response.code === 20000) { if (response.code === 20000) {
this.inputQuery.licenseUrl = response.data.name; this.inputQuery.licenseUrl = response.data.name;
// this.onSubmit(); // this.onSubmit();

@ -2,7 +2,9 @@
<div class="login-container"> <div class="login-container">
<div> <div>
<el-row> <el-row>
<h3 class="toptitle">平潭协和医院</h3> <!-- <h3 class="toptitle">漳州市中医院</h3>-->
<h3 class="toptitle">{{ title }}</h3>
</el-row> </el-row>
<el-row> <el-row>
<h3 class="topSubtitle">医院UDI管理系统</h3> <h3 class="topSubtitle">医院UDI管理系统</h3>
@ -121,6 +123,7 @@ import Verify from "vue2-verify";
import axios from "axios"; import axios from "axios";
import Cookies from "js-cookie"; import Cookies from "js-cookie";
import {decrypt, encrypt} from "@/utils/jsencrypt"; import {decrypt, encrypt} from "@/utils/jsencrypt";
import {getTitleConfig} from "@/api/login";
export default { export default {
data() { data() {
@ -157,6 +160,7 @@ export default {
showDialog: false, // dialog showDialog: false, // dialog
redirect: null, // redirect: null, //
hospName: "", hospName: "",
title: "福建省XXX医院"
}; };
}, },
methods: { methods: {
@ -266,6 +270,11 @@ export default {
} }
}); });
}, },
getTitleConfig() {
getTitleConfig().then(res => {
this.title = res.data.title;
});
},
}, },
components: { components: {
Verify, Verify,
@ -281,7 +290,7 @@ export default {
axios.get("./config.json").then((res) => { axios.get("./config.json").then((res) => {
this.hospName = res.data.hosp_name; this.hospName = res.data.hosp_name;
}); });
this.getTitleConfig();
this.getCookie(); this.getCookie();
}, },
}; };

@ -1100,7 +1100,6 @@ export default {
type: "warning", type: "warning",
}) })
.then(() => { .then(() => {
debugger
this.updateLoading = true; this.updateLoading = true;
let query = {uuid: this.editQuery.uuid, originUuid: this.editQuery.originUuid}; let query = {uuid: this.editQuery.uuid, originUuid: this.editQuery.originUuid};
syncOnline(query) syncOnline(query)

@ -534,7 +534,6 @@ export default {
}, },
onResetintent() { onResetintent() {
debugger;
this.$router.push({ this.$router.push({
path: "", path: "",
}); });

@ -438,7 +438,6 @@ export default {
previewPdf(row) { previewPdf(row) {
debugger
let query = {id: row.id,module:row.module}; let query = {id: row.id,module:row.module};
demoPrint(query).then((response) => { demoPrint(query).then((response) => {
//pdfurl //pdfurl

Loading…
Cancel
Save