|
|
|
|
@ -46,6 +46,51 @@ if (false) {}
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
|
|
/***/ 14726:
|
|
|
|
|
/*!*******************************************************************************************************************!*\
|
|
|
|
|
!*** ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/ExclamationCircleOutlined.js + 1 modules ***!
|
|
|
|
|
\*******************************************************************************************************************/
|
|
|
|
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// EXPORTS
|
|
|
|
|
__webpack_require__.d(__webpack_exports__, {
|
|
|
|
|
Z: function() { return /* binding */ icons_ExclamationCircleOutlined; }
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.26.7@@babel/runtime/helpers/esm/extends.js
|
|
|
|
|
var esm_extends = __webpack_require__(16378);
|
|
|
|
|
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
|
|
|
|
|
var _react_17_0_2_react = __webpack_require__(59301);
|
|
|
|
|
;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons-svg@4.4.2@@ant-design/icons-svg/es/asn/ExclamationCircleOutlined.js
|
|
|
|
|
// This icon file is generated automatically.
|
|
|
|
|
var ExclamationCircleOutlined = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }, { "tag": "path", "attrs": { "d": "M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z" } }] }, "name": "exclamation-circle", "theme": "outlined" };
|
|
|
|
|
/* harmony default export */ var asn_ExclamationCircleOutlined = (ExclamationCircleOutlined);
|
|
|
|
|
|
|
|
|
|
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/components/AntdIcon.js + 3 modules
|
|
|
|
|
var AntdIcon = __webpack_require__(31533);
|
|
|
|
|
;// CONCATENATED MODULE: ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/ExclamationCircleOutlined.js
|
|
|
|
|
|
|
|
|
|
// GENERATE BY ./scripts/generate.ts
|
|
|
|
|
// DON NOT EDIT IT MANUALLY
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var ExclamationCircleOutlined_ExclamationCircleOutlined = function ExclamationCircleOutlined(props, ref) {
|
|
|
|
|
return /*#__PURE__*/_react_17_0_2_react.createElement(AntdIcon/* default */.Z, (0,esm_extends/* default */.Z)({}, props, {
|
|
|
|
|
ref: ref,
|
|
|
|
|
icon: asn_ExclamationCircleOutlined
|
|
|
|
|
}));
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
/** */
|
|
|
|
|
var RefIcon = /*#__PURE__*/_react_17_0_2_react.forwardRef(ExclamationCircleOutlined_ExclamationCircleOutlined);
|
|
|
|
|
if (false) {}
|
|
|
|
|
/* harmony default export */ var icons_ExclamationCircleOutlined = (RefIcon);
|
|
|
|
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
|
|
|
|
/***/ 14831:
|
|
|
|
|
/*!**********************************************************************************************************!*\
|
|
|
|
|
!*** ./node_modules/_@ant-design_icons@5.6.0@@ant-design/icons/es/icons/SolutionOutlined.js + 1 modules ***!
|
|
|
|
|
@ -158,12 +203,14 @@ var authority = __webpack_require__(64118);
|
|
|
|
|
var util = __webpack_require__(95972);
|
|
|
|
|
;// CONCATENATED MODULE: ./src/pages/Materials/MyReceive/Report/index.less?modules
|
|
|
|
|
// extracted by mini-css-extract-plugin
|
|
|
|
|
/* harmony default export */ var Reportmodules = ({"flex_box_center":"flex_box_center___a7sjl","flex_space_between":"flex_space_between___APKgt","flex_box_vertical_center":"flex_box_vertical_center___Zh3FL","flex_box_center_end":"flex_box_center_end___Zz7YG","flex_box_column":"flex_box_column___IODVN","flex-col":"flex-col___PcFoo","flex-row":"flex-row___oldkd","justify-start":"justify-start___lBnpn","justify-center":"justify-center___DVejW","justify-end":"justify-end___DEq1x","justify-evenly":"justify-evenly___kNPqD","justify-around":"justify-around___vAjNp","justify-between":"justify-between___v12Fh","align-start":"align-start___y2bQ2","align-center":"align-center___JL_DN","align-end":"align-end___zPktK","title":"title___f3oUb","export":"export___ujoag","title1_right":"title1_right___U6_dE","userPic":"userPic___VJmp1","userInfo":"userInfo___znHCs","listItem":"listItem___vWp5V","rightInfo":"rightInfo___FzI9g","shixunTitle":"shixunTitle___ZnoQO","shixunWrp":"shixunWrp___Es0Ux","footerBar":"footerBar___dlHjj","footerBarStatic":"footerBarStatic___Up8zw","exitComment":"exitComment___eEq0h","nextComment":"nextComment___lpIAn","modal":"modal___pYDkY","barcode":"barcode___qylCW"});
|
|
|
|
|
/* harmony default export */ var Reportmodules = ({"flex_box_center":"flex_box_center___a7sjl","flex_space_between":"flex_space_between___APKgt","flex_box_vertical_center":"flex_box_vertical_center___Zh3FL","flex_box_center_end":"flex_box_center_end___Zz7YG","flex_box_column":"flex_box_column___IODVN","flex-col":"flex-col___PcFoo","flex-row":"flex-row___oldkd","justify-start":"justify-start___lBnpn","justify-center":"justify-center___DVejW","justify-end":"justify-end___DEq1x","justify-evenly":"justify-evenly___kNPqD","justify-around":"justify-around___vAjNp","justify-between":"justify-between___v12Fh","align-start":"align-start___y2bQ2","align-center":"align-center___JL_DN","align-end":"align-end___zPktK","title":"title___f3oUb","export":"export___ujoag","title1_right":"title1_right___U6_dE","userPic":"userPic___VJmp1","userInfo":"userInfo___znHCs","listItem":"listItem___vWp5V","rightInfo":"rightInfo___FzI9g","shixunTitle":"shixunTitle___ZnoQO","shixunWrp":"shixunWrp___Es0Ux","footerBar":"footerBar___dlHjj","footerBarStatic":"footerBarStatic___Up8zw","exitComment":"exitComment___eEq0h","nextComment":"nextComment___lpIAn","modal":"modal___pYDkY","barcode":"barcode___qylCW","reportWrp":"reportWrp___UBTC6","exportAll":"exportAll___k4JAY","role":"role___q3aLI","reportContent":"reportContent___V4AFb"});
|
|
|
|
|
// EXTERNAL MODULE: ./node_modules/_html2pdf.js@0.10.2@html2pdf.js/dist/html2pdf.js
|
|
|
|
|
var html2pdf = __webpack_require__(65022);
|
|
|
|
|
var html2pdf_default = /*#__PURE__*/__webpack_require__.n(html2pdf);
|
|
|
|
|
// EXTERNAL MODULE: ./src/service/materials.ts
|
|
|
|
|
var materials = __webpack_require__(80231);
|
|
|
|
|
// EXTERNAL MODULE: ./src/components/HeaderNav/index.tsx + 4 modules
|
|
|
|
|
var HeaderNav = __webpack_require__(59827);
|
|
|
|
|
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
|
|
|
|
|
var jsx_runtime = __webpack_require__(37712);
|
|
|
|
|
;// CONCATENATED MODULE: ./src/pages/Materials/MyReceive/Report/index.tsx
|
|
|
|
|
@ -192,6 +239,7 @@ var _excluded = ["shixunHomeworks", "classroomList", "globalSetting", "loading",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var statusType = {
|
|
|
|
|
pending: '待审核',
|
|
|
|
|
approved: '待出库',
|
|
|
|
|
@ -249,6 +297,19 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
|
|
|
|
|
setParams(objectSpread2_default()({}, _params));
|
|
|
|
|
getData();
|
|
|
|
|
}, [location.pathname]);
|
|
|
|
|
(0,_react_17_0_2_react.useEffect)(function () {
|
|
|
|
|
dispatch({
|
|
|
|
|
type: 'globalSetting/headerFooterToggle',
|
|
|
|
|
payload: false
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
// return () => {
|
|
|
|
|
// dispatch({
|
|
|
|
|
// type: 'globalSetting/headerFooterToggle',
|
|
|
|
|
// payload: true,
|
|
|
|
|
// });
|
|
|
|
|
// };
|
|
|
|
|
}, []);
|
|
|
|
|
var scrollView = function scrollView() {
|
|
|
|
|
document.body.scrollIntoView();
|
|
|
|
|
};
|
|
|
|
|
@ -262,7 +323,7 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
|
|
|
|
|
while (1) switch (_context8.prev = _context8.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
// /api/yn_classrooms/receives/{id}.json
|
|
|
|
|
console.log("params:", params);
|
|
|
|
|
console.log('params:', params);
|
|
|
|
|
setSpinning(true);
|
|
|
|
|
_context8.next = 4;
|
|
|
|
|
return (0,materials/* getReceiveReport */.LP)({
|
|
|
|
|
@ -645,198 +706,205 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}];
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsx)("section", {
|
|
|
|
|
className: "bg-fafafa",
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsxs)("section", {
|
|
|
|
|
className: Reportmodules.reportWrp,
|
|
|
|
|
style: {
|
|
|
|
|
position: 'sticky',
|
|
|
|
|
top: 0
|
|
|
|
|
},
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: "edu-container mt10",
|
|
|
|
|
style: {
|
|
|
|
|
paddingBottom: 100
|
|
|
|
|
},
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(skeleton/* default */.Z, {
|
|
|
|
|
loading: spinning,
|
|
|
|
|
active: true,
|
|
|
|
|
avatar: {
|
|
|
|
|
size: 40
|
|
|
|
|
},
|
|
|
|
|
paragraph: {
|
|
|
|
|
rows: 5
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(HeaderNav/* default */.Z, {
|
|
|
|
|
title: "\u7269\u8D44\u7BA1\u7406",
|
|
|
|
|
goBackurl: '/defendcloud'
|
|
|
|
|
// imgurl={require('./img/titleName.png')}
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: Reportmodules.reportContent,
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: "edu-container mt10",
|
|
|
|
|
style: {
|
|
|
|
|
paddingBottom: 100
|
|
|
|
|
},
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: "edu-container",
|
|
|
|
|
children: [!shixunWorkReport.course_id && /*#__PURE__*/(0,jsx_runtime.jsx)("section", {
|
|
|
|
|
className: "animated fadeIn",
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)("aside", {
|
|
|
|
|
className: [Reportmodules.title1, 'mt20'].join(' '),
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
|
|
|
|
|
align: "middle",
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
|
|
|
|
|
flex: 1,
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, {
|
|
|
|
|
to: "/materials/myReceive",
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(ArrowLeftOutlined/* default */.Z, {
|
|
|
|
|
className: "font16 c-black"
|
|
|
|
|
})
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("strong", {
|
|
|
|
|
className: "font20 ml5",
|
|
|
|
|
children: "\u7533\u8BF7\u62A5\u544A"
|
|
|
|
|
})]
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
|
|
|
|
|
className: Reportmodules.title1_right,
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.ZP, {
|
|
|
|
|
className: "ml10",
|
|
|
|
|
onClick: function onClick() {
|
|
|
|
|
return exportReport('');
|
|
|
|
|
},
|
|
|
|
|
loading: isExportLoading,
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
className: "iconfont icon-daochu mr5"
|
|
|
|
|
}), "\u5BFC\u51FAPDF"]
|
|
|
|
|
}), (0,authority/* isAdmin */.GJ)() && (allStudentWorks === null || allStudentWorks === void 0 ? void 0 : allStudentWorks.length) > 1 && /*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.ZP, {
|
|
|
|
|
className: "ml10",
|
|
|
|
|
onClick: function onClick() {
|
|
|
|
|
return exportReport('all');
|
|
|
|
|
},
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
className: "iconfont icon-daochu mr5"
|
|
|
|
|
}), "\u5BFC\u51FA\u5168\u90E8\u5B66\u5458\u5B9E\u8BAD\u62A5\u544A"]
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(skeleton/* default */.Z, {
|
|
|
|
|
loading: spinning,
|
|
|
|
|
active: true,
|
|
|
|
|
avatar: {
|
|
|
|
|
size: 40
|
|
|
|
|
},
|
|
|
|
|
paragraph: {
|
|
|
|
|
rows: 5
|
|
|
|
|
},
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: "edu-container",
|
|
|
|
|
children: [!shixunWorkReport.course_id && /*#__PURE__*/(0,jsx_runtime.jsx)("section", {
|
|
|
|
|
className: "animated fadeIn",
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)("aside", {
|
|
|
|
|
className: [Reportmodules.title1, 'pt20'].join(' '),
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
|
|
|
|
|
align: "middle",
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
|
|
|
|
|
flex: 1,
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, {
|
|
|
|
|
to: "/materials/myReceive",
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(ArrowLeftOutlined/* default */.Z, {
|
|
|
|
|
className: "font16 c-white"
|
|
|
|
|
})
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
className: "font16 c-white ml5",
|
|
|
|
|
children: "\u7533\u8BF7\u62A5\u544A"
|
|
|
|
|
})]
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
|
|
|
|
|
className: Reportmodules.title1_right,
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.ZP, {
|
|
|
|
|
className: "ml10",
|
|
|
|
|
onClick: function onClick() {
|
|
|
|
|
return exportReport('');
|
|
|
|
|
},
|
|
|
|
|
loading: isExportLoading,
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
className: "iconfont icon-daochu mr5"
|
|
|
|
|
}), "\u5BFC\u51FAPDF"]
|
|
|
|
|
}), (0,authority/* isAdmin */.GJ)() && (allStudentWorks === null || allStudentWorks === void 0 ? void 0 : allStudentWorks.length) > 1 && /*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.ZP, {
|
|
|
|
|
className: "ml10",
|
|
|
|
|
onClick: function onClick() {
|
|
|
|
|
return exportReport('all');
|
|
|
|
|
},
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
className: "iconfont icon-daochu mr5"
|
|
|
|
|
}), "\u5BFC\u51FA\u5168\u90E8\u5B66\u5458\u5B9E\u8BAD\u62A5\u544A"]
|
|
|
|
|
})]
|
|
|
|
|
})]
|
|
|
|
|
})]
|
|
|
|
|
})
|
|
|
|
|
})
|
|
|
|
|
})
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("aside", {
|
|
|
|
|
className: "mt30 relative"
|
|
|
|
|
})]
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("aside", {
|
|
|
|
|
className: "mt30 relative"
|
|
|
|
|
})]
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("aside", {
|
|
|
|
|
className: "edu-container bg-white",
|
|
|
|
|
ref: reportElement,
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
id: "export-all",
|
|
|
|
|
ref: reportElementInfo,
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
id: "export-all-1",
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: Reportmodules.title,
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("h1", {
|
|
|
|
|
children: "\u7533\u8BF7\u4EBA\u4FE1\u606F"
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.ZP, {
|
|
|
|
|
className: "mr20",
|
|
|
|
|
type: "primary",
|
|
|
|
|
onClick: function onClick() {
|
|
|
|
|
dispatch({
|
|
|
|
|
type: 'shixunHomeworks/setActionTabs',
|
|
|
|
|
payload: {
|
|
|
|
|
key: '更改点评',
|
|
|
|
|
selectArrs: {
|
|
|
|
|
myshixun_identifier: shixunWorkReport.user_id,
|
|
|
|
|
data: objectSpread2_default()({}, shixunWorkReport)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
className: "".concat(Reportmodules.exportAll, " edu-container"),
|
|
|
|
|
ref: reportElement,
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
id: "export-all",
|
|
|
|
|
ref: reportElementInfo,
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
id: "export-all-1",
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: Reportmodules.userInfo,
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: Reportmodules.title,
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.ZP, {
|
|
|
|
|
type: "primary",
|
|
|
|
|
onClick: function onClick() {
|
|
|
|
|
dispatch({
|
|
|
|
|
type: 'shixunHomeworks/setActionTabs',
|
|
|
|
|
payload: {
|
|
|
|
|
key: '更改点评',
|
|
|
|
|
selectArrs: {
|
|
|
|
|
myshixun_identifier: shixunWorkReport.user_id,
|
|
|
|
|
data: objectSpread2_default()({}, shixunWorkReport)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(SolutionOutlined/* default */.Z, {}), shixunWorkReport.has_shixun_work_comment ? '待审核' : '已审核']
|
|
|
|
|
})
|
|
|
|
|
})
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
|
|
|
|
|
className: Reportmodules.userPic,
|
|
|
|
|
src: "".concat(env/* default */.Z.IMG_SERVER, "/images/").concat(data === null || data === void 0 ? void 0 : data.avatar),
|
|
|
|
|
alt: data === null || data === void 0 ? void 0 : data.user_name
|
|
|
|
|
})
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
|
|
|
|
|
flex: "1",
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
className: "font16 ml20",
|
|
|
|
|
children: data === null || data === void 0 ? void 0 : data.user_name
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
className: Reportmodules.role,
|
|
|
|
|
children: (data === null || data === void 0 ? void 0 : data.role) == 'teacher' ? '教员' : '学员'
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(util/* HomeWorkShixunDetailStatus */.vA, {
|
|
|
|
|
status: shixunWorkReport.compelete_status
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("ul", {
|
|
|
|
|
className: Reportmodules.userInfo,
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("li", {
|
|
|
|
|
children: ["\u5F53\u524D\u72B6\u6001\uFF1A", statusType[data === null || data === void 0 ? void 0 : data.status] || '--']
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("li", {
|
|
|
|
|
children: ["\u7533\u8BF7\u7269\u8D44\u6570\uFF1A", (data === null || data === void 0 ? void 0 : data.apply_total) || '--']
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("li", {
|
|
|
|
|
children: ["\u7533\u8BF7\u65F6\u95F4\uFF1A", dayjs_min_default()((data === null || data === void 0 ? void 0 : data.start_time) || '').format('YYYY-MM-DD HH:mm') || '--']
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("li", {
|
|
|
|
|
children: ["IP\u5730\u5740\uFF1A", (data === null || data === void 0 ? void 0 : data.ip) || '--']
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("li", {
|
|
|
|
|
children: ["\u624B\u673A\u53F7\uFF1A", (data === null || data === void 0 ? void 0 : data.phone) || '--']
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("li", {
|
|
|
|
|
children: ["\u5BA1\u6838\u4EBA\uFF1A", (data === null || data === void 0 ? void 0 : data.review_user_name) || '--']
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("li", {
|
|
|
|
|
children: ["\u7533\u8BF7\u5B9E\u9A8C\u5BA4\uFF1A", (data === null || data === void 0 ? void 0 : data.classroom_title) || '--']
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("li", {
|
|
|
|
|
children: ["\u4F7F\u7528\u5B9E\u9A8C\u5BA4\u5206\u5BA4\uFF1A", (data === null || data === void 0 ? void 0 : data.place_title) || '--']
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("li", {
|
|
|
|
|
style: {
|
|
|
|
|
width: "100%"
|
|
|
|
|
},
|
|
|
|
|
children: ["\u7533\u8BF7\u539F\u56E0\uFF1A", (data === null || data === void 0 ? void 0 : data.reason) || '--']
|
|
|
|
|
})]
|
|
|
|
|
})]
|
|
|
|
|
})]
|
|
|
|
|
})]
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(divider/* default */.Z, {
|
|
|
|
|
style: {
|
|
|
|
|
margin: 0
|
|
|
|
|
}
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("h1", {
|
|
|
|
|
className: Reportmodules.title,
|
|
|
|
|
children: "\u7533\u8BF7\u7269\u8D44"
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("aside", {
|
|
|
|
|
className: "pl30 pr30",
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, {
|
|
|
|
|
dataSource: data === null || data === void 0 ? void 0 : data.substance_details,
|
|
|
|
|
rowKey: function rowKey(r) {
|
|
|
|
|
return r === null || r === void 0 ? void 0 : r.id;
|
|
|
|
|
},
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(SolutionOutlined/* default */.Z, {}), shixunWorkReport.has_shixun_work_comment ? '待审核' : '已审核']
|
|
|
|
|
pagination: false,
|
|
|
|
|
columns: columns
|
|
|
|
|
})
|
|
|
|
|
})]
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(divider/* default */.Z, {
|
|
|
|
|
style: {
|
|
|
|
|
marginTop: 0
|
|
|
|
|
}
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
|
|
|
|
|
className: "pl30 pr30",
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
|
|
|
|
|
className: Reportmodules.userPic,
|
|
|
|
|
src: "".concat(env/* default */.Z.IMG_SERVER, "/images/").concat(data === null || data === void 0 ? void 0 : data.avatar),
|
|
|
|
|
alt: shixunWorkReport.username
|
|
|
|
|
})
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
className: "font16 ml40",
|
|
|
|
|
children: shixunWorkReport.username
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(util/* HomeWorkShixunDetailStatus */.vA, {
|
|
|
|
|
status: shixunWorkReport.compelete_status
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("ul", {
|
|
|
|
|
className: Reportmodules.userInfo,
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("li", {
|
|
|
|
|
children: ["\u5F53\u524D\u72B6\u6001\uFF1A", statusType[data === null || data === void 0 ? void 0 : data.status] || '--']
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("li", {
|
|
|
|
|
children: ["\u7533\u8BF7\u7269\u8D44\u6570\uFF1A", (data === null || data === void 0 ? void 0 : data.apply_total) || '--']
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("li", {
|
|
|
|
|
children: ["\u7533\u8BF7\u65F6\u95F4\uFF1A", dayjs_min_default()((data === null || data === void 0 ? void 0 : data.start_time) || "").format("YYYY-MM-DD HH:mm") || '--']
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("li", {
|
|
|
|
|
children: ["IP\u5730\u5740\uFF1A", (data === null || data === void 0 ? void 0 : data.ip) || '--']
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("li", {
|
|
|
|
|
children: ["\u624B\u673A\u53F7\uFF1A", (data === null || data === void 0 ? void 0 : data.phone) || '--']
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("br", {}), /*#__PURE__*/(0,jsx_runtime.jsxs)("li", {
|
|
|
|
|
children: ["\u7533\u8BF7\u4EBA\uFF1A", (data === null || data === void 0 ? void 0 : data.user_name) || '--']
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("li", {
|
|
|
|
|
children: ["\u7533\u8BF7\u5B9E\u9A8C\u5BA4\uFF1A", (data === null || data === void 0 ? void 0 : data.classroom_title) || '--']
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("li", {
|
|
|
|
|
children: ["\u4F7F\u7528\u5B9E\u9A8C\u5BA4\uFF1A", (data === null || data === void 0 ? void 0 : data.classroom_title) || '--']
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("li", {
|
|
|
|
|
children: ["\u4F7F\u7528\u5B9E\u9A8C\u5BA4\u5206\u5BA4\uFF1A", (data === null || data === void 0 ? void 0 : data.place_title) || '--']
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("br", {}), /*#__PURE__*/(0,jsx_runtime.jsxs)("li", {
|
|
|
|
|
children: ["\u7533\u8BF7\u539F\u56E0\uFF1A", (data === null || data === void 0 ? void 0 : data.reason) || '--']
|
|
|
|
|
})]
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(divider/* default */.Z, {
|
|
|
|
|
style: {
|
|
|
|
|
margin: 0
|
|
|
|
|
}
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("h1", {
|
|
|
|
|
className: Reportmodules.title,
|
|
|
|
|
children: "\u51FA\u5E93\u7EC6\u5219"
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("ul", {
|
|
|
|
|
className: Reportmodules.userInfo,
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("li", {
|
|
|
|
|
children: ["\u5BA1\u6838\u4EBA\uFF1A", (data === null || data === void 0 ? void 0 : data.review_user_name) || '--']
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("li", {
|
|
|
|
|
children: ["\u624B\u673A\u53F7\uFF1A", shixunWorkReport.group_name || '--']
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("li", {
|
|
|
|
|
children: ["IP\uFF1A", (data === null || data === void 0 ? void 0 : data.review_ip) || '--']
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("li", {
|
|
|
|
|
children: ["\u5BA1\u6838\u65F6\u95F4\uFF1A", (data === null || data === void 0 ? void 0 : data.review_time) || '--']
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("li", {
|
|
|
|
|
children: ["\u51FA\u5E93\u65F6\u95F4\uFF1A", (data === null || data === void 0 ? void 0 : data.group_name) || '--']
|
|
|
|
|
})]
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("aside", {
|
|
|
|
|
className: "pl30 pr30",
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, {
|
|
|
|
|
dataSource: data === null || data === void 0 ? void 0 : data.substance_details,
|
|
|
|
|
rowKey: function rowKey(r) {
|
|
|
|
|
return r === null || r === void 0 ? void 0 : r.id;
|
|
|
|
|
},
|
|
|
|
|
pagination: false,
|
|
|
|
|
columns: columns1
|
|
|
|
|
})
|
|
|
|
|
})]
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(divider/* default */.Z, {
|
|
|
|
|
style: {
|
|
|
|
|
margin: 0
|
|
|
|
|
}
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("h1", {
|
|
|
|
|
className: Reportmodules.title,
|
|
|
|
|
children: "\u7533\u8BF7\u7269\u8D44"
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("aside", {
|
|
|
|
|
className: "pl30 pr30",
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, {
|
|
|
|
|
dataSource: data === null || data === void 0 ? void 0 : data.substance_details,
|
|
|
|
|
rowKey: function rowKey(r) {
|
|
|
|
|
return r === null || r === void 0 ? void 0 : r.id;
|
|
|
|
|
},
|
|
|
|
|
pagination: false,
|
|
|
|
|
columns: columns
|
|
|
|
|
})
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(divider/* default */.Z, {
|
|
|
|
|
style: {
|
|
|
|
|
margin: 0
|
|
|
|
|
}
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("h1", {
|
|
|
|
|
className: Reportmodules.title,
|
|
|
|
|
children: "\u51FA\u5E93\u7EC6\u5219"
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("ul", {
|
|
|
|
|
className: Reportmodules.userInfo,
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("li", {
|
|
|
|
|
children: ["\u5BA1\u6838\u4EBA\uFF1A", (data === null || data === void 0 ? void 0 : data.review_user_name) || '--']
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("li", {
|
|
|
|
|
children: ["\u624B\u673A\u53F7\uFF1A", shixunWorkReport.group_name || '--']
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("li", {
|
|
|
|
|
children: ["IP\uFF1A", (data === null || data === void 0 ? void 0 : data.review_ip) || '--']
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("li", {
|
|
|
|
|
children: ["\u5BA1\u6838\u65F6\u95F4\uFF1A", (data === null || data === void 0 ? void 0 : data.review_time) || '--']
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("li", {
|
|
|
|
|
children: ["\u51FA\u5E93\u65F6\u95F4\uFF1A", (data === null || data === void 0 ? void 0 : data.group_name) || '--']
|
|
|
|
|
})]
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("aside", {
|
|
|
|
|
className: "pl30 pr30",
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, {
|
|
|
|
|
dataSource: data === null || data === void 0 ? void 0 : data.substance_details,
|
|
|
|
|
rowKey: function rowKey(r) {
|
|
|
|
|
return r === null || r === void 0 ? void 0 : r.id;
|
|
|
|
|
},
|
|
|
|
|
pagination: false,
|
|
|
|
|
columns: columns1
|
|
|
|
|
})
|
|
|
|
|
})]
|
|
|
|
|
})
|
|
|
|
|
})
|
|
|
|
|
})
|
|
|
|
|
})]
|
|
|
|
|
})]
|
|
|
|
|
})
|
|
|
|
|
})
|
|
|
|
|
})
|
|
|
|
|
})]
|
|
|
|
|
});
|
|
|
|
|
};
|
|
|
|
|
/* harmony default export */ var Report = ((0,_umi_production_exports.connect)(function (_ref6) {
|