"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[62548],{96686:function(e,s,a){a.r(s),a.d(s,{default:function(){return w}});var c=a(82242),n=a.n(c),t=a(59301),l=a(49389),i="normDetailContainer___jU9qX",r="col120___PP676",d="col132___maQTk",u="breadcrumd___wTc7P",_="info___IcDC3",o="tableWrap___glHsJ",h="noTop___He6BF",m="red___MKy0v",v="green___lz_B4",x="name___gxP6L",j="calcTips___DQ1vb",f="thead___smkYs",N="colSpan___UlYpi",p="content___FZ6G7",g="listItemWrap___Vyvgz",y="listItem___iwssp",C="course___Cuzmz",k=a(37712),w=(0,l.connect)((function(e){var s=e.engineeringNormDetail;return n()({},s)}))((function(e){var s=e.dataSource,a=e.dispatch,c=(0,l.useParams)();(0,t.useEffect)((function(){c.ec_year_id&&c.id&&a({type:"engineeringNormDetail/getGraduationResultDetail",payload:c})}),[]);var n=[{title:"课程",style:{justifyContent:"start"}},{title:"课程所占权重",className:r},{title:"用于评价的课程目标",style:{flex:2,justifyContent:"start"}},{title:"课程达成阈值",className:r},{title:"课程达成实际值",className:r},{title:"评价结果",className:r},{title:"指标点达成阈值",className:r},{title:"指标点达成实际值",className:d},{title:"评价结果",style:{width:80,flex:"unset"}}];return(0,k.jsxs)("div",{className:i,children:[(0,k.jsxs)("div",{className:u,children:[(0,k.jsx)("span",{onClick:function(){l.history.push("/engineering/evaluate/norm")},children:"指标评价"}),(0,k.jsx)("span",{children:">>"}),(0,k.jsx)("span",{children:"评价详情"})]}),(0,k.jsxs)("div",{className:_,children:[(0,k.jsx)("div",{children:s.name}),(0,k.jsxs)("div",{children:["达成度实际值=",(0,k.jsx)("span",{children:s.actual_value})]})]}),(0,k.jsx)("div",{children:s.subitems.map((function(e,s){return(0,k.jsxs)(t.Fragment,{children:[(0,k.jsxs)("div",{className:"".concat(o," ").concat(0===s?h:""),children:[(0,k.jsx)("div",{className:x,children:e.name}),(0,k.jsx)("div",{className:f,children:n.map((function(e,s){return(0,k.jsx)("div",{style:e.style||{},className:e.className,children:[0,2].includes(s)?(0,k.jsxs)("span",{style:{paddingLeft:s?10:12},children:[" ",e.title]}):e.title},s)}))}),(0,k.jsxs)("div",{className:p,children:[(0,k.jsx)("div",{className:g,children:e.courses.map((function(e,s){return(0,k.jsxs)("div",{className:y,children:[(0,k.jsx)("div",{style:{justifyContent:"start"},children:(0,k.jsx)("span",{style:{paddingLeft:10},children:e.name})}),(0,k.jsx)("div",{className:r,children:e.weight}),(0,k.jsx)("div",{className:"".concat(C),children:e.ec_course_targets.map((function(e){return(0,k.jsx)("div",{children:e},e)}))}),(0,k.jsx)("div",{className:r,children:e.goal_value}),(0,k.jsx)("div",{className:r,children:e.actual_value}),(0,k.jsx)("div",{className:"".concat(["达成","已达成"].includes(e.result)?v:m," ").concat(r),children:e.result})]},s)}))}),(0,k.jsx)("div",{className:"".concat(N," ").concat(r),children:e.goal_value}),(0,k.jsx)("div",{className:"".concat(N," ").concat(d),children:e.actual_value}),(0,k.jsx)("div",{style:{width:80},className:"".concat(N," ").concat(["达成","已达成"].includes(e.result)?v:m),children:e.result})]}),(0,k.jsxs)("div",{className:j,children:[e.index&&"指标点".concat(e.index)," 达成实际值=",(a=e,c="",a.courses.forEach((function(e,s){c+="".concat(e.actual_value).concat(s+1===a.courses.length?"":"+")})),c),e.courses.length>1&&"=".concat(e.actual_value)]})]}),(0,k.jsx)("div",{style:{background:"#fafafa",width:"100%",height:"20px"}})]},s);var a,c}))})]})}))}}]);