From c03a1725424845064f7a655c42a6c2bdad603b74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com> Date: Sat, 12 Oct 2019 15:11:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/react/src/modules/modals/SendTopics.js | 8 ++++---- .../react/src/modules/user/usersInfo/banks/banksMenu.js | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/public/react/src/modules/modals/SendTopics.js b/public/react/src/modules/modals/SendTopics.js index 3d5e50344..fe1b52c66 100644 --- a/public/react/src/modules/modals/SendTopics.js +++ b/public/react/src/modules/modals/SendTopics.js @@ -99,16 +99,16 @@ class SendTopics extends Component{ var rurls=""; if(this.state.yslbanksMenu.category==="normal"){ //普通作业 - rurls=`/courses/${this.state.Radiolist}/common_homeworks/${result.data.task_ids}/list`; + rurls=`/courses/${this.state.Radiolist}/common_homeworks/${result.data.task_ids}/setting`; }else if(this.state.yslbanksMenu.category==="group"){ //分组作业 - rurls=`/courses/${this.state.Radiolist}/group_homeworks/${result.data.task_ids}/list`; + rurls=`/courses/${this.state.Radiolist}/group_homeworks/${result.data.task_ids}/setting`; }else if(this.state.yslbanksMenu.category==="exercise"){ // 试卷 - rurls=`/courses/${this.state.Radiolist}/exercises/${result.data.task_ids}/student_exercise_list?tab=0`; + rurls=`/courses/${this.state.Radiolist}/exercises/${result.data.task_ids}/student_exercise_list?tab=3`; }else if(this.state.yslbanksMenu.category==="poll") { //问卷 - rurls=`/courses/${this.state.Radiolist}/polls/${result.data.task_ids}/detail` + rurls=`/courses/${this.state.Radiolist}/polls/${result.data.task_ids}/detail?tab=3` } window.open(rurls,'_blank'); }catch (e) { diff --git a/public/react/src/modules/user/usersInfo/banks/banksMenu.js b/public/react/src/modules/user/usersInfo/banks/banksMenu.js index 27980d567..d94e06c58 100644 --- a/public/react/src/modules/user/usersInfo/banks/banksMenu.js +++ b/public/react/src/modules/user/usersInfo/banks/banksMenu.js @@ -83,9 +83,9 @@ class BanksMenu extends Component{ } topicssavedelete=(id,type)=>{ - console.log("删除了"); - console.log(id); - console.log(type); + // console.log("删除了"); + // console.log(id); + // console.log(type); const url = `/question_banks/multi_delete.json`; axios.delete(url, { data: { object_id: [id],