|
|
|
|
@ -5741,7 +5741,6 @@ var StudentTeam_competitionsPage = function competitionsPage(_ref) {
|
|
|
|
|
align: 'right',
|
|
|
|
|
dataIndex: 'role',
|
|
|
|
|
render: function render(text, items, index) {
|
|
|
|
|
var _user$userInfo;
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
|
|
|
|
|
children: [is_manager && /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
style: {
|
|
|
|
|
@ -5757,7 +5756,13 @@ var StudentTeam_competitionsPage = function competitionsPage(_ref) {
|
|
|
|
|
},
|
|
|
|
|
children: "\u67E5\u770B"
|
|
|
|
|
})
|
|
|
|
|
}), (user === null || user === void 0 || (_user$userInfo = user.userInfo) === null || _user$userInfo === void 0 ? void 0 : _user$userInfo.login) === leaderLogin && (my_teams === null || my_teams === void 0 ? void 0 : my_teams.id) !== (items === null || items === void 0 ? void 0 : items.id) && /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, {
|
|
|
|
|
}), (my_teams === null || my_teams === void 0 ? void 0 : my_teams.id) === (items === null || items === void 0 ? void 0 : items.id) && /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
style: {
|
|
|
|
|
color: '#C0C0C0',
|
|
|
|
|
marginLeft: 20
|
|
|
|
|
},
|
|
|
|
|
children: "\u6211\u7684\u6218\u961F"
|
|
|
|
|
}), (my_teams === null || my_teams === void 0 ? void 0 : my_teams.id) !== (items === null || items === void 0 ? void 0 : items.id) && /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, {
|
|
|
|
|
children: items !== null && items !== void 0 && items.can_appling ? /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
style: {
|
|
|
|
|
color: '#3061D0'
|
|
|
|
|
@ -5904,7 +5909,7 @@ var StudentTeam_competitionsPage = function competitionsPage(_ref) {
|
|
|
|
|
dataIndex: 'status',
|
|
|
|
|
ellipsis: true,
|
|
|
|
|
render: function render(text, record) {
|
|
|
|
|
var _user$userInfo2;
|
|
|
|
|
var _user$userInfo;
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
|
|
|
|
|
children: [(record === null || record === void 0 ? void 0 : record.me_appling) && ['1', 'appling'].includes(text) && /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
style: {
|
|
|
|
|
@ -5921,7 +5926,7 @@ var StudentTeam_competitionsPage = function competitionsPage(_ref) {
|
|
|
|
|
color: '#E30000'
|
|
|
|
|
},
|
|
|
|
|
children: "\u88AB\u9A73\u56DE"
|
|
|
|
|
}), (user === null || user === void 0 || (_user$userInfo2 = user.userInfo) === null || _user$userInfo2 === void 0 ? void 0 : _user$userInfo2.login) === leaderLogin && !(record !== null && record !== void 0 && record.me_appling) && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
|
|
|
|
|
}), (user === null || user === void 0 || (_user$userInfo = user.userInfo) === null || _user$userInfo === void 0 ? void 0 : _user$userInfo.login) === leaderLogin && !(record !== null && record !== void 0 && record.me_appling) && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
style: {
|
|
|
|
|
color: '#E30000',
|