From 8c168c5839a9807a45958ea6ea90a9c3ac0772d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com> Date: Wed, 28 Aug 2019 15:17:31 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Completetaskdetails.js | 84 ++++++++++++++++++ .../completetaskdetails/Completetaskpage.js | 88 +++++++++++++++++++ .../completetaskdetails.css | 0 3 files changed, 172 insertions(+) create mode 100644 public/react/src/modules/courses/completetaskdetails/Completetaskdetails.js create mode 100644 public/react/src/modules/courses/completetaskdetails/Completetaskpage.js create mode 100644 public/react/src/modules/courses/completetaskdetails/completetaskdetails.css diff --git a/public/react/src/modules/courses/completetaskdetails/Completetaskdetails.js b/public/react/src/modules/courses/completetaskdetails/Completetaskdetails.js new file mode 100644 index 000000000..7cb9ffb86 --- /dev/null +++ b/public/react/src/modules/courses/completetaskdetails/Completetaskdetails.js @@ -0,0 +1,84 @@ +import React, {Component} from "react"; +import { WordsBtn,on, off, trigger,markdownToHTML,getImageUrl} from 'educoder'; +import { + Button, + Checkbox, + message, + InputNumber, + DatePicker, + Radio, + Tooltip, + notification, +} from "antd"; +import './questionbanks.css'; +import GroupPackage from "../groupjobbank/GroupPackage"; +import GroupPackage2 from "../groupjobbank/GroupPackage2"; + + +class Groupjobbandetails extends Component { + + constructor(props) { + super(props); + + this.state = { + + } + } + + componentDidMount() { + console.log("Groupjobbandetails"); + console.log("componentDidMount"); + // let query = this.props.location.pathname; + // const type = query.split('/'); + // this.setState({ + // shixuntypes:type[3] + // }) + // this.props.triggerRef(this); + + + + + } + // 获取数据地方 + getTrainingjobsetting = () => { + var homeworkid = this.props.match.params.homeworkid; + } + + //跳转道描点的地方 + scrollToAnchor = (anchorName) => { + if (anchorName) { + // 找到锚点 + let anchorElement = document.getElementById(anchorName); + // 如果对应id的锚点存在,就跳转到锚点 + if(anchorElement) { anchorElement.scrollIntoView(); } + } + }; + + + + render() { + + return ( +