Auto Submit

dev_local_v9_test6
autosubmit 1 year ago
parent bba189c97a
commit 91af3fb942

@ -27,7 +27,7 @@
display: block !important;
}
</style><script>if(document.domain !== "www.educoder.net") document.title = '';</script>
<script src="/react/build/umi.37186e62.js"></script>
<script src="/react/build/umi.de4e0fda.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, _competition_team$my_, _competition_team$my_2, _my_teams$name, _Team$name, _Team$name2, _competitions$competi8, _competitions$competi9, _competitions$competi10, _competitions$competi11, _competitions$competi12;
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;
var competitions = _ref.competitions,
globalSetting = _ref.globalSetting,
loading = _ref.loading,
@ -5111,7 +5111,33 @@ var StudentTeam_competitionsPage = function competitionsPage(_ref) {
})
});
}
}, (competitions === null || competitions === void 0 || (_competitions$competi3 = competitions.competition) === null || _competitions$competi3 === void 0 ? void 0 : _competitions$competi3.required_id_card) && {
}, (competitions === null || competitions === void 0 || (_competitions$competi3 = competitions.competition) === null || _competitions$competi3 === void 0 ? void 0 : _competitions$competi3.required_unit) && {
title: '所属单位',
align: 'left',
dataIndex: 'unit',
ellipsis: true,
render: function render(text) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: text,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: text || '- -'
})
});
}
}, (competitions === null || competitions === void 0 || (_competitions$competi4 = competitions.competition) === null || _competitions$competi4 === void 0 ? void 0 : _competitions$competi4.required_trade) && {
title: '所在行业',
align: 'left',
dataIndex: 'trade',
ellipsis: true,
render: function render(text) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: text,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: text || '- -'
})
});
}
}, (competitions === null || competitions === void 0 || (_competitions$competi5 = competitions.competition) === null || _competitions$competi5 === void 0 ? void 0 : _competitions$competi5.required_id_card) && {
title: '身份证号',
align: 'left',
dataIndex: 'id_card',
@ -5124,7 +5150,7 @@ var StudentTeam_competitionsPage = function competitionsPage(_ref) {
})
});
}
}, (competitions === null || competitions === void 0 || (_competitions$competi4 = competitions.competition) === null || _competitions$competi4 === void 0 ? void 0 : _competitions$competi4.required_school) && {
}, (competitions === null || competitions === void 0 || (_competitions$competi6 = competitions.competition) === null || _competitions$competi6 === void 0 ? void 0 : _competitions$competi6.required_school) && {
title: '学校名称',
align: 'left',
dataIndex: 'school_name',
@ -5137,7 +5163,7 @@ var StudentTeam_competitionsPage = function competitionsPage(_ref) {
})
});
}
}, (competitions === null || competitions === void 0 || (_competitions$competi5 = competitions.competition) === null || _competitions$competi5 === void 0 ? void 0 : _competitions$competi5.required_phone) && {
}, (competitions === null || competitions === void 0 || (_competitions$competi7 = competitions.competition) === null || _competitions$competi7 === void 0 ? void 0 : _competitions$competi7.required_phone) && {
title: '手机号码',
align: 'left',
dataIndex: 'phone',
@ -5150,7 +5176,7 @@ var StudentTeam_competitionsPage = function competitionsPage(_ref) {
})
});
}
}, (competitions === null || competitions === void 0 || (_competitions$competi6 = competitions.competition) === null || _competitions$competi6 === void 0 ? void 0 : _competitions$competi6.required_mail) && {
}, (competitions === null || competitions === void 0 || (_competitions$competi8 = competitions.competition) === null || _competitions$competi8 === void 0 ? void 0 : _competitions$competi8.required_mail) && {
title: '邮箱账号',
align: 'left',
dataIndex: 'member_mail',
@ -5194,7 +5220,7 @@ var StudentTeam_competitionsPage = function competitionsPage(_ref) {
style: {
width: '1198px'
},
children: (competitions === null || competitions === void 0 || (_competitions$competi7 = competitions.competition) === null || _competitions$competi7 === void 0 || (_competitions$competi7 = _competitions$competi7.competition_team) === null || _competitions$competi7 === void 0 ? void 0 : _competitions$competi7.is_cancel_score) && /*#__PURE__*/(0,jsx_runtime.jsx)(AppealModal, {})
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, {})
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
padding: '20px',
@ -6488,7 +6514,7 @@ var StudentTeam_competitionsPage = function competitionsPage(_ref) {
fontWeight: 500
},
children: "\u5FC5\u586B\u4FE1\u606F"
}), (competitions === null || competitions === void 0 || (_competitions$competi8 = competitions.competition) === null || _competitions$competi8 === void 0 ? void 0 : _competitions$competi8.required_name) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
}), (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, {
label: "\u771F\u5B9E\u59D3\u540D",
name: "user_name",
rules: [{
@ -6508,7 +6534,7 @@ var StudentTeam_competitionsPage = function competitionsPage(_ref) {
showCount: true,
placeholder: "\u8BF7\u8F93\u5165\u771F\u5B9E\u59D3\u540D"
})
}), (competitions === null || competitions === void 0 || (_competitions$competi9 = competitions.competition) === null || _competitions$competi9 === void 0 ? void 0 : _competitions$competi9.required_id_card) && /*#__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_id_card) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
label: "\u8EAB\u4EFD\u8BC1\u53F7",
name: "id_card",
rules: [{
@ -6528,7 +6554,7 @@ var StudentTeam_competitionsPage = function competitionsPage(_ref) {
showCount: true,
placeholder: "\u8BF7\u8F93\u5165\u8EAB\u4EFD\u8BC1\u53F7"
})
}), (competitions === null || competitions === void 0 || (_competitions$competi10 = competitions.competition) === null || _competitions$competi10 === void 0 ? void 0 : _competitions$competi10.required_school) && /*#__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_school) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
label: "\u5B66\u6821\u540D\u79F0",
name: "school_name",
rules: [{
@ -6548,7 +6574,7 @@ var StudentTeam_competitionsPage = function competitionsPage(_ref) {
showCount: true,
placeholder: "\u8BF7\u8F93\u5165\u5B66\u6821\u540D\u79F0"
})
}), (competitions === null || competitions === void 0 || (_competitions$competi11 = competitions.competition) === null || _competitions$competi11 === void 0 ? void 0 : _competitions$competi11.required_phone) && /*#__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_phone) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
label: "\u624B\u673A\u53F7\u7801",
name: "phone",
rules: [{
@ -6568,7 +6594,7 @@ var StudentTeam_competitionsPage = function competitionsPage(_ref) {
showCount: true,
placeholder: "\u8BF7\u8F93\u5165\u624B\u673A\u53F7\u7801"
})
}), (competitions === null || competitions === void 0 || (_competitions$competi12 = competitions.competition) === null || _competitions$competi12 === void 0 ? void 0 : _competitions$competi12.required_mail) && /*#__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_mail) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
label: "\u90AE\u7BB1\u8D26\u53F7",
name: "mail",
rules: [{
@ -12363,7 +12389,7 @@ var md5_default = /*#__PURE__*/__webpack_require__.n(md5);
var Entrance = function Entrance(_ref) {
var _CommitRecords$data6, _CommitRecords$data7, _CommitRecords$data8, _CommitRecords$data9, _competitions$competi2, _CommitRecords$data10, _CommitRecords$data11;
var _CommitRecords$data8, _CommitRecords$data9, _CommitRecords$data10, _CommitRecords$data11, _competitions$competi2, _CommitRecords$data12, _CommitRecords$data13;
var dispatch = _ref.dispatch,
competitions = _ref.competitions,
loading = _ref.loading,
@ -12596,27 +12622,35 @@ var Entrance = function Entrance(_ref) {
maxCount: 1,
beforeUpload: function () {
var _beforeUpload = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2(file) {
var _CommitRecords$data;
var fileSize, fileType, gather;
var _CommitRecords$data, _CommitRecords$data2, _CommitRecords$data3;
var fileSizeG, fileSizeM, fileType, gather;
return regeneratorRuntime_default()().wrap(function _callee2$(_context2) {
while (1) switch (_context2.prev = _context2.next) {
case 0:
fileSize = file.size / 1024 / 1024 / 1024;
fileSizeG = file.size / 1024 / 1024 / 1024;
fileSizeM = file.size / 1024 / 1024;
fileType = file.name.split(".").slice(-1)[0].toLowerCase();
if (!(fileSize > 10)) {
_context2.next = 5;
if (!(CommitRecords !== null && CommitRecords !== void 0 && (_CommitRecords$data = CommitRecords.data) !== null && _CommitRecords$data !== void 0 && _CommitRecords$data.is_yd_oss && fileSizeG > 10)) {
_context2.next = 6;
break;
}
message/* default */.ZP.error("\u8BE5\u6587\u4EF6\u65E0\u6CD5\u4E0A\u4F20\u3002\u8D85\u8FC7\u6587\u4EF6\u5927\u5C0F\u9650\u5236(10G)");
return _context2.abrupt("return", Promise.reject());
case 5:
case 6:
if (!(!(CommitRecords !== null && CommitRecords !== void 0 && (_CommitRecords$data2 = CommitRecords.data) !== null && _CommitRecords$data2 !== void 0 && _CommitRecords$data2.is_yd_oss) && fileSizeM > 250)) {
_context2.next = 9;
break;
}
message/* default */.ZP.error("\u8BE5\u6587\u4EF6\u65E0\u6CD5\u4E0A\u4F20\u3002\u8D85\u8FC7\u6587\u4EF6\u5927\u5C0F\u9650\u5236(250M)");
return _context2.abrupt("return", Promise.reject());
case 9:
if (!(fileType != "zip")) {
_context2.next = 8;
_context2.next = 12;
break;
}
message/* default */.ZP.error("\u4EC5\u652F\u6301zip\u4E0A\u4F20");
return _context2.abrupt("return", Promise.reject());
case 8:
case 12:
gather = {
id: String(Math.random()).slice(-6),
name: file.name,
@ -12626,7 +12660,7 @@ var Entrance = function Entrance(_ref) {
percent: 0,
status: 'uploading'
};
if (CommitRecords !== null && CommitRecords !== void 0 && (_CommitRecords$data = CommitRecords.data) !== null && _CommitRecords$data !== void 0 && _CommitRecords$data.is_yd_oss) {
if (CommitRecords !== null && CommitRecords !== void 0 && (_CommitRecords$data3 = CommitRecords.data) !== null && _CommitRecords$data3 !== void 0 && _CommitRecords$data3.is_yd_oss) {
AWSUploadFiles(gather);
} else {
LocalUploadFiles(gather);
@ -12635,7 +12669,7 @@ var Entrance = function Entrance(_ref) {
return [].concat(toConsumableArray_default()(p), [gather]);
});
return _context2.abrupt("return", Promise.reject());
case 12:
case 16:
case "end":
return _context2.stop();
}
@ -12866,10 +12900,10 @@ var Entrance = function Entrance(_ref) {
getCompetitionCommitRecords();
}, [competitionStage]);
(0,_react_17_0_2_react.useEffect)(function () {
var _CommitRecords$data2, _CommitRecords$data3;
var _CommitRecords$data4, _CommitRecords$data5;
setUrlData({
description: CommitRecords === null || CommitRecords === void 0 || (_CommitRecords$data2 = CommitRecords.data) === null || _CommitRecords$data2 === void 0 || (_CommitRecords$data2 = _CommitRecords$data2.question) === null || _CommitRecords$data2 === void 0 ? void 0 : _CommitRecords$data2.description,
question_id: CommitRecords === null || CommitRecords === void 0 || (_CommitRecords$data3 = CommitRecords.data) === null || _CommitRecords$data3 === void 0 || (_CommitRecords$data3 = _CommitRecords$data3.question) === null || _CommitRecords$data3 === void 0 ? void 0 : _CommitRecords$data3.id
description: CommitRecords === null || CommitRecords === void 0 || (_CommitRecords$data4 = CommitRecords.data) === null || _CommitRecords$data4 === void 0 || (_CommitRecords$data4 = _CommitRecords$data4.question) === null || _CommitRecords$data4 === void 0 ? void 0 : _CommitRecords$data4.description,
question_id: CommitRecords === null || CommitRecords === void 0 || (_CommitRecords$data5 = CommitRecords.data) === null || _CommitRecords$data5 === void 0 || (_CommitRecords$data5 = _CommitRecords$data5.question) === null || _CommitRecords$data5 === void 0 ? void 0 : _CommitRecords$data5.id
});
}, [CommitRecords]);
@ -13050,7 +13084,7 @@ var Entrance = function Entrance(_ref) {
children: (is_manager || (competition === null || competition === void 0 ? void 0 : competition.is_member)) && (competitionStage === null || competitionStage === void 0 ? void 0 : competitionStage.can_evaluation) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
type: "primary",
onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee7() {
var _CommitRecords$data4, _CommitRecords$data5;
var _CommitRecords$data6, _CommitRecords$data7;
var res, _res$del_filename, _res$del_filename2, s3;
return regeneratorRuntime_default()().wrap(function _callee7$(_context8) {
while (1) switch (_context8.prev = _context8.next) {
@ -13062,8 +13096,8 @@ var Entrance = function Entrance(_ref) {
identifier: identifier,
section_id: competitionStage === null || competitionStage === void 0 ? void 0 : competitionStage.id,
commit_type: radioValue,
type: CommitRecords !== null && CommitRecords !== void 0 && (_CommitRecords$data4 = CommitRecords.data) !== null && _CommitRecords$data4 !== void 0 && _CommitRecords$data4.is_yd_oss ? 'yd' : '',
attachment_ids: CommitRecords !== null && CommitRecords !== void 0 && (_CommitRecords$data5 = CommitRecords.data) !== null && _CommitRecords$data5 !== void 0 && _CommitRecords$data5.is_yd_oss ? fileList === null || fileList === void 0 ? void 0 : fileList.map(function (item) {
type: CommitRecords !== null && CommitRecords !== void 0 && (_CommitRecords$data6 = CommitRecords.data) !== null && _CommitRecords$data6 !== void 0 && _CommitRecords$data6.is_yd_oss ? 'yd' : '',
attachment_ids: CommitRecords !== null && CommitRecords !== void 0 && (_CommitRecords$data7 = CommitRecords.data) !== null && _CommitRecords$data7 !== void 0 && _CommitRecords$data7.is_yd_oss ? fileList === null || fileList === void 0 ? void 0 : fileList.map(function (item) {
var _item$response, _item$response2, _item$response3, _item$response4;
return {
name: item === null || item === void 0 || (_item$response = item.response) === null || _item$response === void 0 ? void 0 : _item$response.oldName,
@ -13126,7 +13160,7 @@ var Entrance = function Entrance(_ref) {
children: "\u9898\u76EE\u540D\u79F0"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
className: "ml20",
children: CommitRecords === null || CommitRecords === void 0 || (_CommitRecords$data6 = CommitRecords.data) === null || _CommitRecords$data6 === void 0 || (_CommitRecords$data6 = _CommitRecords$data6.question) === null || _CommitRecords$data6 === void 0 ? void 0 : _CommitRecords$data6.name
children: CommitRecords === null || CommitRecords === void 0 || (_CommitRecords$data8 = CommitRecords.data) === null || _CommitRecords$data8 === void 0 || (_CommitRecords$data8 = _CommitRecords$data8.question) === null || _CommitRecords$data8 === void 0 ? void 0 : _CommitRecords$data8.name
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
className: "mt25",
@ -13242,10 +13276,10 @@ var Entrance = function Entrance(_ref) {
display: "inline-block"
},
children: ["\u4ED3\u5E93\u6587\u4EF6\u8DEF\u5F84\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)("a", {
href: CommitRecords === null || CommitRecords === void 0 || (_CommitRecords$data7 = CommitRecords.data) === null || _CommitRecords$data7 === void 0 ? void 0 : _CommitRecords$data7.git_address,
children: CommitRecords === null || CommitRecords === void 0 || (_CommitRecords$data8 = CommitRecords.data) === null || _CommitRecords$data8 === void 0 ? void 0 : _CommitRecords$data8.git_address
href: CommitRecords === null || CommitRecords === void 0 || (_CommitRecords$data9 = CommitRecords.data) === null || _CommitRecords$data9 === void 0 ? void 0 : _CommitRecords$data9.git_address,
children: CommitRecords === null || CommitRecords === void 0 || (_CommitRecords$data10 = CommitRecords.data) === null || _CommitRecords$data10 === void 0 ? void 0 : _CommitRecords$data10.git_address
})]
}), (CommitRecords === null || CommitRecords === void 0 || (_CommitRecords$data9 = CommitRecords.data) === null || _CommitRecords$data9 === void 0 || (_CommitRecords$data9 = _CommitRecords$data9.records) === null || _CommitRecords$data9 === void 0 ? void 0 : _CommitRecords$data9.length) > 0 && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
}), (CommitRecords === null || CommitRecords === void 0 || (_CommitRecords$data11 = CommitRecords.data) === null || _CommitRecords$data11 === void 0 || (_CommitRecords$data11 = _CommitRecords$data11.records) === null || _CommitRecords$data11 === void 0 ? void 0 : _CommitRecords$data11.length) > 0 && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: "mt30",
style: {
borderTop: "1px solid #F1F1F1"
@ -13270,7 +13304,7 @@ var Entrance = function Entrance(_ref) {
className: "mt25",
pagination: false,
loading: loading["competitions/getCompetitionCommitRecords"],
dataSource: CommitRecords === null || CommitRecords === void 0 || (_CommitRecords$data10 = CommitRecords.data) === null || _CommitRecords$data10 === void 0 ? void 0 : _CommitRecords$data10.records,
dataSource: CommitRecords === null || CommitRecords === void 0 || (_CommitRecords$data12 = CommitRecords.data) === null || _CommitRecords$data12 === void 0 ? void 0 : _CommitRecords$data12.records,
columns: Columns
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
@ -13307,7 +13341,7 @@ var Entrance = function Entrance(_ref) {
}
}) : /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, {
className: "mt30",
value: CommitRecords === null || CommitRecords === void 0 || (_CommitRecords$data11 = CommitRecords.data) === null || _CommitRecords$data11 === void 0 || (_CommitRecords$data11 = _CommitRecords$data11.question) === null || _CommitRecords$data11 === void 0 ? void 0 : _CommitRecords$data11.description
value: CommitRecords === null || CommitRecords === void 0 || (_CommitRecords$data13 = CommitRecords.data) === null || _CommitRecords$data13 === void 0 || (_CommitRecords$data13 = _CommitRecords$data13.question) === null || _CommitRecords$data13 === void 0 ? void 0 : _CommitRecords$data13.description
}), isEdit && /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
className: "mt40",
align: "middle",
@ -15540,7 +15574,7 @@ var Edit_excluded = ["mode"];
var NewCompetitionsPage = function NewCompetitionsPage(_ref) {
var _competitions$competi2, _competitions$competi9, _competitions$competi10, _competitions$competi11, _competitions$competi12, _competitions$competi13, _competitions$competi14, _competitions$competi15, _competitions$competi16, _competitions$competi17, _competitions$competi18, _competitions$competi19, _competitions$competi20, _competitions$competi21, _competitions$competi22, _competitions$competi23, _competitions$competi24, _competitions$competi25, _competitions$competi26, _competitions$competi27, _competitions$competi28, _competitions$competi29, _competitions$competi30, _competitions$competi32, _tabsData$find, _competitions$competi35, _competitions$competi36, _competitions$competi37, _competitions$competi38, _competitions$competi39, _competitions$competi40, _competitions$competi41, _competitions$competi42, _competitions$competi43, _competitions$competi44, _competitions$competi45, _competitions$competi46;
var _competitions$competi2, _competitions$competi9, _competitions$competi10, _competitions$competi11, _competitions$competi12, _competitions$competi13, _competitions$competi14, _competitions$competi15, _competitions$competi16, _competitions$competi17, _competitions$competi18, _competitions$competi19, _competitions$competi20, _competitions$competi21, _competitions$competi22, _competitions$competi23, _competitions$competi24, _competitions$competi25, _competitions$competi26, _competitions$competi27, _competitions$competi28, _competitions$competi29, _competitions$competi30, _competitions$competi32, _tabsData$find, _competitions$competi35, _competitions$competi36, _competitions$competi37, _competitions$competi38, _competitions$competi39, _competitions$competi40, _competitions$competi41, _competitions$competi42, _competitions$competi43, _competitions$competi44, _competitions$competi45, _competitions$competi46, _competitions$competi47, _competitions$competi48, _competitions$competi49, _competitions$competi50;
var competitions = _ref.competitions,
globalSetting = _ref.globalSetting,
loading = _ref.loading,
@ -16383,13 +16417,13 @@ var NewCompetitionsPage = function NewCompetitionsPage(_ref) {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-tishi2 mr10 font13"
}), "\u6CE8\u610F\uFF1A\u672C\u6B21\u4E13\u9898\u8D5B\u4EC5\u9650\u5355\u8D5B\u9053\u62A5\u540D\uFF0C\u6BCF\u4F4D\u53C2\u8D5B\u8005\u9650\u62A5\u4E00\u4E2A\u8D5B\u9053\u3002"]
}), ((competitions === null || competitions === void 0 || (_competitions$competi37 = competitions.competition) === null || _competitions$competi37 === void 0 ? void 0 : _competitions$competi37.required_name) || (competitions === null || competitions === void 0 || (_competitions$competi38 = competitions.competition) === null || _competitions$competi38 === void 0 ? void 0 : _competitions$competi38.required_id_card) || (competitions === null || competitions === void 0 || (_competitions$competi39 = competitions.competition) === null || _competitions$competi39 === void 0 ? void 0 : _competitions$competi39.required_school) || (competitions === null || competitions === void 0 || (_competitions$competi40 = competitions.competition) === null || _competitions$competi40 === void 0 ? void 0 : _competitions$competi40.required_phone) || (competitions === null || competitions === void 0 || (_competitions$competi41 = competitions.competition) === null || _competitions$competi41 === void 0 ? void 0 : _competitions$competi41.required_mail)) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
}), ((competitions === null || competitions === void 0 || (_competitions$competi37 = competitions.competition) === null || _competitions$competi37 === void 0 ? void 0 : _competitions$competi37.required_name) || (competitions === null || competitions === void 0 || (_competitions$competi38 = competitions.competition) === null || _competitions$competi38 === void 0 ? void 0 : _competitions$competi38.required_id_card) || (competitions === null || competitions === void 0 || (_competitions$competi39 = competitions.competition) === null || _competitions$competi39 === void 0 ? void 0 : _competitions$competi39.required_unit) || (competitions === null || competitions === void 0 || (_competitions$competi40 = competitions.competition) === null || _competitions$competi40 === void 0 ? void 0 : _competitions$competi40.required_trade) || (competitions === null || competitions === void 0 || (_competitions$competi41 = competitions.competition) === null || _competitions$competi41 === void 0 ? void 0 : _competitions$competi41.required_school) || (competitions === null || competitions === void 0 || (_competitions$competi42 = competitions.competition) === null || _competitions$competi42 === void 0 ? void 0 : _competitions$competi42.required_phone) || (competitions === null || competitions === void 0 || (_competitions$competi43 = competitions.competition) === null || _competitions$competi43 === void 0 ? void 0 : _competitions$competi43.required_mail)) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "mb10 font14",
style: {
fontWeight: 500
},
children: "\u5FC5\u586B\u4FE1\u606F"
}), (competitions === null || competitions === void 0 || (_competitions$competi42 = competitions.competition) === null || _competitions$competi42 === void 0 ? void 0 : _competitions$competi42.required_name) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
}), (competitions === null || competitions === void 0 || (_competitions$competi44 = competitions.competition) === null || _competitions$competi44 === void 0 ? void 0 : _competitions$competi44.required_name) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
label: "\u771F\u5B9E\u59D3\u540D",
name: "user_name",
rules: [{
@ -16409,7 +16443,47 @@ var NewCompetitionsPage = function NewCompetitionsPage(_ref) {
showCount: true,
placeholder: "\u8BF7\u8F93\u5165\u771F\u5B9E\u59D3\u540D"
})
}), (competitions === null || competitions === void 0 || (_competitions$competi43 = competitions.competition) === null || _competitions$competi43 === void 0 ? void 0 : _competitions$competi43.required_id_card) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
}), (competitions === null || competitions === void 0 || (_competitions$competi45 = competitions.competition) === null || _competitions$competi45 === void 0 ? void 0 : _competitions$competi45.required_unit) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
label: "\u6240\u5C5E\u5355\u4F4D",
name: "required_unit",
rules: [{
required: true,
message: "请输入所属单位"
}, {
type: "string",
max: 60,
message: "输入超限,请缩减字符数"
}, {
type: "string",
whitespace: true,
message: "内容不能全为空格"
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
maxLength: 60,
showCount: true,
placeholder: "\u8BF7\u8F93\u5165\u6240\u5C5E\u5355\u4F4D"
})
}), (competitions === null || competitions === void 0 || (_competitions$competi46 = competitions.competition) === null || _competitions$competi46 === void 0 ? void 0 : _competitions$competi46.required_trade) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
label: "\u6240\u5728\u884C\u4E1A",
name: "required_trade",
rules: [{
required: true,
message: "请输入所在行业"
}, {
type: "string",
max: 60,
message: "输入超限,请缩减字符数"
}, {
type: "string",
whitespace: true,
message: "内容不能全为空格"
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
maxLength: 60,
showCount: true,
placeholder: "\u8BF7\u8F93\u5165\u6240\u5728\u884C\u4E1A"
})
}), (competitions === null || competitions === void 0 || (_competitions$competi47 = competitions.competition) === null || _competitions$competi47 === void 0 ? void 0 : _competitions$competi47.required_id_card) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
label: "\u8EAB\u4EFD\u8BC1\u53F7",
name: "id_card",
rules: [{
@ -16441,7 +16515,7 @@ var NewCompetitionsPage = function NewCompetitionsPage(_ref) {
showCount: true,
placeholder: "\u8BF7\u8F93\u5165\u8EAB\u4EFD\u8BC1\u53F7"
})
}), (competitions === null || competitions === void 0 || (_competitions$competi44 = competitions.competition) === null || _competitions$competi44 === void 0 ? void 0 : _competitions$competi44.required_school) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
}), (competitions === null || competitions === void 0 || (_competitions$competi48 = competitions.competition) === null || _competitions$competi48 === void 0 ? void 0 : _competitions$competi48.required_school) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
label: "\u5B66\u6821\u540D\u79F0",
name: "school_name",
rules: [{
@ -16461,7 +16535,7 @@ var NewCompetitionsPage = function NewCompetitionsPage(_ref) {
showCount: true,
placeholder: "\u8BF7\u8F93\u5165\u5B66\u6821\u540D\u79F0"
})
}), (competitions === null || competitions === void 0 || (_competitions$competi45 = competitions.competition) === null || _competitions$competi45 === void 0 ? void 0 : _competitions$competi45.required_phone) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
}), (competitions === null || competitions === void 0 || (_competitions$competi49 = competitions.competition) === null || _competitions$competi49 === void 0 ? void 0 : _competitions$competi49.required_phone) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
label: "\u624B\u673A\u53F7\u7801",
name: "phone",
rules: [{
@ -16479,7 +16553,7 @@ var NewCompetitionsPage = function NewCompetitionsPage(_ref) {
showCount: true,
placeholder: "\u8BF7\u8F93\u5165\u624B\u673A\u53F7\u7801"
})
}), (competitions === null || competitions === void 0 || (_competitions$competi46 = competitions.competition) === null || _competitions$competi46 === void 0 ? void 0 : _competitions$competi46.required_mail) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
}), (competitions === null || competitions === void 0 || (_competitions$competi50 = competitions.competition) === null || _competitions$competi50 === void 0 ? void 0 : _competitions$competi50.required_mail) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
label: "\u90AE\u7BB1\u8D26\u53F7",
name: "mail",
rules: [{

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