|
|
|
|
@ -107,7 +107,7 @@ var getStatistic = /*#__PURE__*/function () {
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
var Page = function Page(_ref2) {
|
|
|
|
|
var _StatisticData$data, _user$userInfo2, _user$userInfo3, _user$navigationInfo, _StatisticData$data2, _StatisticData$data3, _StatisticData$data4;
|
|
|
|
|
var _StatisticData$data, _user$userInfo2, _user$userInfo3, _user$navigationInfo, _StatisticData$data2, _StatisticData$data3, _StatisticData$data4, _StatisticData$data5;
|
|
|
|
|
var dispatch = _ref2.dispatch,
|
|
|
|
|
user = _ref2.user,
|
|
|
|
|
pathsDetail = _ref2.pathsDetail,
|
|
|
|
|
@ -263,7 +263,7 @@ var Page = function Page(_ref2) {
|
|
|
|
|
}
|
|
|
|
|
}, [params === null || params === void 0 ? void 0 : params.id]);
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsx)(spin/* default */.Z, {
|
|
|
|
|
spinning: StatisticLoading,
|
|
|
|
|
spinning: StatisticLoading || !!(loading !== null && loading !== void 0 && loading['pathsDetail/getPathsDetail']) || !!(loading !== null && loading !== void 0 && loading["pathsDetail/getStageData"]),
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: "flex flex-col text-14px-rem w-screen h-screen",
|
|
|
|
|
style: {
|
|
|
|
|
@ -319,9 +319,11 @@ var Page = function Page(_ref2) {
|
|
|
|
|
payload: (0,Header/* getCourseParam */.g)()
|
|
|
|
|
})]
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: "flex-1 minW-0 pt-40px-rem flex justify-center gap-30px-rem",
|
|
|
|
|
className: "flex-1 minW-0 pt-40px-rem pb-20px-rem flex justify-center gap-30px-rem",
|
|
|
|
|
style: {
|
|
|
|
|
background: "url(".concat(StatisticData !== null && StatisticData !== void 0 && (_StatisticData$data2 = StatisticData.data) !== null && _StatisticData$data2 !== void 0 && _StatisticData$data2.background_image ? env/* default */.Z.IMG_SERVER + (StatisticData === null || StatisticData === void 0 || (_StatisticData$data3 = StatisticData.data) === null || _StatisticData$data3 === void 0 ? void 0 : _StatisticData$data3.background_image) : __webpack_require__(/*! @/pages/NewPaths/imgs/bg.png */ 4103), ") 0 0 / 100% 100% no-repeat")
|
|
|
|
|
background: "url(".concat(StatisticData !== null && StatisticData !== void 0 && (_StatisticData$data2 = StatisticData.data) !== null && _StatisticData$data2 !== void 0 && _StatisticData$data2.background_image ? env/* default */.Z.IMG_SERVER + (StatisticData === null || StatisticData === void 0 || (_StatisticData$data3 = StatisticData.data) === null || _StatisticData$data3 === void 0 ? void 0 : _StatisticData$data3.background_image) : __webpack_require__(/*! @/pages/NewPaths/imgs/bg.png */ 4103), ") 0 0 / 100% 100% no-repeat"),
|
|
|
|
|
maxHeight: "100vh",
|
|
|
|
|
overflowY: "auto"
|
|
|
|
|
},
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: "flex flex-col gap-14px-rem",
|
|
|
|
|
@ -358,58 +360,57 @@ var Page = function Page(_ref2) {
|
|
|
|
|
})]
|
|
|
|
|
}, item === null || item === void 0 ? void 0 : item.id);
|
|
|
|
|
})
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(spin/* default */.Z, {
|
|
|
|
|
className: "",
|
|
|
|
|
spinning: !!(loading !== null && loading !== void 0 && loading['pathsDetail/getPathsDetail']) || !!(loading !== null && loading !== void 0 && loading["pathsDetail/getStageData"]),
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: "rounded-16px-rem bg-white py-14px-rem px-20px-rem flex flex-col gap-20px-rem h-auto",
|
|
|
|
|
style: {
|
|
|
|
|
width: "600rem",
|
|
|
|
|
backdropFilter: "blur(4rem)"
|
|
|
|
|
},
|
|
|
|
|
children: (stageData === null || stageData === void 0 ? void 0 : stageData.length) > 0 ? /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
|
|
|
|
|
className: "ml-auto",
|
|
|
|
|
type: "primary",
|
|
|
|
|
onClick: function onClick() {
|
|
|
|
|
(0,util/* openNewWindow */.xg)("/paths/".concat(currentData === null || currentData === void 0 ? void 0 : currentData.identifier));
|
|
|
|
|
},
|
|
|
|
|
children: "\u8FDB\u5165\u8BFE\u7A0B"
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(collapse/* default */.Z, {
|
|
|
|
|
className: NewPathsmodules.CollapseStyle,
|
|
|
|
|
bordered: false,
|
|
|
|
|
defaultActiveKey: ['1'],
|
|
|
|
|
style: {
|
|
|
|
|
background: "rgba(0,0,0,0)"
|
|
|
|
|
},
|
|
|
|
|
expandIconPosition: "end",
|
|
|
|
|
items: (stageData === null || stageData === void 0 ? void 0 : stageData.map(function (item, index) {
|
|
|
|
|
var _pathsDetail$detail5, _user$userInfo4, _user$userInfo5;
|
|
|
|
|
return {
|
|
|
|
|
key: item === null || item === void 0 ? void 0 : item.stage_id,
|
|
|
|
|
label: item === null || item === void 0 ? void 0 : item.stage_name,
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(Sort/* default */.Z, {
|
|
|
|
|
pathId: currentData === null || currentData === void 0 ? void 0 : currentData.identifier,
|
|
|
|
|
visibleType: "All",
|
|
|
|
|
subjectHomeworkType: "",
|
|
|
|
|
data: (item === null || item === void 0 ? void 0 : item.items) || [],
|
|
|
|
|
index: index,
|
|
|
|
|
stage_id: item === null || item === void 0 ? void 0 : item.stage_id,
|
|
|
|
|
disabled: true,
|
|
|
|
|
showInfoModal: showInfoModal,
|
|
|
|
|
cust_seq: !!(pathsDetail !== null && pathsDetail !== void 0 && (_pathsDetail$detail5 = pathsDetail.detail) !== null && _pathsDetail$detail5 !== void 0 && _pathsDetail$detail5.cust_seq),
|
|
|
|
|
showVideoPlay: ((_user$userInfo4 = user.userInfo) === null || _user$userInfo4 === void 0 ? void 0 : _user$userInfo4.admin) || ((_user$userInfo5 = user.userInfo) === null || _user$userInfo5 === void 0 ? void 0 : _user$userInfo5.business) || isSHow()
|
|
|
|
|
}),
|
|
|
|
|
style: {
|
|
|
|
|
marginBottom: "16rem",
|
|
|
|
|
borderRadius: "8rem"
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
})) || []
|
|
|
|
|
})]
|
|
|
|
|
}) : /*#__PURE__*/(0,jsx_runtime.jsx)(NoData/* default */.Z, {
|
|
|
|
|
customText: "暂无数据"
|
|
|
|
|
})
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: "rounded-16px-rem ".concat((stageData === null || stageData === void 0 ? void 0 : stageData.length) > 0 || (StatisticData === null || StatisticData === void 0 || (_StatisticData$data5 = StatisticData.data) === null || _StatisticData$data5 === void 0 || (_StatisticData$data5 = _StatisticData$data5.list) === null || _StatisticData$data5 === void 0 ? void 0 : _StatisticData$data5.length) > 0 ? "bg-white" : "", " py-14px-rem px-20px-rem flex flex-col gap-20px-rem h-auto sticky"),
|
|
|
|
|
style: {
|
|
|
|
|
width: "600rem",
|
|
|
|
|
backdropFilter: "blur(4rem)",
|
|
|
|
|
maxHeight: "100vh",
|
|
|
|
|
top: "0",
|
|
|
|
|
overflowY: "auto"
|
|
|
|
|
},
|
|
|
|
|
children: (stageData === null || stageData === void 0 ? void 0 : stageData.length) > 0 ? /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
|
|
|
|
|
className: "ml-auto",
|
|
|
|
|
type: "primary",
|
|
|
|
|
onClick: function onClick() {
|
|
|
|
|
(0,util/* openNewWindow */.xg)("/paths/".concat(currentData === null || currentData === void 0 ? void 0 : currentData.identifier, "?backUrl=").concat(location.pathname));
|
|
|
|
|
},
|
|
|
|
|
children: "\u8FDB\u5165\u8BFE\u7A0B"
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(collapse/* default */.Z, {
|
|
|
|
|
className: NewPathsmodules.CollapseStyle,
|
|
|
|
|
bordered: false,
|
|
|
|
|
defaultActiveKey: ['1'],
|
|
|
|
|
style: {
|
|
|
|
|
background: "rgba(0,0,0,0)"
|
|
|
|
|
},
|
|
|
|
|
expandIconPosition: "end",
|
|
|
|
|
items: (stageData === null || stageData === void 0 ? void 0 : stageData.map(function (item, index) {
|
|
|
|
|
var _pathsDetail$detail5, _user$userInfo4, _user$userInfo5;
|
|
|
|
|
return {
|
|
|
|
|
key: item === null || item === void 0 ? void 0 : item.stage_id,
|
|
|
|
|
label: item === null || item === void 0 ? void 0 : item.stage_name,
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(Sort/* default */.Z, {
|
|
|
|
|
pathId: currentData === null || currentData === void 0 ? void 0 : currentData.identifier,
|
|
|
|
|
visibleType: "All",
|
|
|
|
|
subjectHomeworkType: "",
|
|
|
|
|
data: (item === null || item === void 0 ? void 0 : item.items) || [],
|
|
|
|
|
index: index,
|
|
|
|
|
stage_id: item === null || item === void 0 ? void 0 : item.stage_id,
|
|
|
|
|
disabled: true,
|
|
|
|
|
showInfoModal: showInfoModal,
|
|
|
|
|
cust_seq: !!(pathsDetail !== null && pathsDetail !== void 0 && (_pathsDetail$detail5 = pathsDetail.detail) !== null && _pathsDetail$detail5 !== void 0 && _pathsDetail$detail5.cust_seq),
|
|
|
|
|
showVideoPlay: ((_user$userInfo4 = user.userInfo) === null || _user$userInfo4 === void 0 ? void 0 : _user$userInfo4.admin) || ((_user$userInfo5 = user.userInfo) === null || _user$userInfo5 === void 0 ? void 0 : _user$userInfo5.business) || isSHow()
|
|
|
|
|
}),
|
|
|
|
|
style: {
|
|
|
|
|
marginBottom: "16rem",
|
|
|
|
|
borderRadius: "8rem"
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
})) || []
|
|
|
|
|
})]
|
|
|
|
|
}) : /*#__PURE__*/(0,jsx_runtime.jsx)(NoData/* default */.Z, {
|
|
|
|
|
customText: "暂无数据"
|
|
|
|
|
})
|
|
|
|
|
})]
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(QueryWork/* default */.Z, {
|