<template>
  <div class="cardclewContent infoDetail">
    <div class="complaintLog" v-for="(iten, index) in customerClueInfoComplaintList" :key="index">
      <div class="info">
        <div class="label">来电分类：</div>
        <div class="value">
          <!-- 一级分类 -->
          <span v-if="iten.customerClassifyName">{{ iten.customerClassifyName }}-</span>
          <!-- 二级分类 -->
          <span v-if="iten.customerSubClassifyName">{{ iten.customerSubClassifyName }}-</span>
          <!-- 三级分类 -->
          <span v-if="iten.customerThreeClassifyName">{{ iten.customerThreeClassifyName }}</span>
        </div>
      </div>
      <div class="info">
        <div class="label">用户诉求：</div>
        <div class="value">{{ iten.userDemand }}</div>
      </div>
      <div class="info">
        <div class="label">反馈内容：</div>
        <div class="value">{{ iten.feedbackContent }}</div>
      </div>
      <div class="info">
        <div class="label">来电时间：</div>
        <div class="value">{{ iten.createTime }}</div>
      </div>
      <div class="info">
        <div class="label">来电次数：</div>
        <div class="value">{{ iten.serialNumber }}</div>
      </div>
    </div>
  </div>
</template>

<script>
import { getDictOption } from '@/api/index';
export default {
  name: 'infoDetail',
  props: {
    customerClueInfoComplaintList: {
      type: Array,
      default: () => [],
    },
  },
  data() {
    return {};
  },
  activated() {},
  methods: {},
};
</script>
<style scoped lang="scss">
.cardclewContent {
  background: #fff;
  box-sizing: border-box;
  padding: 10px 16px;
  margin: 6px 10px 10px;
}
.cardclewContent .info {
  font-size: 14px;
  color: #444;
  line-height: 28px;
  display: flex;
  .value {
    flex: 1;
  }
}
.cardclewContent .title p {
  padding: 0;
  margin: 0;
}
.cardclewContent .title .textLeft {
  display: inline-block;
  padding-bottom: 10px;
}
.complaintLog {
  border-bottom: 1px solid #ccc;
  margin-bottom: 8px;
  padding-bottom: 8px;
}
</style>
