<template>
    <div style="background-color: #f0f2f5; padding-bottom: 20px; min-height: 100%; " >
      <div style="padding: 20px; background-color: #fff;">
       详情
      </div>
<div class="contentx" >
  <div class="desct"> 详情</div>
 <el-descriptions title="" :column="3" border>
            <el-descriptions-item label="渠道" >
                <span v-if="item!=null">{{item.source}}</span>
            </el-descriptions-item>

            <el-descriptions-item label="用户id" >
                <span v-if="item!=null">{{item.userId}}</span>
            </el-descriptions-item>
			<el-descriptions-item label="公司id" >
			    <span v-if="item!=null">{{item.companyId}}</span>
			</el-descriptions-item>
			<el-descriptions-item label="公司用户id" >
			    <span v-if="item!=null">{{item.companyUserId}}</span>
			</el-descriptions-item>
			<el-descriptions-item label="企业CorpID" >
			    <span v-if="item!=null">{{item.corpId}}</span>
			</el-descriptions-item>
			<el-descriptions-item label="外部联系人id" >
			    <span v-if="item!=null">{{item.externalUserId}}</span>
			</el-descriptions-item>
			<el-descriptions-item label="qwUserId" >
			    <span v-if="item!=null">{{item.qwUserId}}</span>
			</el-descriptions-item>
            <el-descriptions-item label="创建时间" >
                <span v-if="item!=null">{{item.createTime}}</span>
            </el-descriptions-item>

        </el-descriptions>

 </div>
    </div>
</template>

<script>
import { listQwAppContactWayLogs, getQwAppContactWayLogs, delQwAppContactWayLogs, addQwAppContactWayLogs, updateQwAppContactWayLogs, exportQwAppContactWayLogs } from "@/api/qw/qwAppContactWayLogs";

  export default {
    name: "articledetails",
    props:["data"],
    data() {
      return {
        // 是否推荐字典
        isTuiOptions: [],
        // 是否最新字典
        isNewsOptions: [],
        item:null,
      }
    },
    created() {
     this.getDicts("sys_company_or").then(response => {
         this.isTuiOptions = response.data;
         this.isNewsOptions = response.data;
       });
    },
    methods: {
      getDetails(orderId) {
        this.item=null;
        getQwAppContactWayLogs(orderId).then(response => {
          this.item = response.data;
        });
      },
    }
  }
</script>
<style>

  .contentx{
      height: 100%;
      background-color: #fff;
      padding: 0px 20px 20px;


      margin: 20px;
  }
  .el-descriptions-item__label.is-bordered-label{
    font-weight: normal;
  }
  .el-descriptions-item__content {
    max-width: 150px;
    min-width: 100px;
  }
  .desct{
      padding-top: 20px;
      padding-bottom: 20px;
      color: #524b4a;
      font-weight: bold;
    }
</style>
