Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xiaomai-cloud-class-web
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xiaomai-cloud-class
xiaomai-cloud-class-web
Commits
60fae439
Commit
60fae439
authored
Jun 15, 2021
by
yuananting
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:回退分类拖拽接口替换
parent
899bf803
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
src/data-source/aidTool/request-apis.ts
+2
-2
src/modules/teach-tool/components/CourseCategoryManage.jsx
+9
-1
No files found.
src/data-source/aidTool/request-apis.ts
View file @
60fae439
...
@@ -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 1
1:53:12
* @LastEditTime: 2021-06-15 1
7:54:04
* @Description: 助学工具接口
* @Description: 助学工具接口
* @Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
* @Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
*/
*/
...
@@ -30,7 +30,7 @@ export function editCategory(params: object) {
...
@@ -30,7 +30,7 @@ export function editCategory(params: object) {
}
}
export
function
moveCategoryTree
(
params
:
object
)
{
export
function
moveCategoryTree
(
params
:
object
)
{
return
Service
.
Hades
(
'public/hades/
moveCategory
'
,
params
);
return
Service
.
Hades
(
'public/hades/
editCategoryTree
'
,
params
);
}
}
export
function
queryQuestionPageList
(
params
:
object
)
{
export
function
queryQuestionPageList
(
params
:
object
)
{
...
...
src/modules/teach-tool/components/CourseCategoryManage.jsx
View file @
60fae439
...
@@ -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 1
5:31:40
* @LastEditTime: 2021-06-15 1
7:55:03
* @Description: 助学工具-课程分类
* @Description: 助学工具-课程分类
* @Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
* @Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
*/
*/
...
@@ -485,7 +485,15 @@ class CourseCategoryManage extends Component {
...
@@ -485,7 +485,15 @@ class CourseCategoryManage extends Component {
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 = {
// movedCategory,
// parentCategory,
// source: 0,
// tenantId: User.getStoreId(),
// userId: User.getStoreUserId(),
// };
let
params
=
{
let
params
=
{
categoryList
:
newTreeData
,
movedCategory
,
movedCategory
,
parentCategory
,
parentCategory
,
source
:
0
,
source
:
0
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment