| | |
| | | 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" |
| | | ) |
| | | .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() { |
| | |
| | | user: this.user, |
| | | page: 1, |
| | | size: this.pageSize, |
| | | Organization: '' |
| | | Organization: sessionStorage["Organization"] |
| | | }, |
| | | }) |
| | | .then((response) => { |