|
|
"use strict";
|
|
|
(self["webpackChunk"] = self["webpackChunk"] || []).push([[3943],{
|
|
|
|
|
|
/***/ 9728:
|
|
|
/*!**********************************************************!*\
|
|
|
!*** ./src/components/MultiUpload/index.tsx + 2 modules ***!
|
|
|
\**********************************************************/
|
|
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
|
|
|
|
|
|
|
// EXPORTS
|
|
|
__webpack_require__.d(__webpack_exports__, {
|
|
|
z: function() { return /* binding */ coverToFileList; },
|
|
|
Z: function() { return /* binding */ MultiUpload; }
|
|
|
});
|
|
|
|
|
|
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js
|
|
|
var regeneratorRuntime = __webpack_require__(7557);
|
|
|
var regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(regeneratorRuntime);
|
|
|
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js
|
|
|
var asyncToGenerator = __webpack_require__(41498);
|
|
|
var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator);
|
|
|
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js
|
|
|
var objectSpread2 = __webpack_require__(82242);
|
|
|
var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2);
|
|
|
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/toConsumableArray.js
|
|
|
var toConsumableArray = __webpack_require__(37205);
|
|
|
var toConsumableArray_default = /*#__PURE__*/__webpack_require__.n(toConsumableArray);
|
|
|
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/slicedToArray.js
|
|
|
var slicedToArray = __webpack_require__(79800);
|
|
|
var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray);
|
|
|
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
|
|
|
var _react_17_0_2_react = __webpack_require__(59301);
|
|
|
// EXTERNAL MODULE: ./node_modules/_antd@5.12.8@antd/es/upload/index.js + 24 modules
|
|
|
var upload = __webpack_require__(53654);
|
|
|
// EXTERNAL MODULE: ./node_modules/_antd@5.12.8@antd/es/message/index.js + 4 modules
|
|
|
var es_message = __webpack_require__(47130);
|
|
|
// EXTERNAL MODULE: ./node_modules/_antd@5.12.8@antd/es/modal/index.js + 16 modules
|
|
|
var modal = __webpack_require__(21698);
|
|
|
// EXTERNAL MODULE: ./node_modules/_antd@5.12.8@antd/es/button/index.js + 8 modules
|
|
|
var es_button = __webpack_require__(11103);
|
|
|
// EXTERNAL MODULE: ./src/utils/env.ts + 1 modules
|
|
|
var env = __webpack_require__(80548);
|
|
|
// EXTERNAL MODULE: ./src/pages/MoopCases/FormPanel/service.ts
|
|
|
var service = __webpack_require__(14503);
|
|
|
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
|
|
|
var jsx_runtime = __webpack_require__(37712);
|
|
|
;// CONCATENATED MODULE: ./src/components/SingleUpload/index.tsx
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var uploadNameSizeSeperator = ' ';
|
|
|
function bytesToSize(bytes) {
|
|
|
var sizes = ['Bytes', 'KB', 'MB', 'GB', 'TB'];
|
|
|
if (bytes == 0) return '0 Byte';
|
|
|
var i = parseInt('' + Math.floor(Math.log(bytes) / Math.log(1024)), 10);
|
|
|
return (bytes / Math.pow(1024, i)).toFixed(1) + ' ' + sizes[i];
|
|
|
}
|
|
|
/* harmony default export */ var SingleUpload = (function (_ref) {
|
|
|
var _ref$value = _ref.value,
|
|
|
value = _ref$value === void 0 ? [] : _ref$value,
|
|
|
action = _ref.action,
|
|
|
_onChange = _ref.onChange,
|
|
|
className = _ref.className,
|
|
|
_ref$maxSize = _ref.maxSize,
|
|
|
maxSize = _ref$maxSize === void 0 ? 150 : _ref$maxSize,
|
|
|
_ref$title = _ref.title,
|
|
|
title = _ref$title === void 0 ? '文件上传' : _ref$title,
|
|
|
_ref$accept = _ref.accept,
|
|
|
accept = _ref$accept === void 0 ? null : _ref$accept;
|
|
|
var uploadProps = {
|
|
|
multiple: false,
|
|
|
fileList: value,
|
|
|
accept: accept,
|
|
|
withCredentials: true,
|
|
|
beforeUpload: function beforeUpload(file) {
|
|
|
var fileSize = file.size / 1024 / 1024;
|
|
|
if (!(fileSize < maxSize)) {
|
|
|
message.error("\u8BE5\u6587\u4EF6\u65E0\u6CD5\u4E0A\u4F20\u3002\u8D85\u8FC7\u6587\u4EF6\u5927\u5C0F\u9650\u5236(".concat(maxSize, "MB),\u5EFA\u8BAE\u4E0A\u4F20\u5230\u767E\u5EA6\u4E91\u7B49\u5176\u5B83\u5171\u4EAB\u5DE5\u5177\u91CC\uFF0C\u7136\u540E\u518Dtxt\u6587\u6863\u91CC\u7ED9\u51FA\u94FE\u63A5\u4EE5\u53CA\u5171\u4EAB\u5BC6\u7801\u5E76\u4E0A\u4F20"));
|
|
|
return Promise.reject();
|
|
|
}
|
|
|
return true;
|
|
|
},
|
|
|
action: "".concat(ENV.API_SERVER, "/api/attachments.json"),
|
|
|
// ?debug=student&randomcode=undefined&client_key=6d57f8c3dd186c5ada392546ace9620a
|
|
|
onChange: function onChange(info) {
|
|
|
var _info$file;
|
|
|
var fileList = _toConsumableArray(info.fileList);
|
|
|
fileList = fileList.map(function (file) {
|
|
|
if (file.name.indexOf(uploadNameSizeSeperator) === -1) {
|
|
|
file.name = "".concat(file.name).concat(uploadNameSizeSeperator).concat(bytesToSize(file.size));
|
|
|
}
|
|
|
return _objectSpread({}, file);
|
|
|
});
|
|
|
if (info.file.status === 'done' && ((_info$file = info.file) === null || _info$file === void 0 || (_info$file = _info$file.response) === null || _info$file === void 0 ? void 0 : _info$file.status) === -1) {
|
|
|
var _info$file2;
|
|
|
message.error((_info$file2 = info.file) === null || _info$file2 === void 0 || (_info$file2 = _info$file2.response) === null || _info$file2 === void 0 ? void 0 : _info$file2.message);
|
|
|
_onChange([]);
|
|
|
return;
|
|
|
}
|
|
|
_onChange(fileList);
|
|
|
},
|
|
|
onRemove: function () {
|
|
|
var _onRemove = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(file) {
|
|
|
var fileSize, id, rs;
|
|
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
|
while (1) switch (_context.prev = _context.next) {
|
|
|
case 0:
|
|
|
fileSize = file.size / 1024 / 1024;
|
|
|
if (!(file.status === 'uploading')) {
|
|
|
_context.next = 3;
|
|
|
break;
|
|
|
}
|
|
|
return _context.abrupt("return", true);
|
|
|
case 3:
|
|
|
if (fileSize < maxSize) {
|
|
|
_context.next = 7;
|
|
|
break;
|
|
|
}
|
|
|
return _context.abrupt("return", true);
|
|
|
case 7:
|
|
|
id = file.response ? file.response.id : file.uid;
|
|
|
if (!id) {
|
|
|
_context.next = 15;
|
|
|
break;
|
|
|
}
|
|
|
_context.next = 11;
|
|
|
return removeAttachment(file.response ? file.response.id : file.id);
|
|
|
case 11:
|
|
|
rs = _context.sent;
|
|
|
return _context.abrupt("return", rs);
|
|
|
case 15:
|
|
|
return _context.abrupt("return", true);
|
|
|
case 16:
|
|
|
case "end":
|
|
|
return _context.stop();
|
|
|
}
|
|
|
}, _callee);
|
|
|
}));
|
|
|
function onRemove(_x) {
|
|
|
return _onRemove.apply(this, arguments);
|
|
|
}
|
|
|
return onRemove;
|
|
|
}()
|
|
|
};
|
|
|
function onCancel(e) {
|
|
|
e.preventDefault();
|
|
|
e.stopPropagation();
|
|
|
}
|
|
|
return /*#__PURE__*/_jsx("div", {
|
|
|
className: "single-upload ".concat(className ? className : ''),
|
|
|
children: /*#__PURE__*/_jsxs(Upload, _objectSpread(_objectSpread({}, uploadProps), {}, {
|
|
|
children: [/*#__PURE__*/_jsx(Button, {
|
|
|
type: "primary",
|
|
|
title: value.length > 0 ? '每次只能上传一个资源, 删除下面资源可重新上传 ' : '',
|
|
|
disabled: value.length > 0,
|
|
|
ghost: true,
|
|
|
children: title
|
|
|
}), /*#__PURE__*/_jsxs("span", {
|
|
|
onClick: onCancel,
|
|
|
style: {
|
|
|
marginLeft: 10
|
|
|
},
|
|
|
children: ["(\u5355\u4E2A\u6587\u4EF6\u6700\u5927", maxSize, "M)", ' ']
|
|
|
})]
|
|
|
}))
|
|
|
});
|
|
|
});
|
|
|
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.2.6@@ant-design/icons/es/icons/InboxOutlined.js + 1 modules
|
|
|
var InboxOutlined = __webpack_require__(60936);
|
|
|
// EXTERNAL MODULE: ./node_modules/_lodash@4.17.21@lodash/lodash.js
|
|
|
var lodash = __webpack_require__(89392);
|
|
|
;// CONCATENATED MODULE: ./src/components/MultiUpload/index.less
|
|
|
// extracted by mini-css-extract-plugin
|
|
|
|
|
|
;// CONCATENATED MODULE: ./src/components/MultiUpload/index.tsx
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var Dragger = upload/* default */.Z.Dragger;
|
|
|
function coverToFileList(data) {
|
|
|
var rs = [];
|
|
|
if (data && data.length > 0) {
|
|
|
rs = data.map(function (item) {
|
|
|
return {
|
|
|
uid: item.id,
|
|
|
id: item.id,
|
|
|
name: item.title + uploadNameSizeSeperator + item.filesize,
|
|
|
url: item.url,
|
|
|
filesize: item.filesize,
|
|
|
status: 'done',
|
|
|
response: {
|
|
|
id: item.id
|
|
|
}
|
|
|
};
|
|
|
});
|
|
|
}
|
|
|
return rs;
|
|
|
}
|
|
|
/* harmony default export */ var MultiUpload = (function (_ref) {
|
|
|
var value = _ref.value,
|
|
|
_onChange = _ref.onChange,
|
|
|
action = _ref.action,
|
|
|
data = _ref.data,
|
|
|
className = _ref.className,
|
|
|
_ref$maxSize = _ref.maxSize,
|
|
|
maxSize = _ref$maxSize === void 0 ? 1000 : _ref$maxSize,
|
|
|
_ref$title = _ref.title,
|
|
|
title = _ref$title === void 0 ? '上传附件' : _ref$title,
|
|
|
_ref$showRemoveModal = _ref.showRemoveModal,
|
|
|
showRemoveModal = _ref$showRemoveModal === void 0 ? false : _ref$showRemoveModal,
|
|
|
_ref$accept = _ref.accept,
|
|
|
accept = _ref$accept === void 0 ? '' : _ref$accept,
|
|
|
additionalText = _ref.additionalText,
|
|
|
isDragger = _ref.isDragger,
|
|
|
_ref$number = _ref.number,
|
|
|
number = _ref$number === void 0 ? 10 : _ref$number,
|
|
|
_ref$aloneClear = _ref.aloneClear,
|
|
|
aloneClear = _ref$aloneClear === void 0 ? false : _ref$aloneClear;
|
|
|
var _useState = (0,_react_17_0_2_react.useState)(false),
|
|
|
_useState2 = slicedToArray_default()(_useState, 2),
|
|
|
disabled = _useState2[0],
|
|
|
setDisabled = _useState2[1];
|
|
|
var _useState3 = (0,_react_17_0_2_react.useState)(value || []),
|
|
|
_useState4 = slicedToArray_default()(_useState3, 2),
|
|
|
fileList = _useState4[0],
|
|
|
setFileList = _useState4[1];
|
|
|
var _useState5 = (0,_react_17_0_2_react.useState)(1),
|
|
|
_useState6 = slicedToArray_default()(_useState5, 2),
|
|
|
nums = _useState6[0],
|
|
|
setnums = _useState6[1];
|
|
|
(0,_react_17_0_2_react.useEffect)(function () {
|
|
|
if (value) {
|
|
|
if (nums === 1) {
|
|
|
setFileList(toConsumableArray_default()(value));
|
|
|
}
|
|
|
setnums(2);
|
|
|
if (number === (value === null || value === void 0 ? void 0 : value.length)) {
|
|
|
setDisabled(true);
|
|
|
}
|
|
|
}
|
|
|
}, [value]);
|
|
|
var clearLastFile = function clearLastFile() {
|
|
|
setTimeout(function () {
|
|
|
fileList.pop();
|
|
|
setFileList(toConsumableArray_default()(fileList));
|
|
|
}, 500);
|
|
|
};
|
|
|
var uploadProps = {
|
|
|
// disabled,
|
|
|
accept: accept,
|
|
|
withCredentials: true,
|
|
|
multiple: true,
|
|
|
fileList: fileList,
|
|
|
// fileList: fileList?.length ? fileList : value,
|
|
|
beforeUpload: function beforeUpload(file, fileArr) {
|
|
|
var fileSize = file.size / 1024 / 1024;
|
|
|
if (fileList.concat(fileArr).length > number) {
|
|
|
fileList.pop();
|
|
|
setFileList(toConsumableArray_default()(fileList));
|
|
|
es_message/* default */.ZP.error("\u6700\u591A\u53EA\u80FD\u4E0A\u4F20".concat(number, "\u4E2A\u6587\u4EF6"));
|
|
|
if (aloneClear) {
|
|
|
return Promise.reject();
|
|
|
}
|
|
|
clearLastFile();
|
|
|
return false;
|
|
|
}
|
|
|
if (!(fileSize < maxSize)) {
|
|
|
es_message/* default */.ZP.error("\u8BE5\u6587\u4EF6\u65E0\u6CD5\u4E0A\u4F20\u3002\u8D85\u8FC7\u6587\u4EF6\u5927\u5C0F\u9650\u5236(".concat(maxSize, "MB)."));
|
|
|
if (aloneClear) {
|
|
|
return Promise.reject();
|
|
|
}
|
|
|
clearLastFile();
|
|
|
return false;
|
|
|
}
|
|
|
return true;
|
|
|
},
|
|
|
data: data,
|
|
|
action: action || "".concat(env/* default */.Z.API_SERVER, "/api/attachments.json"),
|
|
|
// ?debug=student&randomcode=undefined&client_key=6d57f8c3dd186c5ada392546ace9620a
|
|
|
onChange: function onChange(info) {
|
|
|
var _info$file;
|
|
|
if (info.file.status === "removed") {
|
|
|
fileList = info.fileList;
|
|
|
} else {
|
|
|
fileList = (0,lodash.uniqBy)([].concat(toConsumableArray_default()(info.fileList), toConsumableArray_default()(fileList)), 'uid');
|
|
|
}
|
|
|
if (info.file.status === 'done' && ((_info$file = info.file) === null || _info$file === void 0 || (_info$file = _info$file.response) === null || _info$file === void 0 ? void 0 : _info$file.status) === -1) {
|
|
|
var _info$file2;
|
|
|
es_message/* default */.ZP.error((_info$file2 = info.file) === null || _info$file2 === void 0 || (_info$file2 = _info$file2.response) === null || _info$file2 === void 0 ? void 0 : _info$file2.message);
|
|
|
return;
|
|
|
}
|
|
|
if (fileList.length >= number) setDisabled(true);else setDisabled(false);
|
|
|
setFileList(toConsumableArray_default()(fileList));
|
|
|
fileList = fileList.map(function (file) {
|
|
|
var _file$response;
|
|
|
if (file !== null && file !== void 0 && (_file$response = file.response) !== null && _file$response !== void 0 && _file$response.id) {
|
|
|
var _file$response2;
|
|
|
file.url = "/api/attachments/".concat(file === null || file === void 0 || (_file$response2 = file.response) === null || _file$response2 === void 0 ? void 0 : _file$response2.id);
|
|
|
}
|
|
|
if (file.name.indexOf(uploadNameSizeSeperator) === -1) {
|
|
|
file.name = "".concat(file.name).concat(uploadNameSizeSeperator).concat(bytesToSize(file.size));
|
|
|
}
|
|
|
return objectSpread2_default()({}, file);
|
|
|
});
|
|
|
console.log('info:', info, fileList);
|
|
|
_onChange(fileList);
|
|
|
},
|
|
|
onRemove: function () {
|
|
|
var _onRemove = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3(file) {
|
|
|
var remove;
|
|
|
return regeneratorRuntime_default()().wrap(function _callee3$(_context3) {
|
|
|
while (1) switch (_context3.prev = _context3.next) {
|
|
|
case 0:
|
|
|
remove = /*#__PURE__*/function () {
|
|
|
var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() {
|
|
|
var id;
|
|
|
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
|
|
|
while (1) switch (_context.prev = _context.next) {
|
|
|
case 0:
|
|
|
id = file.response ? file.response.id : file.id; // if (id) {
|
|
|
// let rs = await removeAttachment(
|
|
|
// file.response ? file.response.id : file.uid,
|
|
|
// );
|
|
|
// // let aa=fileList.filter((item)=>item.id!=id);
|
|
|
// // console.log('----',aa);
|
|
|
// // setFileList([...aa]);
|
|
|
// return Promise.resolve(rs);
|
|
|
// } else {
|
|
|
// return true;
|
|
|
// }
|
|
|
return _context.abrupt("return");
|
|
|
case 2:
|
|
|
case "end":
|
|
|
return _context.stop();
|
|
|
}
|
|
|
}, _callee);
|
|
|
}));
|
|
|
return function remove() {
|
|
|
return _ref2.apply(this, arguments);
|
|
|
};
|
|
|
}();
|
|
|
if (!showRemoveModal) {
|
|
|
_context3.next = 5;
|
|
|
break;
|
|
|
}
|
|
|
return _context3.abrupt("return", new Promise(function (resolve, reject) {
|
|
|
modal/* default */.Z.confirm({
|
|
|
centered: true,
|
|
|
width: 530,
|
|
|
okText: '确定',
|
|
|
cancelText: '取消',
|
|
|
title: '提示',
|
|
|
content: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
className: "tc font16",
|
|
|
children: "\u662F\u5426\u786E\u8BA4\u5220\u9664?"
|
|
|
}),
|
|
|
onOk: function () {
|
|
|
var _onOk = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() {
|
|
|
var res;
|
|
|
return regeneratorRuntime_default()().wrap(function _callee2$(_context2) {
|
|
|
while (1) switch (_context2.prev = _context2.next) {
|
|
|
case 0:
|
|
|
_context2.next = 2;
|
|
|
return remove();
|
|
|
case 2:
|
|
|
res = _context2.sent;
|
|
|
es_message/* default */.ZP.success('删除成功');
|
|
|
resolve(true);
|
|
|
case 5:
|
|
|
case "end":
|
|
|
return _context2.stop();
|
|
|
}
|
|
|
}, _callee2);
|
|
|
}));
|
|
|
function onOk() {
|
|
|
return _onOk.apply(this, arguments);
|
|
|
}
|
|
|
return onOk;
|
|
|
}(),
|
|
|
onCancel: function onCancel() {
|
|
|
return resolve(false);
|
|
|
}
|
|
|
});
|
|
|
}));
|
|
|
case 5:
|
|
|
_context3.next = 7;
|
|
|
return remove();
|
|
|
case 7:
|
|
|
return _context3.abrupt("return", _context3.sent);
|
|
|
case 8:
|
|
|
case "end":
|
|
|
return _context3.stop();
|
|
|
}
|
|
|
}, _callee3);
|
|
|
}));
|
|
|
function onRemove(_x) {
|
|
|
return _onRemove.apply(this, arguments);
|
|
|
}
|
|
|
return onRemove;
|
|
|
}()
|
|
|
};
|
|
|
function onCancel(e) {
|
|
|
e.preventDefault();
|
|
|
e.stopPropagation();
|
|
|
}
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
className: "multi-upload ".concat(className ? className : ''),
|
|
|
children: [isDragger && /*#__PURE__*/(0,jsx_runtime.jsxs)(Dragger, objectSpread2_default()(objectSpread2_default()({}, uploadProps), {}, {
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("p", {
|
|
|
className: "ant-upload-drag-icon",
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(InboxOutlined/* default */.Z, {})
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("p", {
|
|
|
className: "ant-upload-text",
|
|
|
children: ["\u70B9\u51FB\u4E0A\u4F20\u56FE\u6807\uFF0C\u9009\u62E9\u8981\u4E0A\u4F20\u7684\u6587\u4EF6\u6216\u5C06\u6587\u4EF6\u62D6\u62FD\u5230\u6B64", /*#__PURE__*/(0,jsx_runtime.jsx)("br", {}), "(\u5355\u4E2A\u6587\u4EF6\u6700\u5927\u9650\u5236\u4E3A", maxSize, "MB)", ' ']
|
|
|
}), additionalText]
|
|
|
})), !isDragger && /*#__PURE__*/(0,jsx_runtime.jsxs)(upload/* default */.Z, objectSpread2_default()(objectSpread2_default()({}, uploadProps), {}, {
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.ZP, {
|
|
|
className: "upload_button",
|
|
|
style: {
|
|
|
color: '#2A6CB3',
|
|
|
height: 38
|
|
|
},
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
|
|
|
className: "iconfont icon-shangchuanfujian mr5",
|
|
|
style: {
|
|
|
fontSize: 14
|
|
|
}
|
|
|
}), title]
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
|
|
|
onClick: onCancel,
|
|
|
className: "upload_text",
|
|
|
children: ["(\u5355\u4E2A\u6587\u4EF6\u6700\u5927", maxSize, "MB)", ' ']
|
|
|
})]
|
|
|
}))]
|
|
|
});
|
|
|
});
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
/***/ 19554:
|
|
|
/*!***************************************************************************!*\
|
|
|
!*** ./src/pages/Ideology/ModelCourse/AddDirectory/index.tsx + 1 modules ***!
|
|
|
\***************************************************************************/
|
|
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
|
|
|
|
|
|
|
// EXPORTS
|
|
|
__webpack_require__.d(__webpack_exports__, {
|
|
|
Z: function() { return /* binding */ AddDirectory; }
|
|
|
});
|
|
|
|
|
|
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js
|
|
|
var objectSpread2 = __webpack_require__(82242);
|
|
|
var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2);
|
|
|
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js
|
|
|
var regeneratorRuntime = __webpack_require__(7557);
|
|
|
var regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(regeneratorRuntime);
|
|
|
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js
|
|
|
var asyncToGenerator = __webpack_require__(41498);
|
|
|
var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator);
|
|
|
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/slicedToArray.js
|
|
|
var slicedToArray = __webpack_require__(79800);
|
|
|
var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray);
|
|
|
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
|
|
|
var _react_17_0_2_react = __webpack_require__(59301);
|
|
|
// EXTERNAL MODULE: ./node_modules/_antd@5.12.8@antd/es/select/index.js
|
|
|
var es_select = __webpack_require__(56343);
|
|
|
// EXTERNAL MODULE: ./node_modules/_antd@5.12.8@antd/es/form/index.js + 19 modules
|
|
|
var es_form = __webpack_require__(1371);
|
|
|
// EXTERNAL MODULE: ./node_modules/_antd@5.12.8@antd/es/message/index.js + 4 modules
|
|
|
var message = __webpack_require__(47130);
|
|
|
// EXTERNAL MODULE: ./node_modules/_antd@5.12.8@antd/es/modal/index.js + 16 modules
|
|
|
var modal = __webpack_require__(21698);
|
|
|
// EXTERNAL MODULE: ./node_modules/_antd@5.12.8@antd/es/input/index.js + 5 modules
|
|
|
var input = __webpack_require__(81726);
|
|
|
;// CONCATENATED MODULE: ./src/pages/Ideology/ModelCourse/AddDirectory/index.less?modules
|
|
|
// extracted by mini-css-extract-plugin
|
|
|
/* harmony default export */ var AddDirectorymodules = ({"flex_box_center":"flex_box_center___iwUQ6","flex_space_between":"flex_space_between___mFSMp","flex_box_vertical_center":"flex_box_vertical_center___KIQqb","flex_box_center_end":"flex_box_center_end___cNGWv","flex_box_column":"flex_box_column___Y_1b1","des":"des___d9CvY","text":"text___bE3SY","upload":"upload___LMLbI"});
|
|
|
// EXTERNAL MODULE: ./src/components/ui-customization/reset.less?modules
|
|
|
var resetmodules = __webpack_require__(45189);
|
|
|
// EXTERNAL MODULE: ./src/service/educationFiles.ts
|
|
|
var educationFiles = __webpack_require__(79842);
|
|
|
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
|
|
|
var jsx_runtime = __webpack_require__(37712);
|
|
|
;// CONCATENATED MODULE: ./src/pages/Ideology/ModelCourse/AddDirectory/index.tsx
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var Option = es_select["default"].Option;
|
|
|
|
|
|
|
|
|
var OutsideModal = function OutsideModal(_ref) {
|
|
|
var visible = _ref.visible,
|
|
|
_ref$onClose = _ref.onClose,
|
|
|
onClose = _ref$onClose === void 0 ? function () {} : _ref$onClose,
|
|
|
_ref$onSuccess = _ref.onSuccess,
|
|
|
onSuccess = _ref$onSuccess === void 0 ? function () {} : _ref$onSuccess,
|
|
|
activeId = _ref.activeId,
|
|
|
directoryId = _ref.directoryId,
|
|
|
subjectId = _ref.subjectId;
|
|
|
var _useState = (0,_react_17_0_2_react.useState)(false),
|
|
|
_useState2 = slicedToArray_default()(_useState, 2),
|
|
|
btnLoading = _useState2[0],
|
|
|
setBtnLoading = _useState2[1];
|
|
|
var _Form$useForm = es_form/* default */.Z.useForm(),
|
|
|
_Form$useForm2 = slicedToArray_default()(_Form$useForm, 1),
|
|
|
addForm = _Form$useForm2[0];
|
|
|
var _useState3 = (0,_react_17_0_2_react.useState)({}),
|
|
|
_useState4 = slicedToArray_default()(_useState3, 2),
|
|
|
formValue = _useState4[0],
|
|
|
setFormValue = _useState4[1];
|
|
|
(0,_react_17_0_2_react.useEffect)(function () {
|
|
|
if (directoryId) {
|
|
|
(0,educationFiles/* resources_info */.GS)(directoryId).then( /*#__PURE__*/function () {
|
|
|
var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(res) {
|
|
|
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
|
|
|
while (1) switch (_context.prev = _context.next) {
|
|
|
case 0:
|
|
|
if ((res === null || res === void 0 ? void 0 : res.status) == 0) {
|
|
|
addForm.setFieldsValue(res);
|
|
|
setFormValue(res);
|
|
|
}
|
|
|
case 1:
|
|
|
case "end":
|
|
|
return _context.stop();
|
|
|
}
|
|
|
}, _callee);
|
|
|
}));
|
|
|
return function (_x) {
|
|
|
return _ref2.apply(this, arguments);
|
|
|
};
|
|
|
}());
|
|
|
} else {
|
|
|
addForm.setFieldValue('name', '');
|
|
|
setFormValue({});
|
|
|
}
|
|
|
}, [visible]);
|
|
|
var handleOk = /*#__PURE__*/function () {
|
|
|
var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() {
|
|
|
var bodyData;
|
|
|
return regeneratorRuntime_default()().wrap(function _callee2$(_context2) {
|
|
|
while (1) switch (_context2.prev = _context2.next) {
|
|
|
case 0:
|
|
|
bodyData = objectSpread2_default()({}, addForm.getFieldsValue());
|
|
|
_context2.next = 3;
|
|
|
return addForm.validateFields();
|
|
|
case 3:
|
|
|
if (directoryId) {
|
|
|
(0,educationFiles/* stage_shixuns_update */.ob)(objectSpread2_default()({
|
|
|
id: directoryId
|
|
|
}, bodyData)).then(function (res) {
|
|
|
if ((res === null || res === void 0 ? void 0 : res.status) == 0) {
|
|
|
message/* default */.ZP.success('编辑目录成功');
|
|
|
onSuccess();
|
|
|
}
|
|
|
});
|
|
|
} else {
|
|
|
(0,educationFiles/* stage_shixuns_add */.fY)(objectSpread2_default()({
|
|
|
stage_id: activeId,
|
|
|
directory_type: 1
|
|
|
}, bodyData)).then(function (res) {
|
|
|
if ((res === null || res === void 0 ? void 0 : res.status) == 0) {
|
|
|
message/* default */.ZP.success('创建目录成功');
|
|
|
onSuccess();
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
case 4:
|
|
|
case "end":
|
|
|
return _context2.stop();
|
|
|
}
|
|
|
}, _callee2);
|
|
|
}));
|
|
|
return function handleOk() {
|
|
|
return _ref3.apply(this, arguments);
|
|
|
};
|
|
|
}();
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, {
|
|
|
centered: true,
|
|
|
keyboard: false
|
|
|
// closable={false}
|
|
|
,
|
|
|
destroyOnClose: true,
|
|
|
confirmLoading: btnLoading,
|
|
|
onCancel: onClose,
|
|
|
onOk: handleOk,
|
|
|
open: visible,
|
|
|
wrapClassName: resetmodules/* default */.Z.CustomCss,
|
|
|
title: directoryId ? '编辑目录' : '新增目录',
|
|
|
width: "600px",
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z, {
|
|
|
colon: false,
|
|
|
form: addForm,
|
|
|
labelCol: {
|
|
|
flex: '60px'
|
|
|
},
|
|
|
className: AddDirectorymodules.formWrap,
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
|
|
name: "name",
|
|
|
label: "\u540D\u79F0",
|
|
|
colon: false,
|
|
|
rules: [{
|
|
|
required: true,
|
|
|
message: "必填项:不能为空"
|
|
|
}, {
|
|
|
whitespace: true,
|
|
|
message: '请勿输入空格'
|
|
|
}],
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
|
|
|
size: "large",
|
|
|
placeholder: "\u8BF7\u8F93\u5165\u540D\u79F0"
|
|
|
})
|
|
|
})
|
|
|
})
|
|
|
});
|
|
|
};
|
|
|
/* harmony default export */ var AddDirectory = (OutsideModal);
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
/***/ 14503:
|
|
|
/*!**************************************************!*\
|
|
|
!*** ./src/pages/MoopCases/FormPanel/service.ts ***!
|
|
|
\**************************************************/
|
|
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
|
|
|
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
|
/* harmony export */ $J: function() { return /* binding */ getMoopCase; },
|
|
|
/* harmony export */ JZ: function() { return /* binding */ removeAttachment; },
|
|
|
/* harmony export */ bN: function() { return /* binding */ updateMoopCase; },
|
|
|
/* harmony export */ jP: function() { return /* binding */ addMoopCase; },
|
|
|
/* harmony export */ rO: function() { return /* binding */ getLibraryTags; }
|
|
|
/* harmony export */ });
|
|
|
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js */ 7557);
|
|
|
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
|
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js */ 41498);
|
|
|
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
|
/* harmony import */ var _utils_fetch__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @/utils/fetch */ 78092);
|
|
|
|
|
|
|
|
|
|
|
|
function getMoopCase(id) {
|
|
|
return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* .get */ .U2)("libraries/".concat(id, ".json"));
|
|
|
}
|
|
|
function getLibraryTags() {
|
|
|
return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* .get */ .U2)('library_tags.json');
|
|
|
}
|
|
|
function removeAttachment(_x) {
|
|
|
return _removeAttachment.apply(this, arguments);
|
|
|
}
|
|
|
function _removeAttachment() {
|
|
|
_removeAttachment = _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee(id) {
|
|
|
var response;
|
|
|
return _root_workspace_ppte5yg23_local_v9_test5_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee$(_context) {
|
|
|
while (1) switch (_context.prev = _context.next) {
|
|
|
case 0:
|
|
|
_context.next = 2;
|
|
|
return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* .del */ .IV)("attachments/".concat(id, ".json"));
|
|
|
case 2:
|
|
|
response = _context.sent;
|
|
|
return _context.abrupt("return", response.status === 0);
|
|
|
case 4:
|
|
|
case "end":
|
|
|
return _context.stop();
|
|
|
}
|
|
|
}, _callee);
|
|
|
}));
|
|
|
return _removeAttachment.apply(this, arguments);
|
|
|
}
|
|
|
function addMoopCase(params) {
|
|
|
return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* .post */ .v_)("libraries.json", params);
|
|
|
}
|
|
|
function updateMoopCase(id, params) {
|
|
|
return (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_2__/* .put */ .gz)("libraries/".concat(id, ".json"), params);
|
|
|
}
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
/***/ 3943:
|
|
|
/*!************************************************************************!*\
|
|
|
!*** ./src/pages/virtualSpaces/Lists/Resources/index.tsx + 13 modules ***!
|
|
|
\************************************************************************/
|
|
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
|
|
|
|
// ESM COMPAT FLAG
|
|
|
__webpack_require__.r(__webpack_exports__);
|
|
|
|
|
|
// EXPORTS
|
|
|
__webpack_require__.d(__webpack_exports__, {
|
|
|
"default": function() { return /* binding */ Resources; }
|
|
|
});
|
|
|
|
|
|
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js
|
|
|
var regeneratorRuntime = __webpack_require__(7557);
|
|
|
var regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(regeneratorRuntime);
|
|
|
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js
|
|
|
var objectSpread2 = __webpack_require__(82242);
|
|
|
var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2);
|
|
|
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js
|
|
|
var asyncToGenerator = __webpack_require__(41498);
|
|
|
var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator);
|
|
|
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/slicedToArray.js
|
|
|
var slicedToArray = __webpack_require__(79800);
|
|
|
var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray);
|
|
|
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectWithoutProperties.js
|
|
|
var objectWithoutProperties = __webpack_require__(39647);
|
|
|
var objectWithoutProperties_default = /*#__PURE__*/__webpack_require__.n(objectWithoutProperties);
|
|
|
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
|
|
|
var _react_17_0_2_react = __webpack_require__(59301);
|
|
|
// EXTERNAL MODULE: ./src/.umi-production/exports.ts + 14 modules
|
|
|
var _umi_production_exports = __webpack_require__(78000);
|
|
|
// EXTERNAL MODULE: ./node_modules/_antd@5.12.8@antd/es/form/index.js + 19 modules
|
|
|
var es_form = __webpack_require__(1371);
|
|
|
// EXTERNAL MODULE: ./node_modules/_antd@5.12.8@antd/es/modal/index.js + 16 modules
|
|
|
var modal = __webpack_require__(21698);
|
|
|
// EXTERNAL MODULE: ./node_modules/_antd@5.12.8@antd/es/message/index.js + 4 modules
|
|
|
var message = __webpack_require__(47130);
|
|
|
// EXTERNAL MODULE: ./node_modules/_antd@5.12.8@antd/es/table/index.js + 88 modules
|
|
|
var table = __webpack_require__(36641);
|
|
|
// EXTERNAL MODULE: ./node_modules/_antd@5.12.8@antd/es/dropdown/index.js + 1 modules
|
|
|
var dropdown = __webpack_require__(58880);
|
|
|
// EXTERNAL MODULE: ./node_modules/_antd@5.12.8@antd/es/menu/index.js + 11 modules
|
|
|
var menu = __webpack_require__(10930);
|
|
|
// EXTERNAL MODULE: ./node_modules/_antd@5.12.8@antd/es/input/index.js + 5 modules
|
|
|
var input = __webpack_require__(81726);
|
|
|
// EXTERNAL MODULE: ./node_modules/_antd@5.12.8@antd/es/spin/index.js + 1 modules
|
|
|
var spin = __webpack_require__(78349);
|
|
|
// EXTERNAL MODULE: ./node_modules/_antd@5.12.8@antd/es/collapse/index.js + 8 modules
|
|
|
var collapse = __webpack_require__(29928);
|
|
|
// EXTERNAL MODULE: ./node_modules/_antd@5.12.8@antd/es/select/index.js
|
|
|
var es_select = __webpack_require__(56343);
|
|
|
;// CONCATENATED MODULE: ./src/pages/virtualSpaces/Lists/Resources/index.less?modules
|
|
|
// extracted by mini-css-extract-plugin
|
|
|
/* harmony default export */ var Resourcesmodules = ({"flex_box_center":"flex_box_center___zW1WB","flex_space_between":"flex_space_between___MRwzI","flex_box_vertical_center":"flex_box_vertical_center___eekXR","flex_box_center_end":"flex_box_center_end___FZD8_","flex_box_column":"flex_box_column___pytC9","wrap":"wrap___KxRCS","customTable":"customTable___lA1VZ","listRow":"listRow___TqKbv","type":"type___BTFcu","type_item_active":"type_item_active___ReERL","type_item":"type_item___jC0Oe","searchWrap":"searchWrap___uNQnK","search":"search___O47C6","searchIcon":"searchIcon___zb08o","no_data":"no_data___mZZgA","right_img":"right_img___LPyFx","right_text":"right_text___C6Ik1","label_style":"label_style___e16qf","label_title":"label_title___OdnQo","label_content":"label_content___kQhju","label_img":"label_img___doPyB","label_text":"label_text___ATdXO"});
|
|
|
// EXTERNAL MODULE: ./src/assets/images/educationFiles/nodata.png
|
|
|
var nodata = __webpack_require__(9333);
|
|
|
;// CONCATENATED MODULE: ./src/assets/images/educationFiles/shangchuan.png
|
|
|
var shangchuan_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAASNJREFUOE+lkr9KA0EQh79JFLHQQhDE1jS5ND5IThDhtLbN5hFszCPkbK01IoKb9zBNYhNbEQSLWATJn5G95JJNPALqVMtv5/vN7M4IXhSqjd113awKhCgHyZXwomAH0q9369F7mi7poWQeT8bItcC2b5aeFXo59LwdH91P/AAHKdIAclmQp40FjRws0/a6S5W+BIkQVVXugA2/8kD6BSkaeylw4bkOVYmer8IHpxUr9lgE182aB9ckMPYJOPQefduOwzO/5ZKxNwqnntaSoGJ7CFtzURR468TlfacFpvkK7IHOPhLlMwOcWHTiMEkMjHVGi5GAS62mGStBaGV9TsIqNKfzKv8sSG1hHPmR7Kya4yivH24RknH8eQH+tXIp/Jsl/wZle4fnR2589QAAAABJRU5ErkJggg==";
|
|
|
;// CONCATENATED MODULE: ./src/assets/images/educationFiles/delete.svg
|
|
|
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
|
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
|
var __defProp = Object.defineProperty;
|
|
|
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
|
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
|
var __defNormalProp = function __defNormalProp(obj, key, value) {
|
|
|
return key in obj ? __defProp(obj, key, {
|
|
|
enumerable: true,
|
|
|
configurable: true,
|
|
|
writable: true,
|
|
|
value: value
|
|
|
}) : obj[key] = value;
|
|
|
};
|
|
|
var __spreadValues = function __spreadValues(a, b) {
|
|
|
for (var prop in b || (b = {})) if (__hasOwnProp.call(b, prop)) __defNormalProp(a, prop, b[prop]);
|
|
|
if (__getOwnPropSymbols) {
|
|
|
var _iterator = _createForOfIteratorHelper(__getOwnPropSymbols(b)),
|
|
|
_step;
|
|
|
try {
|
|
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
|
var prop = _step.value;
|
|
|
if (__propIsEnum.call(b, prop)) __defNormalProp(a, prop, b[prop]);
|
|
|
}
|
|
|
} catch (err) {
|
|
|
_iterator.e(err);
|
|
|
} finally {
|
|
|
_iterator.f();
|
|
|
}
|
|
|
}
|
|
|
return a;
|
|
|
};
|
|
|
|
|
|
var SvgDelete = function SvgDelete(props) {
|
|
|
return /* @__PURE__ */React.createElement("svg", __spreadValues({
|
|
|
width: 14,
|
|
|
height: 14,
|
|
|
xmlns: "http://www.w3.org/2000/svg"
|
|
|
}, props), /* @__PURE__ */React.createElement("title", null, "\u5220\u9664"), /* @__PURE__ */React.createElement("g", {
|
|
|
fill: "#2A6CB3",
|
|
|
fillRule: "nonzero"
|
|
|
}, /* @__PURE__ */React.createElement("path", {
|
|
|
d: "M8.05 9.072a.451.451 0 0 0 .448-.448V7.042a.447.447 0 0 0-.448-.448.447.447 0 0 0-.448.448v1.582c0 .245.196.448.448.448Zm-2.1 0a.451.451 0 0 0 .448-.448V7.042a.447.447 0 0 0-.448-.448.447.447 0 0 0-.448.448v1.582c0 .245.196.448.448.448Z"
|
|
|
}), /* @__PURE__ */React.createElement("path", {
|
|
|
d: "M7 0C3.136 0 0 3.136 0 7s3.136 7 7 7 7-3.136 7-7-3.136-7-7-7Zm3.003 9.373c0 .665-.539 1.197-1.197 1.197H5.201a1.196 1.196 0 0 1-1.197-1.197V5.39h5.999v3.983Zm.448-4.445H3.549a.447.447 0 0 1-.448-.448c0-.245.203-.448.448-.448h2.247c0-.329.266-.602.602-.602h1.197c.329 0 .602.266.602.602h2.247c.252 0 .448.203.448.448a.445.445 0 0 1-.441.448Z"
|
|
|
})));
|
|
|
};
|
|
|
|
|
|
/* harmony default export */ var educationFiles_delete = ("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iIzJBNkNCMyIgZmlsbC1ydWxlPSJub256ZXJvIj48cGF0aCBkPSJNOC4wNSA5LjA3MmEuNDUxLjQ1MSAwIDAgMCAuNDQ4LS40NDhWNy4wNDJhLjQ0Ny40NDcgMCAwIDAtLjQ0OC0uNDQ4LjQ0Ny40NDcgMCAwIDAtLjQ0OC40NDh2MS41ODJjMCAuMjQ1LjE5Ni40NDguNDQ4LjQ0OFptLTIuMSAwYS40NTEuNDUxIDAgMCAwIC40NDgtLjQ0OFY3LjA0MmEuNDQ3LjQ0NyAwIDAgMC0uNDQ4LS40NDguNDQ3LjQ0NyAwIDAgMC0uNDQ4LjQ0OHYxLjU4MmMwIC4yNDUuMTk2LjQ0OC40NDguNDQ4WiIvPjxwYXRoIGQ9Ik03IDBDMy4xMzYgMCAwIDMuMTM2IDAgN3MzLjEzNiA3IDcgNyA3LTMuMTM2IDctNy0zLjEzNi03LTctN1ptMy4wMDMgOS4zNzNjMCAuNjY1LS41MzkgMS4xOTctMS4xOTcgMS4xOTdINS4yMDFhMS4xOTYgMS4xOTYgMCAwIDEtMS4xOTctMS4xOTdWNS4zOWg1Ljk5OXYzLjk4M1ptLjQ0OC00LjQ0NUgzLjU0OWEuNDQ3LjQ0NyAwIDAgMS0uNDQ4LS40NDhjMC0uMjQ1LjIwMy0uNDQ4LjQ0OC0uNDQ4aDIuMjQ3YzAtLjMyOS4yNjYtLjYwMi42MDItLjYwMmgxLjE5N2MuMzI5IDAgLjYwMi4yNjYuNjAyLjYwMmgyLjI0N2MuMjUyIDAgLjQ0OC4yMDMuNDQ4LjQ0OGEuNDQ1LjQ0NSAwIDAgMS0uNDQxLjQ0OFoiLz48L2c+PC9zdmc+");
|
|
|
// EXTERNAL MODULE: ./src/assets/images/educationFiles/update.png
|
|
|
var update = __webpack_require__(59981);
|
|
|
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.2.6@@ant-design/icons/es/icons/CaretRightOutlined.js + 1 modules
|
|
|
var CaretRightOutlined = __webpack_require__(53944);
|
|
|
// EXTERNAL MODULE: ./node_modules/_antd@5.12.8@antd/es/radio/index.js + 5 modules
|
|
|
var es_radio = __webpack_require__(71372);
|
|
|
// EXTERNAL MODULE: ./node_modules/_antd@5.12.8@antd/es/tooltip/index.js + 3 modules
|
|
|
var tooltip = __webpack_require__(17054);
|
|
|
;// CONCATENATED MODULE: ./src/pages/virtualSpaces/Lists/Resources/UploadModal/index.less?modules
|
|
|
// extracted by mini-css-extract-plugin
|
|
|
/* harmony default export */ var UploadModalmodules = ({"flex_box_center":"flex_box_center___JlRIH","flex_space_between":"flex_space_between___yEhAI","flex_box_vertical_center":"flex_box_vertical_center___xDG8o","flex_box_center_end":"flex_box_center_end___no42J","flex_box_column":"flex_box_column___BcxDc","des":"des___tAgMB","text":"text___pCrNn","upload":"upload___r9KYh"});
|
|
|
// EXTERNAL MODULE: ./src/components/ui-customization/reset.less?modules
|
|
|
var resetmodules = __webpack_require__(45189);
|
|
|
// EXTERNAL MODULE: ./src/components/MultiUpload/index.tsx + 2 modules
|
|
|
var MultiUpload = __webpack_require__(9728);
|
|
|
// EXTERNAL MODULE: ./src/service/educationFiles.ts
|
|
|
var educationFiles = __webpack_require__(79842);
|
|
|
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
|
|
|
var jsx_runtime = __webpack_require__(37712);
|
|
|
;// CONCATENATED MODULE: ./src/pages/virtualSpaces/Lists/Resources/UploadModal/index.tsx
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var Option = es_select["default"].Option;
|
|
|
|
|
|
|
|
|
|
|
|
var OutsideModal = function OutsideModal(_ref) {
|
|
|
var visible = _ref.visible,
|
|
|
_ref$onClose = _ref.onClose,
|
|
|
onClose = _ref$onClose === void 0 ? function () {} : _ref$onClose,
|
|
|
_ref$onSuccess = _ref.onSuccess,
|
|
|
onSuccess = _ref$onSuccess === void 0 ? function () {} : _ref$onSuccess,
|
|
|
activeId = _ref.activeId,
|
|
|
subjectId = _ref.subjectId,
|
|
|
parentId = _ref.parentId,
|
|
|
titleName = _ref.titleName;
|
|
|
var _useState = (0,_react_17_0_2_react.useState)([]),
|
|
|
_useState2 = slicedToArray_default()(_useState, 2),
|
|
|
fileList = _useState2[0],
|
|
|
setFileList = _useState2[1];
|
|
|
var _useState3 = (0,_react_17_0_2_react.useState)(false),
|
|
|
_useState4 = slicedToArray_default()(_useState3, 2),
|
|
|
btnLoading = _useState4[0],
|
|
|
setBtnLoading = _useState4[1];
|
|
|
var _useState5 = (0,_react_17_0_2_react.useState)(null),
|
|
|
_useState6 = slicedToArray_default()(_useState5, 2),
|
|
|
value = _useState6[0],
|
|
|
setValue = _useState6[1];
|
|
|
var _Form$useForm = es_form/* default */.Z.useForm(),
|
|
|
_Form$useForm2 = slicedToArray_default()(_Form$useForm, 1),
|
|
|
addForm = _Form$useForm2[0];
|
|
|
var _useState7 = (0,_react_17_0_2_react.useState)(''),
|
|
|
_useState8 = slicedToArray_default()(_useState7, 2),
|
|
|
changeKey = _useState8[0],
|
|
|
setchangeKey = _useState8[1];
|
|
|
var _useState9 = (0,_react_17_0_2_react.useState)(1024),
|
|
|
_useState10 = slicedToArray_default()(_useState9, 2),
|
|
|
maxSize = _useState10[0],
|
|
|
setmaxSize = _useState10[1];
|
|
|
var _useState11 = (0,_react_17_0_2_react.useState)(3),
|
|
|
_useState12 = slicedToArray_default()(_useState11, 2),
|
|
|
number = _useState12[0],
|
|
|
setnumber = _useState12[1];
|
|
|
var _useState13 = (0,_react_17_0_2_react.useState)(".mkv, .flv, .f4v, .rmvb, .swf, video/mp4,video/x-m4v,video/flv,video/f4v,video/rmvb,video/swf,video/*"),
|
|
|
_useState14 = slicedToArray_default()(_useState13, 2),
|
|
|
accept = _useState14[0],
|
|
|
setAccept = _useState14[1];
|
|
|
(0,_react_17_0_2_react.useEffect)(function () {
|
|
|
addForm.setFieldValue('attachment_ids', '');
|
|
|
addForm.setFieldValue('type', '1');
|
|
|
setmaxSize(1024);
|
|
|
setnumber(3);
|
|
|
setAccept(".mkv, .flv, .f4v, .rmvb, .swf, video/mp4,video/x-m4v,video/flv,video/f4v,video/rmvb,video/swf,video/*");
|
|
|
setchangeKey(new Date());
|
|
|
}, [visible]);
|
|
|
var handleOk = /*#__PURE__*/function () {
|
|
|
var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() {
|
|
|
var bodyData, _bodyData$attachment_;
|
|
|
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
|
|
|
while (1) switch (_context.prev = _context.next) {
|
|
|
case 0:
|
|
|
bodyData = objectSpread2_default()({}, addForm.getFieldsValue());
|
|
|
_context.next = 3;
|
|
|
return addForm.validateFields();
|
|
|
case 3:
|
|
|
if (bodyData.attachment_ids) {
|
|
|
bodyData.attachment_ids = bodyData === null || bodyData === void 0 || (_bodyData$attachment_ = bodyData.attachment_ids) === null || _bodyData$attachment_ === void 0 ? void 0 : _bodyData$attachment_.map(function (v) {
|
|
|
var _v$response;
|
|
|
return v === null || v === void 0 || (_v$response = v.response) === null || _v$response === void 0 ? void 0 : _v$response.id;
|
|
|
});
|
|
|
}
|
|
|
if (bodyData.type == '1') {
|
|
|
//视频
|
|
|
(0,educationFiles/* video_to_stage_add */.M)({
|
|
|
id: activeId,
|
|
|
subject_id: subjectId,
|
|
|
parent_id: parentId,
|
|
|
video_id: bodyData.attachment_ids
|
|
|
}).then(function (res) {
|
|
|
if ((res === null || res === void 0 ? void 0 : res.status) == 0) {
|
|
|
message/* default */.ZP.success('上传成功');
|
|
|
onSuccess();
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
if (bodyData.type == '2') {
|
|
|
//文档
|
|
|
(0,educationFiles/* attachment_to_stage_word_add */.o1)({
|
|
|
id: activeId,
|
|
|
subject_id: subjectId,
|
|
|
parent_id: parentId,
|
|
|
attachment_ids: bodyData.attachment_ids
|
|
|
}).then(function (res) {
|
|
|
if ((res === null || res === void 0 ? void 0 : res.status) == 0) {
|
|
|
message/* default */.ZP.success('上传成功');
|
|
|
onSuccess();
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
case 6:
|
|
|
case "end":
|
|
|
return _context.stop();
|
|
|
}
|
|
|
}, _callee);
|
|
|
}));
|
|
|
return function handleOk() {
|
|
|
return _ref2.apply(this, arguments);
|
|
|
};
|
|
|
}();
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, {
|
|
|
centered: true,
|
|
|
keyboard: false
|
|
|
// closable={false}
|
|
|
,
|
|
|
destroyOnClose: true,
|
|
|
confirmLoading: btnLoading,
|
|
|
onCancel: onClose,
|
|
|
onOk: handleOk,
|
|
|
open: visible,
|
|
|
wrapClassName: resetmodules/* default */.Z.CustomCss,
|
|
|
title: "\u4E0A\u4F20".concat(titleName == '资源' ? '教学' : '').concat(titleName),
|
|
|
width: "600px",
|
|
|
afterClose: function afterClose() {
|
|
|
setFileList([]);
|
|
|
setBtnLoading(false);
|
|
|
setValue(null);
|
|
|
},
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, {
|
|
|
colon: false,
|
|
|
form: addForm,
|
|
|
initialValues: {
|
|
|
type: '1'
|
|
|
},
|
|
|
className: UploadModalmodules.formWrap,
|
|
|
layout: "vertical"
|
|
|
// onValuesChange={(value) => {
|
|
|
// console.log(value)
|
|
|
// }}
|
|
|
,
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
|
|
name: "type",
|
|
|
label: "".concat(titleName, "\u7C7B\u578B"),
|
|
|
rules: [{
|
|
|
required: true,
|
|
|
message: "必填项"
|
|
|
}],
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default.Group */.ZP.Group, {
|
|
|
size: "large",
|
|
|
onChange: function onChange(e) {
|
|
|
var _e$target;
|
|
|
setchangeKey(new Date());
|
|
|
addForm.setFieldValue('attachment_ids', '');
|
|
|
if ((e === null || e === void 0 || (_e$target = e.target) === null || _e$target === void 0 ? void 0 : _e$target.value) == '1') {
|
|
|
setmaxSize(1024);
|
|
|
setnumber(3);
|
|
|
setAccept(".mkv, .flv, .f4v, .rmvb, .swf, video/mp4,video/x-m4v,video/flv,video/f4v,video/rmvb,video/swf,video/*");
|
|
|
} else {
|
|
|
setmaxSize(500);
|
|
|
setnumber(10);
|
|
|
setAccept("");
|
|
|
}
|
|
|
},
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default */.ZP, {
|
|
|
value: "1",
|
|
|
children: ["\u89C6\u9891", titleName]
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(es_radio/* default */.ZP, {
|
|
|
value: "2",
|
|
|
className: "ml20",
|
|
|
children: ["\u6587\u6863", titleName]
|
|
|
})]
|
|
|
})
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
|
|
name: "attachment_ids",
|
|
|
label: titleName,
|
|
|
colon: false,
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(MultiUpload/* default */.Z, {
|
|
|
title: "\u4E0A\u4F20".concat(titleName),
|
|
|
maxSize: maxSize,
|
|
|
number: number,
|
|
|
accept: accept
|
|
|
}, changeKey)
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
|
|
|
overlayStyle: {
|
|
|
maxWidth: 350
|
|
|
},
|
|
|
title: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
children: "\u8BF4\u660E\uFF1A\u5355\u4E2A\u89C6\u9891\u6700\u5927\u9650\u52361G\uFF0C\u5355\u6B21\u6700\u591A\u652F\u63013\u4E2A\u89C6\u9891\u6587\u4EF6\u4E0A\u4F20\uFF0C\u4EC5\u9650\u652F\u6301avi\u3001flv\u3001f4v\u3001m4v\u3001mov\u3001mp4\u3001rmvb\u3001swf\u3001webm\u3001wmv\u683C\u5F0F\uFF1B\u5355\u4E2A\u6587\u6863\u5927\u5C0F\u6700\u5927\u9650\u5236500M\uFF0C\u4E00\u6B21\u6700\u591A\u4E0A\u4F2010\u4E2A\u6587\u4EF6\uFF0C\u4EC5\u652F\u6301pdf\u3001word\u3001excel\u3001ppt\u3001zip\u6587\u4EF6\uFF1B"
|
|
|
}),
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
className: "iconfont icon-a-wenhaobeifen2 font18",
|
|
|
style: {
|
|
|
position: 'absolute',
|
|
|
left: '310px',
|
|
|
top: '193px',
|
|
|
color: '#2A6CB3',
|
|
|
cursor: 'pointer'
|
|
|
}
|
|
|
})
|
|
|
})]
|
|
|
})
|
|
|
});
|
|
|
};
|
|
|
/* harmony default export */ var UploadModal = (OutsideModal);
|
|
|
// EXTERNAL MODULE: ./src/pages/Ideology/ModelCourse/AddDirectory/index.tsx + 1 modules
|
|
|
var AddDirectory = __webpack_require__(19554);
|
|
|
// EXTERNAL MODULE: ./src/utils/fetch.ts
|
|
|
var fetch = __webpack_require__(78092);
|
|
|
;// CONCATENATED MODULE: ./src/pages/virtualSpaces/Lists/Resources/OutsideModal/index.less?modules
|
|
|
// extracted by mini-css-extract-plugin
|
|
|
/* harmony default export */ var OutsideModalmodules = ({"flex_box_center":"flex_box_center___XQpxJ","flex_space_between":"flex_space_between___bRyaq","flex_box_vertical_center":"flex_box_vertical_center___H7xFV","flex_box_center_end":"flex_box_center_end___RrMhE","flex_box_column":"flex_box_column___IZnin","form":"form___s3uLO"});
|
|
|
;// CONCATENATED MODULE: ./src/pages/virtualSpaces/Lists/Resources/OutsideModal/index.tsx
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var AddOrEdit = function AddOrEdit(_ref) {
|
|
|
var visible = _ref.visible,
|
|
|
onSuccess = _ref.onSuccess,
|
|
|
onClose = _ref.onClose,
|
|
|
activeId = _ref.activeId,
|
|
|
parentId = _ref.parentId;
|
|
|
var _Form$useForm = es_form/* default */.Z.useForm(),
|
|
|
_Form$useForm2 = slicedToArray_default()(_Form$useForm, 1),
|
|
|
form = _Form$useForm2[0];
|
|
|
var _useState = (0,_react_17_0_2_react.useState)(false),
|
|
|
_useState2 = slicedToArray_default()(_useState, 2),
|
|
|
btnLoading = _useState2[0],
|
|
|
setBtnLoading = _useState2[1];
|
|
|
var query = (0,_umi_production_exports.useParams)();
|
|
|
(0,_react_17_0_2_react.useEffect)(function () {
|
|
|
form.resetFields();
|
|
|
}, [visible]);
|
|
|
var handleOk = /*#__PURE__*/function () {
|
|
|
var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() {
|
|
|
var bodyData;
|
|
|
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
|
|
|
while (1) switch (_context.prev = _context.next) {
|
|
|
case 0:
|
|
|
bodyData = objectSpread2_default()({}, form.getFieldsValue());
|
|
|
_context.next = 3;
|
|
|
return form.validateFields();
|
|
|
case 3:
|
|
|
(0,educationFiles/* video_to_stage_add */.M)(objectSpread2_default()({
|
|
|
id: activeId,
|
|
|
parent_id: parentId
|
|
|
}, bodyData)).then(function (res) {
|
|
|
if ((res === null || res === void 0 ? void 0 : res.status) == 0) {
|
|
|
message/* default */.ZP.success('新增成功');
|
|
|
onSuccess();
|
|
|
}
|
|
|
});
|
|
|
case 4:
|
|
|
case "end":
|
|
|
return _context.stop();
|
|
|
}
|
|
|
}, _callee);
|
|
|
}));
|
|
|
return function handleOk() {
|
|
|
return _ref2.apply(this, arguments);
|
|
|
};
|
|
|
}();
|
|
|
var handleCancel = function handleCancel() {
|
|
|
onClose();
|
|
|
};
|
|
|
var handleFinish = /*#__PURE__*/function () {
|
|
|
var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2(values) {
|
|
|
var res;
|
|
|
return regeneratorRuntime_default()().wrap(function _callee2$(_context2) {
|
|
|
while (1) switch (_context2.prev = _context2.next) {
|
|
|
case 0:
|
|
|
setBtnLoading(true);
|
|
|
_context2.next = 3;
|
|
|
return (0,fetch/* default */.ZP)("/api/virtual_classrooms/".concat(query.virtual_spacesId, "/files.json"), {
|
|
|
method: 'post',
|
|
|
body: objectSpread2_default()({
|
|
|
file_type: 2,
|
|
|
is_outer_chain: 1
|
|
|
}, values)
|
|
|
});
|
|
|
case 3:
|
|
|
res = _context2.sent;
|
|
|
if (!((res === null || res === void 0 ? void 0 : res.status) !== -1)) {
|
|
|
_context2.next = 7;
|
|
|
break;
|
|
|
}
|
|
|
onSuccess();
|
|
|
return _context2.abrupt("return");
|
|
|
case 7:
|
|
|
setBtnLoading(false);
|
|
|
case 8:
|
|
|
case "end":
|
|
|
return _context2.stop();
|
|
|
}
|
|
|
}, _callee2);
|
|
|
}));
|
|
|
return function handleFinish(_x) {
|
|
|
return _ref3.apply(this, arguments);
|
|
|
};
|
|
|
}();
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, {
|
|
|
title: '添加外链资源',
|
|
|
open: visible,
|
|
|
onOk: handleOk,
|
|
|
centered: true,
|
|
|
onCancel: handleCancel,
|
|
|
confirmLoading: btnLoading,
|
|
|
width: 1050,
|
|
|
afterClose: function afterClose() {
|
|
|
setBtnLoading(false);
|
|
|
form.resetFields();
|
|
|
},
|
|
|
okText: '确认',
|
|
|
cancelText: "\u53D6\u6D88",
|
|
|
wrapClassName: resetmodules/* default */.Z.CustomCss,
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, {
|
|
|
form: form,
|
|
|
colon: false,
|
|
|
className: OutsideModalmodules.formWrap,
|
|
|
onFinish: handleFinish,
|
|
|
layout: "vertical",
|
|
|
size: "large",
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
|
|
label: "\u8D44\u6E90\u540D\u79F0",
|
|
|
name: "name",
|
|
|
style: {
|
|
|
marginTop: '-10px'
|
|
|
},
|
|
|
rules: [{
|
|
|
required: true,
|
|
|
message: "\u8BF7\u8F93\u5165\u8D44\u6E90\u540D\u79F0"
|
|
|
}, {
|
|
|
whitespace: true,
|
|
|
message: "\u8BF7\u8F93\u5165\u8D44\u6E90\u540D\u79F0"
|
|
|
}, {
|
|
|
max: 60,
|
|
|
message: '只能输入60个字符'
|
|
|
}],
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
|
|
|
placeholder: "\u8BF7\u8F93\u5165\u8D44\u6E90\u540D\u79F0",
|
|
|
style: {
|
|
|
marginTop: '-10px'
|
|
|
}
|
|
|
})
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
|
|
label: "\u8D44\u6E90\u94FE\u63A5",
|
|
|
name: "link",
|
|
|
style: {
|
|
|
marginTop: '-10px'
|
|
|
},
|
|
|
rules: [{
|
|
|
required: true,
|
|
|
message: '请输入资源链接'
|
|
|
}, {
|
|
|
whitespace: true,
|
|
|
message: '请输入资源链接'
|
|
|
}, {
|
|
|
type: 'url',
|
|
|
message: '资源链接格式不正确'
|
|
|
}],
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
|
|
|
placeholder: "\u8BF7\u8F93\u5165\u8D44\u6E90\u94FE\u63A5",
|
|
|
style: {
|
|
|
marginTop: '-10px'
|
|
|
}
|
|
|
})
|
|
|
})]
|
|
|
})
|
|
|
});
|
|
|
};
|
|
|
/* harmony default export */ var Resources_OutsideModal = (AddOrEdit);
|
|
|
// EXTERNAL MODULE: ./src/utils/env.ts + 1 modules
|
|
|
var env = __webpack_require__(80548);
|
|
|
// EXTERNAL MODULE: ./src/utils/util.tsx
|
|
|
var util = __webpack_require__(88123);
|
|
|
// EXTERNAL MODULE: ./src/utils/authority.ts
|
|
|
var authority = __webpack_require__(19654);
|
|
|
;// CONCATENATED MODULE: ./src/assets/images/educationFiles/gengduo.png
|
|
|
var gengduo_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAADRJREFUOE9jZKAQMFKon4G2BiSkZDSAXLhgzgwwjQ3gdQHFBhATPqNhwDCaDhhoHQbEpEQAqagYEYmUnJkAAAAASUVORK5CYII=";
|
|
|
;// CONCATENATED MODULE: ./src/assets/images/educationFiles/pdf.png
|
|
|
var pdf_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAAAXNSR0IArs4c6QAAAlRJREFUSEvdlr9rU1Ecxc/33qSRpGBMk8YaKIouRScXHcVBbbuokFgQQxcnqbsoUqWIWqSDaKUFyRCwTf6CktnBpU4FdaoOiv3h4C+a9L3vkVcSqWma9qUi0js97r3vfL7fc+87PCFp8Q+G7H7Q0sBAL1SfAkg1c5RAWYBXgVTqQnRs7NtW7m+wbjGdfr8VxBM1xowoeRxkp8bj/cnx8eVmsEYgZ6vq1tatvfWjp+dR+9xcDuQxE42ei01Oftrs3R2BElNT9zExYRZLJc/q022RyJm9udx8I9jOQVXVhUzmoZCXbCRyNpbLvamHtQwSIB8vFgfXCy5lMjeVHLKhUF9HPj+7fq1lEAAXxtyWQGBGydWaqHGcayQPJorFvr8F2vzOiJQShULvfwdaAPAVQARAlwCePfNKBkWkE0C4WvGyAF+8ZwJdANrhqyNrhwyZBPCdgKOq1wOh0FWurp5S8p0xZr+67j2xdpiqFSE7CJwHcMQ3SFTvqmq4LRjMVBznsTHmOVWHq508EZEUjHlN1YsCHKJqGCIB3yALrFB1D4Gsksk60Fsx5gVEaICPSkahOkjgqG+Q1xHJfVX/P6wHiTHPqBoTa+foulfWLKsNv2dUDwoGg5dd1z0pIgv0LoTjPIC1d+g4WYgcbg0ElAG0ARBPQAAl8BMiImSY1XkCFQECXqC3CtpWiDfctE3rKn9U1wpOZCZRKPQ3TYaldPolgROt6P/OO2NGOqana5/B2vSGUP2czXZLuXxDyAN+Yd45QmTW7e4eTY6OrjTtyK/4dvfvvt+tX1VSciosRMWQAAAAAElFTkSuQmCC";
|
|
|
;// CONCATENATED MODULE: ./src/assets/images/educationFiles/zip.png
|
|
|
var zip_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAAAXNSR0IArs4c6QAAAjhJREFUSEvllj1oU1EUx3/nNclrqxjEVusXSJOpW6cWHAyoHbvVhiIOtjr4gS5BKoqLiGBBECdXEQIOTuKobk2giKVoURBSa2ms1iqYmo93j6StadokzUs1DnqWB+/+7//HO+fc866oagN/IeQ/AcUHhjAmwpb2/bQcFFLTMPe0fIKVdPZDYso45pLdH3tSqQqlqYsPnMGYO/kN2tqDBE6i8xPIm+sVK5lJvMMspozVZJ/w9Y9FywlLQaPhBLA3LzaNQdh+CNIfEU2CySJfX5T4rIAQwajdPNgYjt9fLyoHygJSLFT7ANJ5EzU5JH68BJSdmcb5trD8XlCreesxX9/oo2JhOVCuIBAveP0Y2QbBs+AsYk1eKQFpLoczP0f+uRQez5S393m7a5C2HkUCg0s1YuIq+dyI1+fm1Dl0R233oJbDSPAU+nkceXvDDWBV0x31uAflHEzOA01tWJ3XwEkjLy+4A9YC+uVYrRnKkjcFMhZqB8BksJx897uImkAeP7ozBLIyd78nkIUxFxSgFpC2HkECQwVjTSWR8TrUqDCC1Cyf4cVPyPj5enxRD5rJwMxj1PIinSNYk5frANoRAn8HMj+KWja6qxfr9XAdQI5gmoKFZpAfSSz58odAsXAWXTtU3TmvU1Xtulj/e1R2b8p8ddMs3dF9G4+g2MBF1Iz8FkgaInQ9uL0xiGdC7N451ESAPTUCZxDrFl2n70JIq4CKll89bMA3u+YnWBGcaVM6+pxK6//edesnbgc3KhJDbHMAAAAASUVORK5CYII=";
|
|
|
;// CONCATENATED MODULE: ./src/assets/images/educationFiles/qita.png
|
|
|
var qita_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAAAXNSR0IArs4c6QAAAXRJREFUSEtj/P//PzMDHQDj8LdIePrdqwwM/9WJCc3/DAy/DcS4FtsL/8qud1D4jU8PRtAJT7/zhxhLYGr8VPgZ7GR5Ttz+/tevzZDnHS69VLHIX5Wf4evv/7dvfPzl22zCewebZVSzCGT4t9//3j388tun0pD3FLplVLUIZPiPP/9/Pf3+N7xYl2szsmUUW4Q9Tv5/eZupKkAHixgY3maqsAx+i3SE2Ri8FbkZXn77y7D85meGn3//48wJZPvIXIKDYa2vFMOWe18ZNARZGT7//s/gu/Ep9S2qMxdm+P3vP0P76XcMXCyMDA+SlRjMlj9kePAJe/4m20cwp4MsidHkY6gyE2bQWXSf4ctv7MFHsUUrvCQZ1IXYGIoOvmLY//g79YMOZmKZiSDDnkffGM69+om3SKTYR8XGggy7H35luPTmF20tqjIVYtj+4CvD+dc09hGxVQjFQTcULSK+KsftO8abbzOVtfEWqsQGDanqhl9zCwBlNgEqWAKJFQAAAABJRU5ErkJggg==";
|
|
|
;// CONCATENATED MODULE: ./src/assets/images/educationFiles/video.png
|
|
|
var video_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAAAXNSR0IArs4c6QAAAWlJREFUSEvllrFqwlAUhr+klS5FKFWHCh19BQfRUZxE7RMYResbuDibJ2graOITCCKOLuIjuAsFOxikCC4VMSUESYsSTTSltHfJkHP+7/73P9xE0HX9gh9Ywj8AVavXaNozup4Drhye6geC0CEYrCDLy6+9u0dXLL6w2RQdAr6Xi2KTZvPRHpTPawjCzUkgXX9HVYP2IElanwTZNivK5S8E1eswGkEqBYsFjMeQTMJgAJEIBALQ70M2C/M5VKuWCUeOFAVWK+h2IZOByQQ0DWIx6PXMpyDAcAjpNBQKLkFGsyF07DI25CqjVssZSJLOBFJVWC4hl4NweNfn2UC1GkynIIoQj5tD4PdbwLODttLRKJTLHoIMR4mEOYmeOGq3rYzu7jzM6NCYu85IliEUOiRvvp/NTrgZjkPsr3J0BXkMegX2JO2I+oai3Nt/JkqlB9brJ+DWkbRVPMfnq9BodOxBLtUPtf29361P+XngG/cmqkYAAAAASUVORK5CYII=";
|
|
|
;// CONCATENATED MODULE: ./src/assets/images/educationFiles/word.png
|
|
|
var word_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAAAXNSR0IArs4c6QAAAfJJREFUSEtj/P//PzMDHQDj8LdIYs3dyr///lUxMDBwEgpRP1nez9GK/C5OEpxnCanFCDrRlbe/MDAycBDSCJKPV+ZnqNET+bD3yUf7YEXBq/j0YFq06vYfYiyBWdRjLMbw/te/Z1sff7GPUea7j0svVSwCGf725787yx+8s89RF3mJzTKKLIpW5GOYYCoON/fF9z+X1t/56pCpy/8J3TKKLJLlYmE46C7HwMuKyIoPv/w+fuoDq3OoDMMvZMsosghkkCwnM4O5IAcDMyPC2Gff/9asc5HtoKpF2OKDifF/08tQtaZRi4jNVnB1o0HH0KAnwnD/yy8GDmYmhlm3PzBYiXIy6AiwMTAzMjIcf/Od4eqHXww56gIM737+Y/jy5y/DmkdfwMFHctDlaQgyTLrxnsFAkJ1BkI2ZwUyEg6Hz6juwYYWaggzPvv1hOPX2B8P9L79R4pFsiyxEOBhYmBgZbEQ5GTqgFhVpCjI8/Pqb4cqHXww3P6EUAqT7qFpHmOH1zz8M//4zMMy585HBRJiDwUqEg4GRkZFh57OvDHc+/2LI0RBk+PbnH8OHX/8YVj38TF7QkZyuoRqIDTqQswjWrvgcwczIWPkiVKUbbxEktuZO2f9//2vJtYyRgeEKLxez910fpad4LSI3uAjpG37NLQDjEzEqL4EFAQAAAABJRU5ErkJggg==";
|
|
|
;// CONCATENATED MODULE: ./src/pages/virtualSpaces/Lists/Resources/index.tsx
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var _excluded = ["globalSetting", "dispatch", "virtualSpaces", "showInfo", "showCommentInfo", "activeId", "courseId", "fenxiangid", "quanxian", "isAuthor"];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var Page = function Page(_ref) {
|
|
|
var globalSetting = _ref.globalSetting,
|
|
|
dispatch = _ref.dispatch,
|
|
|
virtualSpaces = _ref.virtualSpaces,
|
|
|
showInfo = _ref.showInfo,
|
|
|
showCommentInfo = _ref.showCommentInfo,
|
|
|
activeId = _ref.activeId,
|
|
|
courseId = _ref.courseId,
|
|
|
fenxiangid = _ref.fenxiangid,
|
|
|
quanxian = _ref.quanxian,
|
|
|
isAuthor = _ref.isAuthor,
|
|
|
props = objectWithoutProperties_default()(_ref, _excluded);
|
|
|
var _useState = (0,_react_17_0_2_react.useState)([]),
|
|
|
_useState2 = slicedToArray_default()(_useState, 2),
|
|
|
directoryList = _useState2[0],
|
|
|
setDirectoryList = _useState2[1];
|
|
|
var _useState3 = (0,_react_17_0_2_react.useState)(true),
|
|
|
_useState4 = slicedToArray_default()(_useState3, 2),
|
|
|
loading = _useState4[0],
|
|
|
setLoading = _useState4[1];
|
|
|
var _useState5 = (0,_react_17_0_2_react.useState)({
|
|
|
page: 1,
|
|
|
per_page: 10
|
|
|
}),
|
|
|
_useState6 = slicedToArray_default()(_useState5, 2),
|
|
|
params = _useState6[0],
|
|
|
setParams = _useState6[1];
|
|
|
var _useState7 = (0,_react_17_0_2_react.useState)([{
|
|
|
name: '全部',
|
|
|
type: '',
|
|
|
count: 0
|
|
|
}, {
|
|
|
name: '视频资源',
|
|
|
type: 'VideoItem',
|
|
|
count: 0
|
|
|
}, {
|
|
|
name: '文档资源',
|
|
|
type: 'Attachment',
|
|
|
count: 0
|
|
|
}, {
|
|
|
name: '外链资源',
|
|
|
type: 'Link',
|
|
|
count: 0
|
|
|
}]),
|
|
|
_useState8 = slicedToArray_default()(_useState7, 2),
|
|
|
zylx = _useState8[0],
|
|
|
setZylx = _useState8[1];
|
|
|
var _useState9 = (0,_react_17_0_2_react.useState)([{
|
|
|
name: '全部',
|
|
|
type: '',
|
|
|
count: 0
|
|
|
}, {
|
|
|
name: '已公开',
|
|
|
type: '3',
|
|
|
count: 0
|
|
|
}, {
|
|
|
name: '审核中',
|
|
|
type: '2',
|
|
|
count: 0
|
|
|
}, {
|
|
|
name: '未公开',
|
|
|
type: '1',
|
|
|
count: 0
|
|
|
}]),
|
|
|
_useState10 = slicedToArray_default()(_useState9, 2),
|
|
|
gklx = _useState10[0],
|
|
|
setGklx = _useState10[1];
|
|
|
var _useState11 = (0,_react_17_0_2_react.useState)(''),
|
|
|
_useState12 = slicedToArray_default()(_useState11, 2),
|
|
|
zylxType = _useState12[0],
|
|
|
setZylxType = _useState12[1];
|
|
|
var _useState13 = (0,_react_17_0_2_react.useState)(''),
|
|
|
_useState14 = slicedToArray_default()(_useState13, 2),
|
|
|
gklxType = _useState14[0],
|
|
|
setGklxType = _useState14[1];
|
|
|
var _useState15 = (0,_react_17_0_2_react.useState)(''),
|
|
|
_useState16 = slicedToArray_default()(_useState15, 2),
|
|
|
keyword = _useState16[0],
|
|
|
setKeyword = _useState16[1];
|
|
|
var _useState17 = (0,_react_17_0_2_react.useState)(''),
|
|
|
_useState18 = slicedToArray_default()(_useState17, 2),
|
|
|
changeKey = _useState18[0],
|
|
|
setchangeKey = _useState18[1];
|
|
|
var _useState19 = (0,_react_17_0_2_react.useState)(false),
|
|
|
_useState20 = slicedToArray_default()(_useState19, 2),
|
|
|
directory = _useState20[0],
|
|
|
setDirectory = _useState20[1];
|
|
|
var _useState21 = (0,_react_17_0_2_react.useState)(''),
|
|
|
_useState22 = slicedToArray_default()(_useState21, 2),
|
|
|
directoryId = _useState22[0],
|
|
|
setDirectoryId = _useState22[1];
|
|
|
var _useState23 = (0,_react_17_0_2_react.useState)(false),
|
|
|
_useState24 = slicedToArray_default()(_useState23, 2),
|
|
|
visible = _useState24[0],
|
|
|
setVisible = _useState24[1];
|
|
|
var _useState25 = (0,_react_17_0_2_react.useState)(false),
|
|
|
_useState26 = slicedToArray_default()(_useState25, 2),
|
|
|
visiblefs = _useState26[0],
|
|
|
setvisiblefs = _useState26[1];
|
|
|
var _useState27 = (0,_react_17_0_2_react.useState)(''),
|
|
|
_useState28 = slicedToArray_default()(_useState27, 2),
|
|
|
fsid = _useState28[0],
|
|
|
setfsid = _useState28[1];
|
|
|
var _useState29 = (0,_react_17_0_2_react.useState)(false),
|
|
|
_useState30 = slicedToArray_default()(_useState29, 2),
|
|
|
outsideVisible = _useState30[0],
|
|
|
setOutsideVisible = _useState30[1];
|
|
|
var _Form$useForm = es_form/* default */.Z.useForm(),
|
|
|
_Form$useForm2 = slicedToArray_default()(_Form$useForm, 1),
|
|
|
form = _Form$useForm2[0];
|
|
|
var _useState31 = (0,_react_17_0_2_react.useState)([]),
|
|
|
_useState32 = slicedToArray_default()(_useState31, 2),
|
|
|
almc = _useState32[0],
|
|
|
setalmc = _useState32[1];
|
|
|
var _useState33 = (0,_react_17_0_2_react.useState)([]),
|
|
|
_useState34 = slicedToArray_default()(_useState33, 2),
|
|
|
kcmc = _useState34[0],
|
|
|
setkcmc = _useState34[1];
|
|
|
var _useState35 = (0,_react_17_0_2_react.useState)([]),
|
|
|
_useState36 = slicedToArray_default()(_useState35, 2),
|
|
|
kcml = _useState36[0],
|
|
|
setkcml = _useState36[1];
|
|
|
(0,_react_17_0_2_react.useEffect)(function () {
|
|
|
getData(true);
|
|
|
}, [zylxType, gklxType]);
|
|
|
var getData = /*#__PURE__*/function () {
|
|
|
var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(flag) {
|
|
|
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
|
|
|
while (1) switch (_context.prev = _context.next) {
|
|
|
case 0:
|
|
|
if (flag) {
|
|
|
params.page = 1;
|
|
|
setParams(objectSpread2_default()({}, params));
|
|
|
}
|
|
|
setLoading(true);
|
|
|
(0,educationFiles/* resources_query */.LK)(objectSpread2_default()({
|
|
|
id: activeId,
|
|
|
subject_id: courseId,
|
|
|
type: zylxType,
|
|
|
status: gklxType,
|
|
|
keyword: keyword
|
|
|
}, params)).then(function (res) {
|
|
|
if ((res === null || res === void 0 ? void 0 : res.status) == 0) {
|
|
|
setLoading(false);
|
|
|
setDirectoryList(res === null || res === void 0 ? void 0 : res.stage);
|
|
|
setZylx([{
|
|
|
name: '全部',
|
|
|
type: '',
|
|
|
count: res === null || res === void 0 ? void 0 : res.all_count
|
|
|
}, {
|
|
|
name: '视频资源',
|
|
|
type: 'VideoItem',
|
|
|
count: res === null || res === void 0 ? void 0 : res.video_count
|
|
|
}, {
|
|
|
name: '文档资源',
|
|
|
type: 'Attachment',
|
|
|
count: res === null || res === void 0 ? void 0 : res.attachment_count
|
|
|
}, {
|
|
|
name: '外链资源',
|
|
|
type: 'Link',
|
|
|
count: res === null || res === void 0 ? void 0 : res.link_count
|
|
|
}]);
|
|
|
setGklx([{
|
|
|
name: '全部',
|
|
|
type: '',
|
|
|
count: res === null || res === void 0 ? void 0 : res.all_count
|
|
|
}, {
|
|
|
name: '已公开',
|
|
|
type: '3',
|
|
|
count: res === null || res === void 0 ? void 0 : res.publish
|
|
|
}, {
|
|
|
name: '审核中',
|
|
|
type: '2',
|
|
|
count: res === null || res === void 0 ? void 0 : res.pending
|
|
|
}, {
|
|
|
name: '未公开',
|
|
|
type: '1',
|
|
|
count: res === null || res === void 0 ? void 0 : res.un_publish
|
|
|
}]);
|
|
|
}
|
|
|
})["catch"](function (error) {
|
|
|
setLoading(false);
|
|
|
});
|
|
|
case 3:
|
|
|
case "end":
|
|
|
return _context.stop();
|
|
|
}
|
|
|
}, _callee);
|
|
|
}));
|
|
|
return function getData(_x) {
|
|
|
return _ref2.apply(this, arguments);
|
|
|
};
|
|
|
}();
|
|
|
var panelStyle = {
|
|
|
marginBottom: 20,
|
|
|
background: '#F7F9FC',
|
|
|
borderRadius: '4px',
|
|
|
border: 'none',
|
|
|
boxShadow: '0px 2px 4px 0px #EAEEF4'
|
|
|
};
|
|
|
var getButton = function getButton(data) {
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
style: {
|
|
|
marginLeft: 'auto'
|
|
|
}
|
|
|
}), (data === null || data === void 0 ? void 0 : data.directory_type) == 1 && ((0,authority/* isAdmin */.GJ)() || (0,authority/* isCertificationTeacher */.he)()) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
className: Resourcesmodules.label_content,
|
|
|
onClick: function onClick(e) {
|
|
|
e.stopPropagation();
|
|
|
setDirectoryId(data === null || data === void 0 ? void 0 : data.stage_item_id);
|
|
|
setOutsideVisible(true);
|
|
|
},
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
|
|
|
src: shangchuan_namespaceObject,
|
|
|
className: Resourcesmodules.label_img
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
className: Resourcesmodules.label_text,
|
|
|
children: "\u6DFB\u52A0\u5916\u94FE\u8D44\u6E90"
|
|
|
})]
|
|
|
}), (data === null || data === void 0 ? void 0 : data.directory_type) == 1 && ((0,authority/* isAdmin */.GJ)() || (0,authority/* isCertificationTeacher */.he)()) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
className: Resourcesmodules.label_content,
|
|
|
onClick: function onClick(e) {
|
|
|
e.stopPropagation();
|
|
|
setDirectoryId(data === null || data === void 0 ? void 0 : data.stage_item_id);
|
|
|
setVisible(true);
|
|
|
},
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
|
|
|
src: shangchuan_namespaceObject,
|
|
|
className: Resourcesmodules.label_img
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
className: Resourcesmodules.label_text,
|
|
|
children: "\u4E0A\u4F20\u6587\u4EF6"
|
|
|
})]
|
|
|
}), (0,authority/* isAdmin */.GJ)() && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
className: Resourcesmodules.label_content,
|
|
|
onClick: function onClick(e) {
|
|
|
e.stopPropagation();
|
|
|
setDirectory(true);
|
|
|
},
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
|
|
|
src: update,
|
|
|
className: Resourcesmodules.label_img
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
className: Resourcesmodules.label_text,
|
|
|
onClick: function onClick() {
|
|
|
setDirectoryId(data === null || data === void 0 ? void 0 : data.stage_item_id);
|
|
|
setDirectory(true);
|
|
|
},
|
|
|
children: "\u7F16\u8F91\u76EE\u5F55"
|
|
|
})]
|
|
|
}), (0,authority/* isAdmin */.GJ)() && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
className: Resourcesmodules.label_content,
|
|
|
onClick: function onClick(e) {
|
|
|
e.stopPropagation();
|
|
|
},
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
|
|
|
src: educationFiles_delete,
|
|
|
className: Resourcesmodules.label_img
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
className: Resourcesmodules.label_text,
|
|
|
onClick: function onClick() {
|
|
|
modal/* default */.Z.confirm({
|
|
|
title: '提示',
|
|
|
okText: '确定删除',
|
|
|
icon: false,
|
|
|
cancelText: '取消',
|
|
|
content: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
children: "\u786E\u8BA4\u5220\u9664\u8BE5\u76EE\u5F55\u5417\uFF1F"
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
className: "mt10",
|
|
|
children: "\u5220\u9664\u540E\uFF0C\u5C06\u65E0\u6CD5\u6062\u590D\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C"
|
|
|
})]
|
|
|
}),
|
|
|
onOk: function () {
|
|
|
var _onOk = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() {
|
|
|
return regeneratorRuntime_default()().wrap(function _callee2$(_context2) {
|
|
|
while (1) switch (_context2.prev = _context2.next) {
|
|
|
case 0:
|
|
|
(0,educationFiles/* resources_delete */.y4)(data === null || data === void 0 ? void 0 : data.stage_item_id).then(function (res) {
|
|
|
if ((res === null || res === void 0 ? void 0 : res.status) == 0) {
|
|
|
message/* default */.ZP.success('删除成功');
|
|
|
getData(true);
|
|
|
}
|
|
|
});
|
|
|
case 1:
|
|
|
case "end":
|
|
|
return _context2.stop();
|
|
|
}
|
|
|
}, _callee2);
|
|
|
}));
|
|
|
function onOk() {
|
|
|
return _onOk.apply(this, arguments);
|
|
|
}
|
|
|
return onOk;
|
|
|
}()
|
|
|
});
|
|
|
},
|
|
|
children: "\u5220\u9664\u76EE\u5F55"
|
|
|
})]
|
|
|
})]
|
|
|
});
|
|
|
};
|
|
|
var getItems = function getItems() {
|
|
|
return directoryList === null || directoryList === void 0 ? void 0 : directoryList.map(function (v, k) {
|
|
|
return {
|
|
|
key: k,
|
|
|
label: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
className: Resourcesmodules.label_style,
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
className: Resourcesmodules.label_title,
|
|
|
children: v === null || v === void 0 ? void 0 : v.name
|
|
|
}), getButton(v)]
|
|
|
}),
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
children: (v === null || v === void 0 ? void 0 : v.resources.length) > 0 ? /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, {
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, {
|
|
|
className: Resourcesmodules.customTable,
|
|
|
dataSource: v === null || v === void 0 ? void 0 : v.resources,
|
|
|
bordered: false,
|
|
|
rowKey: "id",
|
|
|
columns: columns,
|
|
|
rowClassName: Resourcesmodules.row,
|
|
|
loading: false,
|
|
|
pagination: false
|
|
|
})
|
|
|
}) : /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
className: Resourcesmodules.no_data,
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
|
|
|
src: nodata,
|
|
|
className: Resourcesmodules.right_img
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
className: Resourcesmodules.right_text,
|
|
|
children: "\u6682\u65E0\u6570\u636E\uFF5E"
|
|
|
})]
|
|
|
})
|
|
|
}),
|
|
|
style: panelStyle
|
|
|
};
|
|
|
});
|
|
|
};
|
|
|
var columns = [{
|
|
|
title: '名称',
|
|
|
// dataIndex: 'name',
|
|
|
ellipsis: {
|
|
|
showTitle: false
|
|
|
},
|
|
|
width: 260,
|
|
|
render: function render(v, r) {
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
className: Resourcesmodules.listRow,
|
|
|
onClick: function onClick() {
|
|
|
return handleTitleCheck(r);
|
|
|
},
|
|
|
children: [(v === null || v === void 0 ? void 0 : v.item_type) == 'Attachment' && /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
|
|
|
src: (v === null || v === void 0 ? void 0 : v.file_type) == 'other' ? zip_namespaceObject : (v === null || v === void 0 ? void 0 : v.file_type) == 'pdf' ? pdf_namespaceObject : word_namespaceObject
|
|
|
}), (v === null || v === void 0 ? void 0 : v.item_type) == 'VideoItem' && !(v !== null && v !== void 0 && v.is_link) && /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
|
|
|
src: video_namespaceObject
|
|
|
}), (v === null || v === void 0 ? void 0 : v.item_type) == 'VideoItem' && (v === null || v === void 0 ? void 0 : v.is_link) && /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
|
|
|
src: qita_namespaceObject
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
title: v === null || v === void 0 ? void 0 : v.name,
|
|
|
children: v === null || v === void 0 ? void 0 : v.name
|
|
|
})]
|
|
|
});
|
|
|
}
|
|
|
}, {
|
|
|
title: '类型',
|
|
|
width: 98,
|
|
|
ellipsis: true,
|
|
|
render: function render(v, r) {
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
className: "c-grey-666",
|
|
|
children: (v === null || v === void 0 ? void 0 : v.item_type) == 'Attachment' ? '文档资源' : v !== null && v !== void 0 && v.is_link ? '外链资源' : '视频资源'
|
|
|
});
|
|
|
}
|
|
|
}, {
|
|
|
title: '点赞',
|
|
|
dataIndex: 'like_num',
|
|
|
width: 98,
|
|
|
render: function render(v) {
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
className: "c-grey-666",
|
|
|
children: v
|
|
|
});
|
|
|
}
|
|
|
}, {
|
|
|
title: '分享',
|
|
|
dataIndex: 'share_num',
|
|
|
width: 98,
|
|
|
render: function render(v) {
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
className: "c-grey-666",
|
|
|
children: v
|
|
|
});
|
|
|
}
|
|
|
}, {
|
|
|
title: '评价',
|
|
|
dataIndex: 'comment_num',
|
|
|
width: 98,
|
|
|
render: function render(v) {
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
className: "c-grey-666",
|
|
|
children: v
|
|
|
});
|
|
|
}
|
|
|
}, {
|
|
|
title: '下载',
|
|
|
dataIndex: 'download_num',
|
|
|
width: 98,
|
|
|
render: function render(v) {
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
className: "c-grey-666",
|
|
|
children: v
|
|
|
});
|
|
|
}
|
|
|
}, {
|
|
|
title: '状态',
|
|
|
dataIndex: 'status',
|
|
|
width: 66,
|
|
|
// #666666 #FA6400 #00B187
|
|
|
render: function render(v) {
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
className: "c-grey-666",
|
|
|
style: {
|
|
|
color: v == '3' ? '#00B187' : v == '2' ? '#FA6400' : '#666666'
|
|
|
},
|
|
|
children: v == '3' ? '已公开' : v == '2' ? '审核中' : '未公开'
|
|
|
});
|
|
|
}
|
|
|
}, {
|
|
|
title: '操作',
|
|
|
// width: 124,
|
|
|
align: 'right',
|
|
|
dataIndex: 'action',
|
|
|
render: function render(v, r) {
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
|
|
|
children: [((0,authority/* isUnselect */.Mv)() || (0,authority/* isTeacher */.IR)() || (0,authority/* isStudent */.dE)()) && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
|
|
|
style: {
|
|
|
display: 'inline-block',
|
|
|
width: '100%',
|
|
|
textAlign: 'right'
|
|
|
},
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
className: "c-light-primary current",
|
|
|
onClick: function onClick() {
|
|
|
(0,educationFiles/* star_good */.fu)({
|
|
|
id: r === null || r === void 0 ? void 0 : r.stage_item_id,
|
|
|
type: r !== null && r !== void 0 && r.is_star ? 2 : 1
|
|
|
}).then(function (res) {
|
|
|
if ((res === null || res === void 0 ? void 0 : res.status) == 0) {
|
|
|
message/* default */.ZP.success(r !== null && r !== void 0 && r.is_star ? '取消点赞成功' : '点赞成功');
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
children: r !== null && r !== void 0 && r.is_star ? '取消点赞' : '点赞'
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(dropdown/* default */.Z, {
|
|
|
dropdownRender: function dropdownRender() {
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z, {
|
|
|
children: (r === null || r === void 0 ? void 0 : r.status) == '3' && /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z.Item, {
|
|
|
onClick: function onClick() {
|
|
|
(0,educationFiles/* share */.BN)(r === null || r === void 0 ? void 0 : r.stage_item_id).then(function (res) {
|
|
|
if ((res === null || res === void 0 ? void 0 : res.status) == 0) {
|
|
|
message/* default */.ZP.success('已复制资源链接,可将链接通过微信或其他工具进行分享!');
|
|
|
// 创建输入框元素
|
|
|
var input = document.createElement('input'); //不会保留文本格式
|
|
|
//如果要保留文本格式,比如保留换行符,或者多行文本,可以使用 textarea 标签,再配和模板字符串 ` `
|
|
|
//const input = document.createElement('textarea')
|
|
|
// 将想要复制的值
|
|
|
input.value = "".concat(env/* default */.Z.API_SERVER, "/ideology/modelCourse/courseInfo/").concat(courseId, "?fenxiang=").concat(r === null || r === void 0 ? void 0 : r.stage_item_id);
|
|
|
// 页面底部追加输入框
|
|
|
document.body.appendChild(input);
|
|
|
// 选中输入框
|
|
|
input.select();
|
|
|
// 执行浏览器复制命令
|
|
|
document.execCommand('Copy');
|
|
|
// 弹出复制成功信息
|
|
|
//this.$message.success('复制成功');
|
|
|
// 复制后移除输入框
|
|
|
input.remove();
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
children: "\u5206\u4EAB"
|
|
|
})
|
|
|
});
|
|
|
},
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
|
|
|
src: gengduo_namespaceObject,
|
|
|
className: "ml10",
|
|
|
style: {
|
|
|
cursor: 'pointer'
|
|
|
}
|
|
|
})
|
|
|
})]
|
|
|
}), ((0,authority/* isAdmin */.GJ)() || (0,authority/* isCertificationTeacher */.he)() || (0,authority/* isCertificationStudent */.hT)()) && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
|
|
|
style: {
|
|
|
display: 'inline-block',
|
|
|
width: '100%',
|
|
|
textAlign: 'right'
|
|
|
},
|
|
|
children: [(0,authority/* isAdmin */.GJ)() && /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
className: "c-light-primary current",
|
|
|
onClick: function onClick() {
|
|
|
modal/* default */.Z.confirm({
|
|
|
centered: true,
|
|
|
okText: '确定',
|
|
|
cancelText: '取消',
|
|
|
title: '提示',
|
|
|
content: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
children: (r === null || r === void 0 ? void 0 : r.status) == '3' ? '撤销之后,再次公开需要重新发起申请。确认撤销吗?' : (r === null || r === void 0 ? void 0 : r.status) == '2' ? '确认撤销该教学资源的公开申请吗?' : '公开之后,所有用户可查看该资源。确认提交该资源进行审核?'
|
|
|
}),
|
|
|
onOk: function onOk() {
|
|
|
if ((r === null || r === void 0 ? void 0 : r.status) == '3') {
|
|
|
//撤销公开
|
|
|
(0,educationFiles/* cancel_has_publish */.uv)(r === null || r === void 0 ? void 0 : r.stage_item_id).then(function (res) {
|
|
|
if ((res === null || res === void 0 ? void 0 : res.status) == 0) {
|
|
|
message/* default */.ZP.success('撤销公开成功');
|
|
|
getData(true);
|
|
|
}
|
|
|
});
|
|
|
} else if ((r === null || r === void 0 ? void 0 : r.status) == '2') {
|
|
|
//撤销申请
|
|
|
(0,educationFiles/* cancel_public */.a6)(r === null || r === void 0 ? void 0 : r.stage_item_id).then(function (res) {
|
|
|
if ((res === null || res === void 0 ? void 0 : res.status) == 0) {
|
|
|
message/* default */.ZP.success('撤销申请成功');
|
|
|
getData(true);
|
|
|
}
|
|
|
});
|
|
|
} else if ((r === null || r === void 0 ? void 0 : r.status) == '1') {
|
|
|
//申请公开
|
|
|
(0,educationFiles/* apply_public */.To)(r === null || r === void 0 ? void 0 : r.stage_item_id).then(function (res) {
|
|
|
if ((res === null || res === void 0 ? void 0 : res.status) == 0) {
|
|
|
message/* default */.ZP.success('申请公开成功');
|
|
|
getData(true);
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
}
|
|
|
});
|
|
|
|
|
|
// apply_public
|
|
|
},
|
|
|
children: (r === null || r === void 0 ? void 0 : r.status) == '3' ? '撤销公开' : (r === null || r === void 0 ? void 0 : r.status) == '2' ? '撤销申请' : '申请公开'
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(dropdown/* default */.Z, {
|
|
|
dropdownRender: function dropdownRender() {
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsxs)(menu/* default */.Z, {
|
|
|
children: [(r === null || r === void 0 ? void 0 : r.status) == '3' && /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z.Item, {
|
|
|
onClick: function onClick() {
|
|
|
(0,educationFiles/* share */.BN)(r === null || r === void 0 ? void 0 : r.stage_item_id).then(function (res) {
|
|
|
if ((res === null || res === void 0 ? void 0 : res.status) == 0) {
|
|
|
message/* default */.ZP.success('已复制资源链接,可将链接通过微信或其他工具进行分享!');
|
|
|
// 创建输入框元素
|
|
|
var input = document.createElement('input'); //不会保留文本格式
|
|
|
//如果要保留文本格式,比如保留换行符,或者多行文本,可以使用 textarea 标签,再配和模板字符串 ` `
|
|
|
//const input = document.createElement('textarea')
|
|
|
// 将想要复制的值
|
|
|
input.value = "".concat(env/* default */.Z.API_SERVER, "/ideology/modelCourse/courseInfo/").concat(courseId, "?fenxiang=").concat(r === null || r === void 0 ? void 0 : r.stage_item_id);
|
|
|
// 页面底部追加输入框
|
|
|
document.body.appendChild(input);
|
|
|
// 选中输入框
|
|
|
input.select();
|
|
|
// 执行浏览器复制命令
|
|
|
document.execCommand('Copy');
|
|
|
// 弹出复制成功信息
|
|
|
//this.$message.success('复制成功');
|
|
|
// 复制后移除输入框
|
|
|
input.remove();
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
children: "\u5206\u4EAB"
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z.Item, {
|
|
|
onClick: function onClick() {
|
|
|
showCommentInfo(r === null || r === void 0 ? void 0 : r.stage_item_id);
|
|
|
},
|
|
|
children: "\u8BC4\u4EF7"
|
|
|
}), ((r === null || r === void 0 ? void 0 : r.item_type) == 'Attachment' || (r === null || r === void 0 ? void 0 : r.item_type) == 'VideoItem' && !(r !== null && r !== void 0 && r.is_link)) && /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z.Item, {
|
|
|
onClick: function onClick() {
|
|
|
(r === null || r === void 0 ? void 0 : r.url) && (0,util/* downLoadLink */.Nd)('', "".concat(env/* default */.Z.API_SERVER).concat(r === null || r === void 0 ? void 0 : r.url));
|
|
|
},
|
|
|
children: "\u4E0B\u8F7D"
|
|
|
}), (r === null || r === void 0 ? void 0 : r.status) != '2' && (0,authority/* isAdmin */.GJ)() && /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z.Item, {
|
|
|
style: {
|
|
|
color: '#E30000'
|
|
|
},
|
|
|
onClick: function onClick() {
|
|
|
handleDelete(r);
|
|
|
},
|
|
|
children: "\u5220\u9664"
|
|
|
})]
|
|
|
});
|
|
|
},
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
|
|
|
src: gengduo_namespaceObject,
|
|
|
className: "ml10",
|
|
|
style: {
|
|
|
cursor: 'pointer'
|
|
|
}
|
|
|
})
|
|
|
})]
|
|
|
})]
|
|
|
});
|
|
|
}
|
|
|
}];
|
|
|
var handleDelete = function handleDelete(item) {
|
|
|
modal/* default */.Z.confirm({
|
|
|
title: '提示',
|
|
|
okText: '确定删除',
|
|
|
icon: false,
|
|
|
cancelText: '取消',
|
|
|
content: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
children: ["\u786E\u8BA4\u5220\u9664\u300A", item.name, "\u300B\u5417\uFF1F"]
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
className: "mt10",
|
|
|
children: "\u5220\u9664\u540E\uFF0C\u5C06\u65E0\u6CD5\u6062\u590D\uFF0C\u8BF7\u8C28\u614E\u64CD\u4F5C"
|
|
|
})]
|
|
|
}),
|
|
|
onOk: function () {
|
|
|
var _onOk2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() {
|
|
|
return regeneratorRuntime_default()().wrap(function _callee3$(_context3) {
|
|
|
while (1) switch (_context3.prev = _context3.next) {
|
|
|
case 0:
|
|
|
(0,educationFiles/* resources_delete */.y4)(item === null || item === void 0 ? void 0 : item.id).then(function (res) {
|
|
|
if ((res === null || res === void 0 ? void 0 : res.status) == 0) {
|
|
|
message/* default */.ZP.success('删除成功');
|
|
|
getData(true);
|
|
|
}
|
|
|
});
|
|
|
case 1:
|
|
|
case "end":
|
|
|
return _context3.stop();
|
|
|
}
|
|
|
}, _callee3);
|
|
|
}));
|
|
|
function onOk() {
|
|
|
return _onOk2.apply(this, arguments);
|
|
|
}
|
|
|
return onOk;
|
|
|
}()
|
|
|
});
|
|
|
};
|
|
|
var handleTitleCheck = /*#__PURE__*/function () {
|
|
|
var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4(item) {
|
|
|
var _item$url;
|
|
|
return regeneratorRuntime_default()().wrap(function _callee4$(_context4) {
|
|
|
while (1) switch (_context4.prev = _context4.next) {
|
|
|
case 0:
|
|
|
if (!item.is_outer_chain) {
|
|
|
_context4.next = 3;
|
|
|
break;
|
|
|
}
|
|
|
(0,util/* openNewWindow */.xg)(item.url);
|
|
|
return _context4.abrupt("return");
|
|
|
case 3:
|
|
|
if (!['other', 'download'].includes(item === null || item === void 0 ? void 0 : item.file_type)) {
|
|
|
_context4.next = 6;
|
|
|
break;
|
|
|
}
|
|
|
(0,util/* downLoadLink */.Nd)('', "".concat(env/* default */.Z.API_SERVER).concat((_item$url = item.url) === null || _item$url === void 0 ? void 0 : _item$url.replace('disposition=inline', '')));
|
|
|
return _context4.abrupt("return");
|
|
|
case 6:
|
|
|
if ((item === null || item === void 0 ? void 0 : item.item_type) == "VideoItem" && item.is_link) {
|
|
|
window.open(item === null || item === void 0 ? void 0 : item.link);
|
|
|
} else {
|
|
|
showInfo(item.stage_item_id);
|
|
|
}
|
|
|
// showInfo(item.file_id)
|
|
|
case 7:
|
|
|
case "end":
|
|
|
return _context4.stop();
|
|
|
}
|
|
|
}, _callee4);
|
|
|
}));
|
|
|
return function handleTitleCheck(_x2) {
|
|
|
return _ref3.apply(this, arguments);
|
|
|
};
|
|
|
}();
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsxs)("section", {
|
|
|
className: Resourcesmodules.wrap,
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
className: Resourcesmodules.type,
|
|
|
style: {
|
|
|
marginTop: 20
|
|
|
},
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
style: {
|
|
|
marginRight: 16
|
|
|
},
|
|
|
children: "\u8D44\u6E90\u7C7B\u578B"
|
|
|
}), zylx === null || zylx === void 0 ? void 0 : zylx.map(function (v, k) {
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
|
|
|
className: zylxType == (v === null || v === void 0 ? void 0 : v.type) ? Resourcesmodules.type_item_active : Resourcesmodules.type_item,
|
|
|
onClick: function onClick() {
|
|
|
setZylxType(v === null || v === void 0 ? void 0 : v.type);
|
|
|
},
|
|
|
children: [v === null || v === void 0 ? void 0 : v.name, " ", v === null || v === void 0 ? void 0 : v.count]
|
|
|
}, k);
|
|
|
})]
|
|
|
}), isAuthor && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
className: Resourcesmodules.type,
|
|
|
style: {
|
|
|
margin: '20px 0'
|
|
|
},
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
style: {
|
|
|
marginRight: 16
|
|
|
},
|
|
|
children: "\u516C\u5F00\u7C7B\u578B"
|
|
|
}), gklx === null || gklx === void 0 ? void 0 : gklx.map(function (v, k) {
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
|
|
|
className: gklxType == (v === null || v === void 0 ? void 0 : v.type) ? Resourcesmodules.type_item_active : Resourcesmodules.type_item,
|
|
|
onClick: function onClick() {
|
|
|
setGklxType(v === null || v === void 0 ? void 0 : v.type);
|
|
|
},
|
|
|
children: [v === null || v === void 0 ? void 0 : v.name, " ", v === null || v === void 0 ? void 0 : v.count]
|
|
|
}, k);
|
|
|
})]
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
className: Resourcesmodules.searchWrap,
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z.Search, {
|
|
|
placeholder: "\u8BF7\u8F93\u5165\u8D44\u6E90\u540D\u79F0\u641C\u7D22",
|
|
|
size: "large",
|
|
|
className: Resourcesmodules.search,
|
|
|
onChange: function onChange(v) {
|
|
|
setKeyword(v.target.value);
|
|
|
},
|
|
|
suffix: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
|
|
|
className: "iconfont icon-sousuo9 font14 ".concat(Resourcesmodules.searchIcon),
|
|
|
onClick: function onClick() {
|
|
|
getData(true);
|
|
|
}
|
|
|
}),
|
|
|
onSearch: function onSearch() {
|
|
|
getData(true);
|
|
|
}
|
|
|
})
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(spin/* default */.Z, {
|
|
|
spinning: loading,
|
|
|
children: [!directoryList.length && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
className: Resourcesmodules.no_data,
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
|
|
|
src: nodata,
|
|
|
className: Resourcesmodules.right_img
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
className: Resourcesmodules.right_text,
|
|
|
children: "\u6682\u65E0\u6570\u636E\uFF5E"
|
|
|
})]
|
|
|
}), directoryList.length > 0 && /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, {
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(collapse/* default */.Z, {
|
|
|
bordered: false,
|
|
|
expandIcon: function expandIcon(_ref4) {
|
|
|
var isActive = _ref4.isActive;
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsx)(CaretRightOutlined/* default */.Z, {
|
|
|
style: {
|
|
|
color: '#2958D4',
|
|
|
fontSize: 16
|
|
|
},
|
|
|
rotate: isActive ? 90 : 0,
|
|
|
rev: undefined
|
|
|
});
|
|
|
},
|
|
|
style: {
|
|
|
background: '#fff'
|
|
|
},
|
|
|
items: getItems()
|
|
|
})
|
|
|
})]
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(UploadModal, {
|
|
|
activeId: activeId,
|
|
|
titleName: "\u8D44\u6E90",
|
|
|
subjectId: params === null || params === void 0 ? void 0 : params.id,
|
|
|
parentId: directoryId,
|
|
|
onSuccess: function onSuccess() {
|
|
|
setVisible(false);
|
|
|
setchangeKey(new Date());
|
|
|
getData(true);
|
|
|
},
|
|
|
onClose: function onClose() {
|
|
|
return setVisible(false);
|
|
|
},
|
|
|
visible: visible
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(Resources_OutsideModal, {
|
|
|
activeId: activeId,
|
|
|
parentId: directoryId,
|
|
|
onSuccess: function onSuccess() {
|
|
|
setOutsideVisible(false);
|
|
|
setchangeKey(new Date());
|
|
|
getData(true);
|
|
|
},
|
|
|
onClose: function onClose() {
|
|
|
return setOutsideVisible(false);
|
|
|
},
|
|
|
visible: outsideVisible
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(AddDirectory/* default */.Z, {
|
|
|
activeId: activeId,
|
|
|
subjectId: params === null || params === void 0 ? void 0 : params.id,
|
|
|
directoryId: directoryId,
|
|
|
onSuccess: function onSuccess() {
|
|
|
setDirectory(false);
|
|
|
setchangeKey(new Date());
|
|
|
getData(true);
|
|
|
},
|
|
|
onClose: function onClose() {
|
|
|
return setDirectory(false);
|
|
|
},
|
|
|
visible: directory
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, {
|
|
|
centered: true,
|
|
|
keyboard: false,
|
|
|
closable: false,
|
|
|
destroyOnClose: true,
|
|
|
open: visiblefs,
|
|
|
title: "\u53D1\u9001\u81F3\u6848\u4F8B\u5E93",
|
|
|
okText: "\u786E\u8BA4\u53D1\u9001",
|
|
|
cancelText: "\u53D6\u6D88",
|
|
|
width: "600px",
|
|
|
onOk: function onOk() {
|
|
|
form.validateFields().then( /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee5() {
|
|
|
return regeneratorRuntime_default()().wrap(function _callee5$(_context5) {
|
|
|
while (1) switch (_context5.prev = _context5.next) {
|
|
|
case 0:
|
|
|
(0,educationFiles/* stage_shixun_resources_shares */.$X)({
|
|
|
id: fsid,
|
|
|
shared_id: form.getFieldValue('shared_id')
|
|
|
}).then(function (res) {
|
|
|
if ((res === null || res === void 0 ? void 0 : res.status) == 0) {
|
|
|
message/* default */.ZP.success('发送成功');
|
|
|
setvisiblefs(false);
|
|
|
}
|
|
|
});
|
|
|
case 1:
|
|
|
case "end":
|
|
|
return _context5.stop();
|
|
|
}
|
|
|
}, _callee5);
|
|
|
})));
|
|
|
},
|
|
|
onCancel: function onCancel() {
|
|
|
setvisiblefs(false);
|
|
|
},
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
className: Resourcesmodules.tilte,
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, {
|
|
|
className: Resourcesmodules.formWrap,
|
|
|
form: form,
|
|
|
layout: "horizontal",
|
|
|
labelCol: {
|
|
|
span: 5
|
|
|
},
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
|
|
name: "alklxid",
|
|
|
label: "\u6848\u4F8B\u5E93\u7C7B\u578B",
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_select["default"], {
|
|
|
onChange: function onChange(e) {
|
|
|
(0,educationFiles/* can_share_case_library_list */.DO)({
|
|
|
type: e
|
|
|
}).then(function (res) {
|
|
|
if ((res === null || res === void 0 ? void 0 : res.status) == 0) {
|
|
|
form.setFieldValue('almcid', '');
|
|
|
form.setFieldValue('kcmcid', '');
|
|
|
form.setFieldValue('shared_id', '');
|
|
|
setalmc(res === null || res === void 0 ? void 0 : res.list);
|
|
|
setkcmc([]);
|
|
|
setkcml([]);
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"].Option, {
|
|
|
value: "0",
|
|
|
children: "\u7ECF\u5178\u6848\u4F8B"
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"].Option, {
|
|
|
value: "1",
|
|
|
children: "\u80B2\u4EBA\u5143\u7D20"
|
|
|
})]
|
|
|
})
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
|
|
name: "almcid",
|
|
|
label: "\u6848\u4F8B\u540D\u79F0",
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"], {
|
|
|
onChange: function onChange(e) {
|
|
|
(0,educationFiles/* case_library_childrens */.j7)({
|
|
|
id: e,
|
|
|
order: 'mine'
|
|
|
}).then(function (res) {
|
|
|
if ((res === null || res === void 0 ? void 0 : res.status) == 0) {
|
|
|
form.setFieldValue('kcmcid', '');
|
|
|
form.setFieldValue('shared_id', '');
|
|
|
setkcmc(res === null || res === void 0 ? void 0 : res.childrens);
|
|
|
setkcml([]);
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
children: almc === null || almc === void 0 ? void 0 : almc.map(function (v, k) {
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"].Option, {
|
|
|
value: v === null || v === void 0 ? void 0 : v.id,
|
|
|
children: v === null || v === void 0 ? void 0 : v.name
|
|
|
}, k);
|
|
|
})
|
|
|
})
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
|
|
name: "kcmcid",
|
|
|
label: "\u8BFE\u7A0B\u540D\u79F0",
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"], {
|
|
|
onChange: function onChange(e) {
|
|
|
(0,educationFiles/* directory_info */.s1)({
|
|
|
id: e,
|
|
|
directory_type: 1
|
|
|
}).then(function (res) {
|
|
|
form.setFieldValue('shared_id', '');
|
|
|
setkcml(res === null || res === void 0 ? void 0 : res.directory);
|
|
|
});
|
|
|
},
|
|
|
children: kcmc === null || kcmc === void 0 ? void 0 : kcmc.map(function (v, k) {
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"].Option, {
|
|
|
value: v === null || v === void 0 ? void 0 : v.directory_id,
|
|
|
children: v === null || v === void 0 ? void 0 : v.name
|
|
|
}, k);
|
|
|
})
|
|
|
})
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
|
|
name: "shared_id",
|
|
|
label: "\u8BFE\u7A0B\u76EE\u5F55",
|
|
|
rules: [{
|
|
|
required: true,
|
|
|
message: '请选择课程目录'
|
|
|
}],
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"], {
|
|
|
children: kcml === null || kcml === void 0 ? void 0 : kcml.map(function (v, k) {
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"].Option, {
|
|
|
value: v === null || v === void 0 ? void 0 : v.id,
|
|
|
children: v === null || v === void 0 ? void 0 : v.name
|
|
|
}, k);
|
|
|
})
|
|
|
})
|
|
|
})]
|
|
|
})
|
|
|
})
|
|
|
})]
|
|
|
});
|
|
|
};
|
|
|
/* harmony default export */ var Resources = ((0,_umi_production_exports.connect)(function (_ref6) {
|
|
|
var virtualSpaces = _ref6.virtualSpaces,
|
|
|
globalSetting = _ref6.globalSetting,
|
|
|
dispatch = _ref6.dispatch;
|
|
|
return {
|
|
|
globalSetting: globalSetting,
|
|
|
virtualSpaces: virtualSpaces,
|
|
|
dispatch: dispatch
|
|
|
};
|
|
|
})(Page));
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
/***/ 45189:
|
|
|
/*!************************************************************!*\
|
|
|
!*** ./src/components/ui-customization/reset.less?modules ***!
|
|
|
\************************************************************/
|
|
|
/***/ (function(__unused_webpack_module, __webpack_exports__) {
|
|
|
|
|
|
// extracted by mini-css-extract-plugin
|
|
|
/* harmony default export */ __webpack_exports__.Z = ({"flex_box_center":"flex_box_center___vG4eV","flex_space_between":"flex_space_between___qVVxe","flex_box_vertical_center":"flex_box_vertical_center___P8Z8s","flex_box_center_end":"flex_box_center_end___VMme3","flex_box_column":"flex_box_column___VMHwm","dropdownmenus":"dropdownmenus___oVzoj","popupClassNames":"popupClassNames___OcZq7","selectdown":"selectdown___mmcA8"});
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
/***/ 9333:
|
|
|
/*!*****************************************************!*\
|
|
|
!*** ./src/assets/images/educationFiles/nodata.png ***!
|
|
|
\*****************************************************/
|
|
|
/***/ (function(module) {
|
|
|
|
|
|
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANUAAADHCAYAAACOXhYTAAAAAXNSR0IArs4c6QAAIABJREFUeF7t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DdwA0G8SLQ9v0yzY+NGNLnI+U6OoSM/Bs7Err0xeAhGGrBfAlgB8NOuV+ASARfoymPLuCygQzdgRYufPLCygYkiixXYm0i2o8RenmHiRzbyTQmHxOvOcl0UF3ADkGhkRuFl9ioFyHFFFQmWT2ZIHVeK2egzcycAWR5t3ZUD/nv/ecHE0GRJOeWKlpywIKKhPnRqLByivxjmKmRwEeCKLLA2VFndZrwcRhM12VgspkkyYErG+2X5rXr+tVTPxngF4NQZ/dlhOtyY+j1MVgAQVVDEaLVMVssAD6BuDeDFxX2/eNW1FamlGnZZHsmW5/V1AlaMRMBkti6D0e8LjOTFB3lVoTLaCgMtGYLVWZBpZETYIu0YoabxAnsMtKtQkWUFCZYMT2VJgF1q6Ljo03iBVYCR6zeNUrqOK1oIH6ZoB1XGmF9bvvt70E4pEUsh0ZRyx0Az1WReKxgIIqHutFUbcRLNuO1SD0j9ZXUIDa9P3WJ5hwImmYWnOnyx9F06poki2goEqiwRvB6rJjNdg4WAqoJA6QSU0pqEwypFE1gy57Zq+uIesLRsBSQBm1amqVU1B1wHgYAUsB1QEDY1KTCiqTDBmtmuZgaWQ5rnmSAgVUtNZMrfIKqg4cj9bAUkB14ICY1LSCyiRDxqqmOVgWZE3UUX+jOuWL1ZqpUU9BlQLjsBssOhzEO9SxeQoMShxdUFDFYTwzq4bBepo0XKe+Q5lp2eTr+v9ymSWk8VzmJAAAAABJRU5ErkJggg==";
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
/***/ 59981:
|
|
|
/*!*****************************************************!*\
|
|
|
!*** ./src/assets/images/educationFiles/update.png ***!
|
|
|
\*****************************************************/
|
|
|
/***/ (function(module) {
|
|
|
|
|
|
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAAXNSR0IArs4c6QAAAT9JREFUOE+lkr9Kw1AUh7/TWopQnfQJqmJqUYc+RlNEKC6COJu4OInt0uroYt2dFLTgkuIrOFqhtCgVfACnqoNDciTRSKrNoN7pcO/vO3/u+QmRM7fjTCXf2BYwUbLBk/Cg4Lhpju4PzadQLmGQt1urruqJwGQ0WRgrDJIim51G8fIjH+BDnmoTSIyCIndeQqTswzJjX0yndLwfVwmkCboCpPwEfmU3TVYMy6kJVGMq3XY7mYKx+GKKx3kErkvOcm6A5e+gopUkY30Pt9TtZDZy+dcz0PKnri25LWeAMBEFfah3XDoI5reu1jzcXWDpS6M8/wCjkC80rNaeoPtDHQVgpFUV7noNcz4UGbZTEaU+Yv728OeInHYbxXVfuGC1qorWYnZaH1qHwjUij6JaAGbjjBCs488G+JflQvg3Jn8HWKGWBxyNOmoAAAAASUVORK5CYII=";
|
|
|
|
|
|
/***/ })
|
|
|
|
|
|
}]); |