zuozhengqing
2023-10-16 9e81895b192f38d1bedfb9054a90b4c0c46042ea
src/views/client/salesLead/DetailSalesLead.vue
@@ -3,7 +3,7 @@
    <el-drawer :visible.sync="detailConfig.visible" size="80%" :before-close="handleClose" :wrapperClosable="false">
      <template slot="title">
        <div class="header">
          <span class="header-label">客户名称</span>
          <span class="header-label">销售线索</span>
          <span class="header-title">{{ detailConfig.infomation.name }}</span>
        </div>
      </template>
@@ -171,13 +171,15 @@
      if (item.FollowRecord && item.FollowRecord.length > 0) {
        this.record = item.FollowRecord[0].record
        console.log(item.FollowRecord[0].follow_time)
        let follow_time = item.FollowRecord[0].follow_time
        this.newContactDays = follow_time.substring(0, 10)
        this.noContactDays = this.getDiffDay(Date.now(), this.newContactDays)
        if (item.FollowRecord[0].follow_time && item.FollowRecord[0].follow_time.length > 0) {
          let follow_time = item.FollowRecord[0].follow_time
          this.newContactDays = follow_time.substring(0, 10)
          this.noContactDays = this.getDiffDay(Date.now(), this.newContactDays)
        }
      }
      this.basicInfoList = [
        {
          leftStr: "客户名称",
          leftStr: "意向客户名称",
          leftValue: item.name,
          rightStr: "销售线索编号",
          rightValue: item.number
@@ -191,11 +193,11 @@
        {
          leftStr: "手机号码",
          leftValue: item.contact_phone,
          rightStr: "商机状态",
          rightStr: "线索状态",
          rightValue: "新建"
        },
        {
          leftStr: "商机来源",
          leftStr: "线索来源",
          leftValue: item.sales_resources,
          rightStr: "负责人",
          rightValue: item.member_name
@@ -203,21 +205,27 @@
        {
          leftStr: "分配日期",
          leftValue: "",
          rightStr: "公海状态",
          // rightStr: "公海状态",
          // rightValue: ""
          rightStr: "创建时间",
          rightValue: ""
        },
        {
          leftStr: "创建时间",
          leftValue: "",
          rightStr: "创建人",
          rightValue: ""
        },
        {
          leftStr: "关闭原因",
          // leftStr: "创建时间",
          // leftValue: "",
          // rightStr: "创建人",
          // rightValue: ""
          leftStr: "创建人",
          leftValue: "",
          rightStr: "",
          rightValue: ""
        }
        },
        // {
        //   leftStr: "关闭原因",
        //   leftValue: "",
        //   rightStr: "",
        //   rightValue: ""
        // }
      ]
      this.dynamicInfoList = [
        {