You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
805 B
36 lines
805 B
<template>
|
|
<div>
|
|
|
|
|
|
<customer-info @changeCustomerName="changeCustomerName"
|
|
v-if="userType==='work'"></customer-info>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import CustomerInfo from './customer/manage/CustomerInfo'
|
|
export default {
|
|
data () {
|
|
return {
|
|
// i18nMessages: messages,
|
|
updatePassowrdVisible: false,
|
|
customerName: localStorage.getItem('customerName'),
|
|
userType: localStorage.getItem('userType')
|
|
|
|
}
|
|
},
|
|
components: {
|
|
CustomerInfo
|
|
},
|
|
mounted () {
|
|
//关闭所有标签页
|
|
// tabs, 关闭全部
|
|
this.$store.state.contentTabs = this.$store.state.contentTabs.filter(item => item.name === 'home')
|
|
},
|
|
methods: {
|
|
changeCustomerName (customerName) {
|
|
this.$emit('changeCustomerName', customerName)
|
|
},
|
|
}
|
|
}
|
|
</script>
|
|
|