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

272 lines
27 KiB

"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[6963],{
/***/ 36361:
/*!*******************************************************************!*\
!*** ./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"});
/***/ }),
/***/ 87526:
/*!*****************************************!*\
!*** ./src/components/NoData/index.tsx ***!
\*****************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 59301);
/* harmony import */ var _assets_images_icons_nodata_png__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/assets/images/icons/nodata.png */ 93314);
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! antd */ 3113);
var __defProp = Object.defineProperty;
var __defProps = Object.defineProperties;
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
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;
};
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
const noData = ({
img,
buttonProps = {},
styles = {},
customText,
ButtonText,
ButtonClick,
Buttonclass,
ButtonTwo,
imgStyles,
loading = false
}) => {
return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement(
"section",
{
className: "tc animated fadeIn",
style: __spreadValues(__spreadValues({}, { color: "#999", margin: "100px auto", visibility: loading ? "hidden" : "visible" }), styles)
},
/* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("img", { src: img || _assets_images_icons_nodata_png__WEBPACK_IMPORTED_MODULE_1__, style: __spreadProps(__spreadValues({}, imgStyles), { pointerEvents: "none", userSelect: "none" }) }),
/* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("p", { className: "mt20 font14" }, customText || "\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),
ButtonText && /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement(antd__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP, __spreadValues({ className: Buttonclass, onClick: ButtonClick }, buttonProps), ButtonText),
ButtonTwo && ButtonTwo
);
};
/* harmony default export */ __webpack_exports__.Z = (noData);
/***/ }),
/***/ 95772:
/*!*****************************************************************!*\
!*** ./src/pages/Classrooms/Lists/Engineering/Detail/index.tsx ***!
\*****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 59301);
/* harmony import */ var umi__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! umi */ 67866);
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! antd */ 78241);
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! antd */ 66104);
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! antd */ 3113);
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! antd */ 14491);
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! antd */ 73755);
/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! antd */ 6848);
/* harmony import */ var _ant_design_icons__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @ant-design/icons */ 22596);
/* harmony import */ var _utils_fetch__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/utils/fetch */ 51165);
/* harmony import */ var _index_less_modules__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../index.less?modules */ 36361);
/* harmony import */ var _components_NoData__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/components/NoData */ 87526);
var __async = (__this, __arguments, generator) => {
return new Promise((resolve, reject) => {
var fulfilled = (value) => {
try {
step(generator.next(value));
} catch (e) {
reject(e);
}
};
var rejected = (value) => {
try {
step(generator.throw(value));
} catch (e) {
reject(e);
}
};
var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
step((generator = generator.apply(__this, __arguments)).next());
});
};
const ShixunsListPage = ({
classroomList,
loading,
user,
dispatch,
location
}) => {
var _a, _b, _c;
const [searchParams] = (0,umi__WEBPACK_IMPORTED_MODULE_1__.useSearchParams)();
const [datas, setdatas] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)([]);
let [params, setparams] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)({
zydatas: [],
jbdatas: [],
kcdatas: [],
page: 1,
per_page: 20
});
const param = (0,umi__WEBPACK_IMPORTED_MODULE_1__.useParams)();
const [form] = antd__WEBPACK_IMPORTED_MODULE_5__["default"].useForm();
(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
getDatas();
}, []);
function getDatas() {
return __async(this, null, function* () {
let res = yield (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .ZP)(`/api/ec_courses/${searchParams.get("kc")}/course_evaluations/course_index.json`, {
method: "get",
params: {
course_id: param == null ? void 0 : param.coursesId,
ec_course_id: searchParams.get("kc")
}
});
setdatas(res);
});
}
return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { style: { width: 1200, margin: "0 auto" } }, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement(antd__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z, { separator: ">", style: { marginTop: 15, marginBottom: 10 } }, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement(antd__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z.Item, null, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement(umi__WEBPACK_IMPORTED_MODULE_1__.Link, { to: `/classrooms/${param == null ? void 0 : param.coursesId}` }, datas == null ? void 0 : datas.course_name)), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement(antd__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z.Item, null, datas == null ? void 0 : datas.pro), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement(antd__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Z.Item, null, "\u8BA4\u8BC1\u8BE6\u60C5")), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { style: { fontSize: 16, color: "#333", fontWeight: 400, marginBottom: 20 } }, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement(_ant_design_icons__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z, { onClick: () => {
umi__WEBPACK_IMPORTED_MODULE_1__.history.back();
}, style: { color: "#0152D9" } }), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { style: { marginLeft: 10, marginRight: 30 } }, "\u8BA4\u8BC1\u4E13\u4E1A\uFF1A", datas == null ? void 0 : datas.pro), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { style: { marginRight: 30 } }, "\u8BA4\u8BC1\u5C4A\u522B\uFF1A", datas == null ? void 0 : datas.year), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", null, "\u8BA4\u8BC1\u8BFE\u7A0B\uFF1A", datas == null ? void 0 : datas.ec_course_name)), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z.content, style: { minHeight: 72 } }, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z.header, style: { marginBottom: 0 } }, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("span", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z.span, style: { fontSize: "16px", fontWeight: 500 } }, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { style: { background: "#242F49", height: 12, width: 4, marginRight: 8, display: "inline-flex" } }), " \u8BA4\u8BC1\u8BE6\u60C5"), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", null, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement(
antd__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .ZP,
{
type: "primary",
style: { marginRight: 15 },
onClick: () => {
umi__WEBPACK_IMPORTED_MODULE_1__.history.push(`/engineering/course/setting?course=${datas.ec_course_id}&ec_major_school_id=${datas == null ? void 0 : datas.ec_major_school_id}&ec_year_id=${datas == null ? void 0 : datas.ec_year_id}`);
}
},
"\u8BFE\u7A0B\u8BBE\u7F6E"
), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement(
antd__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .ZP,
{
type: "primary",
onClick: () => {
umi__WEBPACK_IMPORTED_MODULE_1__.history.push(
`/engineering/evaluate/course/${datas == null ? void 0 : datas.ec_year_id}/${datas.ec_course_id}`
);
}
},
"\u8BC4\u4EF7\u8BE6\u60C5"
)))), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { style: { background: "#fff", padding: "25px 20px", marginTop: 20 } }, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement(
"div",
{
className: _index_less_modules__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z.title,
style: { display: "flex", justifyContent: "space-between" }
},
"\u8BFE\u7A0B\u76EE\u6807"
), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z.teachcount }, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement(
antd__WEBPACK_IMPORTED_MODULE_9__["default"],
{
style: { marginTop: "20px", marginBottom: 20 },
dataSource: datas == null ? void 0 : datas.standard_data,
bordered: true,
pagination: false,
columns: [
{
title: "\u5206\u9879",
dataIndex: "name",
key: "name",
render: (text, record, index) => params.per_page * (params.page - 1) + index + 1
},
{
title: "\u8BFE\u7A0B\u76EE\u6807",
dataIndex: "content",
width: "40%",
key: "content"
},
{
title: "\u6743\u91CD",
dataIndex: "weight",
key: "weight"
},
{
title: "\u8FBE\u6210\u5206\u503C",
dataIndex: "standard_grade",
key: "standard_grade"
},
{
title: "\u5BF9\u5E94\u6BD5\u4E1A\u8981\u6C42\u6307\u6807\u70B9",
dataIndex: "graduation_subitem",
key: "graduation_subitem",
render: (text, record, index) => /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", null, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement(
antd__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z,
{
itemLayout: "horizontal",
dataSource: text,
renderItem: (item) => /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement(antd__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z.Item, null, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement(
antd__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z.Item.Meta,
{
style: { fontSize: 14 },
description: "\u6307\u6807\u70B9" + (item == null ? void 0 : item.index) + "\uFF1A" + (item == null ? void 0 : item.content)
}
))
}
))
}
]
}
))), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { style: { background: "#fff", padding: "25px 20px", marginTop: 20 } }, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement(
"div",
{
className: _index_less_modules__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z.title,
style: { display: "flex", justifyContent: "space-between" }
},
"\u8BFE\u7A0B\u76EE\u6807\u8FBE\u6210\u5EA6"
), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z.teachcount }, !(datas == null ? void 0 : datas.data) && /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement(_components_NoData__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z, null), (datas == null ? void 0 : datas.data) && /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { style: { fontSize: "14px" } }, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { style: { display: "flex", background: "#F5F5F5", height: "58px", border: "1px solid #E0E2EC", marginTop: "20px" } }, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { style: { borderRight: "1px solid #E0E2EC", width: "4%", textAlign: "center", flexShrink: 0, display: "flex", alignItems: "center", justifyContent: "center" } }, "\u5206\u9879"), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { style: { borderRight: "1px solid #E0E2EC", width: "15%", textAlign: "center", flexShrink: 0, display: "flex", alignItems: "center", justifyContent: "center" } }, "\u8BFE\u7A0B\u76EE\u6807"), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { style: { borderRight: "1px solid #E0E2EC", width: "3%", textAlign: "center", flexShrink: 0, display: "flex", alignItems: "center", justifyContent: "center" } }, "\u6743\u91CD"), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { style: { borderRight: "1px solid #E0E2EC", width: "9%", textAlign: "center", flexShrink: 0, display: "flex", alignItems: "center", justifyContent: "center" } }, "\u5BF9\u5E94\u6BD5\u4E1A\u8981\u6C42\u6307\u6807\u70B9"), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { style: { height: "100%", width: "40%", display: "flex", flexDirection: "column", flexShrink: 0, borderRight: "1px solid #E0E2EC" } }, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { style: { width: "100%", display: "flex", flexShrink: 0, height: "100%" } }, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { style: { width: "30%", borderRight: "1px solid #E0E2EC", display: "flex", alignItems: "center", justifyContent: "center", flexShrink: 0, flexDirection: "column" } }, "\u8003\u6838\u65B9\u5F0F"), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { style: { width: "12.5%", borderRight: "1px solid #E0E2EC", display: "flex", alignItems: "center", justifyContent: "center", flexShrink: 0, flexDirection: "column", textAlign: "center" } }, "\u8003\u6838\u65B9\u5F0F\u5360\u6BD4"), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { style: { width: "45%", height: "100%" } }, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { style: { borderRight: "1px solid #E0E2EC", display: "flex", alignItems: "center", justifyContent: "center", flexShrink: 0, flexDirection: "column", height: "100%" } }, "\u8003\u6838\u5185\u5BB9")), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { style: { width: "12.5%", height: "100%" } }, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { style: { display: "flex", alignItems: "center", justifyContent: "center", flexShrink: 0, flexDirection: "column", height: "100%", textAlign: "center" } }, "\u8003\u6838\u5185\u5BB9\u5360\u6BD4")))), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { style: { borderRight: "1px solid #E0E2EC", width: "8%", textAlign: "center", flexShrink: 0, display: "flex", alignItems: "center", justifyContent: "center", textAlignLast: "center" } }, "\u8FBE\u6210\u5206\u503C\uFF08\u767E\u5206\u5236\uFF09"), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { style: { borderRight: "1px solid #E0E2EC", width: "7%", textAlign: "center", flexShrink: 0, display: "flex", alignItems: "center", justifyContent: "center", textAlignLast: "center" } }, "\u5B9E\u9645\u5206\u503C\uFF08\u767E\u5206\u5236\uFF09"), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { style: { borderRight: "1px solid #E0E2EC", width: "6%", textAlign: "center", flexShrink: 0, display: "flex", alignItems: "center", justifyContent: "center" } }, "\u8BC4\u4EF7\u7ED3\u679C"), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { style: { width: "8%", textAlign: "center", flexShrink: 0, display: "flex", alignItems: "center", justifyContent: "center" } }, "\u8BA1\u7B97\u65F6\u95F4")), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { style: { borderLeft: "1px solid #E0E2EC" } }, (_b = (_a = datas == null ? void 0 : datas.data) == null ? void 0 : _a.ec_course_target) == null ? void 0 : _b.map((item, index) => {
var _a2, _b2, _c2, _d, _e, _f, _g;
return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { style: { height: "100%", display: "flex" } }, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { style: { width: "4%", borderRight: "1px solid #E0E2EC", borderBottom: "1px solid #E0E2EC", marginTop: -1, display: "flex", alignItems: "center", justifyContent: "center", flexShrink: 0 } }, index + 1), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Z.textone, style: { width: "15%", borderRight: "1px solid #E0E2EC", borderBottom: "1px solid #E0E2EC", marginTop: -1, alignItems: "center", justifyContent: "center", flexShrink: 0, maxHeight: ((_a2 = item == null ? void 0 : item.evaluation) == null ? void 0 : _a2.length) <= 0 && 43, lineHeight: ((_b2 = item == null ? void 0 : item.evaluation) == null ? void 0 : _b2.length) <= 0 && "43px", display: ((_c2 = item == null ? void 0 : item.evaluation) == null ? void 0 : _c2.length) != 0 && "flex", paddingLeft: 10 } }, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement(antd__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z, { title: item.content }, item.content)), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { style: { width: "3%", borderRight: "1px solid #E0E2EC", borderBottom: "1px solid #E0E2EC", marginTop: -1, display: "flex", alignItems: "center", justifyContent: "center", flexShrink: 0 } }, item.weights), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { style: { width: "9%", borderRight: "1px solid #E0E2EC", borderBottom: "1px solid #E0E2EC", marginTop: -1, display: "flex", alignItems: "center", justifyContent: "center", flexShrink: 0 } }, (_d = item == null ? void 0 : item.graduation_subitem) == null ? void 0 : _d.map((graduation_subitemitem) => graduation_subitemitem.name).toString()), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { style: { height: "100%", width: "40%", display: "flex", flexDirection: "column", flexShrink: 0, borderRight: "1px solid #E0E2EC" } }, ((_e = item == null ? void 0 : item.evaluation) == null ? void 0 : _e.length) <= 0 && /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { style: { width: "100%", display: "flex", flexShrink: 0 } }, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { style: { width: "30%", borderRight: "1px solid #E0E2EC", borderBottom: "1px solid #E0E2EC", marginTop: -1, display: "flex", alignItems: "center", justifyContent: "center", flexShrink: 0, flexDirection: "column" } }, "--"), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("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" } }, "--"), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { style: { width: "45.3%" } }, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { style: { borderRight: "1px solid #E0E2EC", borderBottom: "1px solid #E0E2EC", marginTop: -1, display: "flex", alignItems: "center", justifyContent: "center", flexShrink: 0, flexDirection: "column", height: 43 } }, "--")), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { style: { width: "12.5%" } }, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { style: { borderBottom: "1px solid #E0E2EC", marginTop: -1, display: "flex", alignItems: "center", justifyContent: "center", flexShrink: 0, flexDirection: "column", height: 43 } }, "--"))), (_f = item == null ? void 0 : item.evaluation) == null ? void 0 : _f.map((evaluationitem, evaluationindex) => {
var _a3, _b3, _c3, _d2;
return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { style: { width: "100%", display: "flex", flexShrink: 0 } }, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { style: { width: "30%", borderRight: "1px solid #E0E2EC", borderBottom: "1px solid #E0E2EC", marginTop: -1, display: "flex", alignItems: "center", justifyContent: "center", flexShrink: 0 } }, (evaluationitem == null ? void 0 : evaluationitem.work_name) || "--"), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { style: { width: "12.5%", borderRight: "1px solid #E0E2EC", borderBottom: "1px solid #E0E2EC", marginTop: -1, display: "flex", alignItems: "center", justifyContent: "center", flexShrink: 0 } }, (evaluationitem == null ? void 0 : evaluationitem.weight) || "--"), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { style: { width: "45%" } }, ((_a3 = evaluationitem == null ? void 0 : evaluationitem.subitems) == null ? void 0 : _a3.length) <= 0 && /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { style: { borderRight: "1px solid #E0E2EC", borderBottom: "1px solid #E0E2EC", marginTop: -1, display: "flex", alignItems: "center", justifyContent: "center", flexShrink: 0, height: 43 } }, "--"), (_b3 = evaluationitem == null ? void 0 : evaluationitem.subitems) == null ? void 0 : _b3.map((subitems, subitemsindex) => {
return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement(antd__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z, { title: subitems == null ? void 0 : subitems.name }, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { className: _index_less_modules__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .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" } }, subitems == null ? void 0 : subitems.name));
})), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { style: { width: "12.5%" } }, ((_c3 = evaluationitem == null ? void 0 : evaluationitem.subitems) == null ? void 0 : _c3.length) <= 0 && /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { style: { borderBottom: "1px solid #E0E2EC", marginTop: -1, display: "flex", alignItems: "center", justifyContent: "center", flexShrink: 0, flexDirection: "column", height: 43 } }, "--"), (_d2 = evaluationitem == null ? void 0 : evaluationitem.subitems) == null ? void 0 : _d2.map((subitems, subitemsindex) => {
return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { style: { borderBottom: "1px solid #E0E2EC", marginTop: -1, display: "flex", alignItems: "center", justifyContent: "center", flexShrink: 0, flexDirection: "column", height: 43 } }, subitems == null ? void 0 : subitems.weight);
})));
})), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { style: { width: "8%", borderRight: "1px solid #E0E2EC", borderBottom: "1px solid #E0E2EC", marginTop: -1, display: "flex", alignItems: "center", justifyContent: "center", flexShrink: 0 } }, item == null ? void 0 : item.standard_grade), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { style: { width: "7%", borderRight: "1px solid #E0E2EC", borderBottom: "1px solid #E0E2EC", marginTop: -1, display: "flex", alignItems: "center", justifyContent: "center", flexShrink: 0 } }, item == null ? void 0 : item.actual_grade), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("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 ? void 0 : item.statue) ? "#07C160" : "#E30000" } }, (item == null ? void 0 : item.status) ? "\u8FBE\u6210" : "\u672A\u8FBE\u6210"), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { style: { width: "8%", borderRight: "1px solid #E0E2EC", borderBottom: "1px solid #E0E2EC", marginTop: -1, display: "flex", alignItems: "center", justifyContent: "center", flexShrink: 0, textAlign: "center" } }, (_g = datas == null ? void 0 : datas.data) == null ? void 0 : _g.evaluation_time));
})), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { style: { display: "flex", height: "58px", border: "1px solid #E0E2EC", marginTop: -1 } }, /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { style: { borderRight: "1px solid #E0E2EC", width: "4%", textAlign: "center", flexShrink: 0, display: "flex", alignItems: "center", justifyContent: "center" } }, "\u603B\u5206"), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { style: { borderRight: "1px solid #E0E2EC", width: "75%", textAlign: "center", flexShrink: 0, display: "flex", alignItems: "center", justifyContent: "center" } }), /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement("div", { style: { borderRight: "1px solid #E0E2EC", width: "7%", textAlign: "center", flexShrink: 0, display: "flex", alignItems: "center", justifyContent: "center" } }, (_c = datas == null ? void 0 : datas.data) == null ? void 0 : _c.total_score))))));
};
/* harmony default export */ __webpack_exports__["default"] = ((0,umi__WEBPACK_IMPORTED_MODULE_1__.connect)(
({
classroomList,
loading,
globalSetting,
user
}) => ({
classroomList,
globalSetting,
loading: loading.effects,
user
})
)(ShixunsListPage));
/***/ })
}]);