yangfeng
2023-08-11 6291de84d5f68f1f1cd90031c18183a2c1489555
src/views/client/followupRecords/index.vue
@@ -129,10 +129,13 @@
  created() {
    this.setTable()
    if (!this.isDetail) {
      this.getData()
      this.search_map = {}
    } else {
      this.tableList.tableInfomation = this.followRecord
      this.search_map = {
        [this.addConfig.id_name]: this.addConfig.id
      }
    }
    this.getData(this.search_map)
  },
  methods: {
    setTable() {
@@ -146,7 +149,7 @@
          { label: "联系方式", prop: "phone", min: 100 }, // 联系方式
          { label: "联系人日期", prop: "follow_time", isTime: true, min: 130 }, // 联系人日期
          { label: "下次回访日期", prop: "next_follow_time", isTime: true, min: 130 }, // 下次回访日期
          { label: "负责人", prop: "member_id", min: 110 }, // 负责人
          { label: "负责人", prop: "member_name", min: 110 }, // 负责人
          { label: "跟进记录", prop: "record", min: 130 } // 跟进记录
        ]
      }
@@ -175,7 +178,8 @@
                  client_name: item.client.name,
                  contact_name: item.contact.name,
                  client_status_id: item.client.client_status_id,
                  phone: item.contact.phone
                  phone: item.contact.phone,
                  member_name: item.member.username
                }
              })
              this.tableList.tableInfomation = list || []