You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NewEduCoderBuild/p__Engineering__Evaluate__D...

754 lines
27 KiB

"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[6651],{
/***/ 56364:
/*!*********************************************************************!*\
!*** ./src/pages/Engineering/Evaluate/Detail/index.tsx + 9 modules ***!
\*********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"default": function() { return /* binding */ Detail; }
});
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
var _react_17_0_2_react = __webpack_require__(59301);
// EXTERNAL MODULE: ./src/.umi-production/exports.ts + 15 modules
var _umi_production_exports = __webpack_require__(23175);
;// CONCATENATED MODULE: ./src/pages/Engineering/Evaluate/Detail/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var Detailmodules = ({"evaluateDetailContainer":"evaluateDetailContainer___I2lI8"});
;// CONCATENATED MODULE: ./src/pages/Engineering/Evaluate/Detail/Header/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var Headermodules = ({"headerContainer":"headerContainer___RP60j","breadcrumd":"breadcrumd___SFPna","select":"select___PNmEI"});
// EXTERNAL MODULE: ./src/pages/Engineering/components/Evaluate/index.ts + 4 modules
var Evaluate = __webpack_require__(97216);
;// CONCATENATED MODULE: ./src/pages/Engineering/Evaluate/Detail/Header/index.tsx
var __defProp = Object.defineProperty;
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __propIsEnum = Object.prototype.propertyIsEnumerable;
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
var __spreadValues = (a, b) => {
for (var prop in b || (b = {}))
if (__hasOwnProp.call(b, prop))
__defNormalProp(a, prop, b[prop]);
if (__getOwnPropSymbols)
for (var prop of __getOwnPropSymbols(b)) {
if (__propIsEnum.call(b, prop))
__defNormalProp(a, prop, b[prop]);
}
return a;
};
const Header = () => {
const goBack = () => {
_umi_production_exports.history.push(`/engineering/evaluate/course`);
};
return /* @__PURE__ */ _react_17_0_2_react.createElement("div", { className: Headermodules.headerContainer }, /* @__PURE__ */ _react_17_0_2_react.createElement("div", { className: Headermodules.breadcrumd }, /* @__PURE__ */ _react_17_0_2_react.createElement("span", { onClick: () => goBack() }, "\u8BFE\u7A0B\u8BC4\u4EF7"), /* @__PURE__ */ _react_17_0_2_react.createElement("span", null, ">>"), /* @__PURE__ */ _react_17_0_2_react.createElement("span", null, "\u8BC4\u4EF7\u8BE6\u60C5")), /* @__PURE__ */ _react_17_0_2_react.createElement(Evaluate/* PanelTitle */.p, { title: "\u8BC4\u4EF7\u8BE6\u60C5", style: { padding: "12px 0 0 0" } }));
};
/* harmony default export */ var Detail_Header = ((0,_umi_production_exports.connect)(
({
loading,
engineeringEvaluteDetail
}) => __spreadValues({
loading
}, engineeringEvaluteDetail)
)(Header));
;// CONCATENATED MODULE: ./src/pages/Engineering/Evaluate/Detail/TabList/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var TabListmodules = ({"evaluateDetailContainer":"evaluateDetailContainer___YrmXK","red":"red___MLKvr","green":"green___Dwseg","name":"name___mNPwy"});
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/tooltip/index.js + 3 modules
var tooltip = __webpack_require__(6848);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/table/index.js + 85 modules
var table = __webpack_require__(72315);
;// CONCATENATED MODULE: ./src/pages/Engineering/Evaluate/Detail/TabList/index.tsx
var TabList_defProp = Object.defineProperty;
var TabList_getOwnPropSymbols = Object.getOwnPropertySymbols;
var TabList_hasOwnProp = Object.prototype.hasOwnProperty;
var TabList_propIsEnum = Object.prototype.propertyIsEnumerable;
var TabList_defNormalProp = (obj, key, value) => key in obj ? TabList_defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
var TabList_spreadValues = (a, b) => {
for (var prop in b || (b = {}))
if (TabList_hasOwnProp.call(b, prop))
TabList_defNormalProp(a, prop, b[prop]);
if (TabList_getOwnPropSymbols)
for (var prop of TabList_getOwnPropSymbols(b)) {
if (TabList_propIsEnum.call(b, prop))
TabList_defNormalProp(a, prop, b[prop]);
}
return a;
};
const EvaluateDetailTabList = ({
loading,
name,
tabListData
}) => {
const columns = [
{
title: "\u5206\u9879",
dataIndex: "position",
width: 96,
align: "center"
},
{
title: "\u8BFE\u7A0B\u76EE\u6807",
dataIndex: "content",
ellipsis: {
showTitle: false
},
render: (record) => /* @__PURE__ */ _react_17_0_2_react.createElement(tooltip/* default */.Z, { placement: "topLeft", title: record }, record)
},
{
title: "\u8BFE\u7A0B\u6743\u91CD",
dataIndex: "weigths",
align: "center",
width: 80
},
{
title: "\u8003\u6838\u65B9\u5F0F",
dataIndex: "ways",
width: 230,
ellipsis: {
showTitle: false
},
render: (record) => {
if (record && record.length > 0) {
let text = record.toString();
return /* @__PURE__ */ _react_17_0_2_react.createElement(tooltip/* default */.Z, { placement: "top", title: text }, text);
} else {
return "--";
}
}
},
{
title: "\u8FBE\u6210\u5206\u503C",
dataIndex: "standard_grade",
align: "center",
width: 80
},
{
title: "\u5B9E\u9645\u5206\u503C",
dataIndex: "actual_grade",
align: "center",
width: 80
},
{
title: "\u8BC4\u4EF7\u7ED3\u679C",
dataIndex: "status",
width: 94,
align: "center",
render: (record) => /* @__PURE__ */ _react_17_0_2_react.createElement("div", { className: record ? TabListmodules.green : TabListmodules.red }, record ? "\u8FBE\u6210" : "\u672A\u8FBE\u6210")
}
];
return /* @__PURE__ */ _react_17_0_2_react.createElement("div", { className: TabListmodules.evaluateDetailContainer }, /* @__PURE__ */ _react_17_0_2_react.createElement("div", { className: TabListmodules.name }, name, "\u8FBE\u6210\u8BC4\u4EF7\u8BF4\u660E"), /* @__PURE__ */ _react_17_0_2_react.createElement(
table["default"],
{
loading: loading.effects["engineeringEvaluteDetail/getCourseResultDetail"],
rowKey: "id",
columns,
bordered: false,
dataSource: tabListData,
pagination: false
}
));
};
/* harmony default export */ var TabList = ((0,_umi_production_exports.connect)(
({
engineeringEvaluteDetail,
loading
}) => TabList_spreadValues({
loading
}, engineeringEvaluteDetail)
)(EvaluateDetailTabList));
// EXTERNAL MODULE: ./node_modules/_echarts-for-react@2.0.16@echarts-for-react/lib/index.js
var lib = __webpack_require__(42441);
;// CONCATENATED MODULE: ./src/pages/Engineering/Evaluate/Detail/Echart/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var Echartmodules = ({"evaluateEchartContainer":"evaluateEchartContainer___w4ehu","echartsWrap":"echartsWrap___zXCuT","no":"no___IWJUT","title":"title___hJp0r"});
;// CONCATENATED MODULE: ./src/pages/Engineering/Evaluate/Detail/Select/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var Selectmodules = ({"evaluateSelectContainer":"evaluateSelectContainer___JjsG0","title":"title___cyEig"});
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/select/index.js
var es_select = __webpack_require__(57809);
;// CONCATENATED MODULE: ./src/pages/Engineering/Evaluate/Detail/Select/index.tsx
var Select_defProp = Object.defineProperty;
var __defProps = Object.defineProperties;
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
var Select_getOwnPropSymbols = Object.getOwnPropertySymbols;
var Select_hasOwnProp = Object.prototype.hasOwnProperty;
var Select_propIsEnum = Object.prototype.propertyIsEnumerable;
var Select_defNormalProp = (obj, key, value) => key in obj ? Select_defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
var Select_spreadValues = (a, b) => {
for (var prop in b || (b = {}))
if (Select_hasOwnProp.call(b, prop))
Select_defNormalProp(a, prop, b[prop]);
if (Select_getOwnPropSymbols)
for (var prop of Select_getOwnPropSymbols(b)) {
if (Select_propIsEnum.call(b, prop))
Select_defNormalProp(a, prop, b[prop]);
}
return a;
};
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
const Select = ({
dispatch,
classDataSource
}) => {
console.log(classDataSource, "classDataSource");
const { active, dataList } = classDataSource;
const params = (0,_umi_production_exports.useParams)();
const handleChange = (e) => {
dispatch({
type: "engineeringEvaluteDetail/setClassActive",
payload: {
active: e,
dataList
}
});
dispatch({
type: "engineeringEvaluteDetail/getCourseResultDetail",
payload: __spreadProps(Select_spreadValues({}, params), { class_name: e })
});
};
return /* @__PURE__ */ _react_17_0_2_react.createElement(_react_17_0_2_react.Fragment, null, /* @__PURE__ */ _react_17_0_2_react.createElement("div", { style: { height: 20, backgroundColor: "#fafafa" } }), /* @__PURE__ */ _react_17_0_2_react.createElement("div", { className: Selectmodules.evaluateSelectContainer }, /* @__PURE__ */ _react_17_0_2_react.createElement("div", { className: Selectmodules.title }, "\u5B66\u751F\u80FD\u529B\u8FBE\u6210\u60C5\u51B5\u56FE"), /* @__PURE__ */ _react_17_0_2_react.createElement("div", { className: Selectmodules.s }, "\u73ED\u7EA7\uFF1A", /* @__PURE__ */ _react_17_0_2_react.createElement(es_select["default"], { style: { width: 138, marginRight: 32 }, value: active, onChange: handleChange }, /* @__PURE__ */ _react_17_0_2_react.createElement(es_select["default"].Option, { value: null }, "\u5168\u90E8"), dataList == null ? void 0 : dataList.map((e) => /* @__PURE__ */ _react_17_0_2_react.createElement(es_select["default"].Option, { value: e }, e))))));
};
/* harmony default export */ var Detail_Select = ((0,_umi_production_exports.connect)(
({
engineeringEvaluteDetail,
loading
}) => Select_spreadValues({
loading
}, engineeringEvaluteDetail)
)(Select));
;// CONCATENATED MODULE: ./src/pages/Engineering/Evaluate/Detail/Echart/index.tsx
var Echart_defProp = Object.defineProperty;
var Echart_getOwnPropSymbols = Object.getOwnPropertySymbols;
var Echart_hasOwnProp = Object.prototype.hasOwnProperty;
var Echart_propIsEnum = Object.prototype.propertyIsEnumerable;
var Echart_defNormalProp = (obj, key, value) => key in obj ? Echart_defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
var Echart_spreadValues = (a, b) => {
for (var prop in b || (b = {}))
if (Echart_hasOwnProp.call(b, prop))
Echart_defNormalProp(a, prop, b[prop]);
if (Echart_getOwnPropSymbols)
for (var prop of Echart_getOwnPropSymbols(b)) {
if (Echart_propIsEnum.call(b, prop))
Echart_defNormalProp(a, prop, b[prop]);
}
return a;
};
const colors = ["#5470C6", "#91CC75", "#EE6666"];
const Echart = ({ echartsData }) => {
const getBarOption = () => {
return {
color: colors,
tooltip: {
show: true,
trigger: "axis",
formatter: function(params) {
var result = "\u8BFE\u7A0B\u76EE\u6807" + params[0].name;
params.forEach(function(item) {
result += "<br/>";
result += '<span style="display:inline-block;margin-right:5px;border-radius:10px;width:9px;height:9px;background-color:' + item.color + '"></span>';
result += item.seriesName + "\uFF1A";
result += isNaN(item.value) ? 0 : item.value;
});
return result;
}
},
grid: {
left: 70,
right: 45
},
legend: {
right: 42,
data: [
{
name: "\u5B9E\u9645\u5206\u503C",
icon: "path://M0 0h204.8v1024H0zM409.6 409.6h204.8v614.4H409.6zM819.2 204.8h204.8v819.2H819.2z",
textStyle: {
color: "#464F66",
fontSize: 12,
padding: [0, 25, 0, 0]
}
},
{
name: "\u8FBE\u6210\u5206\u503C",
icon: "path://M1405.66347426 933.875L1042.7602489 271.57661309 625.42153893 924.8024191 307.88121642 643.55241937l54.43548375-72.58064557L607.27637795 788.71370968 1051.83282897 90.125 1423.80863607 770.5685487 1768.56670046 362.30241965l235.88709686 381.04838718-81.65322647 45.36290285-163.3064513-272.17741964z",
textStyle: {
color: "#464F66",
fontSize: 12
}
}
]
},
xAxis: [
{
type: "category",
axisTick: {
alignWithLabel: true,
show: false
},
axisLine: {
lineStyle: {
color: "#E0E2EC"
// 设置轴线及文字颜色
}
},
axisLabel: {
color: "#6B758B",
margin: 20,
formatter: (v) => `\u8BFE\u7A0B\u76EE\u6807${v}`
},
// prettier-ignore
data: echartsData.barData.dataSource.xData
}
],
yAxis: {
type: "value",
name: "\u5206\u6570",
nameTextStyle: {
padding: [0, 35, 0, 0]
},
position: "left",
alignTicks: true,
axisTick: {
// 坐标轴刻度
show: false
},
splitLine: {
show: true,
lineStyle: {
color: "#E0E2EC"
}
},
axisLine: {
// 坐标轴轴线
show: false,
// 不显示轴线
lineStyle: {
color: "#6B758B"
// 设置轴线及文字颜色
}
},
axisLabel: {}
// minInterval: 100,
// interval: 20,
},
series: [
{
name: "\u5B9E\u9645\u5206\u503C",
type: "bar",
data: echartsData.barData.dataSource.yBarData
},
{
name: "\u8FBE\u6210\u5206\u503C",
type: "line",
symbol: "circle",
symbolSize: 6,
data: echartsData.barData.dataSource.yLineData
}
]
};
};
const getLineOption = () => ({
tooltip: {
show: true,
trigger: "axis",
formatter: "\u5206\u6570\uFF1A {c}"
},
legend: {
right: 42,
data: [
{
name: "\u8BFE\u7A0B\u8FBE\u6210\u5EA6",
icon: "path://M1337.668817 1024L897.23871 220.215054 390.744086 1012.989247 5.367742 671.655914l66.064516-88.086022L368.722581 847.827957 908.249462 0 1359.690323 825.806452 1778.098925 330.322581l286.27957 462.451613-99.096775 55.053763-198.193548-330.322581z",
textStyle: {
color: "#464F66"
}
}
]
},
grid: {
left: 60,
right: 45
},
xAxis: {
type: "category",
axisTick: {
alignWithLabel: true,
show: false
},
splitLine: {
show: false
},
axisLine: {
show: false,
lineStyle: {
color: "#E0E2EC"
// 设置轴线及文字颜色
}
},
axisLabel: {
color: "#6B758B",
rotate: 45,
margin: 20
},
data: echartsData.lineData.xData
},
yAxis: {
type: "value",
name: "\u5206\u6570",
nameTextStyle: {
padding: [0, 35, 0, 0]
},
position: "left",
alignTicks: true,
axisTick: {
// 坐标轴刻度
show: false
},
splitLine: {
show: true,
lineStyle: {
color: "#E0E2EC"
}
},
axisLine: {
// 坐标轴轴线
show: false,
// 不显示轴线
lineStyle: {
color: "#6B758B"
// 设置轴线及文字颜色
}
}
// minInterval: 100,
// interval: 20,
},
series: [
{
name: "\u8BFE\u7A0B\u8FBE\u6210\u5EA6",
symbol: "circle",
symbolSize: 6,
itemStyle: {
color: "#0152D9"
},
data: echartsData.lineData.seriesData,
type: "line"
}
]
});
const getScatterOption = (list) => ({
tooltip: {
position: "top",
formatter: ({ seriesName, name, value, dataIndex }) => {
var _a, _b, _c;
console.log(list, "list");
if (["\u5E73\u5747\u5206\u503C", "\u76EE\u6807\u5206\u503C"].includes(seriesName)) {
return "";
}
return `\u59D3\u540D\uFF1A${(_a = list == null ? void 0 : list.name_data) == null ? void 0 : _a[dataIndex]}<br>\u5B66\u53F7\uFF1A${(_b = list == null ? void 0 : list.student_ids) == null ? void 0 : _b[dataIndex]}<br>\u73ED\u7EA7\uFF1A${(_c = list == null ? void 0 : list.class_data) == null ? void 0 : _c[dataIndex]}<br>\u5206\u6570\uFF1A${value}`;
}
},
legend: {
right: 42,
data: [
{
name: "\u5DF2\u8FBE\u6807",
icon: "path://M512 896c281.6 0 512-230.4 512-512S793.6-128 512-128 0 102.4 0 384s230.4 512 512 512z",
textStyle: {
color: "#464F66",
fontSize: 12,
padding: [0, 44, 0, 0]
}
},
{
name: "\u672A\u8FBE\u6807",
icon: "path://M512 896c281.6 0 512-230.4 512-512S793.6-128 512-128 0 102.4 0 384s230.4 512 512 512z",
textStyle: {
color: "#464F66",
fontSize: 12,
padding: [0, 12, 0, 0]
}
}
]
},
grid: {
left: 70,
right: 115
},
title: {
text: `\u8BFE\u7A0B\u76EE\u6807${list.name}\u5B66\u751F\u80FD\u529B\u8FBE\u6210\u60C5\u51B5\u56FE`,
left: 20,
textStyle: {
color: "#6B758B",
fontSize: 14,
fontWeight: 400
}
},
xAxis: {
name: "\u5B66\u751F\u5E8F\u53F7",
nameTextStyle: {
color: "#6B758B",
fontWeight: 400,
fontSize: 12,
padding: [50, 0, 0, 0]
},
axisTick: {
alignWithLabel: true,
show: false
},
splitLine: { show: false },
axisLine: {
lineStyle: {
color: "#E0E2EC"
// 设置轴线及文字颜色
}
},
axisLabel: {
color: "#6B758B",
margin: 20,
showMaxLabel: true
},
data: list.xData
},
yAxis: {
type: "value",
name: "\u5206\u6570",
nameTextStyle: {
padding: [0, 35, 0, 0]
},
position: "left",
alignTicks: true,
axisTick: {
// 坐标轴刻度
show: false
},
splitLine: {
show: true,
lineStyle: {
color: "#E0E2EC"
}
},
axisLine: {
// 坐标轴轴线
show: false,
// 不显示轴线
lineStyle: {
color: "#6B758B"
// 设置轴线及文字颜色
}
}
// minInterval: 100,
// interval: 20,
},
series: [
{
name: "\u5DF2\u8FBE\u6807",
type: "scatter",
symbolSize: 12,
itemStyle: {
color: "#0152D9"
},
data: list.yData.max
},
{
name: "\u672A\u8FBE\u6807",
type: "scatter",
symbolSize: 12,
itemStyle: {
color: "#98BDF7"
},
data: list.yData.min
},
{
name: "\u5E73\u5747\u5206\u503C",
type: "line",
symbolSize: 1,
cursor: "default",
data: list.average_scoreData,
lineStyle: {
color: "#0152D9",
type: "dashed"
},
label: {
show: true,
position: "right",
formatter: ({ dataIndex }) => {
var _a;
if (dataIndex === list.average_scoreData.length - 1) {
return "\u5E73\u5747\u5206\u503C" + ((_a = list == null ? void 0 : list.average_scoreData) == null ? void 0 : _a[0]);
} else {
return "";
}
},
color: "#0152D9"
}
},
{
name: "\u76EE\u6807\u5206\u503C",
type: "line",
symbolSize: 1,
cursor: "default",
data: list.goal_scoreData,
lineStyle: {
color: "#1CA261",
type: "dashed"
},
label: {
show: true,
position: "right",
formatter: ({ dataIndex }) => {
var _a;
if (dataIndex === list.goal_scoreData.length - 1) {
return "\u76EE\u6807\u5206\u503C" + ((_a = list == null ? void 0 : list.goal_scoreData) == null ? void 0 : _a[0]);
} else {
return "";
}
},
color: "#1CA261"
}
}
]
});
return /* @__PURE__ */ _react_17_0_2_react.createElement(_react_17_0_2_react.Fragment, null, /* @__PURE__ */ _react_17_0_2_react.createElement("div", { className: Echartmodules.evaluateEchartContainer }, /* @__PURE__ */ _react_17_0_2_react.createElement("div", { className: Echartmodules.echartsWrap }, /* @__PURE__ */ _react_17_0_2_react.createElement("div", { className: Echartmodules.title }, echartsData.barData.name, "\u8FBE\u6210\u5206\u6790"), /* @__PURE__ */ _react_17_0_2_react.createElement(lib/* default */.Z, { option: getBarOption(), style: { width: "100%" } })), /* @__PURE__ */ _react_17_0_2_react.createElement(Detail_Select, null), Object.values(echartsData.scatterData).map((list, index) => {
return /* @__PURE__ */ _react_17_0_2_react.createElement("div", { className: Echartmodules.echartsWrap, key: index }, /* @__PURE__ */ _react_17_0_2_react.createElement(lib/* default */.Z, { option: getScatterOption(list) }));
})), /* @__PURE__ */ _react_17_0_2_react.createElement("div", { className: Echartmodules.evaluateEchartContainer }, /* @__PURE__ */ _react_17_0_2_react.createElement("div", { className: `${Echartmodules.echartsWrap} ${Echartmodules.no}` }, /* @__PURE__ */ _react_17_0_2_react.createElement("div", { className: Echartmodules.title }, echartsData.lineData.name, "\u8FBE\u6210\u5206\u6790"), /* @__PURE__ */ _react_17_0_2_react.createElement(lib/* default */.Z, { option: getLineOption() }))));
};
/* harmony default export */ var Detail_Echart = ((0,_umi_production_exports.connect)(
({
engineeringEvaluteDetail
}) => Echart_spreadValues({}, engineeringEvaluteDetail)
)(Echart));
;// CONCATENATED MODULE: ./src/pages/Engineering/Evaluate/Detail/index.tsx
var Detail_defProp = Object.defineProperty;
var Detail_getOwnPropSymbols = Object.getOwnPropertySymbols;
var Detail_hasOwnProp = Object.prototype.hasOwnProperty;
var Detail_propIsEnum = Object.prototype.propertyIsEnumerable;
var Detail_defNormalProp = (obj, key, value) => key in obj ? Detail_defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
var Detail_spreadValues = (a, b) => {
for (var prop in b || (b = {}))
if (Detail_hasOwnProp.call(b, prop))
Detail_defNormalProp(a, prop, b[prop]);
if (Detail_getOwnPropSymbols)
for (var prop of Detail_getOwnPropSymbols(b)) {
if (Detail_propIsEnum.call(b, prop))
Detail_defNormalProp(a, prop, b[prop]);
}
return a;
};
var __objRest = (source, exclude) => {
var target = {};
for (var prop in source)
if (Detail_hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
target[prop] = source[prop];
if (source != null && Detail_getOwnPropSymbols)
for (var prop of Detail_getOwnPropSymbols(source)) {
if (exclude.indexOf(prop) < 0 && Detail_propIsEnum.call(source, prop))
target[prop] = source[prop];
}
return target;
};
const EvaluateDetail = (_a) => {
var _b = _a, { dispatch } = _b, props = __objRest(_b, ["dispatch"]);
const params = (0,_umi_production_exports.useParams)();
(0,_react_17_0_2_react.useEffect)(() => {
if (params.ec_year_id && params.id) {
dispatch({
type: "engineeringEvaluteDetail/getCourseResultDetail",
payload: params
});
dispatch({
type: "engineeringEvaluteDetail/getCourseResultDetailClass",
payload: params
});
}
}, []);
return /* @__PURE__ */ _react_17_0_2_react.createElement("div", { className: Detailmodules.evaluateDetailContainer }, /* @__PURE__ */ _react_17_0_2_react.createElement(Detail_Header, null), /* @__PURE__ */ _react_17_0_2_react.createElement(TabList, null), /* @__PURE__ */ _react_17_0_2_react.createElement(Detail_Echart, null));
};
/* harmony default export */ var Detail = ((0,_umi_production_exports.connect)(
({
engineeringEvaluteDetail
}) => Detail_spreadValues({}, engineeringEvaluteDetail)
)(EvaluateDetail));
/***/ }),
/***/ 97216:
/*!************************************************************************!*\
!*** ./src/pages/Engineering/components/Evaluate/index.ts + 4 modules ***!
\************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
p: function() { return /* reexport */ Evaluate_PanelTitle; },
v: function() { return /* reexport */ Evaluate_SelectWrap; }
});
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
var _react_17_0_2_react = __webpack_require__(59301);
;// CONCATENATED MODULE: ./src/pages/Engineering/components/Evaluate/PanelTitle/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var PanelTitlemodules = ({"panelTitleContainer":"panelTitleContainer___Ypuh_"});
;// CONCATENATED MODULE: ./src/pages/Engineering/components/Evaluate/PanelTitle/index.tsx
const PanelTitle = ({ title, style = {} }) => {
return /* @__PURE__ */ _react_17_0_2_react.createElement("div", { className: PanelTitlemodules.panelTitleContainer, style }, /* @__PURE__ */ _react_17_0_2_react.createElement("div", null, title));
};
/* harmony default export */ var Evaluate_PanelTitle = (PanelTitle);
;// CONCATENATED MODULE: ./src/pages/Engineering/components/Evaluate/SelectWrap/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var SelectWrapmodules = ({"selectWrapContainer":"selectWrapContainer___qocIH"});
;// CONCATENATED MODULE: ./src/pages/Engineering/components/Evaluate/SelectWrap/index.tsx
const SelectWrap = ({ title, children }) => {
return /* @__PURE__ */ _react_17_0_2_react.createElement("div", { className: SelectWrapmodules.selectWrapContainer }, /* @__PURE__ */ _react_17_0_2_react.createElement("span", null, title), children);
};
/* harmony default export */ var Evaluate_SelectWrap = (SelectWrap);
;// CONCATENATED MODULE: ./src/pages/Engineering/components/Evaluate/index.ts
/***/ })
}]);