| | |
| | | async loadTreeData() { |
| | | this.treeLoading = true |
| | | try { |
| | | const response = await axios.get(`${this.baseURL}/Gy_BadReason/Gy_CusTypeTreeListByLevel`) |
| | | const response = await axios.get(`${this.$baseUrl}/Gy_BadReason/Gy_CusTypeTreeListByLevel`) |
| | | |
| | | if (response.data.count === 1) { |
| | | this.treeData = JSON.parse(response.data.data) |
| | |
| | | try { |
| | | const sWhere = this.buildQueryCondition() |
| | | |
| | | const response = await axios.get(`${this.baseURL}/Gy_BadReason/Gy_CusTypeList`, { |
| | | const response = await axios.get(`${this.$baseUrl}/Gy_BadReason/Gy_CusTypeList`, { |
| | | params: { |
| | | sWhere: sWhere, |
| | | user: this.user, |
| | |
| | | async loadTableDataWithCondition(sWhere) { |
| | | this.loading = true |
| | | try { |
| | | const response = await axios.get(`${this.baseURL}/Gy_BadReason/Gy_CusTypeList`, { |
| | | const response = await axios.get(`${this.$baseUrl}/Gy_BadReason/Gy_CusTypeList`, { |
| | | params: { |
| | | sWhere: sWhere, |
| | | user: this.user |
| | |
| | | // 获取默认过滤方案 |
| | | async getDefaultFilterScheme() { |
| | | try { |
| | | const response = await axios.get(`${this.baseURL}/Xt_FastICScheme/Chooselist`, { |
| | | const response = await axios.get(`${this.$baseUrl}/Xt_FastICScheme/Chooselist`, { |
| | | params: { |
| | | user: this.user, |
| | | HModuleName: this.HModuleName, |