Browse Source

改动了工作pc默认颜色

preview
dai 4 years ago
parent
commit
1f34338d16
  1. BIN
      epmet-oper-web/src/assets/img/shequ/function/daichulishixiang.png
  2. BIN
      epmet-oper-web/src/assets/img/shequ/function/daichulixiangmu.png
  3. BIN
      epmet-oper-web/src/assets/img/shequ/function/daichuliyiti.png
  4. BIN
      epmet-oper-web/src/assets/img/shequ/function/fuwuguanli.png
  5. BIN
      epmet-oper-web/src/assets/img/shequ/function/laorenguanhuai.png
  6. BIN
      epmet-oper-web/src/assets/img/shequ/function/qunzuguanli.png
  7. BIN
      epmet-oper-web/src/assets/img/shequ/function/tianjiayingyong.png
  8. BIN
      epmet-oper-web/src/assets/img/shequ/function/tongxingjilu.png
  9. BIN
      epmet-oper-web/src/assets/img/shequ/function/weixiugongdan.png
  10. BIN
      epmet-oper-web/src/assets/img/shequ/function/wuyefuwu.png
  11. BIN
      epmet-oper-web/src/assets/img/shequ/logo.png
  12. BIN
      epmet-oper-web/src/assets/img/shequ/search.png
  13. 1
      epmet-oper-web/src/js/store/index.js
  14. 145
      epmet-oper-web/src/views/main-navbar.vue
  15. 45
      epmet-oper-web/src/views/main-sidebar.vue
  16. 38
      epmet-oper-web/src/views/main-theme-tools.vue
  17. 93
      epmet-oper-web/src/views/main.vue
  18. 33
      epmet-oper-web/src/views/modules/shequ/index.vue

BIN
epmet-oper-web/src/assets/img/shequ/function/daichulishixiang.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

BIN
epmet-oper-web/src/assets/img/shequ/function/daichulixiangmu.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

BIN
epmet-oper-web/src/assets/img/shequ/function/daichuliyiti.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

BIN
epmet-oper-web/src/assets/img/shequ/function/fuwuguanli.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

BIN
epmet-oper-web/src/assets/img/shequ/function/laorenguanhuai.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

BIN
epmet-oper-web/src/assets/img/shequ/function/qunzuguanli.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

BIN
epmet-oper-web/src/assets/img/shequ/function/tianjiayingyong.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
epmet-oper-web/src/assets/img/shequ/function/tongxingjilu.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

BIN
epmet-oper-web/src/assets/img/shequ/function/weixiugongdan.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

BIN
epmet-oper-web/src/assets/img/shequ/function/wuyefuwu.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

BIN
epmet-oper-web/src/assets/img/shequ/logo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

BIN
epmet-oper-web/src/assets/img/shequ/search.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 976 B

1
epmet-oper-web/src/js/store/index.js

@ -19,6 +19,7 @@ export default new Vuex.Store({
// 侧边栏, 菜单 // 侧边栏, 菜单
sidebarMenuList: [], sidebarMenuList: [],
sidebarMenuActiveName: '', sidebarMenuActiveName: '',
LevelOneMenuActiveName: '',
// 内容, 是否需要刷新 // 内容, 是否需要刷新
contentIsNeedRefresh: false, contentIsNeedRefresh: false,
// 内容, 标签页(默认添加首页) // 内容, 标签页(默认添加首页)

145
epmet-oper-web/src/views/main-navbar.vue

@ -1,31 +1,56 @@
<template> <template>
<div> <div>
<nav v-if="showHeader" <nav
v-if="showHeader"
class="aui-navbar" class="aui-navbar"
:class="`aui-navbar--${$store.state.navbarLayoutType}`"> :class="`aui-navbar--${$store.state.navbarLayoutType}`"
>
<div class="aui-navbar__header"> <div class="aui-navbar__header">
<h1 class="aui-navbar__brand" <h1 class="aui-navbar__brand" @click="$router.push({ name: 'home' })">
@click="$router.push({ name: 'home' })"> <a class="aui-navbar__brand-lg" href="javascript:;">{{
<a class="aui-navbar__brand-lg" userType === 'work' ? customerName : $t('brand.lg')
href="javascript:;">{{ userType==='work'?customerName :$t('brand.lg') }}</a> }}</a>
<a class="aui-navbar__brand-mini" <a class="aui-navbar__brand-mini" href="javascript:;">{{
href="javascript:;">{{ $t('brand.mini') }}</a> $t('brand.mini')
}}</a>
</h1> </h1>
</div> </div>
<div class="aui-navbar__body"> <div class="aui-navbar__body">
<el-menu class="aui-navbar__menu mr-auto" <el-menu class="aui-navbar__menu mr-auto" mode="horizontal">
mode="horizontal"> <el-menu-item
<el-menu-item index="1" index="1"
@click="$store.state.sidebarFold = !$store.state.sidebarFold"> @click="$store.state.sidebarFold = !$store.state.sidebarFold"
<svg class="icon-svg aui-navbar__icon-menu aui-navbar__icon-menu--switch" >
aria-hidden="true"> <svg
class="icon-svg aui-navbar__icon-menu aui-navbar__icon-menu--switch"
aria-hidden="true"
>
<use xlink:href="#icon-outdent"></use> <use xlink:href="#icon-outdent"></use>
</svg> </svg>
</el-menu-item> </el-menu-item>
</el-menu>
<el-menu
v-if="userType == 'work'"
:default-active="$store.state.LevelOneMenuActiveName"
:collapse="$store.state.sidebarFold"
:unique-opened="true"
:collapseTransition="false"
mode="horizontal"
class="aui-navbar__menu mr-auto"
>
<el-menu-item
v-for="menu in $store.state.sidebarMenuList"
:key="menu.id"
:menu="menu"
:index="menu.id"
@click="gotoRouteHandle(menu.id)"
>
<span>{{ menu.name }}</span>
</el-menu-item>
</el-menu> </el-menu>
<el-menu class="aui-navbar__menu"
mode="horizontal"> <el-menu class="aui-navbar__menu" mode="horizontal">
<!-- <el-menu-item index="1"> <!-- <el-menu-item index="1">
<el-dropdown placement="bottom" <el-dropdown placement="bottom"
:show-timeout="0"> :show-timeout="0">
@ -53,42 +78,40 @@
<use xlink:href="#icon-fullscreen"></use> <use xlink:href="#icon-fullscreen"></use>
</svg> </svg>
</el-menu-item> --> </el-menu-item> -->
<el-menu-item index="2" <el-menu-item index="2" @click="refresh()">
@click="refresh()"> <svg class="icon-svg aui-navbar__icon-menu" aria-hidden="true">
<svg class="icon-svg aui-navbar__icon-menu"
aria-hidden="true">
<use xlink:href="#icon-sync"></use> <use xlink:href="#icon-sync"></use>
</svg> </svg>
</el-menu-item> </el-menu-item>
<el-menu-item index="4" <el-menu-item index="4" class="aui-navbar__avatar">
class="aui-navbar__avatar"> <el-dropdown placement="bottom" :show-timeout="0">
<el-dropdown placement="bottom"
:show-timeout="0">
<span class="el-dropdown-link"> <span class="el-dropdown-link">
<img v-if="$store.state.user.gender ==='2'" <img
src="~@/assets/img/staff-default-avatar-girl.png"> v-if="$store.state.user.gender === '2'"
<img v-else src="~@/assets/img/staff-default-avatar-girl.png"
src="~@/assets/img/staff-default-avatar-boy.png"> />
<img v-else src="~@/assets/img/staff-default-avatar-boy.png" />
<span>{{ $store.state.user.realName }}</span> <span>{{ $store.state.user.realName }}</span>
<i class="el-icon-arrow-down"></i> <i class="el-icon-arrow-down"></i>
</span> </span>
<el-dropdown-menu slot="dropdown"> <el-dropdown-menu slot="dropdown">
<!-- <el-dropdown-item @click.native="updatePasswordHandle()">{{ $t('updatePassword.title') }}</el-dropdown-item> --> <!-- <el-dropdown-item @click.native="updatePasswordHandle()">{{ $t('updatePassword.title') }}</el-dropdown-item> -->
<el-dropdown-item @click.native="logoutHandle()">{{ $t('logout') }}</el-dropdown-item> <el-dropdown-item @click.native="logoutHandle()">{{
$t('logout')
}}</el-dropdown-item>
</el-dropdown-menu> </el-dropdown-menu>
</el-dropdown> </el-dropdown>
</el-menu-item> </el-menu-item>
</el-menu> </el-menu>
</div> </div>
<!-- 弹窗, 修改密码 --> <!-- 弹窗, 修改密码 -->
<update-password v-if="updatePassowrdVisible" <update-password
ref="updatePassowrd"></update-password> v-if="updatePassowrdVisible"
ref="updatePassowrd"
></update-password>
</nav> </nav>
<nav v-else <nav v-else class="aui-navbar main-line"></nav>
class="aui-navbar main-line"></nav>
</div> </div>
</template> </template>
<script> <script>
@ -105,29 +128,39 @@ export default {
i18nMessages: messages, i18nMessages: messages,
updatePassowrdVisible: false, updatePassowrdVisible: false,
customerName: localStorage.getItem('customerName') customerName: localStorage.getItem('customerName')
} }
}, },
components: { components: {
UpdatePassword UpdatePassword
}, },
created() { created() {
let platformToken = localStorage.getItem('showHeader') || ''; let platformToken = localStorage.getItem('showHeader') || ''
if (typeof platformToken !== 'undefined' && platformToken !== 'undefined' && platformToken !== '') { if (
typeof platformToken !== 'undefined' &&
platformToken !== 'undefined' &&
platformToken !== ''
) {
this.showHeader = false this.showHeader = false
} }
console.log('=============================', this.userType)
}, },
computed: { computed: {
userType() { userType() {
return localStorage.getItem('userType') return localStorage.getItem('userType')
}, }
}, },
methods: { methods: {
// menuId()
gotoRouteHandle(menuId) {
var route = window.SITE_CONFIG['dynamicMenuRoutes'].filter(
(item) => item.meta.menuId === menuId
)[0]
if (route) {
this.$router.push({ name: route.name })
}
this.$store.state.LevelOneMenuActiveName = menuId
},
changeCustomerName(customerName) { changeCustomerName(customerName) {
this.customerName = localStorage.getItem('customerName') this.customerName = localStorage.getItem('customerName')
}, },
// //
@ -150,17 +183,25 @@ export default {
}, },
// 退 // 退
logoutHandle() { logoutHandle() {
this.$confirm(this.$t('prompt.info', { 'handle': this.$t('logout') }), this.$t('prompt.title'), { this.$confirm(
this.$t('prompt.info', { handle: this.$t('logout') }),
this.$t('prompt.title'),
{
confirmButtonText: this.$t('confirm'), confirmButtonText: this.$t('confirm'),
cancelButtonText: this.$t('cancel'), cancelButtonText: this.$t('cancel'),
type: 'warning' type: 'warning'
}).then(() => { }
)
.then(() => {
// //
// tabs, // tabs,
this.$store.state.contentTabs = this.$store.state.contentTabs.filter(item => item.name === 'home') this.$store.state.contentTabs = this.$store.state.contentTabs.filter(
(item) => item.name === 'home'
)
this.$http.post('/auth/login/logout').then(({ data: res }) => { this.$http
.post('/auth/login/logout')
.then(({ data: res }) => {
if (res.code !== 0) { if (res.code !== 0) {
// 退 // 退
if (res.code !== 10007) { if (res.code !== 10007) {
@ -175,9 +216,10 @@ export default {
} else { } else {
this.$router.push({ name: 'login' }) this.$router.push({ name: 'login' })
} }
})
}).catch(() => { }) .catch(() => {})
}).catch(() => { }) })
.catch(() => {})
} }
} }
} }
@ -188,4 +230,3 @@ export default {
background: #eeeeee; background: #eeeeee;
} }
</style> </style>

45
epmet-oper-web/src/views/main-sidebar.vue

@ -1,14 +1,39 @@
<template> <template>
<aside :class="['aui-sidebar', `aui-sidebar--${$store.state.sidebarLayoutSkin}`]"> <aside
:class="['aui-sidebar', `aui-sidebar--${$store.state.sidebarLayoutSkin}`]"
>
<div class="aui-sidebar__inner"> <div class="aui-sidebar__inner">
<el-menu :default-active="$store.state.sidebarMenuActiveName" <el-menu
v-if="userType !== 'work'"
:default-active="$store.state.sidebarMenuActiveName"
:collapse="$store.state.sidebarFold" :collapse="$store.state.sidebarFold"
:unique-opened="true" :unique-opened="true"
:collapseTransition="false" :collapseTransition="false"
class="aui-sidebar__menu"> class="aui-sidebar__menu"
<sub-menu v-for="menu in $store.state.sidebarMenuList" >
<sub-menu
v-for="menu in $store.state.sidebarMenuList"
:key="menu.id" :key="menu.id"
:menu="menu" /> :menu="menu"
/>
</el-menu>
<el-menu
:default-active="$store.state.sidebarMenuActiveName"
:collapse="$store.state.sidebarFold"
:unique-opened="true"
:collapseTransition="false"
class="aui-sidebar__menu"
v-else
>
<template v-for="item in $store.state.sidebarMenuList">
<sub-menu
v-if="$store.state.LevelOneMenuActiveName == item.id"
v-for="menu in item.children"
:key="menu.id"
:menu="menu"
/>
</template>
</el-menu> </el-menu>
</div> </div>
</aside> </aside>
@ -16,16 +41,22 @@
<script> <script>
import SubMenu from './main-sidebar-sub-menu' import SubMenu from './main-sidebar-sub-menu'
export default { export default {
data() { data() {
return { return {}
}
}, },
components: { components: {
SubMenu SubMenu
}, },
computed: {
userType() {
return localStorage.getItem('userType')
}
},
created() { created() {
this.$store.state.sidebarMenuList = window.SITE_CONFIG['menuList'] this.$store.state.sidebarMenuList = window.SITE_CONFIG['menuList']
console.log(this.$store.state.sidebarMenuList)
} }
} }
</script> </script>

38
epmet-oper-web/src/views/main-theme-tools.vue

@ -1,21 +1,34 @@
<template> <template>
<div class="aui-theme-tools" :class="{ 'aui-theme-tools--open': isOpen }"> <div class="aui-theme-tools" :class="{ 'aui-theme-tools--open': isOpen }">
<div class="aui-theme-tools__toggle" @click="isOpen = !isOpen"> <div class="aui-theme-tools__toggle" @click="isOpen = !isOpen">
<svg class="icon-svg" aria-hidden="true"><use xlink:href="#icon-setting"></use></svg> <svg class="icon-svg" aria-hidden="true">
<use xlink:href="#icon-setting"></use>
</svg>
</div> </div>
<div class="aui-theme-tools__content"> <div class="aui-theme-tools__content">
<div class="aui-theme-tools__item"> <div class="aui-theme-tools__item">
<h3>Navbar</h3> <h3>Navbar</h3>
<el-checkbox v-model="$store.state.navbarLayoutType" true-label="colorful">colorful 鲜艳</el-checkbox> <el-checkbox
v-model="$store.state.navbarLayoutType"
true-label="colorful"
>colorful 鲜艳</el-checkbox
>
</div> </div>
<div class="aui-theme-tools__item"> <div class="aui-theme-tools__item">
<h3>Sidebar</h3> <h3>Sidebar</h3>
<el-checkbox v-model="$store.state.sidebarLayoutSkin" true-label="dark">dark 黑色</el-checkbox> <el-checkbox v-model="$store.state.sidebarLayoutSkin" true-label="dark"
>dark 黑色</el-checkbox
>
</div> </div>
<div class="aui-theme-tools__item"> <div class="aui-theme-tools__item">
<h3>Theme</h3> <h3>Theme</h3>
<el-radio-group v-model="themeColor" @change="themeColorChangeHandle"> <el-radio-group v-model="themeColor" @change="themeColorChangeHandle">
<el-radio v-for="item in themeList" :key="item.name" :label="item.name">{{ `${item.name} ${item.desc}` }}</el-radio> <el-radio
v-for="item in themeList"
:key="item.name"
:label="item.name"
>{{ `${item.name} ${item.desc}` }}</el-radio
>
</el-radio-group> </el-radio-group>
</div> </div>
</div> </div>
@ -28,19 +41,30 @@ export default {
return { return {
isOpen: false, isOpen: false,
themeList: require('@/element-ui/config.js'), themeList: require('@/element-ui/config.js'),
themeColor: 'turquoise' themeColor: ''
} }
}, },
created() {
let color = window.localStorage.getItem('themeColor') || 'blue'
this.themeColorChangeHandle(color)
this.themeColor = color
},
methods: { methods: {
themeColorChangeHandle(val) { themeColorChangeHandle(val) {
window.localStorage.setItem('themeColor', val)
var styleList = [ var styleList = [
{ {
id: 'J_elementTheme', id: 'J_elementTheme',
url: `${process.env.BASE_URL}element-theme/${val}/index.css?t=${new Date().getTime()}` url: `${
process.env.BASE_URL
}element-theme/${val}/index.css?t=${new Date().getTime()}`
}, },
{ {
id: 'J_auiTheme', id: 'J_auiTheme',
url: `${process.env.BASE_URL}element-theme/${val}/aui.css?t=${new Date().getTime()}` url: `${
process.env.BASE_URL
}element-theme/${val}/aui.css?t=${new Date().getTime()}`
} }
] ]
for (var i = 0; i < styleList.length; i++) { for (var i = 0; i < styleList.length; i++) {

93
epmet-oper-web/src/views/main.vue

@ -1,13 +1,17 @@
<template> <template>
<div v-loading.fullscreen.lock="loading" <div
v-loading.fullscreen.lock="loading"
:element-loading-text="$t('loading')" :element-loading-text="$t('loading')"
:class="['aui-wrapper', { 'aui-sidebar--fold': $store.state.sidebarFold }]"> :class="['aui-wrapper', { 'aui-sidebar--fold': $store.state.sidebarFold }]"
>
<template v-if="!loading"> <template v-if="!loading">
<main-navbar ref="ref_navbar" /> <main-navbar ref="ref_navbar" />
<main-sidebar /> <main-sidebar />
<div class="aui-content__wrapper"> <div class="aui-content__wrapper">
<main-content v-if="!$store.state.contentIsNeedRefresh" <main-content
@changeCustomerName="changeCustomerName" /> v-if="!$store.state.contentIsNeedRefresh"
@changeCustomerName="changeCustomerName"
/>
</div> </div>
<main-theme-tools /> <main-theme-tools />
</template> </template>
@ -51,61 +55,79 @@ export default {
this.windowResizeHandle() this.windowResizeHandle()
this.routeHandle(this.$route) this.routeHandle(this.$route)
if (localStorage.getItem('userType') === 'work') { if (localStorage.getItem('userType') === 'work') {
Promise.all([ Promise.all([this.getWorkUserInfo()]).then(() => {
this.getWorkUserInfo(),
]).then(() => {
this.loading = false this.loading = false
}) })
} else { } else {
Promise.all([ Promise.all([this.getUserInfo()]).then(() => {
this.getUserInfo(),
]).then(() => {
this.loading = false this.loading = false
}) })
} }
},
computed: {
}, },
computed: {},
methods: { methods: {
changeCustomerName(customerName) { changeCustomerName(customerName) {
this.$refs['ref_navbar'].changeCustomerName(customerName) this.$refs['ref_navbar'].changeCustomerName(customerName)
}, },
// //
windowResizeHandle() { windowResizeHandle() {
this.$store.state.sidebarFold = document.documentElement['clientWidth'] <= 992 || false this.$store.state.sidebarFold =
window.addEventListener('resize', debounce(() => { document.documentElement['clientWidth'] <= 992 || false
this.$store.state.sidebarFold = document.documentElement['clientWidth'] <= 992 || false window.addEventListener(
}, 150)) 'resize',
debounce(() => {
this.$store.state.sidebarFold =
document.documentElement['clientWidth'] <= 992 || false
}, 150)
)
}, },
// , // ,
routeHandle(route) { routeHandle(route) {
if (!route.meta.isTab) { if (!route.meta.isTab) {
return false return false
} }
var tab = this.$store.state.contentTabs.filter(item => item.name === route.name)[0] var tab = this.$store.state.contentTabs.filter(
(item) => item.name === route.name
)[0]
if (!tab) { if (!tab) {
tab = { tab = {
...window.SITE_CONFIG['contentTabDefault'], ...window.SITE_CONFIG['contentTabDefault'],
...route.meta, ...route.meta,
'name': route.name, name: route.name,
'params': { ...route.params }, params: { ...route.params },
'query': { ...route.query } query: { ...route.query }
} }
this.$store.state.contentTabs = this.$store.state.contentTabs.concat(tab) this.$store.state.contentTabs = this.$store.state.contentTabs.concat(
tab
)
} }
this.$store.state.sidebarMenuActiveName = tab.menuId this.$store.state.sidebarMenuActiveName = tab.menuId
this.$store.state.contentTabsActiveName = tab.name this.$store.state.contentTabsActiveName = tab.name
this.syncLevelOneMenuActive(tab.menuId)
},
syncLevelOneMenuActive(menuId) {
const fn = (item) => {
console.log('++++++++++++++', item)
if (item.id == menuId) {
return true
} else if (item.children.length > 0) {
return item.children.findIndex(fn) !== -1
} else {
return false
}
}
let idx = this.$store.state.sidebarMenuList.findIndex(fn)
this.$store.state.LevelOneMenuActiveName =
idx !== -1 ? this.$store.state.sidebarMenuList[idx].id : ''
}, },
// //
getUserInfo() { getUserInfo() {
const url = '/epmetuser/operuser/queryOperUserDto' const url = '/epmetuser/operuser/queryOperUserDto'
return this.$http.get(url).then(({ data: res }) => { return this.$http
.get(url)
.then(({ data: res }) => {
if (res.code !== 0) { if (res.code !== 0) {
return this.$message.error(res.msg) return this.$message.error(res.msg)
} }
@ -115,16 +137,17 @@ export default {
this.$store.state.user.superAdmin = res.data.superAdmin this.$store.state.user.superAdmin = res.data.superAdmin
this.$store.state.user.gender = data.gender this.$store.state.user.gender = data.gender
localStorage.setItem('customerId', '') localStorage.setItem('customerId', '')
}).catch(() => { }) })
.catch(() => {})
}, },
// //
getWorkUserInfo() { getWorkUserInfo() {
const url = '/epmetuser/customerstaff/staffbasicinfo' const url = '/epmetuser/customerstaff/staffbasicinfo'
let params = { let params = {}
} window.app.ajax.post(
window.app.ajax.post(url, params, url,
params,
(data, rspMsg) => { (data, rspMsg) => {
this.$store.state.user.id = data.id this.$store.state.user.id = data.id
this.$store.state.user.realName = data.realName this.$store.state.user.realName = data.realName
this.$store.state.user.superAdmin = data.superAdmin this.$store.state.user.superAdmin = data.superAdmin
@ -133,18 +156,16 @@ export default {
localStorage.setItem('customerId', data.customerId) localStorage.setItem('customerId', data.customerId)
// this.$store.state.user.roleList = data.roleList // this.$store.state.user.roleList = data.roleList
// this.$store.state.user.customerId = data.customerId // this.$store.state.user.customerId = data.customerId
}, },
(rspMsg, data) => { (rspMsg, data) => {
this.$message.error(rspMsg) this.$message.error(rspMsg)
}) }
)
// return this.$http.get(url).then(({ data: res }) => { // return this.$http.get(url).then(({ data: res }) => {
// if (res.code !== 0) { // if (res.code !== 0) {
// return this.$message.error(res.msg) // return this.$message.error(res.msg)
// } // }
// }).catch(() => { }) // }).catch(() => { })
} }
} }

33
epmet-oper-web/src/views/modules/shequ/index.vue

@ -0,0 +1,33 @@
<template>
<div>
<div class="m-info">
<h2>社区查询</h2>
</div>
</div>
</template>
<script>
export default {
data() {
return {
// i18nMessages: messages,
updatePassowrdVisible: false,
customerName: localStorage.getItem('customerName'),
userType: localStorage.getItem('userType')
}
},
components: {},
mounted() {
//
// tabs,
this.$store.state.contentTabs = this.$store.state.contentTabs.filter(
(item) => item.name === 'home'
)
},
methods: {
changeCustomerName(customerName) {
this.$emit('changeCustomerName', customerName)
}
}
}
</script>
Loading…
Cancel
Save