<template>
	<div>
		<el-descriptions title="订购同步参数" :column="1" border>
			<el-descriptions-item label="配置名称">{{ detailInfo.name }}</el-descriptions-item>
			<el-descriptions-item label="cpid">{{ detailInfo.cpid }}</el-descriptions-item>
			<el-descriptions-item label="数据类型">
				<span v-if="detailInfo.dealType == 0">实时数据</span>
				<span v-if="detailInfo.dealType == 1">离线数据</span>
				<span v-if="detailInfo.dealType == 2">异常重试数据</span>
			</el-descriptions-item>
			<el-descriptions-item label="同步接口链接">{{ detailInfo.url }}</el-descriptions-item>
			<el-descriptions-item label="定时任务描述">{{ detailInfo.description }}</el-descriptions-item>
			<el-descriptions-item label="创建时间">{{ detailInfo.createTime }}</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>