autoUpdataFile

dev_local_v9_brain_cloud_competitions
eduauto 1 year ago
parent 712df83996
commit 7a231f11a7

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

@ -4545,7 +4545,6 @@ var MultiUpload = __webpack_require__(91732);
var AppealModal_competitionsPage = function competitionsPage(_ref) {
var dispatch = _ref.dispatch,
competitions = _ref.competitions;
@ -4583,7 +4582,7 @@ var AppealModal_competitionsPage = function competitionsPage(_ref) {
form.resetFields();
},
onOk: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() {
var _competitions$competi;
var _competitions$competi, _form$getFieldValue;
var res;
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
@ -4594,9 +4593,11 @@ var AppealModal_competitionsPage = function competitionsPage(_ref) {
_context.next = 4;
return (0,fetch/* default */.ZP)("/api/competition_duplicate_checks/initiate_appeal.json", {
method: 'post',
body: objectSpread2_default()({
id: competitions === null || competitions === void 0 || (_competitions$competi = competitions.competition) === null || _competitions$competi === void 0 || (_competitions$competi = _competitions$competi.competition_team) === null || _competitions$competi === void 0 ? void 0 : _competitions$competi.id
}, form.getFieldsValue())
body: {
id: competitions === null || competitions === void 0 || (_competitions$competi = competitions.competition) === null || _competitions$competi === void 0 || (_competitions$competi = _competitions$competi.competition_team) === null || _competitions$competi === void 0 ? void 0 : _competitions$competi.id,
content: form.getFieldValue('content'),
attachment_id: (_form$getFieldValue = form.getFieldValue('attachment_id')) === null || _form$getFieldValue === void 0 || (_form$getFieldValue = _form$getFieldValue[0]) === null || _form$getFieldValue === void 0 || (_form$getFieldValue = _form$getFieldValue.response) === null || _form$getFieldValue === void 0 ? void 0 : _form$getFieldValue.id
}
});
case 4:
res = _context.sent;
@ -4852,9 +4853,10 @@ var StudentTeam_competitionsPage = function competitionsPage(_ref) {
var appealColumnsYes = [{
title: "序号",
ellipsis: true,
render: function render(text, record) {
width: 70,
render: function render(text, record, index) {
return /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: (record === null || record === void 0 ? void 0 : record.operate_user) || "--"
children: index + 1
});
}
}, {
@ -4874,7 +4876,7 @@ var StudentTeam_competitionsPage = function competitionsPage(_ref) {
render: function render(text, record) {
var _record$competition_t;
return /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: (record === null || record === void 0 || (_record$competition_t = record.competition_team) === null || _record$competition_t === void 0 ? void 0 : _record$competition_t.title) || "--"
children: (record === null || record === void 0 || (_record$competition_t = record.competition_team) === null || _record$competition_t === void 0 ? void 0 : _record$competition_t.name) || "--"
});
}
}, {
@ -4890,17 +4892,17 @@ var StudentTeam_competitionsPage = function competitionsPage(_ref) {
width: 300,
ellipsis: true,
render: function render(text, record) {
var _record$attachment2;
var _record$attachment3;
return /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
color: '#3061d0',
cursor: 'pointer'
},
onClick: function onClick() {
var _record$attachment;
(0,util/* downLoadFile */.FH)('', "".concat(env/* default */.Z.API_SERVER).concat(record === null || record === void 0 || (_record$attachment = record.attachment) === null || _record$attachment === void 0 ? void 0 : _record$attachment.url));
var _record$attachment, _record$attachment2;
(record === null || record === void 0 || (_record$attachment = record.attachment) === null || _record$attachment === void 0 ? void 0 : _record$attachment.url) && (0,util/* downLoadFile */.FH)('', "".concat(env/* default */.Z.API_SERVER).concat(record === null || record === void 0 || (_record$attachment2 = record.attachment) === null || _record$attachment2 === void 0 ? void 0 : _record$attachment2.url));
},
children: (record === null || record === void 0 || (_record$attachment2 = record.attachment) === null || _record$attachment2 === void 0 ? void 0 : _record$attachment2.title) || "--"
children: (record === null || record === void 0 || (_record$attachment3 = record.attachment) === null || _record$attachment3 === void 0 ? void 0 : _record$attachment3.title) || "--"
});
}
}, {
@ -5290,7 +5292,7 @@ var StudentTeam_competitionsPage = function competitionsPage(_ref) {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Teammodules.teamname,
style: {
width: '80%'
width: '100%'
},
children: my_teams === null || my_teams === void 0 ? void 0 : my_teams.name
})
@ -5815,6 +5817,7 @@ var StudentTeam_competitionsPage = function competitionsPage(_ref) {
render: function render(text, record) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: text,
placement: "topLeft",
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: text || '- -'
})
@ -14563,7 +14566,6 @@ var DuplicateCheck_excluded = ["competitions", "globalSetting", "loading", "disp
var DuplicateCheck_Playerwork = function Playerwork(_ref) {
var _MemberWorks$data;
var competitions = _ref.competitions,
globalSetting = _ref.globalSetting,
loading = _ref.loading,
@ -14680,6 +14682,7 @@ var DuplicateCheck_Playerwork = function Playerwork(_ref) {
if ((res === null || res === void 0 ? void 0 : res.status) === 0) {
message/* default */.ZP.success('解除战队成功');
getData();
getAppealData();
}
});
case 1:
@ -14713,6 +14716,7 @@ var DuplicateCheck_Playerwork = function Playerwork(_ref) {
if ((res === null || res === void 0 ? void 0 : res.status) === 0) {
message/* default */.ZP.success('封禁战队成功');
getData();
getAppealData();
}
});
case 1:
@ -15208,7 +15212,7 @@ var DuplicateCheck_Playerwork = function Playerwork(_ref) {
style: {
color: "#165DFF"
},
children: (MemberWorks === null || MemberWorks === void 0 || (_MemberWorks$data = MemberWorks.data) === null || _MemberWorks$data === void 0 ? void 0 : _MemberWorks$data.count) || 0
children: checkCount || 0
}), "\u6761\u6570\u636E"]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(pagination/* default */.Z, {

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