| | |
| | | // 获取组织列表 |
| | | 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.organizationOptions = response.data.data |
| | | if (this.organizationOptions.length > 0) { |
| | |
| | | try { |
| | | const sWhere = this.buildWhereCondition() |
| | | |
| | | const response = await axios.get(`${this.baseURL}/Gy_Material/page`, { |
| | | const response = await axios.get(`${this.$baseUrl}/Gy_Material/page`, { |
| | | params: { |
| | | sWhere: sWhere, |
| | | user: this.user, |
| | |
| | | } |
| | | |
| | | const dataStr = JSON.stringify(saveData) |
| | | const response = await axios.post(`${this.baseURL}/Gy_Material/SaveGy_MaterialList_Batch`, { |
| | | const response = await axios.post(`${this.$baseUrl}/Gy_Material/SaveGy_MaterialList_Batch`, { |
| | | msg: dataStr + ';' + this.user + ';' + this.queryParams.HOrgID |
| | | }) |
| | | |
| | |
| | | type: 'warning' |
| | | }) |
| | | for (const row of this.selectedRows) { |
| | | await axios.get(`${this.baseURL}/Gy_Material/Delete`, { |
| | | await axios.get(`${this.$baseUrl}/Gy_Material/Delete`, { |
| | | params: { |
| | | HItemID: row.HItemID, |
| | | user: this.user |