Commit 96108489 by yuananting

fix:修改移动分类接口方法名称

parent 56b67270
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: yuananting * @Author: yuananting
* @Date: 2021-03-03 15:13:12 * @Date: 2021-03-03 15:13:12
* @LastEditors: fusanqiasng * @LastEditors: fusanqiasng
* @LastEditTime: 2021-06-15 11:53:12 * @LastEditTime: 2021-06-16 09:57:18
* @Description: 助学工具接口 * @Description: 助学工具接口
* @Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有 * @Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
*/ */
...@@ -29,7 +29,7 @@ export function editCategory(params: object) { ...@@ -29,7 +29,7 @@ export function editCategory(params: object) {
return Service.Hades('public/hades/editCategory', params); return Service.Hades('public/hades/editCategory', params);
} }
export function moveCategoryTree(params: object) { export function moveCategory(params: object) {
return Service.Hades('public/hades/moveCategory', params); return Service.Hades('public/hades/moveCategory', params);
} }
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: yuananting * @Author: yuananting
* @Date: 2021-03-11 11:34:37 * @Date: 2021-03-11 11:34:37
* @LastEditors: fusanqiasng * @LastEditors: fusanqiasng
* @LastEditTime: 2021-06-15 11:25:18 * @LastEditTime: 2021-06-16 09:56:46
* @Description: 助学工具接口 * @Description: 助学工具接口
* @Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有 * @Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
*/ */
...@@ -12,7 +12,7 @@ import { ...@@ -12,7 +12,7 @@ import {
addCategory, addCategory,
delCategory, delCategory,
editCategory, editCategory,
moveCategoryTree, moveCategory,
addQuestion, addQuestion,
queryQuestionPageList, queryQuestionPageList,
deleteQuestion, deleteQuestion,
...@@ -59,8 +59,8 @@ export default class AidToolService { ...@@ -59,8 +59,8 @@ export default class AidToolService {
} }
// 拖拽移动分类树 // 拖拽移动分类树
static moveCategoryTree(params: any) { static moveCategory(params: any) {
return moveCategoryTree(params); return moveCategory(params);
} }
// 查询题目列表 // 查询题目列表
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: yuananting * @Author: yuananting
* @Date: 2021-02-23 18:28:50 * @Date: 2021-02-23 18:28:50
* @LastEditors: fusanqiasng * @LastEditors: fusanqiasng
* @LastEditTime: 2021-06-15 15:31:40 * @LastEditTime: 2021-06-16 09:59:04
* @Description: 助学工具-课程分类 * @Description: 助学工具-课程分类
* @Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有 * @Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
*/ */
...@@ -482,7 +482,6 @@ class CourseCategoryManage extends Component { ...@@ -482,7 +482,6 @@ class CourseCategoryManage extends Component {
tenantId: User.getStoreId(), tenantId: User.getStoreId(),
userId: User.getStoreUserId(), userId: User.getStoreUserId(),
}; };
let movedCategory = this.movedNodeFind(newTreeData, info.dragNode.id); let movedCategory = this.movedNodeFind(newTreeData, info.dragNode.id);
let parentCategory = movedCategory.parentId === '0' ? firstParentNode : this.movedNodeFind(newTreeData, targetParentId); let parentCategory = movedCategory.parentId === '0' ? firstParentNode : this.movedNodeFind(newTreeData, targetParentId);
let params = { let params = {
...@@ -493,7 +492,7 @@ class CourseCategoryManage extends Component { ...@@ -493,7 +492,7 @@ class CourseCategoryManage extends Component {
userId: User.getStoreUserId(), userId: User.getStoreUserId(),
}; };
AidToolService.moveCategoryTree(params).then((res) => { AidToolService.moveCategory(params).then((res) => {
this.queryCategoryTree('remain'); this.queryCategoryTree('remain');
}); });
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment