<template>
	<div>
		<common @asynCallBack="asynCallBack"></common>
		<top-header :pageTitle="pageTitle"></top-header>

		<div class="mui-content vongi-kqtj-center">
			<div class="vongi-jy-list">
				<div class="vongi-wordcard flew-items vongi-yuan-img68">
					<div class="mui-media-object mui-pull-left"><img :src="detail.faceImagUrl?detail.faceImagUrl:require('$project/assets/img/default_face.png')"
						 width="50" /></div>
					<div class="mui-media-body">
						<h2 v-text="detail.personName"></h2>
						<p class='mui-ellipsis mui-h5' v-text="detail.companyName+' '+detail.personRoleName"></p>
					</div>
				</div>
			</div>
			<div class="vongi-archives margin10">
				<ul class="mui-table-view">
					<li class="mui-table-view-cell flew-sp">
						注册状态
						<div :class="detail.activationStatus=='1'?'color389E0D':'colorf8b155'" v-text="detail.activationStatus=='1'?'已激活':'未激活'"></div>
					</li>
				</ul>
			</div>
			<div class="vongi-me-list">
				<ul class="mui-table-view">
					<li class="mui-table-view-cell">
						<a :href="'tel:'+detail.telephone">
							联系方式
							<span class="mui-pull-right">
								<span v-text="detail.telephone"></span>
								<span class="mui-icon mui-icon-phone color4fc5f7"></span>
							</span>
						</a>
					</li>
				</ul>
			</div>
		</div>

		<loading :visible="isLoading"></loading>
	</div>
</template>

<script>
	import * as API_Company from '@/apis/Master/company'
	import Common from '$project/components/Common.vue'
	import Loading from '$project/components/Loading.vue'
	import TopHeader from '$project/components/TopHeader.vue'
	import {
		mapGetters,
		mapMutations
	} from 'vuex'
	export default {
		name: 'MasterCompanyRegisterStatisticsInfo',
		components: {
			Common,
			Loading,
			TopHeader
		},
		data() {
			return {
				isLoading: false,

				pageTitle: '个人资料',

				detail: this.$route.params.detail,
			}
		},
		created() {
			if (!this.detail) {
				this.$router.go(-1);
			}
		},
		methods: {
			asynCallBack() {},
		},
		mounted() {},
		destroyed() {

		},
		computed: {
			...mapGetters({
				openId: 'wx_openid',
				token: 'token',
				person_data: 'person_data',
				person_popedom: 'person_popedom',
				menu_list: 'menu_list',
				common_menu_list: 'common_menu_list',
			})
		}
	}
</script>

<style scoped src="$project/assets/css/xpwyfyy.css"></style>
<style src="$project/assets/css/iconfont.css"></style>
<style scoped>
	.color389E0D {
		color: #389E0D
	}
</style>
