|
|
@@ -1,5 +1,9 @@
|
|
|
<template>
|
|
|
<div>
|
|
|
+ <div class="page-header-index-wide welcome" v-if="indexStyle==0">
|
|
|
+ <h1>欢迎进入慧盈服务平台</h1>
|
|
|
+ <img src="~@/assets/welcome.png" class="logo">
|
|
|
+ </div>
|
|
|
<index-chart v-if="indexStyle==1"></index-chart>
|
|
|
<index-bdc v-if="indexStyle==2"></index-bdc>
|
|
|
<index-task v-if="indexStyle==3"></index-task>
|
|
|
@@ -18,6 +22,7 @@
|
|
|
import IndexChart from './IndexChart'
|
|
|
import IndexTask from "./IndexTask"
|
|
|
import IndexBdc from './IndexBdc'
|
|
|
+ import { mapGetters } from 'vuex'
|
|
|
|
|
|
export default {
|
|
|
name: "Analysis",
|
|
|
@@ -28,14 +33,29 @@
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
- indexStyle:1
|
|
|
+ indexStyle: this.nickname() === '九江税务' ? 0 : 1
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
|
|
|
|
},
|
|
|
methods: {
|
|
|
-
|
|
|
+ ...mapGetters(["nickname"]),
|
|
|
+ }
|
|
|
+ }
|
|
|
+</script>
|
|
|
+<style lang="less" scoped>
|
|
|
+ .welcome{
|
|
|
+ margin: 8% auto 0 auto;
|
|
|
+ text-align: center;
|
|
|
+ .logo {
|
|
|
+ margin-top: 6px;
|
|
|
+ height: 385px;
|
|
|
+ width: 584px;
|
|
|
+ }
|
|
|
+ h1{
|
|
|
+ font-size: 32px;
|
|
|
+ font-weight: 600;
|
|
|
}
|
|
|
}
|
|
|
-</script>
|
|
|
+</style>
|