yangfeng
2023-10-17 d32456560d345d24ca004c416a99d6f16b00e301
src/views/other/commonDialog/SelectContactDialog.vue
@@ -55,7 +55,7 @@
          editVisible: false,
          title: "",
          infomation: {},
          search_map:{},
          search_map: {}
        }
      }
    }
@@ -71,7 +71,7 @@
      tableList: [],
      searchSelOptions: [],
      loading: false,
      search_map: {},
      // search_map: {},
      tableColumn: [
        { label: "联系人姓名", prop: "name", isContactClick: true, default: true }, // 联系人姓名
        { label: "联系人编号", prop: "number" }, // 联系人编号
@@ -121,7 +121,7 @@
    async getData() {
      this.loading = true
      await getContactList({
        search_map: this.editCommonConfig.search_map,
        search_map: this.editConfig.search_map,
        page: this.pagerOptions.currPage,
        pageSize: this.pagerOptions.pageSize
      })
@@ -158,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()
    }
  }