| | |
| | | // 获取树状图结构 |
| | | async getTreeList() { |
| | | this.treeData = [] |
| | | let res = await axios.get(this.baseURL + "/Gy_DutyBill/Gy_DutyBillTreeList"); |
| | | let res = await axios.get(this.$baseUrl + "/Gy_DutyBill/Gy_DutyBillTreeList"); |
| | | console.log(res.data.data); |
| | | this.treeData = [...JSON.parse(res.data.data)]; |
| | | Object.assign(this.treeProps, { |
| | |
| | | sWhere += " and 组织架构代码 like'" + this.form.userId + "%' "; |
| | | } |
| | | axios |
| | | .get(this.baseURL + "/Gy_DutyBill/Gy_DutyBillList", { |
| | | .get(this.$baseUrl + "/Gy_DutyBill/Gy_DutyBillList", { |
| | | params: { sWhere: sWhere, user: this.user }, |
| | | }) |
| | | .then((response) => { |