chenhaozhe
2025-12-05 bb40eba5dd2ec75a6fa2cd2c8eb41d769c092fca
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,14 +366,19 @@
    }
  },
  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"
        )
        .get(this.baseURL + "Web/GetUser", {
          params: {
            UserName: sessionStorage.getItem("UserName") || "admin",
            PassWord: "123456",
            HOrgName: sessionStorage.getItem("OrganizationID") || "100038"
          }
        })
        .then((response) => {
          let data = response.data.data[0];
          this.user = data.Czymc;