|
|
|
|
@ -5337,7 +5337,7 @@ var StudentTeam_competitionsPage = function competitionsPage(_ref) {
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
style: {
|
|
|
|
|
display: 'flex',
|
|
|
|
|
marginBottom: 20
|
|
|
|
|
marginBottom: 10
|
|
|
|
|
},
|
|
|
|
|
children: [(is_manager || is_member) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
style: {
|
|
|
|
|
@ -5438,7 +5438,7 @@ var StudentTeam_competitionsPage = function competitionsPage(_ref) {
|
|
|
|
|
}), (params === null || params === void 0 ? void 0 : params.isteam) === "mine" && my_teams && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
|
|
|
|
|
children: [showUpdate && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
style: {
|
|
|
|
|
margin: '-30px 0 20px 0',
|
|
|
|
|
margin: '0px 0 20px 0',
|
|
|
|
|
padding: '4px 15px',
|
|
|
|
|
background: 'rgba(255,157,24,0.1)',
|
|
|
|
|
fontSize: '12px',
|
|
|
|
|
@ -13869,9 +13869,27 @@ var previewImg_questionsPage = function questionsPage(_ref) {
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: previewImgmodules.paiming,
|
|
|
|
|
children: "\u7B2C1\u540D"
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: previewImgmodules.tdcy,
|
|
|
|
|
children: "\u56E2\u961F\u6210\u5458\uFF1A\u6210\u54581 \u6210\u54582 \u6210\u54583 \u6210\u54584"
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
children: "\u56E2\u961F\u6210\u5458\uFF1A"
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
children: "\u961F \u957F"
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
className: "ml20",
|
|
|
|
|
children: "\u6210\u54581"
|
|
|
|
|
})]
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
children: "\u961F \u5458"
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
className: "ml20",
|
|
|
|
|
children: "\u6210\u54582\u3001\u6210\u54583\u3001\u6210\u54584"
|
|
|
|
|
})]
|
|
|
|
|
})]
|
|
|
|
|
})]
|
|
|
|
|
}), (zsInfo === null || zsInfo === void 0 ? void 0 : zsInfo.show_number) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: previewImgmodules.zsbh,
|
|
|
|
|
children: ["\u8BC1\u4E66\u7F16\u53F7\uFF1A", zsInfo === null || zsInfo === void 0 ? void 0 : zsInfo.number]
|
|
|
|
|
@ -15195,7 +15213,7 @@ var Ranking_competitionsPage = function competitionsPage(_ref) {
|
|
|
|
|
paddingLeft: '16px'
|
|
|
|
|
},
|
|
|
|
|
children: competitions === null || competitions === void 0 || (_competitions$competi13 = competitions.competition) === null || _competitions$competi13 === void 0 || (_competitions$competi13 = _competitions$competi13.competition_stage_sections) === null || _competitions$competi13 === void 0 || (_competitions$competi13 = _competitions$competi13.filter(function (item) {
|
|
|
|
|
return item === null || item === void 0 ? void 0 : item.hide_rank;
|
|
|
|
|
return !(item !== null && item !== void 0 && item.hide_rank);
|
|
|
|
|
})) === null || _competitions$competi13 === void 0 ? void 0 : _competitions$competi13.map(function (item) {
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsx)("li", {
|
|
|
|
|
className: (item === null || item === void 0 ? void 0 : item.id) === selectedKeys ? Rankingmodules.muitemselectactive : Rankingmodules.muitemselect,
|
|
|
|
|
@ -16141,7 +16159,7 @@ var html2pdf_default = /*#__PURE__*/__webpack_require__.n(html2pdf);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var Certificate_previewImg_questionsPage = function questionsPage(_ref) {
|
|
|
|
|
var _classroomList$action7, _classroomList$action8, _classroomList$action9, _zsMyInfo$bg, _zsMyInfo$bg2, _zsMyInfo$unit_logo, _zsMyInfo$unit_logo2, _zsMyInfo$cooperating, _zsMyInfo$cooperating2, _classroomList$action10, _classroomList$action11, _member$map, _zsMyInfo$qr_code, _zsMyInfo$qr_code2;
|
|
|
|
|
var _classroomList$action7, _classroomList$action8, _classroomList$action9, _zsMyInfo$bg, _zsMyInfo$bg2, _zsMyInfo$unit_logo, _zsMyInfo$unit_logo2, _zsMyInfo$cooperating, _zsMyInfo$cooperating2, _classroomList$action10, _classroomList$action11, _member$find, _member$filter, _member$filter2, _zsMyInfo$qr_code, _zsMyInfo$qr_code2;
|
|
|
|
|
var competitions = _ref.competitions,
|
|
|
|
|
shixunHomeworks = _ref.shixunHomeworks,
|
|
|
|
|
globalSetting = _ref.globalSetting,
|
|
|
|
|
@ -16241,9 +16259,33 @@ var Certificate_previewImg_questionsPage = function questionsPage(_ref) {
|
|
|
|
|
children: ["\u7B2C", zsMyInfo === null || zsMyInfo === void 0 ? void 0 : zsMyInfo.rank, "\u540D"]
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: Certificate_previewImgmodules.tdcy,
|
|
|
|
|
children: ["\u56E2\u961F\u6210\u5458\uFF1A", member === null || member === void 0 || (_member$map = member.map(function (item) {
|
|
|
|
|
return item === null || item === void 0 ? void 0 : item.name;
|
|
|
|
|
})) === null || _member$map === void 0 ? void 0 : _member$map.join('、')]
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
children: "\u56E2\u961F\u6210\u5458\uFF1A"
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
children: "\u961F \u957F"
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
className: "ml20",
|
|
|
|
|
children: member === null || member === void 0 || (_member$find = member.find(function (item) {
|
|
|
|
|
return (item === null || item === void 0 ? void 0 : item.role) == 1;
|
|
|
|
|
})) === null || _member$find === void 0 ? void 0 : _member$find.name
|
|
|
|
|
})]
|
|
|
|
|
}), (member === null || member === void 0 || (_member$filter = member.filter(function (item) {
|
|
|
|
|
return (item === null || item === void 0 ? void 0 : item.role) != 1;
|
|
|
|
|
})) === null || _member$filter === void 0 ? void 0 : _member$filter.length) > 0 && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
children: "\u961F \u5458"
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
className: "ml20",
|
|
|
|
|
children: member === null || member === void 0 || (_member$filter2 = member.filter(function (item) {
|
|
|
|
|
return (item === null || item === void 0 ? void 0 : item.role) != 1;
|
|
|
|
|
})) === null || _member$filter2 === void 0 ? void 0 : _member$filter2.map(function (item) {
|
|
|
|
|
return item === null || item === void 0 ? void 0 : item.name;
|
|
|
|
|
}).join('、')
|
|
|
|
|
})]
|
|
|
|
|
})]
|
|
|
|
|
})]
|
|
|
|
|
}), (zsMyInfo === null || zsMyInfo === void 0 ? void 0 : zsMyInfo.show_number) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: Certificate_previewImgmodules.zsbh,
|
|
|
|
|
children: ["\u8BC1\u4E66\u7F16\u53F7\uFF1A", zsMyInfo === null || zsMyInfo === void 0 ? void 0 : zsMyInfo.number]
|
|
|
|
|
@ -19501,7 +19543,7 @@ var view_competitionsPage = function competitionsPage(_ref) {
|
|
|
|
|
if ((competitions === null || competitions === void 0 || (_competitions$LeftNav3 = competitions.LeftNav) === null || _competitions$LeftNav3 === void 0 ? void 0 : _competitions$LeftNav3.length) > 0) {
|
|
|
|
|
var _competitions$LeftNav4, _competitions$LeftNav5;
|
|
|
|
|
setLeftItems(competitions === null || competitions === void 0 || (_competitions$LeftNav4 = competitions.LeftNav) === null || _competitions$LeftNav4 === void 0 ? void 0 : _competitions$LeftNav4.filter(function (item) {
|
|
|
|
|
return item.module_type == "entrance" ? true : item.module_type == "certificate" ? is_manager || competition.is_member : true;
|
|
|
|
|
return item.module_type == "entrance" ? true : item.module_type == "certificate" ? is_manager || competition.is_award : true;
|
|
|
|
|
}));
|
|
|
|
|
setselectedKeys(selectedKeys || (competitions === null || competitions === void 0 || (_competitions$LeftNav5 = competitions.LeftNav) === null || _competitions$LeftNav5 === void 0 || (_competitions$LeftNav5 = _competitions$LeftNav5[0]) === null || _competitions$LeftNav5 === void 0 ? void 0 : _competitions$LeftNav5.id));
|
|
|
|
|
}
|