WXL
3 天以前 96dd34f77d81db58f54e3d0ad4a8cc8082189a61
src/views/project/components/orgselect/index.vue
@@ -115,6 +115,7 @@
      console.error("'lazy-load'必须和'filterable'同时使用!");
      return false;
    }
    console.log(456789);
    if (this.lazyLoad) {
      this.focusEvents.func = () => {
@@ -130,7 +131,6 @@
    renderSelecter() {
      this.pageData.PageSize = 100;
      this.myValue = this.value;
      this.getdataList();
    },
@@ -144,6 +144,23 @@
      }; //搜索条件
      let userType = { userType: "1" };
      if (this.orgType == 4) {
        let arr = this.$store.state.user.organization;
        this.dataList.push(...arr);
        if (this.isAll) {
          let all = {
            organizationid: "",
            organizationname: "全部"
          };
          this.dataList.unshift(all);
        }
        console.log(this.dataList,'this.dataList');
        this.tempList = this.dataList.map(item => item);
        this.focusEvents.loaded = true;
        this.isLoading = false;
        return;
      }
      listOrganization(searchData)
        .then(response => {