|
|
|
|
@ -10376,11 +10376,12 @@ var Warehouse_excluded = ["globalSetting", "loading", "dispatch", "practiceSetti
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// import Complete from '../../components/Complete';
|
|
|
|
|
|
|
|
|
|
var TabPane = tabs/* default */.Z.TabPane;
|
|
|
|
|
var Warehouse = function Warehouse(_ref) {
|
|
|
|
|
var _shixunsDetail$fileCo10, _practiceSetting$side2, _practiceSetting$side6, _practiceSetting$side7, _shixunsDetail$fileCo12, _shixunsDetail$fileCo13, _shixunsDetail$fileCo14, _shixunsDetail$fileCo15, _shixunsDetail$fileCo16;
|
|
|
|
|
var _shixunsDetail$fileCo10, _practiceSetting$side2, _practiceSetting$side6, _shixunsDetail$reposi, _shixunsDetail$secret, _shixunsDetail$reposi2, _shixunsDetail$secret2, _shixunsDetail$reposi3, _shixunsDetail$secret3, _practiceSetting$side7, _shixunsDetail$fileCo12, _shixunsDetail$fileCo13, _shixunsDetail$fileCo14, _shixunsDetail$fileCo15, _shixunsDetail$fileCo16;
|
|
|
|
|
var globalSetting = _ref.globalSetting,
|
|
|
|
|
loading = _ref.loading,
|
|
|
|
|
dispatch = _ref.dispatch,
|
|
|
|
|
@ -10620,15 +10621,37 @@ var Warehouse = function Warehouse(_ref) {
|
|
|
|
|
children: [tabKey === '1' && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("aside", {
|
|
|
|
|
className: Warehousemodules.left,
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(spin/* default */.Z, {
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(spin/* default */.Z, {
|
|
|
|
|
spinning: !!loading.effects['shixunsDetail/getRepository'],
|
|
|
|
|
wrapperClassName: "".concat(Warehousemodules.loading, " ").concat(Warehousemodules.bottom0),
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(Tree, {
|
|
|
|
|
children: [(isRepository && (shixunsDetail === null || shixunsDetail === void 0 || (_shixunsDetail$reposi = shixunsDetail.repository) === null || _shixunsDetail$reposi === void 0 ? void 0 : _shixunsDetail$reposi.git_url) || !isRepository && (shixunsDetail === null || shixunsDetail === void 0 || (_shixunsDetail$secret = shixunsDetail.secretRepository) === null || _shixunsDetail$secret === void 0 ? void 0 : _shixunsDetail$secret.git_url)) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
style: {
|
|
|
|
|
marginTop: "20px"
|
|
|
|
|
},
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
className: Warehousemodules.title,
|
|
|
|
|
children: "\u4ED3\u5E93\u5730\u5740:"
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("input", {
|
|
|
|
|
value: isRepository ? shixunsDetail === null || shixunsDetail === void 0 || (_shixunsDetail$reposi2 = shixunsDetail.repository) === null || _shixunsDetail$reposi2 === void 0 ? void 0 : _shixunsDetail$reposi2.git_url : shixunsDetail === null || shixunsDetail === void 0 || (_shixunsDetail$secret2 = shixunsDetail.secretRepository) === null || _shixunsDetail$secret2 === void 0 ? void 0 : _shixunsDetail$secret2.git_url
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(lib.CopyToClipboard, {
|
|
|
|
|
text: isRepository ? shixunsDetail === null || shixunsDetail === void 0 || (_shixunsDetail$reposi3 = shixunsDetail.repository) === null || _shixunsDetail$reposi3 === void 0 ? void 0 : _shixunsDetail$reposi3.git_url : shixunsDetail === null || shixunsDetail === void 0 || (_shixunsDetail$secret3 = shixunsDetail.secretRepository) === null || _shixunsDetail$secret3 === void 0 ? void 0 : _shixunsDetail$secret3.git_url,
|
|
|
|
|
onCopy: function onCopy() {
|
|
|
|
|
return message/* default */.ZP.success('复制成功');
|
|
|
|
|
},
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
|
|
|
|
|
placement: "topLeft",
|
|
|
|
|
title: "\u70B9\u51FB\u590D\u5236\u7248\u672C\u5E93",
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
|
|
|
|
|
className: "iconfont icon-fuzhi2 current ml5"
|
|
|
|
|
})
|
|
|
|
|
})
|
|
|
|
|
})]
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(Tree, {
|
|
|
|
|
setTreeData: setTreeData,
|
|
|
|
|
treeData: treeData,
|
|
|
|
|
activeKey: activeKey,
|
|
|
|
|
isRepository: isRepository
|
|
|
|
|
})
|
|
|
|
|
})]
|
|
|
|
|
})
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("aside", {
|
|
|
|
|
className: Warehousemodules.right,
|
|
|
|
|
|