zuozhengqing
2023-12-14 9e007f676d0e55c4bf0cc2a78bc7dc96be188d50
src/views/client/contacts/index.vue
@@ -34,10 +34,10 @@
              @selTableCol="selTableCol"
          >
            <template slot="tableButton">
              <el-table-column label="操作" width="130" fixed="right">
              <el-table-column label="操作" width="120" fixed="right">
                <template slot-scope="scope">
                  <el-button @click="handleClick(scope.row)" type="text" size="small">编辑</el-button>
                  <el-button @click="followupClick(scope.row)" type="text" size="small">跟进</el-button>
                  <!-- <el-button @click="followupClick(scope.row)" type="text" size="small">跟进</el-button> -->
                  <el-button @click="delClick(scope.row.id)" type="text" size="small">删除</el-button>
                </template>
              </el-table-column>
@@ -133,7 +133,7 @@
      tableColumn: [
        { label: "联系人姓名", prop: "name", min: 100, isContactClick: true, default: true }, // 联系人姓名
        { label: "客户名称", prop: "client_name", min: 190, isClientClick: true }, // 客户名称
        { label: "联系人编号", prop: "number", min: 100 }, // 联系人编号
        // { label: "联系人编号", prop: "number", min: 100 }, // 联系人编号
        { label: "职务", prop: "position", min: 120 }, // 职务
        { label: "手机", prop: "phone", min: 100 }, // 手机号码
        { label: "销售负责人", prop: "member_name", min: 120 }, // 销售负责人
@@ -148,7 +148,7 @@
      this.search_map = {}
    } else {
      this.search_map = {
        [this.addConfig.id_name]: this.addConfig.client_name
        [this.addConfig.id_name]: this.addConfig.client_id
      }
    }
    this.getData(this.search_map)
@@ -296,13 +296,14 @@
    // 跟进
    followupClick(row) {
      console.log(row)
      this.editFollowupConfig.visible = true
      this.editFollowupConfig.title = "新建"
      this.editFollowupConfig.infomation = {
        ...row,
        client_name: row.Client.name,
        number: ""
        number: "",
        codeStandID:''
      }
      this.editFollowupConfig.visible = true
    }
  }
}