| | |
| | | // 获取组织列表 |
| | | async getOrganizations() { |
| | | try { |
| | | const response = await axios.get(`${this.baseURL}/Web/GetOrganizations`) |
| | | const response = await axios.get(`${this.$baseUrl}/Web/GetOrganizations`) |
| | | if (response.data.count === 1) { |
| | | this.organizations = response.data.data |
| | | const defaultOrg = sessionStorage.getItem('Organization') |
| | |
| | | Organization: this.queryForm.HUSEORGID |
| | | } |
| | | console.log('请求参数:', requestParams) |
| | | const response = await axios.get(`${this.baseURL}/Gy_Employee/list`, { params: requestParams }) |
| | | const response = await axios.get(`${this.$baseUrl}/Gy_Employee/list`, { params: requestParams }) |
| | | |
| | | if (response.data.count === 1) { |
| | | this.tableData = response.data.data || [] |
| | |
| | | |
| | | async getOrgFilterByUser() { |
| | | try { |
| | | const response = await axios.get(`${this.baseURL}/Xt_User/getOrgIDListByUser`, { |
| | | const response = await axios.get(`${this.$baseUrl}/Xt_User/getOrgIDListByUser`, { |
| | | params: { |
| | | UserID: sessionStorage.getItem('Czybm'), |
| | | UserName: sessionStorage.getItem('HUserName'), |