autoUpdataFile

dev_local_v9_xingongda
eduauto 2 years ago
parent cf51b4179d
commit f863f48ea7

@ -204,10 +204,7 @@ var ChartDiv = function ChartDiv(_ref2) {
height: 14
}) : item.rank
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "primary-hover ".concat(Overviewmodules.Onerow, " ").concat(Overviewmodules.ChartDivItemName),
style: {
cursor: "pointer"
},
className: "".concat(Overviewmodules.Onerow, " ").concat(Overviewmodules.ChartDivItemName),
onClick: function onClick() {
return index != 0 && (0,util/* openNewWindow */.xg)("/classrooms/".concat(item.identifier));
},
@ -380,11 +377,11 @@ var Page = function Page(_ref3) {
var hanleLearnPieOption = function hanleLearnPieOption() {
// 发布的作业概览
var Legend = {
"课堂实验": "{name|\u8BFE\u5802\u5B9E\u9A8C} {value|".concat((SBody === null || SBody === void 0 ? void 0 : SBody.shixun_homework_size) || 0, "} {percent|").concat(Math.round((SBody === null || SBody === void 0 ? void 0 : SBody.shixun_homework_size) / (SBody === null || SBody === void 0 ? void 0 : SBody.all_work_size) * 100), "%}"),
"分组作业": "{name|\u5206\u7EC4\u4F5C\u4E1A} {value|".concat((SBody === null || SBody === void 0 ? void 0 : SBody.group_homework_size) || 0, "} {percent|").concat(Math.round((SBody === null || SBody === void 0 ? void 0 : SBody.group_homework_size) / (SBody === null || SBody === void 0 ? void 0 : SBody.all_work_size) * 100), "%}"),
"图文作业": "{name|\u56FE\u6587\u4F5C\u4E1A} {value|".concat((SBody === null || SBody === void 0 ? void 0 : SBody.common_homework_size) || 0, "} {percent|").concat(Math.round((SBody === null || SBody === void 0 ? void 0 : SBody.common_homework_size) / (SBody === null || SBody === void 0 ? void 0 : SBody.all_work_size) * 100), "%}"),
"编程作业": "{name|\u7F16\u7A0B\u4F5C\u4E1A} {value|".concat((SBody === null || SBody === void 0 ? void 0 : SBody.program_homework_size) || 0, "} {percent|").concat(Math.round((SBody === null || SBody === void 0 ? void 0 : SBody.program_homework_size) / (SBody === null || SBody === void 0 ? void 0 : SBody.all_work_size) * 100), "%}"),
"在线考试": "{name|\u5728\u7EBF\u8003\u8BD5} {value|".concat((SBody === null || SBody === void 0 ? void 0 : SBody.exercise_size) || 0, "} {percent|").concat(Math.round((SBody === null || SBody === void 0 ? void 0 : SBody.exercise_size) / (SBody === null || SBody === void 0 ? void 0 : SBody.all_work_size) * 100), "%}")
"课堂实验": "{name|\u8BFE\u5802\u5B9E\u9A8C} {value|".concat((SBody === null || SBody === void 0 ? void 0 : SBody.shixun_homework_size) || 0, "} {percent|").concat(Math.round((SBody === null || SBody === void 0 ? void 0 : SBody.shixun_homework_size) / (SBody === null || SBody === void 0 ? void 0 : SBody.all_work_size) * 10000) / 100, "%}"),
"分组作业": "{name|\u5206\u7EC4\u4F5C\u4E1A} {value|".concat((SBody === null || SBody === void 0 ? void 0 : SBody.group_homework_size) || 0, "} {percent|").concat(Math.round((SBody === null || SBody === void 0 ? void 0 : SBody.group_homework_size) / (SBody === null || SBody === void 0 ? void 0 : SBody.all_work_size) * 10000) / 100, "%}"),
"图文作业": "{name|\u56FE\u6587\u4F5C\u4E1A} {value|".concat((SBody === null || SBody === void 0 ? void 0 : SBody.common_homework_size) || 0, "} {percent|").concat(Math.round((SBody === null || SBody === void 0 ? void 0 : SBody.common_homework_size) / (SBody === null || SBody === void 0 ? void 0 : SBody.all_work_size) * 10000) / 100, "%}"),
"编程作业": "{name|\u7F16\u7A0B\u4F5C\u4E1A} {value|".concat((SBody === null || SBody === void 0 ? void 0 : SBody.program_homework_size) || 0, "} {percent|").concat(Math.round((SBody === null || SBody === void 0 ? void 0 : SBody.program_homework_size) / (SBody === null || SBody === void 0 ? void 0 : SBody.all_work_size) * 10000) / 100, "%}"),
"在线考试": "{name|\u5728\u7EBF\u8003\u8BD5} {value|".concat((SBody === null || SBody === void 0 ? void 0 : SBody.exercise_size) || 0, "} {percent|").concat(Math.round((SBody === null || SBody === void 0 ? void 0 : SBody.exercise_size) / (SBody === null || SBody === void 0 ? void 0 : SBody.all_work_size) * 10000) / 100, "%}")
};
return {
title: [{
@ -630,6 +627,7 @@ var Page = function Page(_ref3) {
});
};
(0,_react_17_0_2_react.useEffect)(function () {
(0,util/* setDocumentTitle */.Dk)("教学课堂概览");
getStatisticsHeader();
getStatisticsBody();
getRankList();
@ -824,6 +822,9 @@ var Page = function Page(_ref3) {
}) : item.rank
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
className: "".concat(Overviewmodules.Onerow, " ").concat(Overviewmodules.TeacherChartItemName),
onClick: function onClick() {
(0,util/* openNewWindow */.xg)("/users/".concat(item.login, "/shixuns?category=study"));
},
children: index == 0 ? item.name : /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
placement: "topLeft",
title: item.name,
@ -909,7 +910,10 @@ var Page = function Page(_ref3) {
height: 14
}) : item.rank
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
className: "".concat(Overviewmodules.Onerow, " ").concat(Overviewmodules.StudentChartItemName),
className: " ".concat(Overviewmodules.Onerow, " ").concat(Overviewmodules.StudentChartItemName),
onClick: function onClick() {
(0,util/* openNewWindow */.xg)("/users/".concat(item.login, "/shixuns?category=study"));
},
children: index == 0 ? item.name : /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
placement: "topLeft",
title: item.name,
@ -939,7 +943,7 @@ var Page = function Page(_ref3) {
children: item.finish_num
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
className: Overviewmodules.StudentChartItemUpdow,
children: item.total_score
children: item.total_score / 10000 > 1 ? "".concat(Math.round(item.total_score / 10000 * 100) / 100, "w") : item.total_score
})]
}, index);
})

@ -81,6 +81,10 @@
width: 100px;
font-weight: 600;
text-align: left;
cursor: pointer;
}
.StudentChartItemName___YZBp3:hover {
color: #165DFF;
}
.StudentChartItemNum___ddVoW {
width: calc((400px - 20px - 28px - 100px)/3);
@ -99,8 +103,10 @@
.StudentChartItem___qjJfe:first-child .StudentChartItemNum___ddVoW,
.StudentChartItem___qjJfe:first-child .StudentChartItemUpdow___sXby3 {
font-size: 13px;
color: #707785;
color: #707785 !important;
font-weight: 400;
text-align: center;
cursor: text;
}
.StudentChartItem___qjJfe:last-child {
margin-bottom: 0;
@ -126,6 +132,10 @@
width: 87px;
font-weight: 600;
text-align: left;
cursor: pointer;
}
.TeacherChartItemName___yxOVy:hover {
color: #165DFF;
}
.TeacherChartItemNum___j4L15 {
min-width: 20px;
@ -145,8 +155,10 @@
.TeacherChartItem___T5wG5:first-child .TeacherChartItemNum___j4L15,
.TeacherChartItem___T5wG5:first-child .TeacherChartItemUpdow___WlRN8 {
font-size: 13px;
color: #707785;
color: #707785 !important;
font-weight: 400;
text-align: center;
cursor: text;
}
.TeacherChartItem___T5wG5:last-child {
margin-bottom: 0;
@ -194,6 +206,10 @@
.ChartDivItemName___lz4q4 {
width: 233px;
color: #191919;
cursor: pointer;
}
.ChartDivItemName___lz4q4:hover {
color: #165DFF;
}
.ChartDivItemNum___md18j {
width: 70px;
@ -206,7 +222,8 @@
.ChartDivItem___qexIg:first-child .ChartDivItemNum___md18j,
.ChartDivItem___qexIg:first-child .ChartDivItemName___lz4q4,
.ChartDivItem___qexIg:first-child .ChartDivItemph___v3VLp {
color: #707785;
color: #707785 !important;
cursor: text;
}
.ChartDivItem___qexIg:first-child .ChartDivItemph___v3VLp {
font-weight: 400;

@ -87,7 +87,7 @@ var _react_17_0_2_react = __webpack_require__(59301);
var _umi_production_exports = __webpack_require__(43788);
;// CONCATENATED MODULE: ./src/pages/Paths/Overview/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var Overviewmodules = ({"Onerow":"Onerow___CBpsk","MultiLine":"MultiLine___YwYEh","TitleStyle":"TitleStyle___tiYv6","BorderStyle":"BorderStyle___s6dnS","PathsBg":"PathsBg___MAylB","TopItemNum":"TopItemNum___sD93j","DivInit":"DivInit___jJQuw","ChartStyle":"ChartStyle___wiiU4","LearnChart":"LearnChart___wcomi","HotChart":"HotChart___JiiPF","ClassChart":"ClassChart___XQWTd","LearnChartItem":"LearnChartItem___kFsG7","LearnChartItemRank":"LearnChartItemRank___zeX_M","LearnChartItemData":"LearnChartItemData___y8JRQ","LearnChartItemName":"LearnChartItemName___YuEzM","ChartDiv":"ChartDiv___iTBZi","ChartDivItem":"ChartDivItem___NxNNv","ChartDivItemph":"ChartDivItemph___p5Spo","ChartDivItemName":"ChartDivItemName___J1eMN"});
/* harmony default export */ var Overviewmodules = ({"Onerow":"Onerow___CBpsk","MultiLine":"MultiLine___YwYEh","TitleStyle":"TitleStyle___tiYv6","BorderStyle":"BorderStyle___s6dnS","PathsBg":"PathsBg___MAylB","TopItemNum":"TopItemNum___sD93j","DivInit":"DivInit___jJQuw","ChartStyle":"ChartStyle___wiiU4","LearnChart":"LearnChart___wcomi","HotChart":"HotChart___JiiPF","ClassChart":"ClassChart___XQWTd","LearnChartItem":"LearnChartItem___kFsG7","LearnChartItemRank":"LearnChartItemRank___zeX_M","LearnChartItemName":"LearnChartItemName___YuEzM","LearnChartItemData":"LearnChartItemData___y8JRQ","ChartDiv":"ChartDiv___iTBZi","ChartDivItem":"ChartDivItem___NxNNv","ChartDivItemph":"ChartDivItemph___p5Spo","ChartDivItemName":"ChartDivItemName___J1eMN"});
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/tooltip/index.js + 3 modules
var tooltip = __webpack_require__(6848);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/breadcrumb/index.js + 6 modules
@ -523,9 +523,10 @@ var Page = function Page(_ref) {
var hanleLearnPieOption = function hanleLearnPieOption() {
var _SBody$all_data, _SBody$all_data2, _SBody$all_data3, _SBody$all_data4, _SBody$all_data5, _SBody$all_data6, _SBody$all_data7, _SBody$all_data8, _SBody$all_data9;
// 累计学习总人数统计
var Legend = {
"累计Spoc学习人数": "{name|\u7D2F\u8BA1Spoc\u5B66\u4E60\u4EBA\u6570} {value|".concat((SBody === null || SBody === void 0 || (_SBody$all_data = SBody.all_data) === null || _SBody$all_data === void 0 ? void 0 : _SBody$all_data.spoc_num) || 0, "} {percent|").concat(Math.round((SBody === null || SBody === void 0 || (_SBody$all_data2 = SBody.all_data) === null || _SBody$all_data2 === void 0 ? void 0 : _SBody$all_data2.spoc_num) / (SBody === null || SBody === void 0 || (_SBody$all_data3 = SBody.all_data) === null || _SBody$all_data3 === void 0 ? void 0 : _SBody$all_data3.all_size) * 100), "%}"),
"累计自主学习人数": "{name|\u7D2F\u8BA1\u81EA\u4E3B\u5B66\u4E60\u4EBA\u6570} {value|".concat((SBody === null || SBody === void 0 || (_SBody$all_data4 = SBody.all_data) === null || _SBody$all_data4 === void 0 ? void 0 : _SBody$all_data4.self_learn_num) || 0, "} {percent|").concat(Math.round((SBody === null || SBody === void 0 || (_SBody$all_data5 = SBody.all_data) === null || _SBody$all_data5 === void 0 ? void 0 : _SBody$all_data5.self_learn_num) / (SBody === null || SBody === void 0 || (_SBody$all_data6 = SBody.all_data) === null || _SBody$all_data6 === void 0 ? void 0 : _SBody$all_data6.all_size) * 100), "%}")
"累计Spoc学习人数": "{name|\u7D2F\u8BA1Spoc\u5B66\u4E60\u4EBA\u6570} {value|".concat((SBody === null || SBody === void 0 || (_SBody$all_data = SBody.all_data) === null || _SBody$all_data === void 0 ? void 0 : _SBody$all_data.spoc_num) || 0, "} {percent|").concat(Math.round((SBody === null || SBody === void 0 || (_SBody$all_data2 = SBody.all_data) === null || _SBody$all_data2 === void 0 ? void 0 : _SBody$all_data2.spoc_num) / (SBody === null || SBody === void 0 || (_SBody$all_data3 = SBody.all_data) === null || _SBody$all_data3 === void 0 ? void 0 : _SBody$all_data3.all_size) * 10000) / 100, "%}"),
"累计自主学习人数": "{name|\u7D2F\u8BA1\u81EA\u4E3B\u5B66\u4E60\u4EBA\u6570} {value|".concat((SBody === null || SBody === void 0 || (_SBody$all_data4 = SBody.all_data) === null || _SBody$all_data4 === void 0 ? void 0 : _SBody$all_data4.self_learn_num) || 0, "} {percent|").concat(Math.round((SBody === null || SBody === void 0 || (_SBody$all_data5 = SBody.all_data) === null || _SBody$all_data5 === void 0 ? void 0 : _SBody$all_data5.self_learn_num) / (SBody === null || SBody === void 0 || (_SBody$all_data6 = SBody.all_data) === null || _SBody$all_data6 === void 0 ? void 0 : _SBody$all_data6.all_size) * 10000) / 100, "%}")
};
return {
legend: {
@ -724,6 +725,7 @@ var Page = function Page(_ref) {
};
(0,_react_17_0_2_react.useEffect)(function () {
(0,util/* setDocumentTitle */.Dk)("实践课程概览");
getStatisticsHeader();
getStatisticsBody();
getRankList();
@ -1021,10 +1023,7 @@ var Page = function Page(_ref) {
}) : item.rank
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
flex: "305px",
className: "primary-hover ".concat(Overviewmodules.Onerow, " ").concat(Overviewmodules.LearnChartItemName),
style: {
cursor: "pointer"
},
className: "".concat(Overviewmodules.Onerow, " ").concat(Overviewmodules.LearnChartItemName),
onClick: function onClick() {
index != 0 && (0,util/* openNewWindow */.xg)("/paths/".concat(item.identifier));
},

@ -74,6 +74,12 @@
font-weight: 600;
color: #333;
}
.LearnChartItemName___YuEzM {
cursor: pointer;
}
.LearnChartItemName___YuEzM:hover {
color: #165DFF;
}
.LearnChartItemData___y8JRQ {
text-align: center;
color: #Ea6106;
@ -85,7 +91,8 @@
.LearnChartItem___kFsG7:first-child .LearnChartItemName___YuEzM,
.LearnChartItem___kFsG7:first-child .LearnChartItemData___y8JRQ {
font-weight: 400;
color: #707785;
color: #707785 !important;
cursor: text;
}
.LearnChartItem___kFsG7:last-child {
margin-bottom: 0;

@ -180,10 +180,7 @@ var ChartDiv = function ChartDiv(_ref2) {
height: 14
}) : item.rank
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "primary-hover ".concat(Overviewmodules.Onerow, " ").concat(Overviewmodules.ChartDivItemName),
style: {
cursor: "pointer"
},
className: "".concat(Overviewmodules.Onerow, " ").concat(Overviewmodules.ChartDivItemName),
onClick: function onClick() {
return index != 0 && (0,util/* openNewWindow */.xg)("/shixuns/".concat(item.identifier, "/challenges"));
},
@ -446,11 +443,11 @@ var Page = function Page(_ref3) {
var hanleItemDiffOption = function hanleItemDiffOption() {
// 实践项目难度分布
var Legend = {
"初级": "{name|\u521D\u7EA7} {value|".concat((SBody === null || SBody === void 0 ? void 0 : SBody.primary_size) || 0, "} {percent|").concat(Math.round((SBody === null || SBody === void 0 ? void 0 : SBody.primary_size) / (SBody === null || SBody === void 0 ? void 0 : SBody.shixun_size) * 100), "%}"),
"中级": "{name|\u4E2D\u7EA7} {value|".concat((SBody === null || SBody === void 0 ? void 0 : SBody.middle_size) || 0, "} {percent|").concat(Math.round((SBody === null || SBody === void 0 ? void 0 : SBody.middle_size) / (SBody === null || SBody === void 0 ? void 0 : SBody.shixun_size) * 100), "%}"),
"中高级": "{name|\u4E2D\u9AD8\u7EA7} {value|".concat((SBody === null || SBody === void 0 ? void 0 : SBody.middle_high_size) || 0, "} {percent|").concat(Math.round((SBody === null || SBody === void 0 ? void 0 : SBody.middle_high_size) / (SBody === null || SBody === void 0 ? void 0 : SBody.shixun_size) * 100), "%}"),
"高级": "{name|\u9AD8\u7EA7} {value|".concat((SBody === null || SBody === void 0 ? void 0 : SBody.high_size) || 0, "} {percent|").concat(Math.round((SBody === null || SBody === void 0 ? void 0 : SBody.high_size) / (SBody === null || SBody === void 0 ? void 0 : SBody.shixun_size) * 100), "%}"),
"其它": "{name|\u5176\u5B83} {value|".concat((SBody === null || SBody === void 0 ? void 0 : SBody.other_size) || 0, "} {percent|").concat(Math.round((SBody === null || SBody === void 0 ? void 0 : SBody.other_size) / (SBody === null || SBody === void 0 ? void 0 : SBody.shixun_size) * 100), "%}")
"初级": "{name|\u521D\u7EA7} {value|".concat((SBody === null || SBody === void 0 ? void 0 : SBody.primary_size) || 0, "} {percent|").concat(Math.round((SBody === null || SBody === void 0 ? void 0 : SBody.primary_size) / (SBody === null || SBody === void 0 ? void 0 : SBody.shixun_size) * 10000) / 100, "%}"),
"中级": "{name|\u4E2D\u7EA7} {value|".concat((SBody === null || SBody === void 0 ? void 0 : SBody.middle_size) || 0, "} {percent|").concat(Math.round((SBody === null || SBody === void 0 ? void 0 : SBody.middle_size) / (SBody === null || SBody === void 0 ? void 0 : SBody.shixun_size) * 10000) / 100, "%}"),
"中高级": "{name|\u4E2D\u9AD8\u7EA7} {value|".concat((SBody === null || SBody === void 0 ? void 0 : SBody.middle_high_size) || 0, "} {percent|").concat(Math.round((SBody === null || SBody === void 0 ? void 0 : SBody.middle_high_size) / (SBody === null || SBody === void 0 ? void 0 : SBody.shixun_size) * 10000) / 100, "%}"),
"高级": "{name|\u9AD8\u7EA7} {value|".concat((SBody === null || SBody === void 0 ? void 0 : SBody.high_size) || 0, "} {percent|").concat(Math.round((SBody === null || SBody === void 0 ? void 0 : SBody.high_size) / (SBody === null || SBody === void 0 ? void 0 : SBody.shixun_size) * 10000) / 100, "%}"),
"其它": "{name|\u5176\u5B83} {value|".concat((SBody === null || SBody === void 0 ? void 0 : SBody.other_size) || 0, "} {percent|").concat(Math.round((SBody === null || SBody === void 0 ? void 0 : SBody.other_size) / (SBody === null || SBody === void 0 ? void 0 : SBody.shixun_size) * 10000) / 100, "%}")
};
return {
title: [{
@ -476,7 +473,7 @@ var Page = function Page(_ref3) {
fontSize: 12,
fontFamily: "微软雅黑",
color: '#70727E',
width: 100
width: 80
},
value: {
fontFamily: "DINPro, DINPro",
@ -701,6 +698,7 @@ var Page = function Page(_ref3) {
});
};
(0,_react_17_0_2_react.useEffect)(function () {
(0,util/* setDocumentTitle */.Dk)("实践项目概览");
getStatisticsHeader();
getStatisticsBody();
getRankList();

@ -136,6 +136,10 @@
.ChartDivItemName___dAox1 {
width: calc(376px - 133px);
color: #191919;
cursor: pointer;
}
.ChartDivItemName___dAox1:hover {
color: #165DFF;
}
.ChartDivItemNum___zgfY2 {
width: 49px;
@ -149,6 +153,7 @@
.ChartDivItem____ww5n:first-child .ChartDivItemName___dAox1,
.ChartDivItem____ww5n:first-child .ChartDivItemph___yGQYQ {
color: #707785;
cursor: text;
}
.ChartDivItem____ww5n:first-child .ChartDivItemph___yGQYQ {
font-weight: 400;

Loading…
Cancel
Save