|
|
|
@ -28,10 +28,10 @@ class ShixunCustomsPass extends Component {
|
|
|
|
|
datas.push({
|
|
|
|
|
customs:{position:item.position,subject:item.subject},
|
|
|
|
|
taskname:{name:item.username},
|
|
|
|
|
openingtime:moment(item.end_time).format('YYYY-MM-DD HH:mm:ss'),
|
|
|
|
|
openingtime:item.end_time===null?"无":item.end_time===undefined?"无":item.end_time===""?"无":moment(item.end_time).format('YYYY-MM-DD HH:mm:ss'),
|
|
|
|
|
evaluating: {final_score:item.final_score,all_score:item.all_score},
|
|
|
|
|
finishtime:item.copy_username,
|
|
|
|
|
elapsedtime:moment(item.copy_end_time).format('YYYY-MM-DD HH:mm:ss'),
|
|
|
|
|
elapsedtime:item.copy_end_time===null?"无":item.copy_end_time===undefined?"无":item.copy_end_time===""?"无":moment(item.copy_end_time).format('YYYY-MM-DD HH:mm:ss'),
|
|
|
|
|
empvalue:item.code_rate,
|
|
|
|
|
// adjustmentminute:asdasd
|
|
|
|
|
})
|
|
|
|
@ -200,6 +200,9 @@ class ShixunCustomsPass extends Component {
|
|
|
|
|
</style>
|
|
|
|
|
{
|
|
|
|
|
data&&data.challenge_list.map((item,key)=>{
|
|
|
|
|
// console.log("203challenge_list下面的数据");
|
|
|
|
|
// console.log(item);
|
|
|
|
|
// console.log(JSON.stringify(item));
|
|
|
|
|
return(
|
|
|
|
|
<div key={key} className={"mb20"}>
|
|
|
|
|
<div className="font-16 color-dark-21 ml20 mr20">
|
|
|
|
@ -213,13 +216,13 @@ class ShixunCustomsPass extends Component {
|
|
|
|
|
<span className={"font-14"}>{item.subject}</span>
|
|
|
|
|
</a>
|
|
|
|
|
</span>
|
|
|
|
|
<span className="fr codeboxright">代码文件:{item.code_list[0].path}</span>
|
|
|
|
|
<span className="fr codeboxright">代码文件:{item.code_list.length===0?"无":item.code_list[0].path===undefined?"无":item.code_list[0].path}</span>
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{item.code_list.map((ite,k)=>{
|
|
|
|
|
{item.code_list.length===0?"":item.code_list.map((ite,k)=>{
|
|
|
|
|
return(
|
|
|
|
|
<div className="font-16 color-dark-21 ml20 mr20" key={k}>
|
|
|
|
|
<div className=" mt15">
|
|
|
|
|