Auto Submit

dev_local_v9_test6
autosubmit 1 year ago
parent 6d71d1e26f
commit b459e5832d

@ -27,7 +27,7 @@
display: block !important;
}
</style><script>if(document.domain !== "www.educoder.net") document.title = '';</script>
<script src="/react/build/umi.6200e5a7.js"></script>
<script src="/react/build/umi.2234856e.js"></script>
<script src="/react/build/js/public.js"></script>
</body>
</html>

@ -4719,7 +4719,7 @@ var StudentTeam_excluded = ["competitions", "globalSetting", "loading", "dispatc
var StudentTeam_competitionsPage = function competitionsPage(_ref) {
var _my_teams$team_member, _competitions$competi2, _competitions$competi3, _competitions$competi4, _competitions$competi5, _competitions$competi6, _competitions$competi7, _competitions$competi8, _competitions$competi9, _competition_team$my_, _competition_team$my_2, _my_teams$name, _Team$name, _Team$name2, _competitions$competi10, _competitions$competi11, _competitions$competi12, _competitions$competi13, _competitions$competi14, _competitions$competi15, _competitions$competi16;
var _my_teams$team_member, _competitions$competi2, _competitions$competi3, _competitions$competi4, _competitions$competi5, _competitions$competi6, _competitions$competi7, _competitions$competi8, _competitions$competi10, _competition_team$my_, _competition_team$my_2, _my_teams$name, _Team$name, _Team$name2, _competitions$competi11, _competitions$competi12, _competitions$competi13, _competitions$competi14, _competitions$competi15, _competitions$competi16, _competitions$competi17;
var competitions = _ref.competitions,
globalSetting = _ref.globalSetting,
loading = _ref.loading,
@ -4730,8 +4730,7 @@ var StudentTeam_competitionsPage = function competitionsPage(_ref) {
identifier = _useParams.identifier;
var competition_team = competitions.competition_team,
is_manager = competitions.is_manager,
is_member = competitions.is_member,
have_team_appl = competitions.have_team_appl;
is_member = competitions.is_member;
var _useState = (0,_react_17_0_2_react.useState)({
page: 1,
per_page: 10,
@ -5236,7 +5235,8 @@ var StudentTeam_competitionsPage = function competitionsPage(_ref) {
radioOption = _useState68[0],
setRadioOption = _useState68[1];
(0,_react_17_0_2_react.useEffect)(function () {
if (have_team_appl) {
var _competitions$competi9;
if (competitions !== null && competitions !== void 0 && (_competitions$competi9 = competitions.competition) !== null && _competitions$competi9 !== void 0 && _competitions$competi9.have_team_appl) {
radioOption.push({
label: '申诉申请',
value: 'appeal',
@ -5250,7 +5250,7 @@ var StudentTeam_competitionsPage = function competitionsPage(_ref) {
style: {
width: '1198px'
},
children: (competitions === null || competitions === void 0 || (_competitions$competi9 = competitions.competition) === null || _competitions$competi9 === void 0 || (_competitions$competi9 = _competitions$competi9.competition_team) === null || _competitions$competi9 === void 0 ? void 0 : _competitions$competi9.is_cancel_score) && /*#__PURE__*/(0,jsx_runtime.jsx)(AppealModal, {})
children: (competitions === null || competitions === void 0 || (_competitions$competi10 = competitions.competition) === null || _competitions$competi10 === void 0 || (_competitions$competi10 = _competitions$competi10.competition_team) === null || _competitions$competi10 === void 0 ? void 0 : _competitions$competi10.is_cancel_score) && /*#__PURE__*/(0,jsx_runtime.jsx)(AppealModal, {})
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
padding: '20px',
@ -6550,7 +6550,7 @@ var StudentTeam_competitionsPage = function competitionsPage(_ref) {
fontWeight: 500
},
children: "\u5FC5\u586B\u4FE1\u606F"
}), (competitions === null || competitions === void 0 || (_competitions$competi10 = competitions.competition) === null || _competitions$competi10 === void 0 ? void 0 : _competitions$competi10.required_name) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
}), (competitions === null || competitions === void 0 || (_competitions$competi11 = competitions.competition) === null || _competitions$competi11 === void 0 ? void 0 : _competitions$competi11.required_name) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
label: "\u771F\u5B9E\u59D3\u540D",
name: "user_name",
rules: [{
@ -6570,7 +6570,7 @@ var StudentTeam_competitionsPage = function competitionsPage(_ref) {
showCount: true,
placeholder: "\u8BF7\u8F93\u5165\u771F\u5B9E\u59D3\u540D"
})
}), (competitions === null || competitions === void 0 || (_competitions$competi11 = competitions.competition) === null || _competitions$competi11 === void 0 ? void 0 : _competitions$competi11.required_unit) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
}), (competitions === null || competitions === void 0 || (_competitions$competi12 = competitions.competition) === null || _competitions$competi12 === void 0 ? void 0 : _competitions$competi12.required_unit) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
label: "\u6240\u5C5E\u5355\u4F4D",
name: "unit",
rules: [{
@ -6590,7 +6590,7 @@ var StudentTeam_competitionsPage = function competitionsPage(_ref) {
showCount: true,
placeholder: "\u8BF7\u8F93\u5165\u6240\u5C5E\u5355\u4F4D"
})
}), (competitions === null || competitions === void 0 || (_competitions$competi12 = competitions.competition) === null || _competitions$competi12 === void 0 ? void 0 : _competitions$competi12.required_trade) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
}), (competitions === null || competitions === void 0 || (_competitions$competi13 = competitions.competition) === null || _competitions$competi13 === void 0 ? void 0 : _competitions$competi13.required_trade) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
label: "\u6240\u5728\u884C\u4E1A",
name: "trade",
rules: [{
@ -6610,7 +6610,7 @@ var StudentTeam_competitionsPage = function competitionsPage(_ref) {
showCount: true,
placeholder: "\u8BF7\u8F93\u5165\u6240\u5728\u884C\u4E1A"
})
}), (competitions === null || competitions === void 0 || (_competitions$competi13 = competitions.competition) === null || _competitions$competi13 === void 0 ? void 0 : _competitions$competi13.required_id_card) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
}), (competitions === null || competitions === void 0 || (_competitions$competi14 = competitions.competition) === null || _competitions$competi14 === void 0 ? void 0 : _competitions$competi14.required_id_card) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
label: "\u8EAB\u4EFD\u8BC1\u53F7",
name: "id_card",
rules: [{
@ -6647,7 +6647,7 @@ var StudentTeam_competitionsPage = function competitionsPage(_ref) {
showCount: true,
placeholder: "\u8BF7\u8F93\u5165\u8EAB\u4EFD\u8BC1\u53F7"
})
}), (competitions === null || competitions === void 0 || (_competitions$competi14 = competitions.competition) === null || _competitions$competi14 === void 0 ? void 0 : _competitions$competi14.required_school) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
}), (competitions === null || competitions === void 0 || (_competitions$competi15 = competitions.competition) === null || _competitions$competi15 === void 0 ? void 0 : _competitions$competi15.required_school) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
label: "\u5B66\u6821\u540D\u79F0",
name: "school_name",
rules: [{
@ -6667,7 +6667,7 @@ var StudentTeam_competitionsPage = function competitionsPage(_ref) {
showCount: true,
placeholder: "\u8BF7\u8F93\u5165\u5B66\u6821\u540D\u79F0"
})
}), (competitions === null || competitions === void 0 || (_competitions$competi15 = competitions.competition) === null || _competitions$competi15 === void 0 ? void 0 : _competitions$competi15.required_phone) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
}), (competitions === null || competitions === void 0 || (_competitions$competi16 = competitions.competition) === null || _competitions$competi16 === void 0 ? void 0 : _competitions$competi16.required_phone) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
label: "\u624B\u673A\u53F7\u7801",
name: "phone",
rules: [{
@ -6685,7 +6685,7 @@ var StudentTeam_competitionsPage = function competitionsPage(_ref) {
showCount: true,
placeholder: "\u8BF7\u8F93\u5165\u624B\u673A\u53F7\u7801"
})
}), (competitions === null || competitions === void 0 || (_competitions$competi16 = competitions.competition) === null || _competitions$competi16 === void 0 ? void 0 : _competitions$competi16.required_mail) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
}), (competitions === null || competitions === void 0 || (_competitions$competi17 = competitions.competition) === null || _competitions$competi17 === void 0 ? void 0 : _competitions$competi17.required_mail) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
label: "\u90AE\u7BB1\u8D26\u53F7",
name: "mail",
rules: [{
@ -16077,9 +16077,9 @@ var Playerwork = function Playerwork(_ref) {
});
},
children: "\u8FD0\u884C\u4FE1\u606F"
}), !(_render2 !== null && _render2 !== void 0 && (_render2$attachments = _render2.attachments) !== null && _render2$attachments !== void 0 && (_render2$attachments = _render2$attachments[0]) !== null && _render2$attachments !== void 0 && _render2$attachments.yd_deleted) && !!(_render2 !== null && _render2 !== void 0 && (_render2$attachments2 = _render2.attachments) !== null && _render2$attachments2 !== void 0 && (_render2$attachments2 = _render2$attachments2[0]) !== null && _render2$attachments2 !== void 0 && _render2$attachments2.title) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
className: "ml20",
disabled: (_render2 === null || _render2 === void 0 ? void 0 : _render2.evaluation_status) == "progress",
disabled: (_render2 === null || _render2 === void 0 ? void 0 : _render2.evaluation_status) == "progress" || (_render2 === null || _render2 === void 0 || (_render2$attachments = _render2.attachments) === null || _render2$attachments === void 0 || (_render2$attachments = _render2$attachments[0]) === null || _render2$attachments === void 0 ? void 0 : _render2$attachments.yd_deleted) || !(_render2 !== null && _render2 !== void 0 && (_render2$attachments2 = _render2.attachments) !== null && _render2$attachments2 !== void 0 && (_render2$attachments2 = _render2$attachments2[0]) !== null && _render2$attachments2 !== void 0 && _render2$attachments2.title),
type: "link",
style: {
padding: 0
@ -16777,7 +16777,11 @@ var DuplicateCheck_Playerwork = function Playerwork(_ref) {
if ((res === null || res === void 0 ? void 0 : res.status) === 0) {
message/* default */.ZP.success('操作成功');
getData();
getAppealData();
if (appealPage == 1) {
getAppealData();
} else {
setAppealPage(1);
}
}
});
case 1:
@ -17330,7 +17334,11 @@ var DuplicateCheck_Playerwork = function Playerwork(_ref) {
res = _context8.sent;
if (res.status == 0) {
message/* default */.ZP.success('操作成功');
getAppealData();
if (appealPage == 1) {
getAppealData();
} else {
setAppealPage(1);
}
setShowModal(false);
}
case 6:

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save