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
49b5b42b
Commit
49b5b42b
authored
May 31, 2021
by
chenshu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修复
parent
00ae188b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
src/modules/knowledge-base/components/KnowledgeBaseOpt.jsx
+2
-2
src/modules/teach-tool/paper-manage/components/PaperList.jsx
+2
-2
src/modules/teach-tool/question-manage/components/QuestionList.jsx
+2
-2
No files found.
src/modules/knowledge-base/components/KnowledgeBaseOpt.jsx
View file @
49b5b42b
...
...
@@ -138,7 +138,7 @@ export default function KnowledgeBaseOpt({
ids
:
selectedRowKeys
,
storeId
:
User
.
getStoreId
(),
};
Service
.
Hades
(
'public/hades/batchMoveKnowledgeCategory'
,
data
).
then
((
res
)
=>
{
Service
.
Hades
(
'public/hades/batchMoveKnowledgeCategory'
,
data
,
{
reject
:
true
}
).
then
((
res
)
=>
{
if
(
res
.
success
)
{
message
.
success
(
'移动成功'
);
onChange
();
...
...
@@ -170,7 +170,7 @@ export default function KnowledgeBaseOpt({
ids
:
selectedRowKeys
,
storeId
:
User
.
getStoreId
(),
};
Service
.
Hades
(
'public/hades/batchDelKnowledge'
,
data
).
then
((
res
)
=>
{
Service
.
Hades
(
'public/hades/batchDelKnowledge'
,
data
,
{
reject
:
true
}
).
then
((
res
)
=>
{
if
(
res
.
success
)
{
message
.
success
(
'删除成功'
);
onChange
();
...
...
src/modules/teach-tool/paper-manage/components/PaperList.jsx
View file @
49b5b42b
...
...
@@ -440,7 +440,7 @@ class PaperList extends Component {
tenantId
:
User
.
getStoreId
(),
userId
:
User
.
getUserId
(),
};
Service
.
Hades
(
'public/hades/batchMovePaperCategory'
,
data
).
then
((
res
)
=>
{
Service
.
Hades
(
'public/hades/batchMovePaperCategory'
,
data
,
{
reject
:
true
}
).
then
((
res
)
=>
{
if
(
res
.
success
)
{
message
.
success
(
'移动成功'
);
this
.
queryPaperPageList
();
...
...
@@ -475,7 +475,7 @@ class PaperList extends Component {
tenantId
:
User
.
getStoreId
(),
userId
:
User
.
getUserId
(),
};
Service
.
Hades
(
'public/hades/batchDeletePaper'
,
data
).
then
((
res
)
=>
{
Service
.
Hades
(
'public/hades/batchDeletePaper'
,
data
,
{
reject
:
true
}
).
then
((
res
)
=>
{
if
(
res
.
success
)
{
message
.
success
(
'删除成功'
);
this
.
queryPaperPageList
();
...
...
src/modules/teach-tool/question-manage/components/QuestionList.jsx
View file @
49b5b42b
...
...
@@ -523,7 +523,7 @@ class QuestionList extends Component {
tenantId
:
User
.
getStoreId
(),
userId
:
User
.
getUserId
(),
};
Service
.
Hades
(
'public/hades/batchMoveQuestion'
,
data
).
then
((
res
)
=>
{
Service
.
Hades
(
'public/hades/batchMoveQuestion'
,
data
,
{
reject
:
true
}
).
then
((
res
)
=>
{
if
(
res
.
success
)
{
message
.
success
(
'移动成功'
);
Bus
.
trigger
(
'queryCategoryTree'
,
'init'
);
...
...
@@ -558,7 +558,7 @@ class QuestionList extends Component {
tenantId
:
User
.
getStoreId
(),
userId
:
User
.
getUserId
(),
};
Service
.
Hades
(
'public/hades/batchDeleteQuestion'
,
data
).
then
((
res
)
=>
{
Service
.
Hades
(
'public/hades/batchDeleteQuestion'
,
data
,
{
reject
:
true
}
).
then
((
res
)
=>
{
if
(
res
.
success
)
{
message
.
success
(
'删除成功'
);
Bus
.
trigger
(
'queryCategoryTree'
,
'init'
);
...
...
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