wangyi
2025-12-08 433cb65a0d6be94af5e0659e1efba0317b783c17
src/views/GyCustomer/index.vue
@@ -351,7 +351,7 @@
        title: "导入",
        isUploading: false,
        updateSupport: 0,
        url: "http://47.96.97.237/API/Gy_Customer/Gy_Customer_Excel",
        url: "",
      },
      uploadData: [],
      uploadTableLoading: false,
@@ -366,24 +366,17 @@
    }
  },
  created() {
    this.upload.url = this.baseURL + "Gy_Customer/Gy_Customer_Excel";
    this.fetchData();
  },
  methods: {
    fetchData() {
      axios
        .get(
          "http://47.96.97.237/API/Web/GetUser?UserName=001&PassWord=123456&HOrgName=100038"
        )
        .then((response) => {
          let data = response.data.data[0];
          this.user = data.Czymc;
          this.user = sessionStorage["HUserName"];
          this.getTreeData();
          this.getList();
          this.getDefaultFilterScheme();
        })
        .catch((error) => {
          this.$modal.msgError("接口请求失败!");
        });
    },
    getTreeData() {
@@ -413,7 +406,7 @@
            user: this.user,
            page: 1,
            size: this.pageSize,
            Organization: ''
            Organization: sessionStorage["Organization"]
          },
        })
        .then((response) => {