yangfeng
2023-10-17 9cfc36e571ea93635e54d93e31fcc091eba9ca9e
src/views/other/commonDialog/SelectContactDialog.vue
@@ -54,7 +54,8 @@
        return {
          editVisible: false,
          title: "",
          infomation: {}
          infomation: {},
          search_map: {}
        }
      }
    }
@@ -70,7 +71,7 @@
      tableList: [],
      searchSelOptions: [],
      loading: false,
      search_map: {},
      // search_map: {},
      tableColumn: [
        { label: "联系人姓名", prop: "name", isContactClick: true, default: true }, // 联系人姓名
        { label: "联系人编号", prop: "number" }, // 联系人编号
@@ -120,7 +121,7 @@
    async getData() {
      this.loading = true
      await getContactList({
        search_map: this.search_map,
        search_map: this.editConfig.search_map,
        page: this.pagerOptions.currPage,
        pageSize: this.pagerOptions.pageSize
      })
@@ -157,13 +158,13 @@
    // 搜索
    searchClick(val, content) {
      console.log(val, content)
      this.search_map = {
      this.editConfig.search_map = {
        [val.value]: content
      }
      this.getData()
    },
    resetClick() {
      this.search_map = {}
      this.editConfig.search_map = {}
      this.getData()
    }
  }