|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
import React, {Component} from "react";
|
|
|
|
|
import {Link, NavLink} from 'react-router-dom';
|
|
|
|
|
import {WordsBtn, ActionBtn} from 'educoder';
|
|
|
|
|
import {WordsBtn, ActionBtn,getImageUrl} from 'educoder';
|
|
|
|
|
import { Input,Checkbox,Table, Pagination, Modal,Menu, Tooltip,Spin,Button,Form } from "antd";
|
|
|
|
|
import axios from 'axios';
|
|
|
|
|
import {
|
|
|
|
@ -61,6 +61,7 @@ class Generaljobbankdetails extends Component {
|
|
|
|
|
console.log("Generaljobbankdetails");
|
|
|
|
|
console.log(this.props);
|
|
|
|
|
this.getonedata();
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
getonedata=()=>{
|
|
|
|
@ -90,6 +91,18 @@ class Generaljobbankdetails extends Component {
|
|
|
|
|
this.setState({
|
|
|
|
|
datas:response.data,
|
|
|
|
|
})
|
|
|
|
|
try {
|
|
|
|
|
const crumbData={
|
|
|
|
|
title:response && response.data && response.data.name,
|
|
|
|
|
is_public:response && response.data && response.data.is_public,
|
|
|
|
|
crumbArray:[
|
|
|
|
|
{content:'详情'}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
this.props.initPublic(crumbData);
|
|
|
|
|
}catch (e) {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}else {
|
|
|
|
|
this.setState({
|
|
|
|
|
datas:[],
|
|
|
|
@ -132,23 +145,23 @@ class Generaljobbankdetails extends Component {
|
|
|
|
|
|
|
|
|
|
<div className={"educontent mt10 mb20"} style={{width: "1200px"}}>
|
|
|
|
|
|
|
|
|
|
<div className="educontent mb20">
|
|
|
|
|
<p className="clearfix mb20 mt10">
|
|
|
|
|
<a className="btn colorgrey fl hovercolorblue ">题库</a>
|
|
|
|
|
<span className="color-grey-9 fl ml3 mr3">></span>
|
|
|
|
|
<a
|
|
|
|
|
className=" btn colorgrey fl hovercolorblue "
|
|
|
|
|
>详情</a>
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
<div className="educontent mb20">
|
|
|
|
|
<p className=" fl color-black summaryname" style={{heigth: "33px"}}>
|
|
|
|
|
{datas&&datas.name}
|
|
|
|
|
</p>
|
|
|
|
|
<CoursesListType
|
|
|
|
|
typelist={datas.is_public===true?["公开"]:["私有"]}
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
|
|
|
|
{/*<div className="educontent mb20">*/}
|
|
|
|
|
{/* <p className="clearfix mb20 mt10">*/}
|
|
|
|
|
{/* <a className="btn colorgrey fl hovercolorblue ">题库</a>*/}
|
|
|
|
|
{/* <span className="color-grey-9 fl ml3 mr3">></span>*/}
|
|
|
|
|
{/* <a*/}
|
|
|
|
|
{/* className=" btn colorgrey fl hovercolorblue "*/}
|
|
|
|
|
{/* >详情</a>*/}
|
|
|
|
|
{/* </p>*/}
|
|
|
|
|
{/*</div>*/}
|
|
|
|
|
{/*<div className="educontent mb20">*/}
|
|
|
|
|
{/* <p className=" fl color-black summaryname" style={{heigth: "33px"}}>*/}
|
|
|
|
|
{/* {datas&&datas.name}*/}
|
|
|
|
|
{/* </p>*/}
|
|
|
|
|
{/* <CoursesListType*/}
|
|
|
|
|
{/* typelist={datas.is_public===true?["公开"]:["私有"]}*/}
|
|
|
|
|
{/* />*/}
|
|
|
|
|
{/*</div>*/}
|
|
|
|
|
|
|
|
|
|
<div className="edu-back-white ">
|
|
|
|
|
<div className="stud-class-set bor-bottom-greyE ">
|
|
|
|
|