src/views/other/commonDialog/SelectContactDialog.vue
@@ -54,8 +54,8 @@
        return {
          editVisible: false,
          title: "",
          infomation: {},
          search_map:{},
          clientId: 0,
          infomation: {}
        }
      }
    }
@@ -74,14 +74,17 @@
      search_map: {},
      tableColumn: [
        { label: "联系人姓名", prop: "name", isContactClick: true, default: true }, // 联系人姓名
        { label: "联系人编号", prop: "number" }, // 联系人编号
        // { label: "联系人编号", prop: "number" }, // 联系人编号
        { label: "客户名称", prop: "client_name" }, // 客户名称
        { label: "手机", prop: "phone" } // 手机号码
      ],
      showCol: ["联系人姓名", "联系人编号", "客户名称", "手机"]
      showCol: ["联系人姓名",  "客户名称", "手机"]
    }
  },
  created() {
    this.search_map = {
      client_id: this.editConfig.clientId
    }
    this.setTable()
    this.getData()
  },
@@ -121,7 +124,7 @@
    async getData() {
      this.loading = true
      await getContactList({
        search_map: this.editCommonConfig.search_map,
        search_map: this.search_map,
        page: this.pagerOptions.currPage,
        pageSize: this.pagerOptions.pageSize
      })