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
96108489
Commit
96108489
authored
Jun 16, 2021
by
yuananting
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修改移动分类接口方法名称
parent
56b67270
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
9 deletions
+8
-9
src/data-source/aidTool/request-apis.ts
+2
-2
src/domains/aid-tool-domain/AidToolService.ts
+4
-4
src/modules/teach-tool/components/CourseCategoryManage.jsx
+2
-3
No files found.
src/data-source/aidTool/request-apis.ts
View file @
96108489
...
@@ -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-1
5 11:53:12
* @LastEditTime: 2021-06-1
6 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
moveCategory
Tree
(
params
:
object
)
{
export
function
moveCategory
(
params
:
object
)
{
return
Service
.
Hades
(
'public/hades/moveCategory'
,
params
);
return
Service
.
Hades
(
'public/hades/moveCategory'
,
params
);
}
}
...
...
src/domains/aid-tool-domain/AidToolService.ts
View file @
96108489
...
@@ -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-1
5 11:25:18
* @LastEditTime: 2021-06-1
6 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
,
moveCategory
Tree
,
moveCategory
,
addQuestion
,
addQuestion
,
queryQuestionPageList
,
queryQuestionPageList
,
deleteQuestion
,
deleteQuestion
,
...
@@ -59,8 +59,8 @@ export default class AidToolService {
...
@@ -59,8 +59,8 @@ export default class AidToolService {
}
}
// 拖拽移动分类树
// 拖拽移动分类树
static
moveCategory
Tree
(
params
:
any
)
{
static
moveCategory
(
params
:
any
)
{
return
moveCategory
Tree
(
params
);
return
moveCategory
(
params
);
}
}
// 查询题目列表
// 查询题目列表
...
...
src/modules/teach-tool/components/CourseCategoryManage.jsx
View file @
96108489
...
@@ -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-1
5 15:31:40
* @LastEditTime: 2021-06-1
6 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
.
moveCategory
Tree
(
params
).
then
((
res
)
=>
{
AidToolService
.
moveCategory
(
params
).
then
((
res
)
=>
{
this
.
queryCategoryTree
(
'remain'
);
this
.
queryCategoryTree
(
'remain'
);
});
});
};
};
...
...
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