import React, {Component} from "react"; import {Link, NavLink} from 'react-router-dom'; import {WordsBtn, ActionBtn} from 'educoder'; import axios from 'axios'; import { notification } from "antd"; import CoursesListType from '../coursesPublic/CoursesListType'; import '../css/members.css'; import "../common/formCommon.css"; import '../css/Courses.css'; import '../css/busyWork.css'; import '../poll/pollStyle.css'; class Generaljobbankdetails extends Component { constructor(props) { super(props); // this.answerMdRef = React.createRef(); this.state = { tab: ["0"], } } //切换tab ChangeTab = (e) => { // console.log(e); this.setState({ tab: e }) try { var currenturl = window.location.href; var newUrl = (currenturl.split("?"))[0]; window.history.pushState('','',newUrl+'?tab='+e); }catch (e) { console.log(e); console.log("44"); } } componentDidMount() { // console.log("父组件加载框"); const query = this.props.location.search; const type = query.split('?tab='); // let sum = [] // sum.push(type[1]) // console.log("componentDidMountcomponentDidMount"); // console.log(type); this.setState({ tab: type[1], }) let querys = this.props.location.pathname; const types = querys.split('/'); // console.log(types); this.setState({ shixuntypes: types[3] }) } confirmysl(child,i) { if(i===1){ child.daochushixunbaogao(); } if(i===2){ child.daochuzuoye(); } } homeworkendss(child){ // child.homeworkends(); } homeworkstarts(child){ // child.homeworkstart(); } workshowmodels(child){ // child.workshowmodel(); } /// 确认是否下载 bindRef = ref => { this.child = ref } ///////////////教师截止 render() { let {tab, teacherdatapage, jobsettingsdatapage} = this.state; const isAdmin = this.props.isAdmin(); // console.log(119) console.log(jobsettingsdatapage); return (

题库 > 详情 > 作业详情

MySQL数据库编程开发实训(基础篇)

this.ChangeTab(0)}>内容详情 this.ChangeTab(1)}>参考答案 发送 编辑 删除
) } } export default Generaljobbankdetails;