yangfeng
2023-08-15 bd42b949807795c581e9193d92834a6187fc10d2
src/views/client/followupRecords/index.vue
@@ -60,9 +60,13 @@
    addConfig: {
      type: Object,
      default: () => {
        return {
          sales_leads_name: ""
        return {}
        }
    },
    addIdConfig: {
      type: Object,
      default: () => {
        return {}
      }
    }
  },
@@ -128,7 +132,7 @@
      this.search_map = {}
    } else {
      this.search_map = {
        [this.addConfig.id_name]: this.addConfig.id
        [this.addConfig.id_name]: this.addConfig.client_name
      }
    }
    this.getData(this.search_map)
@@ -141,7 +145,7 @@
          { label: "主题", prop: "topic", min: 120 }, // 主题
          { label: "客户名称", prop: "client_name", min: 190, isClientClick: true }, // 客户名称
          { label: "联系人姓名", prop: "contact_name", min: 100, isContactClick: true }, // 联系人姓名
          { label: "客户状态", prop: "client_status_id", min: 100 }, // 客户状态
          { label: "客户状态", prop: "client_status", min: 100 }, // 客户状态
          { label: "联系方式", prop: "phone", min: 100 }, // 联系方式
          { label: "联系人日期", prop: "follow_time", isTime: true, min: 130 }, // 联系人日期
          { label: "下次回访日期", prop: "next_follow_time", isTime: true, min: 130 }, // 下次回访日期
@@ -173,7 +177,7 @@
                  ...item,
                  client_name: item.client.name,
                  contact_name: item.contact.name,
                  client_status_id: item.client.client_status_id,
                  client_status: item.client_status.name,
                  phone: item.contact.phone,
                  member_name: item.member.username
                }