Auto Submit

dev_local_v9_test3
autosubmit 1 year ago
parent 4382057332
commit 5de3257e4d

@ -27,7 +27,7 @@
display: block !important;
}
</style><script>if(document.domain !== "www.educoder.net") document.title = '';</script>
<script src="/react/build/umi.8f41d807.js"></script>
<script src="/react/build/umi.5a27f403.js"></script>
<script src="/react/build/js/public.js"></script>
</body>
</html>

@ -38,12 +38,12 @@ var _umi_production_exports = __webpack_require__(88271);
var divider = __webpack_require__(28103);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/button/index.js
var es_button = __webpack_require__(3113);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/spin/index.js + 1 modules
var spin = __webpack_require__(71418);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/index.js + 1 modules
var dropdown = __webpack_require__(38854);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/menu/index.js + 11 modules
var menu = __webpack_require__(20834);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/spin/index.js + 1 modules
var spin = __webpack_require__(71418);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/modal/index.js + 16 modules
var modal = __webpack_require__(43418);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/pagination/index.js + 10 modules
@ -1057,74 +1057,74 @@ var Detail_Message = function Message(_ref) {
},
data: treeData[0].children
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(spin/* default */.Z, {
spinning: loading,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
width: '897px',
padding: '20px'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
style: {
width: '897px',
padding: '20px'
width: '100%'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
style: {
width: '100%'
children: /*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* CustomTags */.qp, {
title: "\u8D44\u6E90\u7C7B\u578B"
// className='mt20'
,
value: params.category,
onChange: handleChangeStatus,
dataSource: [{
id: null,
name: "全部"
}, {
id: 1,
name: "视频"
}, {
id: 2,
name: "资料"
}],
titleWidth: 80
})
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
width: '100%',
display: 'flex',
justifyContent: 'space-between',
alignItems: 'center'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(dropdown/* default */.Z, {
dropdownRender: function dropdownRender() {
return /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z, {
selectedKeys: [SortMenuName],
children: SortMenus === null || SortMenus === void 0 ? void 0 : SortMenus.map(function (item, index) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z.Item, {
onClick: function onClick() {
params.sort_by = item.type;
params.sort_direction = item.direction;
params.page = 1;
setSortMenuName(item.name);
},
children: item.name
}, item.name);
})
});
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* CustomTags */.qp, {
title: "\u8D44\u6E90\u7C7B\u578B"
// className='mt20'
,
value: params.category,
onChange: handleChangeStatus,
dataSource: [{
id: null,
name: "全部"
}, {
id: 1,
name: "视频"
}, {
id: 2,
name: "资料"
}],
titleWidth: 80
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "".concat(Detailmodules.btn, " ").concat(isDefault ? Detailmodules.btnSort : ''),
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-paixu font14 mr5"
}), SortMenuName]
})
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
}), /*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* CustomInput */.t7, {
style: {
width: '100%',
display: 'flex',
justifyContent: 'space-between',
alignItems: 'center'
width: 260
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(dropdown/* default */.Z, {
dropdownRender: function dropdownRender() {
return /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z, {
selectedKeys: [SortMenuName],
children: SortMenus === null || SortMenus === void 0 ? void 0 : SortMenus.map(function (item, index) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z.Item, {
onClick: function onClick() {
params.sort_by = item.type;
params.sort_direction = item.direction;
params.page = 1;
setSortMenuName(item.name);
},
children: item.name
}, item.name);
})
});
},
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "".concat(Detailmodules.btn, " ").concat(isDefault ? Detailmodules.btnSort : ''),
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-paixu font14 mr5"
}), SortMenuName]
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* CustomInput */.t7, {
style: {
width: 260
},
placeholder: "\u641C\u7D22\u77E5\u8BC6\u5E93\u540D\u79F0",
value: params.keyword,
onChange: handleSearch
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
placeholder: "\u641C\u7D22\u77E5\u8BC6\u5E93\u540D\u79F0",
value: params.keyword,
onChange: handleSearch
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(spin/* default */.Z, {
spinning: loading,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Detailmodules.knowWrap,
children: inforList.map(function (item, index) {
var _item$attachments;
@ -1228,39 +1228,40 @@ var Detail_Message = function Message(_ref) {
})]
});
})
})]
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("aside", {
children: total > 0 ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
display: 'flex',
alignItems: 'center',
justifyContent: 'space-between',
padding: '10px 7px 20px 7px',
marginTop: '10px'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
style: {
color: '#656F87'
},
children: ["\u5171", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "c-light-primary",
children: total
}), "\u6761\u6570\u636E"]
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(pagination/* default */.Z, {
showSizeChanger: true,
showQuickJumper: true,
onChange: onShowSizeChange,
defaultCurrent: 1,
pageSizeOptions: ['10', '20', '50', '100'],
current: (params === null || params === void 0 ? void 0 : params.page) || 1,
pageSize: (params === null || params === void 0 ? void 0 : params.limit) || 10,
defaultPageSize: 10,
total: total
})]
}) : ''
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: total > 0 ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
width: '100%',
display: 'flex',
alignItems: 'center',
justifyContent: 'space-between',
padding: '10px 7px 20px 7px',
marginTop: '10px'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
style: {
color: '#656F87'
},
children: ["\u5171", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "c-light-primary",
children: total
}), "\u6761\u6570\u636E"]
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(pagination/* default */.Z, {
showSizeChanger: true,
showQuickJumper: true,
onChange: onShowSizeChange,
defaultCurrent: 1,
pageSizeOptions: ['10', '20', '50', '100'],
current: (params === null || params === void 0 ? void 0 : params.page) || 1,
pageSize: (params === null || params === void 0 ? void 0 : params.limit) || 10,
defaultPageSize: 10,
total: total
})]
}) : ''
})]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(EditModal/* default */.Z, {
visible: showEdit,

@ -1538,7 +1538,7 @@ var Submission_Journal = function Journal() {
case 0:
_context7.next = 2;
return (0,magazine/* canclePost */.E)({
id: record === null || record === void 0 ? void 0 : record.id,
id: urlParams === null || urlParams === void 0 ? void 0 : urlParams.id,
article_id: record === null || record === void 0 ? void 0 : record.id
});
case 2:
@ -1719,9 +1719,20 @@ var Submission_Journal = function Journal() {
onCancel: function onCancel() {
setModify(false);
},
onOk: function onOk() {
setModify(false);
},
onOk: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee9() {
return regeneratorRuntime_default()().wrap(function _callee9$(_context9) {
while (1) switch (_context9.prev = _context9.next) {
case 0:
_context9.next = 2;
return modifyForm.submit();
case 2:
setModify(false);
case 3:
case "end":
return _context9.stop();
}
}, _callee9);
})),
okButtonProps: {
loading: modifyBtnLoading
},

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