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__Classrooms__Lists__Engin...

900 lines
47 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[46963],{
/***/ 82982:
/*!*****************************************!*\
!*** ./src/components/NoData/index.tsx ***!
\*****************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony import */ var antd_es_button_style__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! antd/es/button/style */ 29913);
/* harmony import */ var antd_es_button__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! antd/es/button */ 71577);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/objectSpread2.js */ 42122);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ 67294);
/* harmony import */ var _assets_images_icons_nodata_png__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @/assets/images/icons/nodata.png */ 4977);
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react/jsx-runtime */ 85893);
var noData = function noData(_ref) {
var img = _ref.img,
_ref$buttonProps = _ref.buttonProps,
buttonProps = _ref$buttonProps === void 0 ? {} : _ref$buttonProps,
_ref$styles = _ref.styles,
styles = _ref$styles === void 0 ? {} : _ref$styles,
customText = _ref.customText,
ButtonText = _ref.ButtonText,
ButtonClick = _ref.ButtonClick,
Buttonclass = _ref.Buttonclass,
ButtonTwo = _ref.ButtonTwo,
imgStyles = _ref.imgStyles;
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsxs)("section", {
className: "tc animated fadeIn",
style: _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, {
color: '#999',
margin: '100px auto'
}), styles),
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("img", {
src: img || _assets_images_icons_nodata_png__WEBPACK_IMPORTED_MODULE_3__,
style: _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, imgStyles)
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)("p", {
className: "mt20 font14",
children: customText || '暂时还没有相关数据哦!'
}), ButtonText && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__.jsx)(antd_es_button__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Z, _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({
className: Buttonclass,
onClick: ButtonClick
}, buttonProps), {}, {
children: ButtonText
})), ButtonTwo && ButtonTwo]
});
};
/* harmony default export */ __webpack_exports__["Z"] = (noData);
/***/ }),
/***/ 73852:
/*!*****************************************************************!*\
!*** ./src/pages/Classrooms/Lists/Engineering/Detail/index.tsx ***!
\*****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/regeneratorRuntime.js */ 17061);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var antd_es_tooltip_style__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! antd/es/tooltip/style */ 38390);
/* harmony import */ var antd_es_tooltip__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! antd/es/tooltip */ 84908);
/* harmony import */ var antd_es_table_style__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! antd/es/table/style */ 71854);
/* harmony import */ var antd_es_table__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! antd/es/table */ 67250);
/* harmony import */ var antd_es_list_style__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! antd/es/list/style */ 36931);
/* harmony import */ var antd_es_list__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! antd/es/list */ 95507);
/* harmony import */ var antd_es_button_style__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! antd/es/button/style */ 29913);
/* harmony import */ var antd_es_button__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! antd/es/button */ 71577);
/* harmony import */ var antd_es_breadcrumb_style__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! antd/es/breadcrumb/style */ 63102);
/* harmony import */ var antd_es_breadcrumb__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! antd/es/breadcrumb */ 58492);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/asyncToGenerator.js */ 17156);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_6__);
/* harmony import */ var antd_es_form_style__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! antd/es/form/style */ 75627);
/* harmony import */ var antd_es_form__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! antd/es/form */ 51018);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/slicedToArray.js */ 27424);
/* harmony import */ var _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_8__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react */ 67294);
/* harmony import */ var umi__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! umi */ 89214);
/* harmony import */ var _ant_design_icons__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @ant-design/icons */ 82826);
/* harmony import */ var _utils_fetch__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @/utils/fetch */ 84519);
/* harmony import */ var _index_less_modules__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../index.less?modules */ 66859);
/* harmony import */ var _components_NoData__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @/components/NoData */ 82982);
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! react/jsx-runtime */ 85893);
var ShixunsListPage = function ShixunsListPage(_ref) {
var _datas$data, _datas$data$ec_course, _datas$data3;
var classroomList = _ref.classroomList,
loading = _ref.loading,
user = _ref.user,
dispatch = _ref.dispatch,
location = _ref.location;
var _useSearchParams = (0,umi__WEBPACK_IMPORTED_MODULE_10__.useSearchParams)(),
_useSearchParams2 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_8___default()(_useSearchParams, 1),
searchParams = _useSearchParams2[0];
var _useState = (0,react__WEBPACK_IMPORTED_MODULE_9__.useState)([]),
_useState2 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_8___default()(_useState, 2),
datas = _useState2[0],
setdatas = _useState2[1];
var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_9__.useState)({
zydatas: [],
jbdatas: [],
kcdatas: [],
page: 1,
per_page: 20
}),
_useState4 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_8___default()(_useState3, 2),
params = _useState4[0],
setparams = _useState4[1];
var param = (0,umi__WEBPACK_IMPORTED_MODULE_10__.useParams)();
var _Form$useForm = antd_es_form__WEBPACK_IMPORTED_MODULE_15__/* ["default"].useForm */ .Z.useForm(),
_Form$useForm2 = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_8___default()(_Form$useForm, 1),
form = _Form$useForm2[0];
(0,react__WEBPACK_IMPORTED_MODULE_9__.useEffect)(function () {
getDatas();
}, []);
function getDatas() {
return _getDatas.apply(this, arguments);
}
function _getDatas() {
_getDatas = _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_6___default()( /*#__PURE__*/_root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee() {
var res;
return _root_workspace_ppte5yg23_SJ5m_develop_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
_context.next = 2;
return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .ZP)("/api/ec_courses/".concat(searchParams.get("kc"), "/course_evaluations/course_index.json"), {
method: 'get',
params: {
course_id: param === null || param === void 0 ? void 0 : param.coursesId,
ec_course_id: searchParams.get("kc")
}
});
case 2:
res = _context.sent;
setdatas(res);
case 4:
case "end":
return _context.stop();
}
}, _callee);
}));
return _getDatas.apply(this, arguments);
}
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)("div", {
style: {
width: 1200,
margin: '0 auto'
},
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)(antd_es_breadcrumb__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z, {
separator: ">",
style: {
marginTop: 15,
marginBottom: 10
},
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(antd_es_breadcrumb__WEBPACK_IMPORTED_MODULE_16__/* ["default"].Item */ .Z.Item, {
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(umi__WEBPACK_IMPORTED_MODULE_10__.Link, {
to: "/classrooms/".concat(param === null || param === void 0 ? void 0 : param.coursesId),
children: datas === null || datas === void 0 ? void 0 : datas.course_name
})
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(antd_es_breadcrumb__WEBPACK_IMPORTED_MODULE_16__/* ["default"].Item */ .Z.Item, {
children: datas === null || datas === void 0 ? void 0 : datas.pro
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(antd_es_breadcrumb__WEBPACK_IMPORTED_MODULE_16__/* ["default"].Item */ .Z.Item, {
children: "\u8BA4\u8BC1\u8BE6\u60C5"
})]
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)("div", {
style: {
fontSize: 16,
color: '#333',
fontWeight: 400,
marginBottom: 20
},
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(_ant_design_icons__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Z, {
onClick: function onClick() {
umi__WEBPACK_IMPORTED_MODULE_10__.history.back();
},
style: {
color: '#0152D9'
}
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)("span", {
style: {
marginLeft: 10,
marginRight: 30
},
children: ["\u8BA4\u8BC1\u4E13\u4E1A\uFF1A", datas === null || datas === void 0 ? void 0 : datas.pro]
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)("span", {
style: {
marginRight: 30
},
children: ["\u8BA4\u8BC1\u5C4A\u522B\uFF1A", datas === null || datas === void 0 ? void 0 : datas.year]
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)("span", {
children: ["\u8BA4\u8BC1\u8BFE\u7A0B\uFF1A", datas === null || datas === void 0 ? void 0 : datas.ec_course_name]
})]
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
className: _index_less_modules__WEBPACK_IMPORTED_MODULE_12__/* ["default"].content */ .Z.content,
style: {
minHeight: 72
},
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)("div", {
className: _index_less_modules__WEBPACK_IMPORTED_MODULE_12__/* ["default"].header */ .Z.header,
style: {
marginBottom: 0
},
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)("span", {
className: _index_less_modules__WEBPACK_IMPORTED_MODULE_12__/* ["default"].span */ .Z.span,
style: {
fontSize: '16px',
fontWeight: 500
},
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
background: '#242F49',
height: 12,
width: 4,
marginRight: 8,
display: 'inline-flex'
}
}), " \u8BA4\u8BC1\u8BE6\u60C5"]
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)("div", {
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(antd_es_button__WEBPACK_IMPORTED_MODULE_18__/* ["default"] */ .Z, {
type: "primary",
style: {
marginRight: 15
},
onClick: function onClick() {
umi__WEBPACK_IMPORTED_MODULE_10__.history.push("/engineering/course/setting?course=".concat(datas.ec_course_id, "&ec_major_school_id=").concat(datas === null || datas === void 0 ? void 0 : datas.ec_major_school_id, "&ec_year_id=").concat(datas === null || datas === void 0 ? void 0 : datas.ec_year_id));
},
children: "\u8BFE\u7A0B\u8BBE\u7F6E"
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(antd_es_button__WEBPACK_IMPORTED_MODULE_18__/* ["default"] */ .Z, {
type: "primary",
onClick: function onClick() {
umi__WEBPACK_IMPORTED_MODULE_10__.history.push("/engineering/evaluate/course/".concat(datas === null || datas === void 0 ? void 0 : datas.ec_year_id, "/").concat(datas.ec_course_id));
},
children: "\u8BC4\u4EF7\u8BE6\u60C5"
})]
})]
})
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)("div", {
style: {
background: '#fff',
padding: '25px 20px',
marginTop: 20
},
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
className: _index_less_modules__WEBPACK_IMPORTED_MODULE_12__/* ["default"].title */ .Z.title,
style: {
display: 'flex',
justifyContent: 'space-between'
},
children: "\u8BFE\u7A0B\u76EE\u6807"
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
className: _index_less_modules__WEBPACK_IMPORTED_MODULE_12__/* ["default"].teachcount */ .Z.teachcount,
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(antd_es_table__WEBPACK_IMPORTED_MODULE_19__/* ["default"] */ .Z, {
style: {
marginTop: '20px',
marginBottom: 20
},
dataSource: datas === null || datas === void 0 ? void 0 : datas.standard_data,
bordered: true,
pagination: false,
columns: [{
title: '分项',
dataIndex: 'name',
key: 'name',
render: function render(text, record, index) {
return params.per_page * (params.page - 1) + index + 1;
}
}, {
title: '课程目标',
dataIndex: 'content',
width: '40%',
key: 'content'
}, {
title: '权重',
dataIndex: 'weight',
key: 'weight'
}, {
title: '达成分值',
dataIndex: 'standard_grade',
key: 'standard_grade'
}, {
title: '对应毕业要求指标点',
dataIndex: 'graduation_subitem',
key: 'graduation_subitem',
render: function render(text, record, index) {
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(antd_es_list__WEBPACK_IMPORTED_MODULE_20__/* ["default"] */ .ZP, {
itemLayout: "horizontal",
dataSource: text,
renderItem: function renderItem(item) {
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(antd_es_list__WEBPACK_IMPORTED_MODULE_20__/* ["default"].Item */ .ZP.Item, {
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(antd_es_list__WEBPACK_IMPORTED_MODULE_20__/* ["default"].Item.Meta */ .ZP.Item.Meta, {
style: {
fontSize: 14
},
description: '指标点' + (item === null || item === void 0 ? void 0 : item.index) + '' + (item === null || item === void 0 ? void 0 : item.content)
})
});
}
})
});
}
}]
})
})]
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)("div", {
style: {
background: '#fff',
padding: '25px 20px',
marginTop: 20
},
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
className: _index_less_modules__WEBPACK_IMPORTED_MODULE_12__/* ["default"].title */ .Z.title,
style: {
display: 'flex',
justifyContent: 'space-between'
},
children: "\u8BFE\u7A0B\u76EE\u6807\u8FBE\u6210\u5EA6"
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)("div", {
className: _index_less_modules__WEBPACK_IMPORTED_MODULE_12__/* ["default"].teachcount */ .Z.teachcount,
children: [!(datas !== null && datas !== void 0 && datas.data) && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(_components_NoData__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z, {}), (datas === null || datas === void 0 ? void 0 : datas.data) && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)("div", {
style: {
fontSize: '14px'
},
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)("div", {
style: {
display: 'flex',
background: '#F5F5F5',
height: '58px',
border: '1px solid #E0E2EC',
marginTop: '20px'
},
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
borderRight: '1px solid #E0E2EC',
width: '4%',
textAlign: 'center',
flexShrink: 0,
display: 'flex',
alignItems: 'center',
justifyContent: 'center'
},
children: "\u5206\u9879"
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
borderRight: '1px solid #E0E2EC',
width: '15%',
textAlign: 'center',
flexShrink: 0,
display: 'flex',
alignItems: 'center',
justifyContent: 'center'
},
children: "\u8BFE\u7A0B\u76EE\u6807"
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
borderRight: '1px solid #E0E2EC',
width: '3%',
textAlign: 'center',
flexShrink: 0,
display: 'flex',
alignItems: 'center',
justifyContent: 'center'
},
children: "\u6743\u91CD"
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
borderRight: '1px solid #E0E2EC',
width: '9%',
textAlign: 'center',
flexShrink: 0,
display: 'flex',
alignItems: 'center',
justifyContent: 'center'
},
children: "\u5BF9\u5E94\u6BD5\u4E1A\u8981\u6C42\u6307\u6807\u70B9"
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
height: '100%',
width: '40%',
display: 'flex',
flexDirection: 'column',
flexShrink: 0,
borderRight: '1px solid #E0E2EC'
},
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)("div", {
style: {
width: '100%',
display: 'flex',
flexShrink: 0,
height: '100%'
},
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
width: '30%',
borderRight: '1px solid #E0E2EC',
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
flexShrink: 0,
flexDirection: 'column'
},
children: '考核方式'
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
width: '12.5%',
borderRight: '1px solid #E0E2EC',
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
flexShrink: 0,
flexDirection: 'column',
textAlign: 'center'
},
children: '考核方式占比'
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
width: '45%',
height: '100%'
},
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
borderRight: '1px solid #E0E2EC',
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
flexShrink: 0,
flexDirection: 'column',
height: '100%'
},
children: '考核内容'
})
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
width: '12.5%',
height: '100%'
},
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
flexShrink: 0,
flexDirection: 'column',
height: '100%',
textAlign: 'center'
},
children: '考核内容占比'
})
})]
})
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
borderRight: '1px solid #E0E2EC',
width: '8%',
textAlign: 'center',
flexShrink: 0,
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
textAlignLast: 'center'
},
children: "\u8FBE\u6210\u5206\u503C\uFF08\u767E\u5206\u5236\uFF09"
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
borderRight: '1px solid #E0E2EC',
width: '7%',
textAlign: 'center',
flexShrink: 0,
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
textAlignLast: 'center'
},
children: "\u5B9E\u9645\u5206\u503C\uFF08\u767E\u5206\u5236\uFF09"
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
borderRight: '1px solid #E0E2EC',
width: '6%',
textAlign: 'center',
flexShrink: 0,
display: 'flex',
alignItems: 'center',
justifyContent: 'center'
},
children: "\u8BC4\u4EF7\u7ED3\u679C"
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
width: '8%',
textAlign: 'center',
flexShrink: 0,
display: 'flex',
alignItems: 'center',
justifyContent: 'center'
},
children: "\u8BA1\u7B97\u65F6\u95F4"
})]
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
borderLeft: '1px solid #E0E2EC'
},
children: datas === null || datas === void 0 ? void 0 : (_datas$data = datas.data) === null || _datas$data === void 0 ? void 0 : (_datas$data$ec_course = _datas$data.ec_course_target) === null || _datas$data$ec_course === void 0 ? void 0 : _datas$data$ec_course.map(function (item, index) {
var _item$evaluation, _item$evaluation2, _item$evaluation3, _item$graduation_subi, _item$evaluation4, _item$evaluation5, _datas$data2;
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)("div", {
style: {
height: '100%',
display: 'flex'
},
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
width: '4%',
borderRight: '1px solid #E0E2EC',
borderBottom: '1px solid #E0E2EC',
marginTop: -1,
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
flexShrink: 0
},
children: index + 1
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
className: _index_less_modules__WEBPACK_IMPORTED_MODULE_12__/* ["default"].textone */ .Z.textone,
style: {
width: '15%',
borderRight: '1px solid #E0E2EC',
borderBottom: '1px solid #E0E2EC',
marginTop: -1,
alignItems: 'center',
justifyContent: 'center',
flexShrink: 0,
maxHeight: (item === null || item === void 0 ? void 0 : (_item$evaluation = item.evaluation) === null || _item$evaluation === void 0 ? void 0 : _item$evaluation.length) <= 0 && 43,
lineHeight: (item === null || item === void 0 ? void 0 : (_item$evaluation2 = item.evaluation) === null || _item$evaluation2 === void 0 ? void 0 : _item$evaluation2.length) <= 0 && '43px',
display: (item === null || item === void 0 ? void 0 : (_item$evaluation3 = item.evaluation) === null || _item$evaluation3 === void 0 ? void 0 : _item$evaluation3.length) != 0 && 'flex',
paddingLeft: 10
},
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(antd_es_tooltip__WEBPACK_IMPORTED_MODULE_21__/* ["default"] */ .Z, {
title: item.content,
children: item.content
})
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
width: '3%',
borderRight: '1px solid #E0E2EC',
borderBottom: '1px solid #E0E2EC',
marginTop: -1,
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
flexShrink: 0
},
children: item.weights
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
width: '9%',
borderRight: '1px solid #E0E2EC',
borderBottom: '1px solid #E0E2EC',
marginTop: -1,
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
flexShrink: 0
},
children: item === null || item === void 0 ? void 0 : (_item$graduation_subi = item.graduation_subitem) === null || _item$graduation_subi === void 0 ? void 0 : _item$graduation_subi.map(function (graduation_subitemitem) {
return graduation_subitemitem.name;
}).toString()
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)("div", {
style: {
height: '100%',
width: '40%',
display: 'flex',
flexDirection: 'column',
flexShrink: 0,
borderRight: '1px solid #E0E2EC'
},
children: [(item === null || item === void 0 ? void 0 : (_item$evaluation4 = item.evaluation) === null || _item$evaluation4 === void 0 ? void 0 : _item$evaluation4.length) <= 0 && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)("div", {
style: {
width: '100%',
display: 'flex',
flexShrink: 0
},
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
width: '30%',
borderRight: '1px solid #E0E2EC',
borderBottom: '1px solid #E0E2EC',
marginTop: -1,
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
flexShrink: 0,
flexDirection: 'column'
},
children: '--'
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
width: '12.6%',
borderRight: '1px solid #E0E2EC',
borderBottom: '1px solid #E0E2EC',
marginTop: -1,
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
flexShrink: 0,
flexDirection: 'column'
},
children: '--'
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
width: '45.3%'
},
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
borderRight: '1px solid #E0E2EC',
borderBottom: '1px solid #E0E2EC',
marginTop: -1,
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
flexShrink: 0,
flexDirection: 'column',
height: 43
},
children: '--'
})
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
width: '12.5%'
},
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
borderBottom: '1px solid #E0E2EC',
marginTop: -1,
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
flexShrink: 0,
flexDirection: 'column',
height: 43
},
children: '--'
})
})]
}), item === null || item === void 0 ? void 0 : (_item$evaluation5 = item.evaluation) === null || _item$evaluation5 === void 0 ? void 0 : _item$evaluation5.map(function (evaluationitem, evaluationindex) {
var _evaluationitem$subit, _evaluationitem$subit2, _evaluationitem$subit3, _evaluationitem$subit4;
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)("div", {
style: {
width: '100%',
display: 'flex',
flexShrink: 0
},
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
width: '30%',
borderRight: '1px solid #E0E2EC',
borderBottom: '1px solid #E0E2EC',
marginTop: -1,
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
flexShrink: 0
},
children: (evaluationitem === null || evaluationitem === void 0 ? void 0 : evaluationitem.work_name) || '--'
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
width: '12.5%',
borderRight: '1px solid #E0E2EC',
borderBottom: '1px solid #E0E2EC',
marginTop: -1,
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
flexShrink: 0
},
children: (evaluationitem === null || evaluationitem === void 0 ? void 0 : evaluationitem.weight) || '--'
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)("div", {
style: {
width: '45%'
},
children: [(evaluationitem === null || evaluationitem === void 0 ? void 0 : (_evaluationitem$subit = evaluationitem.subitems) === null || _evaluationitem$subit === void 0 ? void 0 : _evaluationitem$subit.length) <= 0 && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
borderRight: '1px solid #E0E2EC',
borderBottom: '1px solid #E0E2EC',
marginTop: -1,
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
flexShrink: 0,
height: 43
},
children: '--'
}), evaluationitem === null || evaluationitem === void 0 ? void 0 : (_evaluationitem$subit2 = evaluationitem.subitems) === null || _evaluationitem$subit2 === void 0 ? void 0 : _evaluationitem$subit2.map(function (subitems, subitemsindex) {
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(antd_es_tooltip__WEBPACK_IMPORTED_MODULE_21__/* ["default"] */ .Z, {
title: subitems === null || subitems === void 0 ? void 0 : subitems.name,
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
className: _index_less_modules__WEBPACK_IMPORTED_MODULE_12__/* ["default"].textone */ .Z.textone,
style: {
borderRight: '1px solid #E0E2EC',
borderBottom: '1px solid #E0E2EC',
marginTop: -1,
lineHeight: '43px',
alignItems: 'center',
justifyContent: 'center',
flexShrink: 0,
flexDirection: 'column',
height: 43,
paddingLeft: '5px'
},
children: subitems === null || subitems === void 0 ? void 0 : subitems.name
})
});
})]
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)("div", {
style: {
width: '12.5%'
},
children: [(evaluationitem === null || evaluationitem === void 0 ? void 0 : (_evaluationitem$subit3 = evaluationitem.subitems) === null || _evaluationitem$subit3 === void 0 ? void 0 : _evaluationitem$subit3.length) <= 0 && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
borderBottom: '1px solid #E0E2EC',
marginTop: -1,
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
flexShrink: 0,
flexDirection: 'column',
height: 43
},
children: '--'
}), evaluationitem === null || evaluationitem === void 0 ? void 0 : (_evaluationitem$subit4 = evaluationitem.subitems) === null || _evaluationitem$subit4 === void 0 ? void 0 : _evaluationitem$subit4.map(function (subitems, subitemsindex) {
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
borderBottom: '1px solid #E0E2EC',
marginTop: -1,
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
flexShrink: 0,
flexDirection: 'column',
height: 43
},
children: subitems === null || subitems === void 0 ? void 0 : subitems.weight
});
})]
})]
});
})]
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
width: '8%',
borderRight: '1px solid #E0E2EC',
borderBottom: '1px solid #E0E2EC',
marginTop: -1,
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
flexShrink: 0
},
children: item === null || item === void 0 ? void 0 : item.standard_grade
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
width: '7%',
borderRight: '1px solid #E0E2EC',
borderBottom: '1px solid #E0E2EC',
marginTop: -1,
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
flexShrink: 0
},
children: item === null || item === void 0 ? void 0 : item.actual_grade
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
width: '6%',
borderRight: '1px solid #E0E2EC',
borderBottom: '1px solid #E0E2EC',
marginTop: -1,
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
flexShrink: 0,
color: item !== null && item !== void 0 && item.statue ? '#07C160' : '#E30000'
},
children: item !== null && item !== void 0 && item.status ? '达成' : '未达成'
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
width: '8%',
borderRight: '1px solid #E0E2EC',
borderBottom: '1px solid #E0E2EC',
marginTop: -1,
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
flexShrink: 0,
textAlign: 'center'
},
children: datas === null || datas === void 0 ? void 0 : (_datas$data2 = datas.data) === null || _datas$data2 === void 0 ? void 0 : _datas$data2.evaluation_time
})]
});
})
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)("div", {
style: {
display: 'flex',
height: '58px',
border: '1px solid #E0E2EC',
marginTop: -1
},
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
borderRight: '1px solid #E0E2EC',
width: '4%',
textAlign: 'center',
flexShrink: 0,
display: 'flex',
alignItems: 'center',
justifyContent: 'center'
},
children: "\u603B\u5206"
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
borderRight: '1px solid #E0E2EC',
width: '75%',
textAlign: 'center',
flexShrink: 0,
display: 'flex',
alignItems: 'center',
justifyContent: 'center'
}
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)("div", {
style: {
borderRight: '1px solid #E0E2EC',
width: '7%',
textAlign: 'center',
flexShrink: 0,
display: 'flex',
alignItems: 'center',
justifyContent: 'center'
},
children: datas === null || datas === void 0 ? void 0 : (_datas$data3 = datas.data) === null || _datas$data3 === void 0 ? void 0 : _datas$data3.total_score
})]
})]
})]
})]
})]
});
};
/* harmony default export */ __webpack_exports__["default"] = ((0,umi__WEBPACK_IMPORTED_MODULE_10__.connect)(function (_ref2) {
var classroomList = _ref2.classroomList,
loading = _ref2.loading,
globalSetting = _ref2.globalSetting,
user = _ref2.user;
return {
classroomList: classroomList,
globalSetting: globalSetting,
loading: loading.effects,
user: user
};
})(ShixunsListPage));
/***/ }),
/***/ 66859:
/*!*******************************************************************!*\
!*** ./src/pages/Classrooms/Lists/Engineering/index.less?modules ***!
\*******************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__) {
// extracted by mini-css-extract-plugin
/* harmony default export */ __webpack_exports__["Z"] = ({"flex_box_center":"flex_box_center___auROP","flex_space_between":"flex_space_between___zffiE","flex_box_vertical_center":"flex_box_vertical_center___wyNpY","flex_box_center_end":"flex_box_center_end___m_Isr","flex_box_column":"flex_box_column___b27kO","content":"content___QuZGt","header":"header___Lgq9g","span":"span___aqN0x","title":"title___fcmlM","textone":"textone___AoPbl"});
/***/ })
}]);