<template>
	<div>
		<el-descriptions title="产品权限信息" :column="2" border>
			<el-descriptions-item label="合作伙伴ID">{{ detailInfo.channel }}</el-descriptions-item>
			<el-descriptions-item label="cpid">{{ detailInfo.cpid }}</el-descriptions-item>
			<el-descriptions-item label="spid">{{ detailInfo.spid }}</el-descriptions-item>
			<el-descriptions-item label="ip地址">{{ detailInfo.ip }}</el-descriptions-item>
			<el-descriptions-item label="业务类型">
				<span v-if="detailInfo.busiType == '0'">办理</span>
				<span v-else-if="detailInfo.busiType == '1'">查询</span>
				<span v-else>全部</span>
			</el-descriptions-item>
			<el-descriptions-item label="接口限制">{{ detailInfo.invokeFace }}</el-descriptions-item>
			<el-descriptions-item label="备注">{{ detailInfo.note }}</el-descriptions-item>
			<el-descriptions-item label="创建时间">{{ detailInfo.insertTime }}</el-descriptions-item>
			<el-descriptions-item label="产品状态">
				<el-tag v-if="detailInfo.status == 0" size="small">生效</el-tag>
				<el-tag v-if="detailInfo.status == 1" type="danger" size="small">失效</el-tag>
			</el-descriptions-item>

		</el-descriptions>
	</div>
</template>

<script>
export default {
	props: {
		detailInfo: Object
	},

}
</script>

<style></style>