Auto Submit

dev_local_v9_toubiao
autosubmit 2 years ago
parent d9d1e0b3b1
commit 30280d790b

File diff suppressed because one or more lines are too long

@ -939,146 +939,231 @@ var ClassroomListPage = function ClassroomListPage(_ref) {
};
}();
var actionTab = function actionTab(record) {
return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
onClick: function onClick() {
setSelectedId(record === null || record === void 0 ? void 0 : record.id);
setIsShowTip(false);
checkEnvironment(record === null || record === void 0 ? void 0 : record.id, false);
},
children: "\u8FD0\u884C\u955C\u50CF"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(popover/* default */.Z, {
placement: "bottomLeft",
content: /*#__PURE__*/(0,jsx_runtime.jsxs)(menu/* default */.Z, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z.Item, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("a", {
onClick: function onClick() {
(0,util/* openNewWindow */.xg)("/shixuns/new?tab=".concat(Number(ListType) + 1, "&mirror=").concat(record === null || record === void 0 ? void 0 : record.mirror_repository_id));
},
children: "\u521B\u5EFA\u5B9E\u8DF5\u9879\u76EE"
})
}), ((record === null || record === void 0 ? void 0 : record.publish_status) === -1 || (record === null || record === void 0 ? void 0 : record.publish_status) === 0) && /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z.Item, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("a", {
onClick: function onClick() {
setSelectedId(record === null || record === void 0 ? void 0 : record.id);
setApplyPublic(true);
},
children: "\u7533\u8BF7\u516C\u5F00"
})
}), (record === null || record === void 0 ? void 0 : record.publish_status) === 3 && /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z.Item, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("a", {
onClick: function onClick() {
setSelectedId(record === null || record === void 0 ? void 0 : record.id);
setReApplyModal(true);
},
children: "\u91CD\u65B0\u7533\u8BF7"
})
}), ((record === null || record === void 0 ? void 0 : record.publish_status) === 2 || (record === null || record === void 0 ? void 0 : record.publish_status) === 3) && /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z.Item, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("a", {
onClick: function onClick() {
setSelectedId(record === null || record === void 0 ? void 0 : record.id);
setCancleApplyModal(true);
},
children: "\u64A4\u9500\u7533\u8BF7"
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z.Item, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("a", {
onClick: function onClick() {
setSelectedId(record === null || record === void 0 ? void 0 : record.id);
setIsModifyMirror(true);
},
children: "\u4FEE\u6539\u955C\u50CF\u4FE1\u606F"
})
}), ((record === null || record === void 0 ? void 0 : record.publish_status) === -1 || (record === null || record === void 0 ? void 0 : record.publish_status) === 0 || (record === null || record === void 0 ? void 0 : record.publish_status) === 3) && /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z.Item, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(AsyncButton/* AsyncButton */.Z, {
type: "link",
style: {
whiteSpace: "nowrap",
padding: 0,
color: 'rgba(0, 0, 0, 0.88)'
},
onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee9() {
return regeneratorRuntime_default()().wrap(function _callee9$(_context9) {
while (1) switch (_context9.prev = _context9.next) {
case 0:
setSelectedId(record === null || record === void 0 ? void 0 : record.id);
setIsShowTip(true);
_context9.next = 4;
return checkEnvironment(record === null || record === void 0 ? void 0 : record.id, true);
case 4:
case "end":
return _context9.stop();
}
}, _callee9);
})),
children: "\u66F4\u65B0\u955C\u50CF"
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z.Item, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(AsyncButton/* AsyncButton */.Z, {
type: "link",
style: {
whiteSpace: "nowrap",
padding: 0,
color: 'rgba(0, 0, 0, 0.88)'
},
onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee10() {
return regeneratorRuntime_default()().wrap(function _callee10$(_context10) {
while (1) switch (_context10.prev = _context10.next) {
case 0:
setSelectedId(record === null || record === void 0 ? void 0 : record.id);
setSelectedKeys(record === null || record === void 0 ? void 0 : record.share_group_ids);
_context10.next = 4;
return handleShareMirror();
case 4:
case "end":
return _context10.stop();
}
}, _callee10);
})),
children: "\u5171\u4EAB\u955C\u50CF"
})
}), ((record === null || record === void 0 ? void 0 : record.publish_status) === -1 || (record === null || record === void 0 ? void 0 : record.publish_status) === 0 || (record === null || record === void 0 ? void 0 : record.publish_status) === 3) && /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z.Item, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(AsyncButton/* AsyncButton */.Z, {
type: "link",
style: {
whiteSpace: "nowrap",
padding: 0,
color: 'rgba(0, 0, 0, 0.88)'
},
onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee11() {
return regeneratorRuntime_default()().wrap(function _callee11$(_context11) {
while (1) switch (_context11.prev = _context11.next) {
case 0:
setSelectedId(record === null || record === void 0 ? void 0 : record.id);
_context11.next = 3;
return handleDeleteMirror(record === null || record === void 0 ? void 0 : record.id);
case 3:
case "end":
return _context11.stop();
}
}, _callee11);
})),
children: "\u5220\u9664"
})
})]
}),
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
paddingRight: 4
},
children: "\u66F4\u591A"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-sanjiaoxing-down",
if ((record === null || record === void 0 ? void 0 : record.status) === 2 && [-1, 0, 1, 2, 3].includes(record === null || record === void 0 ? void 0 : record.publish_status)) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(popover/* default */.Z, {
placement: "bottomLeft",
content: /*#__PURE__*/(0,jsx_runtime.jsxs)(menu/* default */.Z, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z.Item, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("a", {
onClick: function onClick() {
setSelectedId(record === null || record === void 0 ? void 0 : record.id);
setIsShowTip(false);
checkEnvironment(record === null || record === void 0 ? void 0 : record.id, false);
},
children: "\u8FD0\u884C\u955C\u50CF"
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z.Item, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("a", {
onClick: function onClick() {
(0,util/* openNewWindow */.xg)("/shixuns/new?tab=".concat(Number(ListType) + 1, "&mirror=").concat(record === null || record === void 0 ? void 0 : record.mirror_repository_id));
},
children: "\u521B\u5EFA\u5B9E\u8DF5\u9879\u76EE"
})
}), [-1, 0].includes(record === null || record === void 0 ? void 0 : record.publish_status) && /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z.Item, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("a", {
onClick: function onClick() {
setSelectedId(record === null || record === void 0 ? void 0 : record.id);
setApplyPublic(true);
},
children: "\u7533\u8BF7\u516C\u5F00"
})
}), (record === null || record === void 0 ? void 0 : record.publish_status) === 3 && /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z.Item, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("a", {
onClick: function onClick() {
setSelectedId(record === null || record === void 0 ? void 0 : record.id);
setReApplyModal(true);
},
children: "\u91CD\u65B0\u7533\u8BF7"
})
}), [2, 3].includes(record === null || record === void 0 ? void 0 : record.publish_status) && /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z.Item, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("a", {
onClick: function onClick() {
setSelectedId(record === null || record === void 0 ? void 0 : record.id);
setCancleApplyModal(true);
},
children: "\u64A4\u9500\u7533\u8BF7"
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z.Item, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("a", {
onClick: function onClick() {
setSelectedId(record === null || record === void 0 ? void 0 : record.id);
setIsModifyMirror(true);
},
children: "\u4FEE\u6539\u955C\u50CF\u4FE1\u606F"
})
}), [-1, 0, 3].includes(record === null || record === void 0 ? void 0 : record.publish_status) && /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z.Item, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(AsyncButton/* AsyncButton */.Z, {
type: "link",
style: {
whiteSpace: "nowrap",
padding: 0,
color: 'rgba(0, 0, 0, 0.88)'
},
onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee9() {
return regeneratorRuntime_default()().wrap(function _callee9$(_context9) {
while (1) switch (_context9.prev = _context9.next) {
case 0:
setSelectedId(record === null || record === void 0 ? void 0 : record.id);
setIsShowTip(true);
_context9.next = 4;
return checkEnvironment(record === null || record === void 0 ? void 0 : record.id, true);
case 4:
case "end":
return _context9.stop();
}
}, _callee9);
})),
children: "\u66F4\u65B0\u955C\u50CF"
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z.Item, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(AsyncButton/* AsyncButton */.Z, {
type: "link",
style: {
whiteSpace: "nowrap",
padding: 0,
color: 'rgba(0, 0, 0, 0.88)'
},
onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee10() {
return regeneratorRuntime_default()().wrap(function _callee10$(_context10) {
while (1) switch (_context10.prev = _context10.next) {
case 0:
setSelectedId(record === null || record === void 0 ? void 0 : record.id);
setSelectedKeys(record === null || record === void 0 ? void 0 : record.share_group_ids);
_context10.next = 4;
return handleShareMirror();
case 4:
case "end":
return _context10.stop();
}
}, _callee10);
})),
children: "\u5171\u4EAB\u955C\u50CF"
})
}), [-1, 0, 3].includes(record === null || record === void 0 ? void 0 : record.publish_status) && /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z.Item, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(AsyncButton/* AsyncButton */.Z, {
type: "link",
style: {
whiteSpace: "nowrap",
padding: 0,
color: 'rgba(0, 0, 0, 0.88)'
},
onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee11() {
return regeneratorRuntime_default()().wrap(function _callee11$(_context11) {
while (1) switch (_context11.prev = _context11.next) {
case 0:
setSelectedId(record === null || record === void 0 ? void 0 : record.id);
_context11.next = 3;
return handleDeleteMirror(record === null || record === void 0 ? void 0 : record.id);
case 3:
case "end":
return _context11.stop();
}
}, _callee11);
})),
children: "\u5220\u9664"
})
})]
}),
children: ["\u66F4\u591A", /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-sanjiaoxing-down font14 ",
style: {
fontSize: 14
marginLeft: "4px"
}
})]
})
})
})]
});
});
}
if ((record === null || record === void 0 ? void 0 : record.status) === 0) {
return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
children: [(record === null || record === void 0 ? void 0 : record.is_making_end) === true && /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(AsyncButton/* AsyncButton */.Z, {
type: "link",
style: {
whiteSpace: "nowrap",
padding: 0,
color: '#165DFF',
height: 22
},
onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee12() {
return regeneratorRuntime_default()().wrap(function _callee12$(_context12) {
while (1) switch (_context12.prev = _context12.next) {
case 0:
setSelectedId(record === null || record === void 0 ? void 0 : record.id);
_context12.next = 3;
return handleDeleteMirror(record === null || record === void 0 ? void 0 : record.id);
case 3:
case "end":
return _context12.stop();
}
}, _callee12);
})),
children: "\u5220\u9664"
})
}), (record === null || record === void 0 ? void 0 : record.is_making_end) === false && /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(popover/* default */.Z, {
placement: "bottomLeft",
content: /*#__PURE__*/(0,jsx_runtime.jsxs)(menu/* default */.Z, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z.Item, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(AsyncButton/* AsyncButton */.Z, {
type: "link",
style: {
whiteSpace: "nowrap",
padding: 0,
color: 'rgba(0, 0, 0, 0.88)'
},
onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee13() {
return regeneratorRuntime_default()().wrap(function _callee13$(_context13) {
while (1) switch (_context13.prev = _context13.next) {
case 0:
_context13.next = 2;
return handleMakeMirror(record === null || record === void 0 ? void 0 : record.id);
case 2:
case "end":
return _context13.stop();
}
}, _callee13);
})),
children: "\u5236\u4F5C\u955C\u50CF"
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z.Item, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(AsyncButton/* AsyncButton */.Z, {
type: "link",
style: {
whiteSpace: "nowrap",
padding: 0,
color: 'rgba(0, 0, 0, 0.88)'
},
onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee14() {
return regeneratorRuntime_default()().wrap(function _callee14$(_context14) {
while (1) switch (_context14.prev = _context14.next) {
case 0:
setSelectedId(record === null || record === void 0 ? void 0 : record.id);
_context14.next = 3;
return handleDeleteMirror(record === null || record === void 0 ? void 0 : record.id);
case 3:
case "end":
return _context14.stop();
}
}, _callee14);
})),
children: "\u5220\u9664"
})
})]
}),
children: ["\u66F4\u591A", /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-sanjiaoxing-down font14 ",
style: {
marginLeft: "4px"
}
})]
})
})]
});
}
return /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, {});
};
var columns = [{
title: '镜像名称',
@ -1252,83 +1337,19 @@ var ClassroomListPage = function ClassroomListPage(_ref) {
},
gutter: [8, 0],
justify: "end",
children: [(record === null || record === void 0 ? void 0 : record.status) === 1 && /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {}), (record === null || record === void 0 ? void 0 : record.status) === 0 && (record === null || record === void 0 ? void 0 : record.is_making_end) === false && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(AsyncButton/* AsyncButton */.Z, {
type: "link",
style: {
whiteSpace: "nowrap",
padding: 0,
color: '#165DFF'
},
onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee12() {
return regeneratorRuntime_default()().wrap(function _callee12$(_context12) {
while (1) switch (_context12.prev = _context12.next) {
case 0:
_context12.next = 2;
return handleMakeMirror(record === null || record === void 0 ? void 0 : record.id);
case 2:
case "end":
return _context12.stop();
}
}, _callee12);
})),
children: "\u5236\u4F5C\u955C\u50CF"
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(AsyncButton/* AsyncButton */.Z, {
type: "link",
style: {
whiteSpace: "nowrap",
padding: 0,
color: '#165DFF'
},
onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee13() {
return regeneratorRuntime_default()().wrap(function _callee13$(_context13) {
while (1) switch (_context13.prev = _context13.next) {
case 0:
setSelectedId(record === null || record === void 0 ? void 0 : record.id);
_context13.next = 3;
return handleDeleteMirror(record === null || record === void 0 ? void 0 : record.id);
case 3:
case "end":
return _context13.stop();
}
}, _callee13);
})),
children: "\u5220\u9664"
})
})]
}), (record === null || record === void 0 ? void 0 : record.status) === 3 && /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(AsyncButton/* AsyncButton */.Z, {
type: "link",
style: {
whiteSpace: "nowrap",
padding: 0,
color: '#165DFF'
},
onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee14() {
return regeneratorRuntime_default()().wrap(function _callee14$(_context14) {
while (1) switch (_context14.prev = _context14.next) {
case 0:
setSelectedId(record === null || record === void 0 ? void 0 : record.id);
_context14.next = 3;
return handleDeleteMirror(record === null || record === void 0 ? void 0 : record.id);
case 3:
case "end":
return _context14.stop();
}
}, _callee14);
})),
children: "\u5220\u9664"
})
}), (record === null || record === void 0 ? void 0 : record.status) === 0 && (record === null || record === void 0 ? void 0 : record.is_making_end) === true && /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
onClick: function onClick() {
_umi_production_exports.history.push("/users/".concat(routeParams === null || routeParams === void 0 ? void 0 : routeParams.username, "/experiment-img/").concat(record === null || record === void 0 ? void 0 : record.id, "/detail?status=").concat(ListType));
},
children: "\u8BE6\u60C5"
}), (record === null || record === void 0 ? void 0 : record.status) === 1 && /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {}), (record === null || record === void 0 ? void 0 : record.status) === 3 && /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(AsyncButton/* AsyncButton */.Z, {
type: "link",
style: {
whiteSpace: "nowrap",
padding: 0,
color: '#165DFF'
color: '#165DFF',
height: 22
},
onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee15() {
return regeneratorRuntime_default()().wrap(function _callee15$(_context15) {
@ -1345,7 +1366,7 @@ var ClassroomListPage = function ClassroomListPage(_ref) {
})),
children: "\u5220\u9664"
})
}), (record === null || record === void 0 ? void 0 : record.status) === 2 && ((record === null || record === void 0 ? void 0 : record.publish_status) === -1 || (record === null || record === void 0 ? void 0 : record.publish_status) === 0 || (record === null || record === void 0 ? void 0 : record.publish_status) === 1 || (record === null || record === void 0 ? void 0 : record.publish_status) === 2 || (record === null || record === void 0 ? void 0 : record.publish_status) === 3) && actionTab(record)]
}), actionTab(record)]
});
}
if (ListType === 1) {
@ -1356,18 +1377,40 @@ var ClassroomListPage = function ClassroomListPage(_ref) {
},
gutter: [8, 0],
justify: "end",
children: [(record === null || record === void 0 ? void 0 : record.status) === 2 && /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
onClick: function onClick() {
setSelectedId(record === null || record === void 0 ? void 0 : record.id);
setIsShowTip(false);
checkEnvironment(record === null || record === void 0 ? void 0 : record.id, false);
_umi_production_exports.history.push("/users/".concat(routeParams === null || routeParams === void 0 ? void 0 : routeParams.username, "/experiment-img/").concat(record === null || record === void 0 ? void 0 : record.id, "/detail?status=").concat(ListType));
},
children: "\u8FD0\u884C\u955C\u50CF"
children: "\u8BE6\u60C5"
}), (record === null || record === void 0 ? void 0 : record.status) === 2 && /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
onClick: function onClick() {
(0,util/* openNewWindow */.xg)("/shixuns/new?tab=".concat(Number(ListType) + 1, "&mirror=").concat(record === null || record === void 0 ? void 0 : record.mirror_repository_id));
},
children: "\u521B\u5EFA\u5B9E\u8DF5\u9879\u76EE"
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(popover/* default */.Z, {
placement: "bottomLeft",
content: /*#__PURE__*/(0,jsx_runtime.jsxs)(menu/* default */.Z, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z.Item, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("a", {
onClick: function onClick() {
setSelectedId(record === null || record === void 0 ? void 0 : record.id);
setIsShowTip(false);
checkEnvironment(record === null || record === void 0 ? void 0 : record.id, false);
},
children: "\u8FD0\u884C\u955C\u50CF"
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z.Item, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("a", {
onClick: function onClick() {
(0,util/* openNewWindow */.xg)("/shixuns/new?tab=".concat(Number(ListType) + 1, "&mirror=").concat(record === null || record === void 0 ? void 0 : record.mirror_repository_id));
},
children: "\u521B\u5EFA\u5B9E\u8DF5\u9879\u76EE"
})
})]
}),
children: ["\u66F4\u591A", /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-sanjiaoxing-down font14 ",
style: {
marginLeft: "4px"
}
})]
})
})]
});
}

Loading…
Cancel
Save