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