diff --git a/public/react/src/modules/ecs/subroute/ecCompletion_calculation/EcCompletionCalculation.js b/public/react/src/modules/ecs/subroute/ecCompletion_calculation/EcCompletionCalculation.js index bc559d6ea..82912f406 100644 --- a/public/react/src/modules/ecs/subroute/ecCompletion_calculation/EcCompletionCalculation.js +++ b/public/react/src/modules/ecs/subroute/ecCompletion_calculation/EcCompletionCalculation.js @@ -184,7 +184,7 @@ class EcCompletionCalculation extends Component { // console.log("正在循环"); // console.log(val); // }); - console.log(response.data.course_targets.score_levels); + // console.log(response.data.course_targets.score_levels); // ec_course_targets:response.data.ec_course_targets, this.targetsget_navigation_data(response.data.ec_year_id,ec_course_id) @@ -816,79 +816,93 @@ class EcCompletionCalculation extends Component { }

- {/*{*/} - {/* Spintype===false?target_list.map((i,k)=>{*/} - - {/* return(*/} - {/*
  • */} - {/* {k+1}*/} - {/* {i.standard_grade}*/} - {/* {i.maximum_score}*/} - {/* {i.minimum_score}*/} - {/* */} - {/*
    {i.from90[0]}人
    */} - {/*
    {(i.from90[1]).toFixed(2)}%
    */} - {/*
    */} - {/* */} - {/*
    {i.from80[0]}人
    */} - {/*
    {(i.from80[1]).toFixed(2)}%
    */} - {/*
    */} - {/* */} - {/*
    {i.from70[0]}人
    */} - {/*
    {(i.from70[1]).toFixed(2)}%
    */} - {/*
    */} - {/* */} - {/*
    {i.from60[0]}人
    */} - {/*
    {(i.from60[1]).toFixed(2)}%
    */} - {/*
    */} - {/* */} - {/*
    {i.from50[0]}人
    */} - {/*
    {(i.from50[1]).toFixed(2)}%
    */} - {/*
    */} - {/* */} - {/*
    {i.from_down[0]}人
    */} - {/*
    {(i.from_down[1]).toFixed(2)}%
    */} - {/*
    */} - - {/*
  • */} - {/* )*/} - - {/* }):""*/} - {/*}*/} - - {/*{ Spintype===true?}/>:"" }*/} - - {/*{target_list.length===0&&Spintype===false?*/} - {/*
  • */} - {/*--*/} - {/*--*/} - {/*--*/} - {/*--*/} + { + Spintype===false?target_list.map((i,k)=>{ + + return( +
  • + {k+1} + {i.standard_grade} + {i.maximum_score===null || i.maximum_score===undefined ||i.maximum_score===""?"--":i.maximum_score} + {i.minimum_score===null || i.minimum_score===undefined || i.minimum_score===""?"--":i.minimum_score} + { + i.score_levels.map((j,l)=>{ + + return( + +
    {j.count}人
    +
    {j.rate===null||j.rate===undefined||j.rate===""||j.rate===0?0.00:j.rate}%
    +
    + ) + } + ) + } + + {/*}*/} {/**/} - {/*
    --人
    */} - {/*
    --%
    */} + {/*
    {i.from90[0]}人
    */} + {/*
    {(i.from90[1]).toFixed(2)}%
    */} {/*
    */} {/**/} - {/*
    --人
    */} - {/*
    --%
    */} + {/*
    {i.from80[0]}人
    */} + {/*
    {(i.from80[1]).toFixed(2)}%
    */} {/*
    */} {/**/} - {/*
    --人
    */} - {/*
    --%
    */} + {/*
    {i.from70[0]}人
    */} + {/*
    {(i.from70[1]).toFixed(2)}%
    */} {/*
    */} {/**/} - {/*
    --人
    */} - {/*
    --%
    */} + {/*
    {i.from60[0]}人
    */} + {/*
    {(i.from60[1]).toFixed(2)}%
    */} {/*
    */} {/**/} - {/*
    --人
    */} - {/*
    --%
    */} + {/*
    {i.from50[0]}人
    */} + {/*
    {(i.from50[1]).toFixed(2)}%
    */} {/*
    */} {/**/} - {/*
    --人
    */} - {/*
    --%
    */} + {/*
    {i.from_down[0]}人
    */} + {/*
    {(i.from_down[1]).toFixed(2)}%
    */} {/*
    */} - {/*
  • :""}*/} + + + ) + + }):"" + } + + { Spintype===true?}/>:"" } + + {target_list.length===0&&Spintype===false? +
  • + -- + -- + -- + -- + +
    --人
    +
    --%
    +
    + +
    --人
    +
    --%
    +
    + +
    --人
    +
    --%
    +
    + +
    --人
    +
    --%
    +
    + +
    --人
    +
    --%
    +
    + +
    --人
    +
    --%
    +
    +
  • :""}