<template>
  <view class="item-box">
    <view class="linkman-item" v-for="(item,index) in linkman">
    <item-title :label="'联系人('+(index+1)+')'" :line-type="index===0?1:3" :title-type="2"></item-title>
    <item-text label="姓名" :value="item.name"  key-str="name" :type-keys="typeKeys" ></item-text>
    <item-text label="关系" :value="item.relation_name"  key-str="relation" :type-keys="typeKeys"></item-text>
    <item-text label="手机号"  :value="item.phone"  key-str="phone" :type-keys="typeKeys"></item-text>
    <item-text label="关系" v-if="item.special_plane!==''" :value="item.special_plane"  key-str="special_plane" :type-keys="typeKeys" ></item-text>
  </view>
  </view>
</template>

<script>
import IdentityItem from "@/pages-task/task-info/module/identity-item";
import ItemText from "@/pages-task/task-info/module/item-text";
import ItemTitle from "@/pages-task/task-info/module/item-title";

export default {
  name: "task-linkman",
  components: { IdentityItem, ItemText, ItemTitle},
  props: {
    linkman:{
      default:[]
    },
    typeKeys:{
      default:[]
    }
  },
  data() {
    return {

    }
  },
  watch: {},
  mounted() {

  },
  methods: {}
}
</script>

<style scoped lang="scss">
@import "@/static/css/task-info/item";
</style>
