| | |
| | | title: "导入", |
| | | isUploading: false, |
| | | updateSupport: 0, |
| | | url: "http://47.96.97.237/API/Gy_Customer/Gy_Customer_Excel", |
| | | url: "", |
| | | }, |
| | | uploadData: [], |
| | | uploadTableLoading: false, |
| | |
| | | } |
| | | }, |
| | | 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; |