| | |
| | | }, |
| | | /** 查询高校组织机构下拉树结构 */ |
| | | getTreeselect() { |
| | | listOrganization().then(response => { |
| | | listOrganization({schoolId: this.schoolId}).then(response => { |
| | | this.organizationOptions = []; |
| | | const data = {id: 0, name: '顶级节点', children: []}; |
| | | data.children = this.handleTree(response.data, "id", "parentId"); |
| | |
| | | }, |
| | | /** 删除按钮操作 */ |
| | | handleDelete(row) { |
| | | this.$modal.confirm('是否确认删除高校组织机构编号为"' + row.id + '"的数据项?').then(() => { |
| | | this.$modal.confirm('是否确认删除?').then(() => { |
| | | this.loading = true; |
| | | return delOrganization(row.id); |
| | | }).then(() => { |