yangfeng
2023-10-17 d32456560d345d24ca004c416a99d6f16b00e301
联系人和销售线索弹窗组件搜索问题修改
2个文件已修改
18 ■■■■ 已修改文件
src/views/other/commonDialog/SelectContactDialog.vue 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/other/commonDialog/SelectLeadDialog.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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()
    }
  }
src/views/other/commonDialog/SelectLeadDialog.vue
@@ -60,7 +60,7 @@
          editVisible: false,
          title: "",
          infomation: {},
          search_map:{},
          search_map: {}
        }
      }
    }
@@ -94,7 +94,7 @@
    async getData() {
      this.loading = true
      await getSalesLeadsList({
        search_map: this.editCommonConfig.search_map,
        search_map: this.editConfig.search_map,
        page: this.pagerOptions.currPage,
        pageSize: this.pagerOptions.pageSize
      })
@@ -131,13 +131,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()
    }
  }