<template>
	<view class="content">
		<view  v-for="(item, index) in dataList"  :key="index">
			<view class="content-header">
				<view class="concent-title">
					<text class="concent-text">{{item.name}}</text>
				</view>
			</view>
			<view  style="text-align: right;margin: 20px;">
				合计：{{item.rank}}
			</view>
			<view class="">
					<myteam-table :datatitleList="datatitleList" :dataList="raiseList" type="2"></myteam-table>
		<!-- 		<view class="table-content">
					<span>辖下组织/成员</span>
					<span>职级</span>
					<span>合计</span>
				</view>
				<view class="table-content" v-for="(itemq, index) in item.dataL"  :key="index">
					<span>{{itemq.nameq}}</span>
					<span>{{itemq.rms}}</span>
					<span>{{itemq.smn}}</span>
				</view>
			</view> -->
		</view>

	</view>
	</view>
</template>

<script>
	import MyteamTable from '@/components/myteam/myteam-table.vue';
	export default {
		props:{
			raiseList:{
				type:Array
			}
		},
		components:{
			MyteamTable
		},
		data() {
			return {
				datatitleList:['辖下组织/成员','职级','合计'],
				dataList:[
					{
						name: 'shirley一级服务中心',
						rank: '50',
						dataL:[
							{name:'成员',rms:'2级别',smn:'111'},
							{name:'成员',rms:'2级别',smn:'111'},
							{name:'成员',rms:'2级别',smn:'111'}
						]
						},
						{
							name: '雪梨一级服务中心',
							rank: '80',
							dataL:[
								{name:'成员',rms:'2级别',smn:'111'},
								{name:'成员',rms:'2级别',smn:'111'},
								{name:'成员',rms:'2级别',smn:'111'}
							]
							}
				]
				// dataList:[{
				// 	name:'',
				// 	total: '582',
				// 		list:[
				// 			name:'成员',
				// 			rank: '1',
				// 			total: '42',
				// 		],
				// },{
				// 	name:'',
				// 	total: '105',
				// 		list:[
				// 			name:'成员2',
				// 			rank: '2',
				// 			total: '52',
				// 		],
				// }],
			}
		},
	}
</script>

<style lang="scss">
.content{
	height: 100%;
	width: 100vw;
	margin-top: 20px;
}
.content-header{
	display: flex;
	justify-content: center;
}
.concent-title{
	width: 223px;
	height: 40px;
	background: url('../../../static/Group 1623.png');
	background-size: auto 100%;
}
.concent-text{
	font-size: 18px;
	font-weight: 500;
	color: #FFFFFF;
	line-height: 40px;
}
.table-content{
	margin: 10px 20px;
	display: flex;
	justify-content: space-between;
}
</style>
