|
@@ -5,7 +5,7 @@
|
5
|
5
|
v-if="requesterLgoinType == 'web'"
|
6
|
6
|
style="font-size: 0.36rem; margin-bottom: 0.36rem; font-weight: 700"
|
7
|
7
|
>
|
8
|
|
- 服务台
|
|
8
|
+ {{ logoTitle }}
|
9
|
9
|
</h2>
|
10
|
10
|
<div v-if="requesterLgoinType == 'web'" style="width: 5rem">
|
11
|
11
|
<cube-input
|
|
@@ -40,6 +40,7 @@ import http from "../request/http";
|
40
|
40
|
export default {
|
41
|
41
|
data() {
|
42
|
42
|
return {
|
|
43
|
+ logoTitle: '',
|
43
|
44
|
zhanghao: "",
|
44
|
45
|
mima: "",
|
45
|
46
|
requesterLgoinType: "",
|
|
@@ -50,6 +51,14 @@ export default {
|
50
|
51
|
LoadIng
|
51
|
52
|
},
|
52
|
53
|
methods: {
|
|
54
|
+ getSysNameAndLogo(){
|
|
55
|
+ this.$http.get("service/auth/getSysNameAndLogo", {})
|
|
56
|
+ .then((result) => {
|
|
57
|
+ result = result.data;
|
|
58
|
+ this.logoTitle = result.sysName || '';
|
|
59
|
+ document.title = this.logoTitle
|
|
60
|
+ })
|
|
61
|
+ },
|
53
|
62
|
// 判断角色
|
54
|
63
|
roleHandler(user,requester){
|
55
|
64
|
let userRoles = user.role.map(v=>({id:v.id,rolecode:v.rolecode}));
|
|
@@ -261,6 +270,7 @@ export default {
|
261
|
270
|
this.zlogin();
|
262
|
271
|
}
|
263
|
272
|
this.getLoginType();
|
|
273
|
+ this.getSysNameAndLogo();
|
264
|
274
|
}
|
265
|
275
|
};
|
266
|
276
|
</script>
|