Commit 35b8bb20 by yuananting

fix:保存组织考试返回路径修改

parent b9910af1
...@@ -238,7 +238,7 @@ function AddExam(props: any) { ...@@ -238,7 +238,7 @@ function AddExam(props: any) {
cancelText: '留在本页', cancelText: '留在本页',
icon: <span className="icon iconfont default-confirm-icon">&#xe6f4;</span>, icon: <span className="icon iconfont default-confirm-icon">&#xe6f4;</span>,
onOk: () => { onOk: () => {
props.history.goBack(); window.RCHistory.push("/examination-manage-index")
} }
}) })
} }
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: yuananting * @Author: yuananting
* @Date: 2021-03-27 16:15:13 * @Date: 2021-03-27 16:15:13
* @LastEditors: yuananting * @LastEditors: yuananting
* @LastEditTime: 2021-05-30 21:22:25 * @LastEditTime: 2021-06-01 11:31:41
* @Description: 助学工具-新建/复制/编辑试卷 * @Description: 助学工具-新建/复制/编辑试卷
* @Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有 * @Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
*/ */
...@@ -472,6 +472,8 @@ class OperatePaper extends Component { ...@@ -472,6 +472,8 @@ class OperatePaper extends Component {
"categoryId" "categoryId"
)}`, )}`,
}); });
Bus.trigger("queryCategoryTree", "remain");
Bus.trigger("queryPaperPageList", getParameterByName("categoryId"), 0);
}, },
}); });
}; };
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: yuananting * @Author: yuananting
* @Date: 2021-02-25 11:23:47 * @Date: 2021-02-25 11:23:47
* @LastEditors: yuananting * @LastEditors: yuananting
* @LastEditTime: 2021-05-20 11:35:07 * @LastEditTime: 2021-06-01 11:31:17
* @Description: 助学工具-题库-题目列表数据 * @Description: 助学工具-题库-题目列表数据
* @Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有 * @Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
*/ */
...@@ -532,7 +532,7 @@ class QuestionList extends Component { ...@@ -532,7 +532,7 @@ class QuestionList extends Component {
Service.Hades('public/hades/batchMoveQuestion', data, { reject: true }).then((res) => { Service.Hades('public/hades/batchMoveQuestion', data, { reject: true }).then((res) => {
if (res.success) { if (res.success) {
message.success('移动成功'); message.success('移动成功');
Bus.trigger('queryCategoryTree', 'init'); Bus.trigger('queryCategoryTree', 'remain');
this.queryQuestionPageList(); this.queryQuestionPageList();
this.clearSelect(); this.clearSelect();
} else { } else {
...@@ -567,7 +567,7 @@ class QuestionList extends Component { ...@@ -567,7 +567,7 @@ class QuestionList extends Component {
Service.Hades('public/hades/batchDeleteQuestion', data, { reject: true }).then((res) => { Service.Hades('public/hades/batchDeleteQuestion', data, { reject: true }).then((res) => {
if (res.success) { if (res.success) {
message.success('删除成功'); message.success('删除成功');
Bus.trigger('queryCategoryTree', 'init'); Bus.trigger('queryCategoryTree', 'remain');
this.queryQuestionPageList(); this.queryQuestionPageList();
this.clearSelect(); this.clearSelect();
} else { } else {
......
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