autoUpdataFile

dev_local_v9_zzxy
eduauto 1 year ago
parent 81fda15a1d
commit 679d5768a1

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[10572,52720,3080,28717,77575,25261,8026,26273,89638,86986,39200,27139,69429,81326,26314],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[10572,52720,3080,28717,77575,25261,8026,89638,86986,39200,27139,69429,81326,26314],{
/***/ 73331:
/*!**************************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[16508,52720,44280,83124,10572,3080,28717,77575,25261,8026,26273,89638,86986,39200,27139,69429,81326,26314],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[16508,52720,44280,82656,83124,10572,3080,28717,77575,25261,8026,89638,86986,39200,27139,69429,81326,26314],{
/***/ 73331:
/*!**************************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[25261,28717,77575,8026,26273,89638,86986,39200,27139,69429,26314],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[25261,28717,77575,8026,89638,86986,39200,27139,69429,26314],{
/***/ 73331:
/*!**************************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[25715,85062,27630,54555,83124,28717,77575,25261,8026,26273,89638,86986,39200,27139,69429,26314],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[25715,85062,27630,54555,83124,28717,77575,25261,8026,89638,86986,39200,27139,69429,26314],{
/***/ 73331:
/*!**************************************************************************************************************!*\

File diff suppressed because it is too large Load Diff

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[27630,85062,25715,54555,83124,28717,77575,25261,8026,26273,89638,86986,39200,27139,69429,26314],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[27630,85062,25715,54555,83124,28717,77575,25261,8026,89638,86986,39200,27139,69429,26314],{
/***/ 73331:
/*!**************************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[28717,77575,25261,8026,26273,89638,86986,39200,27139,69429,26314],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[28717,77575,25261,8026,89638,86986,39200,27139,69429,26314],{
/***/ 73331:
/*!**************************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[3080,52720,10572,28717,77575,25261,8026,26273,89638,86986,39200,27139,69429,81326,26314],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[3080,52720,10572,28717,77575,25261,8026,89638,86986,39200,27139,69429,81326,26314],{
/***/ 73331:
/*!**************************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[44280,52720,16508,83124,10572,3080,28717,77575,25261,8026,26273,89638,86986,39200,27139,69429,81326,26314],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[44280,52720,16508,82656,83124,10572,3080,28717,77575,25261,8026,89638,86986,39200,27139,69429,81326,26314],{
/***/ 73331:
/*!**************************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[46987,52720,10572,3080,28717,77575,25261,8026,26273,89638,86986,39200,27139,69429,81326,26314],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[46987,52720,10572,3080,28717,77575,25261,8026,89638,86986,39200,27139,69429,81326,26314],{
/***/ 27812:
/*!***********************************************************************************************************!*\

File diff suppressed because one or more lines are too long

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[54227,78449,83124,28717,77575,25261,8026,26273,89638,86986,39200,27139,69429,26314],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[54227,78449,83124,28717,77575,25261,8026,89638,86986,39200,27139,69429,26314],{
/***/ 27812:
/*!***********************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[54555,85062,25715,27630,83124,28717,77575,25261,8026,26273,89638,86986,39200,27139,69429,26314],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[54555,85062,25715,27630,83124,28717,77575,25261,8026,89638,86986,39200,27139,69429,26314],{
/***/ 73331:
/*!**************************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[67913,52720,44280,16508,78449,54227,46987,83124,10572,3080,28717,77575,25261,8026,26273,89638,86986,39200,27139,69429,81326,26314],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[67913,52720,44280,16508,82656,78449,54227,46987,83124,10572,3080,28717,77575,25261,8026,89638,86986,39200,27139,69429,81326,26314],{
/***/ 27812:
/*!***********************************************************************************************************!*\

@ -15,6 +15,7 @@
/* harmony export */ P6: function() { return /* binding */ createOtherMagazine; },
/* harmony export */ QM: function() { return /* binding */ postMagazin; },
/* harmony export */ UV: function() { return /* binding */ delOtherMagazine; },
/* harmony export */ Wx: function() { return /* binding */ getMonthlyDetail; },
/* harmony export */ _3: function() { return /* binding */ getOtherMagazine; },
/* harmony export */ ah: function() { return /* binding */ reviewCount; },
/* harmony export */ dV: function() { return /* binding */ getMagazinCat; },
@ -239,7 +240,7 @@ function getMagazinColumn(_x5) {
return _getMagazinColumn.apply(this, arguments);
}
// 投稿
//获取月刊
function _getMagazinColumn() {
_getMagazinColumn = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee10(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee10$(_context10) {
@ -257,156 +258,178 @@ function _getMagazinColumn() {
}));
return _getMagazinColumn.apply(this, arguments);
}
function postMagazin(_x6) {
function getMonthlyDetail(_x6) {
return _getMonthlyDetail.apply(this, arguments);
}
// 投稿
function _getMonthlyDetail() {
_getMonthlyDetail = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee11(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee11$(_context11) {
while (1) switch (_context11.prev = _context11.next) {
case 0:
return _context11.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/monthly_magazines.json", {
method: 'get',
params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context11.stop();
}
}, _callee11);
}));
return _getMonthlyDetail.apply(this, arguments);
}
function postMagazin(_x7) {
return _postMagazin.apply(this, arguments);
}
// 审核
function _postMagazin() {
_postMagazin = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee11(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee11$(_context11) {
while (1) switch (_context11.prev = _context11.next) {
_postMagazin = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee12(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee12$(_context12) {
while (1) switch (_context12.prev = _context12.next) {
case 0:
return _context11.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/submit.json", {
return _context12.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/submit.json", {
method: 'post',
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context11.stop();
return _context12.stop();
}
}, _callee11);
}, _callee12);
}));
return _postMagazin.apply(this, arguments);
}
function getMagazinCheck(_x7) {
function getMagazinCheck(_x8) {
return _getMagazinCheck.apply(this, arguments);
}
// 审核列表
function _getMagazinCheck() {
_getMagazinCheck = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee12(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee12$(_context12) {
while (1) switch (_context12.prev = _context12.next) {
_getMagazinCheck = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee13(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee13$(_context13) {
while (1) switch (_context13.prev = _context13.next) {
case 0:
return _context12.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/articles/".concat(params === null || params === void 0 ? void 0 : params.id, "/audit.json"), {
return _context13.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/articles/".concat(params === null || params === void 0 ? void 0 : params.id, "/audit.json"), {
method: 'post',
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context12.stop();
return _context13.stop();
}
}, _callee12);
}, _callee13);
}));
return _getMagazinCheck.apply(this, arguments);
}
function getReviewList(_x8) {
function getReviewList(_x9) {
return _getReviewList.apply(this, arguments);
}
// 智云告示 云刊问道
function _getReviewList() {
_getReviewList = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee13(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee13$(_context13) {
while (1) switch (_context13.prev = _context13.next) {
_getReviewList = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee14(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee14$(_context14) {
while (1) switch (_context14.prev = _context14.next) {
case 0:
return _context13.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/articles.json"), {
return _context14.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/articles.json"), {
method: 'get',
params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context13.stop();
return _context14.stop();
}
}, _callee13);
}, _callee14);
}));
return _getReviewList.apply(this, arguments);
}
function approved_articles(_x9) {
function approved_articles(_x10) {
return _approved_articles.apply(this, arguments);
}
// 审核进度
function _approved_articles() {
_approved_articles = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee14(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee14$(_context14) {
while (1) switch (_context14.prev = _context14.next) {
_approved_articles = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee15(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee15$(_context15) {
while (1) switch (_context15.prev = _context15.next) {
case 0:
return _context14.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/approved_articles.json"), {
return _context15.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/approved_articles.json"), {
method: 'get',
params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context14.stop();
return _context15.stop();
}
}, _callee14);
}, _callee15);
}));
return _approved_articles.apply(this, arguments);
}
function getReviewProgress(_x10) {
function getReviewProgress(_x11) {
return _getReviewProgress.apply(this, arguments);
}
//取消投稿
function _getReviewProgress() {
_getReviewProgress = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee15(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee15$(_context15) {
while (1) switch (_context15.prev = _context15.next) {
_getReviewProgress = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee16(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee16$(_context16) {
while (1) switch (_context16.prev = _context16.next) {
case 0:
return _context15.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/article_progress.json"), {
return _context16.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/article_progress.json"), {
method: 'get',
params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context15.stop();
return _context16.stop();
}
}, _callee15);
}, _callee16);
}));
return _getReviewProgress.apply(this, arguments);
}
function canclePost(_x11) {
function canclePost(_x12) {
return _canclePost.apply(this, arguments);
}
// 编辑稿件
function _canclePost() {
_canclePost = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee16(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee16$(_context16) {
while (1) switch (_context16.prev = _context16.next) {
_canclePost = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee17(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee17$(_context17) {
while (1) switch (_context17.prev = _context17.next) {
case 0:
return _context16.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/cancel_submit.json"), {
return _context17.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/cancel_submit.json"), {
method: 'post',
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context16.stop();
return _context17.stop();
}
}, _callee16);
}, _callee17);
}));
return _canclePost.apply(this, arguments);
}
function editArticle(_x12) {
function editArticle(_x13) {
return _editArticle.apply(this, arguments);
}
// 其他期刊 -获取
function _editArticle() {
_editArticle = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee17(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee17$(_context17) {
while (1) switch (_context17.prev = _context17.next) {
_editArticle = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee18(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee18$(_context18) {
while (1) switch (_context18.prev = _context18.next) {
case 0:
return _context17.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/change_submit.json"), {
return _context18.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/change_submit.json"), {
method: 'post',
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context17.stop();
return _context18.stop();
}
}, _callee17);
}, _callee18);
}));
return _editArticle.apply(this, arguments);
}
@ -416,124 +439,124 @@ function getOtherMagazine() {
// 其他期刊 -创建
function _getOtherMagazine() {
_getOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee18() {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee18$(_context18) {
while (1) switch (_context18.prev = _context18.next) {
_getOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee19() {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee19$(_context19) {
while (1) switch (_context19.prev = _context19.next) {
case 0:
return _context18.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/others.json", {
return _context19.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/others.json", {
method: 'get'
}));
case 1:
case "end":
return _context18.stop();
return _context19.stop();
}
}, _callee18);
}, _callee19);
}));
return _getOtherMagazine.apply(this, arguments);
}
function createOtherMagazine(_x13) {
function createOtherMagazine(_x14) {
return _createOtherMagazine.apply(this, arguments);
}
// 其他期刊 -修改
function _createOtherMagazine() {
_createOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee19(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee19$(_context19) {
while (1) switch (_context19.prev = _context19.next) {
_createOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee20(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee20$(_context20) {
while (1) switch (_context20.prev = _context20.next) {
case 0:
return _context19.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines.json", {
return _context20.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines.json", {
method: 'post',
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context19.stop();
return _context20.stop();
}
}, _callee19);
}, _callee20);
}));
return _createOtherMagazine.apply(this, arguments);
}
function modifyOtherMagazine(_x14) {
function modifyOtherMagazine(_x15) {
return _modifyOtherMagazine.apply(this, arguments);
}
// 其他期刊 -删除
function _modifyOtherMagazine() {
_modifyOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee20(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee20$(_context20) {
while (1) switch (_context20.prev = _context20.next) {
_modifyOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee21(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee21$(_context21) {
while (1) switch (_context21.prev = _context21.next) {
case 0:
return _context20.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, ".json"), {
return _context21.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, ".json"), {
method: 'put',
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context20.stop();
return _context21.stop();
}
}, _callee20);
}, _callee21);
}));
return _modifyOtherMagazine.apply(this, arguments);
}
function delOtherMagazine(_x15) {
function delOtherMagazine(_x16) {
return _delOtherMagazine.apply(this, arguments);
}
// 文章阅读量+1
function _delOtherMagazine() {
_delOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee21(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee21$(_context21) {
while (1) switch (_context21.prev = _context21.next) {
_delOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee22(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee22$(_context22) {
while (1) switch (_context22.prev = _context22.next) {
case 0:
return _context21.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, ".json"), {
return _context22.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, ".json"), {
method: 'delete'
}));
case 1:
case "end":
return _context21.stop();
return _context22.stop();
}
}, _callee21);
}, _callee22);
}));
return _delOtherMagazine.apply(this, arguments);
}
function reviewCount(_x16) {
function reviewCount(_x17) {
return _reviewCount.apply(this, arguments);
}
// 删除期刊
function _reviewCount() {
_reviewCount = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee22(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee22$(_context22) {
while (1) switch (_context22.prev = _context22.next) {
_reviewCount = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee23(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee23$(_context23) {
while (1) switch (_context23.prev = _context23.next) {
case 0:
return _context22.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/articles/".concat(params === null || params === void 0 ? void 0 : params.id, "/viewed.json"), {
return _context23.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/articles/".concat(params === null || params === void 0 ? void 0 : params.id, "/viewed.json"), {
method: 'put'
}));
case 1:
case "end":
return _context22.stop();
return _context23.stop();
}
}, _callee22);
}, _callee23);
}));
return _reviewCount.apply(this, arguments);
}
function delMagazine(_x17) {
function delMagazine(_x18) {
return _delMagazine.apply(this, arguments);
}
function _delMagazine() {
_delMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee23(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee23$(_context23) {
while (1) switch (_context23.prev = _context23.next) {
_delMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee24(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee24$(_context24) {
while (1) switch (_context24.prev = _context24.next) {
case 0:
return _context23.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/articles/".concat(params === null || params === void 0 ? void 0 : params.id, ".json"), {
return _context24.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/articles/".concat(params === null || params === void 0 ? void 0 : params.id, ".json"), {
method: 'delete',
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context23.stop();
return _context24.stop();
}
}, _callee23);
}, _callee24);
}));
return _delMagazine.apply(this, arguments);
}

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[77575,28717,25261,8026,26273,89638,86986,39200,27139,69429,26314],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[77575,28717,25261,8026,89638,86986,39200,27139,69429,26314],{
/***/ 73331:
/*!**************************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[78449,54227,83124,28717,77575,25261,8026,26273,89638,86986,39200,27139,69429,26314],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[78449,54227,83124,28717,77575,25261,8026,89638,86986,39200,27139,69429,26314],{
/***/ 27812:
/*!***********************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[8026,28717,77575,25261,26273,89638,86986,39200,27139,69429,26314],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[8026,28717,77575,25261,89638,86986,39200,27139,69429,26314],{
/***/ 73331:
/*!**************************************************************************************************************!*\

File diff suppressed because it is too large Load Diff

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[85062,25715,27630,54555,83124,28717,77575,25261,8026,26273,89638,86986,39200,27139,69429,26314],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[85062,25715,27630,54555,83124,28717,77575,25261,8026,89638,86986,39200,27139,69429,26314],{
/***/ 73331:
/*!**************************************************************************************************************!*\

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

@ -37,6 +37,14 @@ var es_form = __webpack_require__(78241);
var breadcrumb = __webpack_require__(66104);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input/index.js + 3 modules
var input = __webpack_require__(92832);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/row/index.js
var row = __webpack_require__(95237);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/col/index.js
var col = __webpack_require__(43604);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/checkbox/index.js + 3 modules
var es_checkbox = __webpack_require__(24905);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input-number/index.js + 14 modules
var input_number = __webpack_require__(5871);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/button/index.js
var es_button = __webpack_require__(3113);
// EXTERNAL MODULE: ./src/components/markdown-editor/index.tsx + 10 modules
@ -307,6 +315,61 @@ var NewCoursePage = function NewCoursePage(_ref) {
name: "attachment_ids",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(MultiUpload/* default */.Z, {})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(row/* default */.Z, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
name: "start_group",
valuePropName: "checked",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default */.Z, {
value: true,
children: "\u5F00\u542F\u5206\u7EC4"
})
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
gutter: [20, 20],
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
flex: "230px",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
name: "min_num",
label: "\u5206\u7EC4\u8BBE\u7F6E",
rules: [{
required: true,
message: '请填写每组最小人数'
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {
style: {
width: 200
},
min: 1,
placeholder: "\u8BF7\u586B\u5199\u6BCF\u7EC4\u6700\u5C0F\u4EBA\u6570"
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
flex: "230px",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
name: "max_num",
label: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: "\xA0"
}),
rules: [{
required: true,
message: '请填写每组最大人数'
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {
style: {
width: 200
},
max: 100,
placeholder: "\u8BF7\u586B\u5199\u6BCF\u7EC4\u6700\u5927\u4EBA\u6570"
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "mt30",
children: "\uFF08\u5B66\u5458\u63D0\u4EA4\u4F5C\u54C1\u65F6\u9700\u8981\u5173\u8054\u540C\u7EC4\u6210\u5458\uFF0C\u7EC4\u5185\u6210\u5458\u4F5C\u54C1\u5171\u4EAB\uFF09"
})
})]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Addmodules.mdWrap,

@ -4340,7 +4340,15 @@ var WorkList = function WorkList(_ref) {
title: '姓名',
width: '5%',
ellipsis: true,
dataIndex: 'user_name'
dataIndex: 'user_name',
render: function render(text, record) {
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [text, /*#__PURE__*/(0,jsx_runtime.jsx)("br", {}), record.is_leader && /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: 'leader',
children: "\u7EC4\u957F"
})]
});
}
},
// !workList?.anonymous_comment && {
// 学员端 开启匿评后不展示学号----教室可以看学号(不受限制)
@ -4360,6 +4368,17 @@ var WorkList = function WorkList(_ref) {
width: '8%',
ellipsis: true,
dataIndex: 'group_name'
}, {
title: '分组',
align: 'center',
dataIndex: 'work_group',
width: '5%',
render: function render(text) {
return /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "c-blue",
children: text
});
}
}, {
title: workList !== null && workList !== void 0 && workList.is_jupyter_lab || workList !== null && workList !== void 0 && workList.is_jupyter ? '作业状态' : '作品状态',
dataIndex: 'work_status',

@ -37,6 +37,14 @@ var es_form = __webpack_require__(78241);
var breadcrumb = __webpack_require__(66104);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input/index.js + 3 modules
var input = __webpack_require__(92832);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/row/index.js
var row = __webpack_require__(95237);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/col/index.js
var col = __webpack_require__(43604);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/checkbox/index.js + 3 modules
var es_checkbox = __webpack_require__(24905);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input-number/index.js + 14 modules
var input_number = __webpack_require__(5871);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/button/index.js
var es_button = __webpack_require__(3113);
// EXTERNAL MODULE: ./src/components/markdown-editor/index.tsx + 10 modules
@ -119,7 +127,10 @@ var EditCommonHomework = function EditCommonHomework(_ref) {
description: res.description,
reference_answer: res.reference_answer,
attachment_ids: (0,MultiUpload/* coverToFileList */.z)(res.attachments),
reference_attachment_ids: (0,MultiUpload/* coverToFileList */.z)(res.ref_attachments)
reference_attachment_ids: (0,MultiUpload/* coverToFileList */.z)(res.ref_attachments),
min_num: res === null || res === void 0 ? void 0 : res.min_num,
max_num: res === null || res === void 0 ? void 0 : res.max_num,
start_group: res === null || res === void 0 ? void 0 : res.start_group
};
form.setFieldsValue(objectSpread2_default()({}, formData));
setFormValue(objectSpread2_default()({}, formData));
@ -276,6 +287,61 @@ var EditCommonHomework = function EditCommonHomework(_ref) {
name: "attachment_ids",
children: isShow && /*#__PURE__*/(0,jsx_runtime.jsx)(MultiUpload/* default */.Z, {})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(row/* default */.Z, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
name: "start_group",
valuePropName: "checked",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default */.Z, {
value: true,
children: "\u5F00\u542F\u5206\u7EC4"
})
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
gutter: [20, 20],
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
flex: "230px",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
name: "min_num",
label: "\u5206\u7EC4\u8BBE\u7F6E",
rules: [{
required: true,
message: '请填写每组最小人数'
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {
style: {
width: 200
},
min: 1,
placeholder: "\u8BF7\u586B\u5199\u6BCF\u7EC4\u6700\u5C0F\u4EBA\u6570"
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
flex: "230px",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
name: "max_num",
label: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: "\xA0"
}),
rules: [{
required: true,
message: '请填写每组最大人数'
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {
style: {
width: 200
},
max: 100,
placeholder: "\u8BF7\u586B\u5199\u6BCF\u7EC4\u6700\u5927\u4EBA\u6570"
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "mt30",
children: "\uFF08\u5B66\u5458\u63D0\u4EA4\u4F5C\u54C1\u65F6\u9700\u8981\u5173\u8054\u540C\u7EC4\u6210\u5458\uFF0C\u7EC4\u5185\u6210\u5458\u4F5C\u54C1\u5171\u4EAB\uFF09"
})
})]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Editmodules.mdWrap,

@ -232,6 +232,40 @@ button:active {
overflow: hidden;
text-overflow: ellipsis;
}
.Onerow___s_LHI {
word-break: break-all;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.searchMember___vifCN {
background: #f4faff;
width: 530px;
height: 440px;
overflow: auto;
}
.searchMember___vifCN .searchMemberHeader___UX_7Z {
height: 40px;
padding: 9px 0;
background: #F8FCFF;
border: 1px solid #EDF3FF;
}
.searchMember___vifCN [class~='ant-col'] {
word-break: break-all;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.searchMember___vifCN [class~='ant-col'] [class='ant-checkbox-wrapper'] {
word-break: break-all;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.searchMember___vifCN [class~='ant-col'] [class='ant-checkbox-wrapper'] span:nth-child(2) {
overflow: hidden;
text-overflow: ellipsis;
}
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/components/MultiUpload/index.less ***!

@ -40,6 +40,18 @@ var es_form = __webpack_require__(78241);
var modal = __webpack_require__(43418);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/breadcrumb/index.js + 6 modules
var breadcrumb = __webpack_require__(66104);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/divider/index.js + 1 modules
var divider = __webpack_require__(28103);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/row/index.js
var row = __webpack_require__(95237);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/col/index.js
var col = __webpack_require__(43604);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input/index.js + 3 modules
var input = __webpack_require__(92832);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/checkbox/index.js + 3 modules
var es_checkbox = __webpack_require__(24905);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input-number/index.js + 14 modules
var input_number = __webpack_require__(5871);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/button/index.js
var es_button = __webpack_require__(3113);
// EXTERNAL MODULE: ./src/components/markdown-editor/index.tsx + 10 modules
@ -48,7 +60,7 @@ var markdown_editor = __webpack_require__(92042);
var service_shixunHomeworks = __webpack_require__(4900);
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/CommonHomework/SubmitWork/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var SubmitWorkmodules = ({"flex_box_center":"flex_box_center___HcDSI","flex_space_between":"flex_space_between___Apy3C","flex_box_vertical_center":"flex_box_vertical_center___D1ebH","flex_box_center_end":"flex_box_center_end___RoAdV","flex_box_column":"flex_box_column___o0Rwk","flex-col":"flex-col___OWOSp","flex-row":"flex-row___c9xQ3","justify-start":"justify-start___hpC69","justify-center":"justify-center___yHrDb","justify-end":"justify-end___ofWGi","justify-evenly":"justify-evenly___GK1Sj","justify-around":"justify-around___yt1V4","justify-between":"justify-between___Cffjy","align-start":"align-start___PKiCm","align-center":"align-center___UATLo","align-end":"align-end___x2kuI","bg":"bg___TiMPN","flexRow":"flexRow___z3dqH","flexJustifyCenter":"flexJustifyCenter___PBTpD","flexAlignEnd":"flexAlignEnd___vbqsb","flexAlignCenter":"flexAlignCenter___wRMBE","flexColumn":"flexColumn___ZjAyF","formWrap":"formWrap___t6WyS","titleWrap":"titleWrap___riXqq","fieldWrap":"fieldWrap___TBdw7","mdWrap":"mdWrap____nxvH","backgroundFa":"backgroundFa___gDA1e","button":"button___mpK6Z","searchMember":"searchMember___vifCN"});
/* harmony default export */ var SubmitWorkmodules = ({"flex_box_center":"flex_box_center___HcDSI","flex_space_between":"flex_space_between___Apy3C","flex_box_vertical_center":"flex_box_vertical_center___D1ebH","flex_box_center_end":"flex_box_center_end___RoAdV","flex_box_column":"flex_box_column___o0Rwk","flex-col":"flex-col___OWOSp","flex-row":"flex-row___c9xQ3","justify-start":"justify-start___hpC69","justify-center":"justify-center___yHrDb","justify-end":"justify-end___ofWGi","justify-evenly":"justify-evenly___GK1Sj","justify-around":"justify-around___yt1V4","justify-between":"justify-between___Cffjy","align-start":"align-start___PKiCm","align-center":"align-center___UATLo","align-end":"align-end___x2kuI","bg":"bg___TiMPN","flexRow":"flexRow___z3dqH","flexJustifyCenter":"flexJustifyCenter___PBTpD","flexAlignEnd":"flexAlignEnd___vbqsb","flexAlignCenter":"flexAlignCenter___wRMBE","flexColumn":"flexColumn___ZjAyF","formWrap":"formWrap___t6WyS","titleWrap":"titleWrap___riXqq","fieldWrap":"fieldWrap___TBdw7","mdWrap":"mdWrap____nxvH","backgroundFa":"backgroundFa___gDA1e","button":"button___mpK6Z","searchMember":"searchMember___vifCN","Onerow":"Onerow___s_LHI","searchMemberHeader":"searchMemberHeader___UX_7Z"});
// EXTERNAL MODULE: ./src/components/MultiUpload/index.tsx + 3 modules
var MultiUpload = __webpack_require__(86618);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
@ -93,20 +105,24 @@ var NewCoursePage = function NewCoursePage(_ref) {
_useState8 = slicedToArray_default()(_useState7, 2),
isEdit = _useState8[0],
setIsEdit = _useState8[1];
var courseId = (0,_react_17_0_2_react.useRef)();
var studentWorkAddDefaultData = shixunHomeworks.studentWorkAddDefaultData;
var _useState9 = (0,_react_17_0_2_react.useState)([]),
_useState10 = slicedToArray_default()(_useState9, 2),
searchMemberList = _useState10[0],
setSearchMemberList = _useState10[1];
var _useState11 = (0,_react_17_0_2_react.useState)({
selectStudent = _useState10[0],
setSelectStudent = _useState10[1];
var courseId = (0,_react_17_0_2_react.useRef)();
var studentWorkAddDefaultData = shixunHomeworks.studentWorkAddDefaultData;
var _useState11 = (0,_react_17_0_2_react.useState)([]),
_useState12 = slicedToArray_default()(_useState11, 2),
searchMemberList = _useState12[0],
setSearchMemberList = _useState12[1];
var _useState13 = (0,_react_17_0_2_react.useState)({
page: 1,
limit: 20,
search: ""
}),
_useState12 = slicedToArray_default()(_useState11, 2),
memberSearchParams = _useState12[0],
setMemberSearchParams = _useState12[1];
_useState14 = slicedToArray_default()(_useState13, 2),
memberSearchParams = _useState14[0],
setMemberSearchParams = _useState14[1];
var getData = /*#__PURE__*/function () {
var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() {
var _res$members;
@ -221,6 +237,30 @@ var NewCoursePage = function NewCoursePage(_ref) {
return _ref5.apply(this, arguments);
};
}();
var handleInfiniteOnLoad = /*#__PURE__*/function () {
var _ref6 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee5(idName) {
var _document, _document2, _document3;
var scrollHeight, offsetTop, offsetHeight;
return regeneratorRuntime_default()().wrap(function _callee5$(_context5) {
while (1) switch (_context5.prev = _context5.next) {
case 0:
scrollHeight = (_document = document) === null || _document === void 0 || (_document = _document.querySelector(idName)) === null || _document === void 0 ? void 0 : _document.scrollHeight;
offsetTop = (_document2 = document) === null || _document2 === void 0 || (_document2 = _document2.querySelector(idName)) === null || _document2 === void 0 ? void 0 : _document2.scrollTop;
offsetHeight = (_document3 = document) === null || _document3 === void 0 || (_document3 = _document3.querySelector(idName)) === null || _document3 === void 0 ? void 0 : _document3.clientHeight;
if (scrollHeight == offsetTop + offsetHeight && hasMore) {
memberSearchParams.page++;
setMemberSearchParams(objectSpread2_default()({}, memberSearchParams));
}
case 4:
case "end":
return _context5.stop();
}
}, _callee5);
}));
return function handleInfiniteOnLoad(_x3) {
return _ref6.apply(this, arguments);
};
}();
return /*#__PURE__*/(0,jsx_runtime.jsxs)("section", {
className: SubmitWorkmodules.bg,
children: [studentWorkAddDefaultData.course_name && /*#__PURE__*/(0,jsx_runtime.jsx)("section", {
@ -276,11 +316,206 @@ var NewCoursePage = function NewCoursePage(_ref) {
watch: true,
defaultValue: formValue.intro
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
name: "attachment_ids",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(MultiUpload/* default */.Z, {})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(divider/* default */.Z, {}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: "\u5C0F\u7EC4\u6210\u5458\uFF1A"
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
align: "middle",
className: "pl30 mb20",
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
children: ["\u6210\u5458\u8981\u6C42:", studentWorkAddDefaultData.min_num, "~", studentWorkAddDefaultData.max_num, "\u4EBA\xA0"]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z.Search, {
onSearch: function onSearch(value, e) {
e.preventDefault();
if (value === '') {
delete memberSearchParams.search;
} else {
memberSearchParams.search = value;
}
memberSearchParams.page = 1;
setMemberSearchParams(objectSpread2_default()({}, memberSearchParams));
setSearchMemberList([]);
setHasmore(true);
},
placeholder: "\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u5B66\u53F7\u641C\u7D22",
allowClear: true,
style: {
width: 240
}
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
align: "middle",
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
span: 11,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
name: "user_ids",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default */.Z.Group, {
className: "w100",
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: SubmitWorkmodules.searchMember,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
className: SubmitWorkmodules.searchMemberHeader,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
className: "ml40",
flex: "100px",
children: "\u59D3\u540D"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
flex: "100px",
children: "\u5206\u73ED"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
children: "\u5B66\u53F7"
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
style: {
padding: 20
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
id: "searchMemberList",
style: {
height: 360
},
onScrollCapture: function onScrollCapture() {
return handleInfiniteOnLoad("#searchMemberList");
},
children: searchMemberList === null || searchMemberList === void 0 ? void 0 : searchMemberList.map(function (item, key) {
return /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
style: {
height: "32px",
lineHeight: "32px",
marginBottom: "8px"
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
flex: "100px",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_checkbox/* default */.Z, {
checked: false,
value: item.user_id,
onChange: function onChange() {
if (selectStudent.some(function (v) {
return v.user_id === item.user_id;
})) {
setSelectStudent(selectStudent.filter(function (v) {
return v.user_id != item.user_id;
}));
} else {
setSelectStudent([].concat(toConsumableArray_default()(selectStudent), [objectSpread2_default()({}, item)]));
}
},
children: item.user_name
})
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
flex: "100px",
children: [item.group_name, " "]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
children: item.student_id
})]
}, key);
})
})
})]
})
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
span: 1,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-youjiang ml20 mr20"
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
span: 11,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: SubmitWorkmodules.searchMember,
style: {
marginTop: "-24px"
},
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
className: SubmitWorkmodules.searchMemberHeader,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
className: "ml20",
flex: "100px",
children: "\u59D3\u540D"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
flex: "100px",
children: "\u5206\u73ED"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
flex: "110px",
children: "\u5B66\u53F7"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
children: studentWorkAddDefaultData.is_group_grade && "评分"
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
style: {
padding: 20,
overflow: 'auto',
height: 360
},
children: selectStudent === null || selectStudent === void 0 ? void 0 : selectStudent.map(function (item, key) {
return /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
align: "middle",
style: {
marginBottom: 8
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
flex: "100px",
children: item.user_name
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
flex: "100px",
children: item.group_name
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
flex: "110px",
children: item.student_id
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
children: studentWorkAddDefaultData.is_group_grade && /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {
stringMode: true,
min: "0.1",
max: "100",
step: "0.1",
placeholder: "\u8BF7\u8F93\u5165",
value: item.score,
onChange: function onChange(value) {
setSelectStudent(selectStudent.map(function (v) {
if (item.user_id == v.user_id) {
return objectSpread2_default()(objectSpread2_default()({}, v), {}, {
score: value
});
} else return v;
}));
}
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
style: {
marginLeft: "auto"
},
children: key != 0 && /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-shanchudiao current",
onClick: function onClick() {
var _formValue$user_ids, _formValue$user_ids2;
form.setFieldsValue({
user_ids: formValue === null || formValue === void 0 || (_formValue$user_ids = formValue.user_ids) === null || _formValue$user_ids === void 0 ? void 0 : _formValue$user_ids.filter(function (val) {
return val !== item.user_id;
})
});
setFormValue(objectSpread2_default()(objectSpread2_default()({}, formValue), {}, {
user_ids: formValue === null || formValue === void 0 || (_formValue$user_ids2 = formValue.user_ids) === null || _formValue$user_ids2 === void 0 ? void 0 : _formValue$user_ids2.filter(function (val) {
return val !== item.user_id;
})
}));
setSelectStudent(selectStudent.filter(function (v) {
return v.user_id != item.user_id;
}));
}
})
})]
}, key);
})
})]
})
})]
})]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: SubmitWorkmodules.backgroundFa,
@ -310,11 +545,11 @@ var NewCoursePage = function NewCoursePage(_ref) {
})]
});
};
/* harmony default export */ var SubmitWork = ((0,_umi_production_exports.connect)(function (_ref6) {
var shixunHomeworks = _ref6.shixunHomeworks,
newCourse = _ref6.newCourse,
loading = _ref6.loading,
globalSetting = _ref6.globalSetting;
/* harmony default export */ var SubmitWork = ((0,_umi_production_exports.connect)(function (_ref7) {
var shixunHomeworks = _ref7.shixunHomeworks,
newCourse = _ref7.newCourse,
loading = _ref7.loading,
globalSetting = _ref7.globalSetting;
return {
shixunHomeworks: shixunHomeworks,
newCourse: newCourse,

@ -1375,6 +1375,7 @@ function _forbid_msg() {
/* harmony export */ P6: function() { return /* binding */ createOtherMagazine; },
/* harmony export */ QM: function() { return /* binding */ postMagazin; },
/* harmony export */ UV: function() { return /* binding */ delOtherMagazine; },
/* harmony export */ Wx: function() { return /* binding */ getMonthlyDetail; },
/* harmony export */ _3: function() { return /* binding */ getOtherMagazine; },
/* harmony export */ ah: function() { return /* binding */ reviewCount; },
/* harmony export */ dV: function() { return /* binding */ getMagazinCat; },
@ -1599,7 +1600,7 @@ function getMagazinColumn(_x5) {
return _getMagazinColumn.apply(this, arguments);
}
// 投稿
//获取月刊
function _getMagazinColumn() {
_getMagazinColumn = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee10(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee10$(_context10) {
@ -1617,156 +1618,178 @@ function _getMagazinColumn() {
}));
return _getMagazinColumn.apply(this, arguments);
}
function postMagazin(_x6) {
function getMonthlyDetail(_x6) {
return _getMonthlyDetail.apply(this, arguments);
}
// 投稿
function _getMonthlyDetail() {
_getMonthlyDetail = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee11(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee11$(_context11) {
while (1) switch (_context11.prev = _context11.next) {
case 0:
return _context11.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/monthly_magazines.json", {
method: 'get',
params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context11.stop();
}
}, _callee11);
}));
return _getMonthlyDetail.apply(this, arguments);
}
function postMagazin(_x7) {
return _postMagazin.apply(this, arguments);
}
// 审核
function _postMagazin() {
_postMagazin = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee11(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee11$(_context11) {
while (1) switch (_context11.prev = _context11.next) {
_postMagazin = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee12(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee12$(_context12) {
while (1) switch (_context12.prev = _context12.next) {
case 0:
return _context11.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/submit.json", {
return _context12.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/submit.json", {
method: 'post',
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context11.stop();
return _context12.stop();
}
}, _callee11);
}, _callee12);
}));
return _postMagazin.apply(this, arguments);
}
function getMagazinCheck(_x7) {
function getMagazinCheck(_x8) {
return _getMagazinCheck.apply(this, arguments);
}
// 审核列表
function _getMagazinCheck() {
_getMagazinCheck = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee12(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee12$(_context12) {
while (1) switch (_context12.prev = _context12.next) {
_getMagazinCheck = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee13(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee13$(_context13) {
while (1) switch (_context13.prev = _context13.next) {
case 0:
return _context12.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/articles/".concat(params === null || params === void 0 ? void 0 : params.id, "/audit.json"), {
return _context13.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/articles/".concat(params === null || params === void 0 ? void 0 : params.id, "/audit.json"), {
method: 'post',
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context12.stop();
return _context13.stop();
}
}, _callee12);
}, _callee13);
}));
return _getMagazinCheck.apply(this, arguments);
}
function getReviewList(_x8) {
function getReviewList(_x9) {
return _getReviewList.apply(this, arguments);
}
// 智云告示 云刊问道
function _getReviewList() {
_getReviewList = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee13(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee13$(_context13) {
while (1) switch (_context13.prev = _context13.next) {
_getReviewList = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee14(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee14$(_context14) {
while (1) switch (_context14.prev = _context14.next) {
case 0:
return _context13.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/articles.json"), {
return _context14.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/articles.json"), {
method: 'get',
params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context13.stop();
return _context14.stop();
}
}, _callee13);
}, _callee14);
}));
return _getReviewList.apply(this, arguments);
}
function approved_articles(_x9) {
function approved_articles(_x10) {
return _approved_articles.apply(this, arguments);
}
// 审核进度
function _approved_articles() {
_approved_articles = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee14(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee14$(_context14) {
while (1) switch (_context14.prev = _context14.next) {
_approved_articles = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee15(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee15$(_context15) {
while (1) switch (_context15.prev = _context15.next) {
case 0:
return _context14.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/approved_articles.json"), {
return _context15.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/approved_articles.json"), {
method: 'get',
params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context14.stop();
return _context15.stop();
}
}, _callee14);
}, _callee15);
}));
return _approved_articles.apply(this, arguments);
}
function getReviewProgress(_x10) {
function getReviewProgress(_x11) {
return _getReviewProgress.apply(this, arguments);
}
//取消投稿
function _getReviewProgress() {
_getReviewProgress = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee15(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee15$(_context15) {
while (1) switch (_context15.prev = _context15.next) {
_getReviewProgress = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee16(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee16$(_context16) {
while (1) switch (_context16.prev = _context16.next) {
case 0:
return _context15.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/article_progress.json"), {
return _context16.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/article_progress.json"), {
method: 'get',
params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context15.stop();
return _context16.stop();
}
}, _callee15);
}, _callee16);
}));
return _getReviewProgress.apply(this, arguments);
}
function canclePost(_x11) {
function canclePost(_x12) {
return _canclePost.apply(this, arguments);
}
// 编辑稿件
function _canclePost() {
_canclePost = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee16(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee16$(_context16) {
while (1) switch (_context16.prev = _context16.next) {
_canclePost = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee17(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee17$(_context17) {
while (1) switch (_context17.prev = _context17.next) {
case 0:
return _context16.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/cancel_submit.json"), {
return _context17.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/cancel_submit.json"), {
method: 'post',
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context16.stop();
return _context17.stop();
}
}, _callee16);
}, _callee17);
}));
return _canclePost.apply(this, arguments);
}
function editArticle(_x12) {
function editArticle(_x13) {
return _editArticle.apply(this, arguments);
}
// 其他期刊 -获取
function _editArticle() {
_editArticle = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee17(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee17$(_context17) {
while (1) switch (_context17.prev = _context17.next) {
_editArticle = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee18(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee18$(_context18) {
while (1) switch (_context18.prev = _context18.next) {
case 0:
return _context17.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/change_submit.json"), {
return _context18.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/change_submit.json"), {
method: 'post',
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context17.stop();
return _context18.stop();
}
}, _callee17);
}, _callee18);
}));
return _editArticle.apply(this, arguments);
}
@ -1776,124 +1799,124 @@ function getOtherMagazine() {
// 其他期刊 -创建
function _getOtherMagazine() {
_getOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee18() {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee18$(_context18) {
while (1) switch (_context18.prev = _context18.next) {
_getOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee19() {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee19$(_context19) {
while (1) switch (_context19.prev = _context19.next) {
case 0:
return _context18.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/others.json", {
return _context19.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/others.json", {
method: 'get'
}));
case 1:
case "end":
return _context18.stop();
return _context19.stop();
}
}, _callee18);
}, _callee19);
}));
return _getOtherMagazine.apply(this, arguments);
}
function createOtherMagazine(_x13) {
function createOtherMagazine(_x14) {
return _createOtherMagazine.apply(this, arguments);
}
// 其他期刊 -修改
function _createOtherMagazine() {
_createOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee19(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee19$(_context19) {
while (1) switch (_context19.prev = _context19.next) {
_createOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee20(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee20$(_context20) {
while (1) switch (_context20.prev = _context20.next) {
case 0:
return _context19.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines.json", {
return _context20.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines.json", {
method: 'post',
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context19.stop();
return _context20.stop();
}
}, _callee19);
}, _callee20);
}));
return _createOtherMagazine.apply(this, arguments);
}
function modifyOtherMagazine(_x14) {
function modifyOtherMagazine(_x15) {
return _modifyOtherMagazine.apply(this, arguments);
}
// 其他期刊 -删除
function _modifyOtherMagazine() {
_modifyOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee20(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee20$(_context20) {
while (1) switch (_context20.prev = _context20.next) {
_modifyOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee21(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee21$(_context21) {
while (1) switch (_context21.prev = _context21.next) {
case 0:
return _context20.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, ".json"), {
return _context21.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, ".json"), {
method: 'put',
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context20.stop();
return _context21.stop();
}
}, _callee20);
}, _callee21);
}));
return _modifyOtherMagazine.apply(this, arguments);
}
function delOtherMagazine(_x15) {
function delOtherMagazine(_x16) {
return _delOtherMagazine.apply(this, arguments);
}
// 文章阅读量+1
function _delOtherMagazine() {
_delOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee21(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee21$(_context21) {
while (1) switch (_context21.prev = _context21.next) {
_delOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee22(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee22$(_context22) {
while (1) switch (_context22.prev = _context22.next) {
case 0:
return _context21.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, ".json"), {
return _context22.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, ".json"), {
method: 'delete'
}));
case 1:
case "end":
return _context21.stop();
return _context22.stop();
}
}, _callee21);
}, _callee22);
}));
return _delOtherMagazine.apply(this, arguments);
}
function reviewCount(_x16) {
function reviewCount(_x17) {
return _reviewCount.apply(this, arguments);
}
// 删除期刊
function _reviewCount() {
_reviewCount = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee22(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee22$(_context22) {
while (1) switch (_context22.prev = _context22.next) {
_reviewCount = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee23(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee23$(_context23) {
while (1) switch (_context23.prev = _context23.next) {
case 0:
return _context22.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/articles/".concat(params === null || params === void 0 ? void 0 : params.id, "/viewed.json"), {
return _context23.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/articles/".concat(params === null || params === void 0 ? void 0 : params.id, "/viewed.json"), {
method: 'put'
}));
case 1:
case "end":
return _context22.stop();
return _context23.stop();
}
}, _callee22);
}, _callee23);
}));
return _reviewCount.apply(this, arguments);
}
function delMagazine(_x17) {
function delMagazine(_x18) {
return _delMagazine.apply(this, arguments);
}
function _delMagazine() {
_delMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee23(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee23$(_context23) {
while (1) switch (_context23.prev = _context23.next) {
_delMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee24(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee24$(_context24) {
while (1) switch (_context24.prev = _context24.next) {
case 0:
return _context23.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/articles/".concat(params === null || params === void 0 ? void 0 : params.id, ".json"), {
return _context24.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/articles/".concat(params === null || params === void 0 ? void 0 : params.id, ".json"), {
method: 'delete',
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context23.stop();
return _context24.stop();
}
}, _callee23);
}, _callee24);
}));
return _delMagazine.apply(this, arguments);
}

@ -3069,6 +3069,7 @@ function _forbid_msg() {
/* harmony export */ P6: function() { return /* binding */ createOtherMagazine; },
/* harmony export */ QM: function() { return /* binding */ postMagazin; },
/* harmony export */ UV: function() { return /* binding */ delOtherMagazine; },
/* harmony export */ Wx: function() { return /* binding */ getMonthlyDetail; },
/* harmony export */ _3: function() { return /* binding */ getOtherMagazine; },
/* harmony export */ ah: function() { return /* binding */ reviewCount; },
/* harmony export */ dV: function() { return /* binding */ getMagazinCat; },
@ -3293,7 +3294,7 @@ function getMagazinColumn(_x5) {
return _getMagazinColumn.apply(this, arguments);
}
// 投稿
//获取月刊
function _getMagazinColumn() {
_getMagazinColumn = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee10(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee10$(_context10) {
@ -3311,156 +3312,178 @@ function _getMagazinColumn() {
}));
return _getMagazinColumn.apply(this, arguments);
}
function postMagazin(_x6) {
function getMonthlyDetail(_x6) {
return _getMonthlyDetail.apply(this, arguments);
}
// 投稿
function _getMonthlyDetail() {
_getMonthlyDetail = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee11(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee11$(_context11) {
while (1) switch (_context11.prev = _context11.next) {
case 0:
return _context11.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/monthly_magazines.json", {
method: 'get',
params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context11.stop();
}
}, _callee11);
}));
return _getMonthlyDetail.apply(this, arguments);
}
function postMagazin(_x7) {
return _postMagazin.apply(this, arguments);
}
// 审核
function _postMagazin() {
_postMagazin = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee11(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee11$(_context11) {
while (1) switch (_context11.prev = _context11.next) {
_postMagazin = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee12(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee12$(_context12) {
while (1) switch (_context12.prev = _context12.next) {
case 0:
return _context11.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/submit.json", {
return _context12.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/submit.json", {
method: 'post',
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context11.stop();
return _context12.stop();
}
}, _callee11);
}, _callee12);
}));
return _postMagazin.apply(this, arguments);
}
function getMagazinCheck(_x7) {
function getMagazinCheck(_x8) {
return _getMagazinCheck.apply(this, arguments);
}
// 审核列表
function _getMagazinCheck() {
_getMagazinCheck = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee12(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee12$(_context12) {
while (1) switch (_context12.prev = _context12.next) {
_getMagazinCheck = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee13(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee13$(_context13) {
while (1) switch (_context13.prev = _context13.next) {
case 0:
return _context12.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/articles/".concat(params === null || params === void 0 ? void 0 : params.id, "/audit.json"), {
return _context13.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/articles/".concat(params === null || params === void 0 ? void 0 : params.id, "/audit.json"), {
method: 'post',
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context12.stop();
return _context13.stop();
}
}, _callee12);
}, _callee13);
}));
return _getMagazinCheck.apply(this, arguments);
}
function getReviewList(_x8) {
function getReviewList(_x9) {
return _getReviewList.apply(this, arguments);
}
// 智云告示 云刊问道
function _getReviewList() {
_getReviewList = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee13(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee13$(_context13) {
while (1) switch (_context13.prev = _context13.next) {
_getReviewList = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee14(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee14$(_context14) {
while (1) switch (_context14.prev = _context14.next) {
case 0:
return _context13.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/articles.json"), {
return _context14.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/articles.json"), {
method: 'get',
params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context13.stop();
return _context14.stop();
}
}, _callee13);
}, _callee14);
}));
return _getReviewList.apply(this, arguments);
}
function approved_articles(_x9) {
function approved_articles(_x10) {
return _approved_articles.apply(this, arguments);
}
// 审核进度
function _approved_articles() {
_approved_articles = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee14(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee14$(_context14) {
while (1) switch (_context14.prev = _context14.next) {
_approved_articles = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee15(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee15$(_context15) {
while (1) switch (_context15.prev = _context15.next) {
case 0:
return _context14.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/approved_articles.json"), {
return _context15.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/approved_articles.json"), {
method: 'get',
params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context14.stop();
return _context15.stop();
}
}, _callee14);
}, _callee15);
}));
return _approved_articles.apply(this, arguments);
}
function getReviewProgress(_x10) {
function getReviewProgress(_x11) {
return _getReviewProgress.apply(this, arguments);
}
//取消投稿
function _getReviewProgress() {
_getReviewProgress = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee15(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee15$(_context15) {
while (1) switch (_context15.prev = _context15.next) {
_getReviewProgress = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee16(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee16$(_context16) {
while (1) switch (_context16.prev = _context16.next) {
case 0:
return _context15.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/article_progress.json"), {
return _context16.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/article_progress.json"), {
method: 'get',
params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context15.stop();
return _context16.stop();
}
}, _callee15);
}, _callee16);
}));
return _getReviewProgress.apply(this, arguments);
}
function canclePost(_x11) {
function canclePost(_x12) {
return _canclePost.apply(this, arguments);
}
// 编辑稿件
function _canclePost() {
_canclePost = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee16(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee16$(_context16) {
while (1) switch (_context16.prev = _context16.next) {
_canclePost = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee17(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee17$(_context17) {
while (1) switch (_context17.prev = _context17.next) {
case 0:
return _context16.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/cancel_submit.json"), {
return _context17.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/cancel_submit.json"), {
method: 'post',
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context16.stop();
return _context17.stop();
}
}, _callee16);
}, _callee17);
}));
return _canclePost.apply(this, arguments);
}
function editArticle(_x12) {
function editArticle(_x13) {
return _editArticle.apply(this, arguments);
}
// 其他期刊 -获取
function _editArticle() {
_editArticle = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee17(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee17$(_context17) {
while (1) switch (_context17.prev = _context17.next) {
_editArticle = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee18(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee18$(_context18) {
while (1) switch (_context18.prev = _context18.next) {
case 0:
return _context17.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/change_submit.json"), {
return _context18.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/change_submit.json"), {
method: 'post',
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context17.stop();
return _context18.stop();
}
}, _callee17);
}, _callee18);
}));
return _editArticle.apply(this, arguments);
}
@ -3470,124 +3493,124 @@ function getOtherMagazine() {
// 其他期刊 -创建
function _getOtherMagazine() {
_getOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee18() {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee18$(_context18) {
while (1) switch (_context18.prev = _context18.next) {
_getOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee19() {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee19$(_context19) {
while (1) switch (_context19.prev = _context19.next) {
case 0:
return _context18.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/others.json", {
return _context19.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/others.json", {
method: 'get'
}));
case 1:
case "end":
return _context18.stop();
return _context19.stop();
}
}, _callee18);
}, _callee19);
}));
return _getOtherMagazine.apply(this, arguments);
}
function createOtherMagazine(_x13) {
function createOtherMagazine(_x14) {
return _createOtherMagazine.apply(this, arguments);
}
// 其他期刊 -修改
function _createOtherMagazine() {
_createOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee19(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee19$(_context19) {
while (1) switch (_context19.prev = _context19.next) {
_createOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee20(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee20$(_context20) {
while (1) switch (_context20.prev = _context20.next) {
case 0:
return _context19.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines.json", {
return _context20.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines.json", {
method: 'post',
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context19.stop();
return _context20.stop();
}
}, _callee19);
}, _callee20);
}));
return _createOtherMagazine.apply(this, arguments);
}
function modifyOtherMagazine(_x14) {
function modifyOtherMagazine(_x15) {
return _modifyOtherMagazine.apply(this, arguments);
}
// 其他期刊 -删除
function _modifyOtherMagazine() {
_modifyOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee20(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee20$(_context20) {
while (1) switch (_context20.prev = _context20.next) {
_modifyOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee21(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee21$(_context21) {
while (1) switch (_context21.prev = _context21.next) {
case 0:
return _context20.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, ".json"), {
return _context21.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, ".json"), {
method: 'put',
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context20.stop();
return _context21.stop();
}
}, _callee20);
}, _callee21);
}));
return _modifyOtherMagazine.apply(this, arguments);
}
function delOtherMagazine(_x15) {
function delOtherMagazine(_x16) {
return _delOtherMagazine.apply(this, arguments);
}
// 文章阅读量+1
function _delOtherMagazine() {
_delOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee21(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee21$(_context21) {
while (1) switch (_context21.prev = _context21.next) {
_delOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee22(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee22$(_context22) {
while (1) switch (_context22.prev = _context22.next) {
case 0:
return _context21.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, ".json"), {
return _context22.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, ".json"), {
method: 'delete'
}));
case 1:
case "end":
return _context21.stop();
return _context22.stop();
}
}, _callee21);
}, _callee22);
}));
return _delOtherMagazine.apply(this, arguments);
}
function reviewCount(_x16) {
function reviewCount(_x17) {
return _reviewCount.apply(this, arguments);
}
// 删除期刊
function _reviewCount() {
_reviewCount = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee22(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee22$(_context22) {
while (1) switch (_context22.prev = _context22.next) {
_reviewCount = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee23(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee23$(_context23) {
while (1) switch (_context23.prev = _context23.next) {
case 0:
return _context22.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/articles/".concat(params === null || params === void 0 ? void 0 : params.id, "/viewed.json"), {
return _context23.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/articles/".concat(params === null || params === void 0 ? void 0 : params.id, "/viewed.json"), {
method: 'put'
}));
case 1:
case "end":
return _context22.stop();
return _context23.stop();
}
}, _callee22);
}, _callee23);
}));
return _reviewCount.apply(this, arguments);
}
function delMagazine(_x17) {
function delMagazine(_x18) {
return _delMagazine.apply(this, arguments);
}
function _delMagazine() {
_delMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee23(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee23$(_context23) {
while (1) switch (_context23.prev = _context23.next) {
_delMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee24(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee24$(_context24) {
while (1) switch (_context24.prev = _context24.next) {
case 0:
return _context23.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/articles/".concat(params === null || params === void 0 ? void 0 : params.id, ".json"), {
return _context24.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/articles/".concat(params === null || params === void 0 ? void 0 : params.id, ".json"), {
method: 'delete',
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context23.stop();
return _context24.stop();
}
}, _callee23);
}, _callee24);
}));
return _delMagazine.apply(this, arguments);
}

@ -629,6 +629,7 @@ var Message = function Message(_ref) {
/* harmony export */ P6: function() { return /* binding */ createOtherMagazine; },
/* harmony export */ QM: function() { return /* binding */ postMagazin; },
/* harmony export */ UV: function() { return /* binding */ delOtherMagazine; },
/* harmony export */ Wx: function() { return /* binding */ getMonthlyDetail; },
/* harmony export */ _3: function() { return /* binding */ getOtherMagazine; },
/* harmony export */ ah: function() { return /* binding */ reviewCount; },
/* harmony export */ dV: function() { return /* binding */ getMagazinCat; },
@ -853,7 +854,7 @@ function getMagazinColumn(_x5) {
return _getMagazinColumn.apply(this, arguments);
}
// 投稿
//获取月刊
function _getMagazinColumn() {
_getMagazinColumn = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee10(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee10$(_context10) {
@ -871,156 +872,178 @@ function _getMagazinColumn() {
}));
return _getMagazinColumn.apply(this, arguments);
}
function postMagazin(_x6) {
function getMonthlyDetail(_x6) {
return _getMonthlyDetail.apply(this, arguments);
}
// 投稿
function _getMonthlyDetail() {
_getMonthlyDetail = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee11(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee11$(_context11) {
while (1) switch (_context11.prev = _context11.next) {
case 0:
return _context11.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/monthly_magazines.json", {
method: 'get',
params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context11.stop();
}
}, _callee11);
}));
return _getMonthlyDetail.apply(this, arguments);
}
function postMagazin(_x7) {
return _postMagazin.apply(this, arguments);
}
// 审核
function _postMagazin() {
_postMagazin = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee11(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee11$(_context11) {
while (1) switch (_context11.prev = _context11.next) {
_postMagazin = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee12(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee12$(_context12) {
while (1) switch (_context12.prev = _context12.next) {
case 0:
return _context11.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/submit.json", {
return _context12.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/submit.json", {
method: 'post',
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context11.stop();
return _context12.stop();
}
}, _callee11);
}, _callee12);
}));
return _postMagazin.apply(this, arguments);
}
function getMagazinCheck(_x7) {
function getMagazinCheck(_x8) {
return _getMagazinCheck.apply(this, arguments);
}
// 审核列表
function _getMagazinCheck() {
_getMagazinCheck = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee12(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee12$(_context12) {
while (1) switch (_context12.prev = _context12.next) {
_getMagazinCheck = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee13(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee13$(_context13) {
while (1) switch (_context13.prev = _context13.next) {
case 0:
return _context12.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/articles/".concat(params === null || params === void 0 ? void 0 : params.id, "/audit.json"), {
return _context13.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/articles/".concat(params === null || params === void 0 ? void 0 : params.id, "/audit.json"), {
method: 'post',
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context12.stop();
return _context13.stop();
}
}, _callee12);
}, _callee13);
}));
return _getMagazinCheck.apply(this, arguments);
}
function getReviewList(_x8) {
function getReviewList(_x9) {
return _getReviewList.apply(this, arguments);
}
// 智云告示 云刊问道
function _getReviewList() {
_getReviewList = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee13(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee13$(_context13) {
while (1) switch (_context13.prev = _context13.next) {
_getReviewList = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee14(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee14$(_context14) {
while (1) switch (_context14.prev = _context14.next) {
case 0:
return _context13.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/articles.json"), {
return _context14.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/articles.json"), {
method: 'get',
params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context13.stop();
return _context14.stop();
}
}, _callee13);
}, _callee14);
}));
return _getReviewList.apply(this, arguments);
}
function approved_articles(_x9) {
function approved_articles(_x10) {
return _approved_articles.apply(this, arguments);
}
// 审核进度
function _approved_articles() {
_approved_articles = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee14(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee14$(_context14) {
while (1) switch (_context14.prev = _context14.next) {
_approved_articles = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee15(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee15$(_context15) {
while (1) switch (_context15.prev = _context15.next) {
case 0:
return _context14.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/approved_articles.json"), {
return _context15.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/approved_articles.json"), {
method: 'get',
params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context14.stop();
return _context15.stop();
}
}, _callee14);
}, _callee15);
}));
return _approved_articles.apply(this, arguments);
}
function getReviewProgress(_x10) {
function getReviewProgress(_x11) {
return _getReviewProgress.apply(this, arguments);
}
//取消投稿
function _getReviewProgress() {
_getReviewProgress = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee15(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee15$(_context15) {
while (1) switch (_context15.prev = _context15.next) {
_getReviewProgress = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee16(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee16$(_context16) {
while (1) switch (_context16.prev = _context16.next) {
case 0:
return _context15.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/article_progress.json"), {
return _context16.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/article_progress.json"), {
method: 'get',
params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context15.stop();
return _context16.stop();
}
}, _callee15);
}, _callee16);
}));
return _getReviewProgress.apply(this, arguments);
}
function canclePost(_x11) {
function canclePost(_x12) {
return _canclePost.apply(this, arguments);
}
// 编辑稿件
function _canclePost() {
_canclePost = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee16(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee16$(_context16) {
while (1) switch (_context16.prev = _context16.next) {
_canclePost = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee17(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee17$(_context17) {
while (1) switch (_context17.prev = _context17.next) {
case 0:
return _context16.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/cancel_submit.json"), {
return _context17.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/cancel_submit.json"), {
method: 'post',
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context16.stop();
return _context17.stop();
}
}, _callee16);
}, _callee17);
}));
return _canclePost.apply(this, arguments);
}
function editArticle(_x12) {
function editArticle(_x13) {
return _editArticle.apply(this, arguments);
}
// 其他期刊 -获取
function _editArticle() {
_editArticle = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee17(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee17$(_context17) {
while (1) switch (_context17.prev = _context17.next) {
_editArticle = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee18(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee18$(_context18) {
while (1) switch (_context18.prev = _context18.next) {
case 0:
return _context17.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/change_submit.json"), {
return _context18.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/change_submit.json"), {
method: 'post',
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context17.stop();
return _context18.stop();
}
}, _callee17);
}, _callee18);
}));
return _editArticle.apply(this, arguments);
}
@ -1030,124 +1053,124 @@ function getOtherMagazine() {
// 其他期刊 -创建
function _getOtherMagazine() {
_getOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee18() {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee18$(_context18) {
while (1) switch (_context18.prev = _context18.next) {
_getOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee19() {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee19$(_context19) {
while (1) switch (_context19.prev = _context19.next) {
case 0:
return _context18.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/others.json", {
return _context19.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/others.json", {
method: 'get'
}));
case 1:
case "end":
return _context18.stop();
return _context19.stop();
}
}, _callee18);
}, _callee19);
}));
return _getOtherMagazine.apply(this, arguments);
}
function createOtherMagazine(_x13) {
function createOtherMagazine(_x14) {
return _createOtherMagazine.apply(this, arguments);
}
// 其他期刊 -修改
function _createOtherMagazine() {
_createOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee19(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee19$(_context19) {
while (1) switch (_context19.prev = _context19.next) {
_createOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee20(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee20$(_context20) {
while (1) switch (_context20.prev = _context20.next) {
case 0:
return _context19.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines.json", {
return _context20.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines.json", {
method: 'post',
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context19.stop();
return _context20.stop();
}
}, _callee19);
}, _callee20);
}));
return _createOtherMagazine.apply(this, arguments);
}
function modifyOtherMagazine(_x14) {
function modifyOtherMagazine(_x15) {
return _modifyOtherMagazine.apply(this, arguments);
}
// 其他期刊 -删除
function _modifyOtherMagazine() {
_modifyOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee20(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee20$(_context20) {
while (1) switch (_context20.prev = _context20.next) {
_modifyOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee21(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee21$(_context21) {
while (1) switch (_context21.prev = _context21.next) {
case 0:
return _context20.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, ".json"), {
return _context21.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, ".json"), {
method: 'put',
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context20.stop();
return _context21.stop();
}
}, _callee20);
}, _callee21);
}));
return _modifyOtherMagazine.apply(this, arguments);
}
function delOtherMagazine(_x15) {
function delOtherMagazine(_x16) {
return _delOtherMagazine.apply(this, arguments);
}
// 文章阅读量+1
function _delOtherMagazine() {
_delOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee21(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee21$(_context21) {
while (1) switch (_context21.prev = _context21.next) {
_delOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee22(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee22$(_context22) {
while (1) switch (_context22.prev = _context22.next) {
case 0:
return _context21.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, ".json"), {
return _context22.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, ".json"), {
method: 'delete'
}));
case 1:
case "end":
return _context21.stop();
return _context22.stop();
}
}, _callee21);
}, _callee22);
}));
return _delOtherMagazine.apply(this, arguments);
}
function reviewCount(_x16) {
function reviewCount(_x17) {
return _reviewCount.apply(this, arguments);
}
// 删除期刊
function _reviewCount() {
_reviewCount = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee22(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee22$(_context22) {
while (1) switch (_context22.prev = _context22.next) {
_reviewCount = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee23(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee23$(_context23) {
while (1) switch (_context23.prev = _context23.next) {
case 0:
return _context22.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/articles/".concat(params === null || params === void 0 ? void 0 : params.id, "/viewed.json"), {
return _context23.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/articles/".concat(params === null || params === void 0 ? void 0 : params.id, "/viewed.json"), {
method: 'put'
}));
case 1:
case "end":
return _context22.stop();
return _context23.stop();
}
}, _callee22);
}, _callee23);
}));
return _reviewCount.apply(this, arguments);
}
function delMagazine(_x17) {
function delMagazine(_x18) {
return _delMagazine.apply(this, arguments);
}
function _delMagazine() {
_delMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee23(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee23$(_context23) {
while (1) switch (_context23.prev = _context23.next) {
_delMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee24(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee24$(_context24) {
while (1) switch (_context24.prev = _context24.next) {
case 0:
return _context23.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/articles/".concat(params === null || params === void 0 ? void 0 : params.id, ".json"), {
return _context24.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/articles/".concat(params === null || params === void 0 ? void 0 : params.id, ".json"), {
method: 'delete',
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context23.stop();
return _context24.stop();
}
}, _callee23);
}, _callee24);
}));
return _delMagazine.apply(this, arguments);
}

@ -195,6 +195,7 @@ var Message = function Message(_ref) {
/* harmony export */ P6: function() { return /* binding */ createOtherMagazine; },
/* harmony export */ QM: function() { return /* binding */ postMagazin; },
/* harmony export */ UV: function() { return /* binding */ delOtherMagazine; },
/* harmony export */ Wx: function() { return /* binding */ getMonthlyDetail; },
/* harmony export */ _3: function() { return /* binding */ getOtherMagazine; },
/* harmony export */ ah: function() { return /* binding */ reviewCount; },
/* harmony export */ dV: function() { return /* binding */ getMagazinCat; },
@ -419,7 +420,7 @@ function getMagazinColumn(_x5) {
return _getMagazinColumn.apply(this, arguments);
}
// 投稿
//获取月刊
function _getMagazinColumn() {
_getMagazinColumn = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee10(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee10$(_context10) {
@ -437,156 +438,178 @@ function _getMagazinColumn() {
}));
return _getMagazinColumn.apply(this, arguments);
}
function postMagazin(_x6) {
function getMonthlyDetail(_x6) {
return _getMonthlyDetail.apply(this, arguments);
}
// 投稿
function _getMonthlyDetail() {
_getMonthlyDetail = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee11(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee11$(_context11) {
while (1) switch (_context11.prev = _context11.next) {
case 0:
return _context11.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/monthly_magazines.json", {
method: 'get',
params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context11.stop();
}
}, _callee11);
}));
return _getMonthlyDetail.apply(this, arguments);
}
function postMagazin(_x7) {
return _postMagazin.apply(this, arguments);
}
// 审核
function _postMagazin() {
_postMagazin = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee11(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee11$(_context11) {
while (1) switch (_context11.prev = _context11.next) {
_postMagazin = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee12(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee12$(_context12) {
while (1) switch (_context12.prev = _context12.next) {
case 0:
return _context11.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/submit.json", {
return _context12.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/submit.json", {
method: 'post',
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context11.stop();
return _context12.stop();
}
}, _callee11);
}, _callee12);
}));
return _postMagazin.apply(this, arguments);
}
function getMagazinCheck(_x7) {
function getMagazinCheck(_x8) {
return _getMagazinCheck.apply(this, arguments);
}
// 审核列表
function _getMagazinCheck() {
_getMagazinCheck = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee12(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee12$(_context12) {
while (1) switch (_context12.prev = _context12.next) {
_getMagazinCheck = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee13(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee13$(_context13) {
while (1) switch (_context13.prev = _context13.next) {
case 0:
return _context12.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/articles/".concat(params === null || params === void 0 ? void 0 : params.id, "/audit.json"), {
return _context13.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/articles/".concat(params === null || params === void 0 ? void 0 : params.id, "/audit.json"), {
method: 'post',
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context12.stop();
return _context13.stop();
}
}, _callee12);
}, _callee13);
}));
return _getMagazinCheck.apply(this, arguments);
}
function getReviewList(_x8) {
function getReviewList(_x9) {
return _getReviewList.apply(this, arguments);
}
// 智云告示 云刊问道
function _getReviewList() {
_getReviewList = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee13(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee13$(_context13) {
while (1) switch (_context13.prev = _context13.next) {
_getReviewList = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee14(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee14$(_context14) {
while (1) switch (_context14.prev = _context14.next) {
case 0:
return _context13.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/articles.json"), {
return _context14.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/articles.json"), {
method: 'get',
params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context13.stop();
return _context14.stop();
}
}, _callee13);
}, _callee14);
}));
return _getReviewList.apply(this, arguments);
}
function approved_articles(_x9) {
function approved_articles(_x10) {
return _approved_articles.apply(this, arguments);
}
// 审核进度
function _approved_articles() {
_approved_articles = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee14(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee14$(_context14) {
while (1) switch (_context14.prev = _context14.next) {
_approved_articles = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee15(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee15$(_context15) {
while (1) switch (_context15.prev = _context15.next) {
case 0:
return _context14.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/approved_articles.json"), {
return _context15.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/approved_articles.json"), {
method: 'get',
params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context14.stop();
return _context15.stop();
}
}, _callee14);
}, _callee15);
}));
return _approved_articles.apply(this, arguments);
}
function getReviewProgress(_x10) {
function getReviewProgress(_x11) {
return _getReviewProgress.apply(this, arguments);
}
//取消投稿
function _getReviewProgress() {
_getReviewProgress = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee15(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee15$(_context15) {
while (1) switch (_context15.prev = _context15.next) {
_getReviewProgress = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee16(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee16$(_context16) {
while (1) switch (_context16.prev = _context16.next) {
case 0:
return _context15.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/article_progress.json"), {
return _context16.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/article_progress.json"), {
method: 'get',
params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context15.stop();
return _context16.stop();
}
}, _callee15);
}, _callee16);
}));
return _getReviewProgress.apply(this, arguments);
}
function canclePost(_x11) {
function canclePost(_x12) {
return _canclePost.apply(this, arguments);
}
// 编辑稿件
function _canclePost() {
_canclePost = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee16(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee16$(_context16) {
while (1) switch (_context16.prev = _context16.next) {
_canclePost = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee17(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee17$(_context17) {
while (1) switch (_context17.prev = _context17.next) {
case 0:
return _context16.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/cancel_submit.json"), {
return _context17.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/cancel_submit.json"), {
method: 'post',
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context16.stop();
return _context17.stop();
}
}, _callee16);
}, _callee17);
}));
return _canclePost.apply(this, arguments);
}
function editArticle(_x12) {
function editArticle(_x13) {
return _editArticle.apply(this, arguments);
}
// 其他期刊 -获取
function _editArticle() {
_editArticle = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee17(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee17$(_context17) {
while (1) switch (_context17.prev = _context17.next) {
_editArticle = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee18(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee18$(_context18) {
while (1) switch (_context18.prev = _context18.next) {
case 0:
return _context17.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/change_submit.json"), {
return _context18.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/change_submit.json"), {
method: 'post',
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context17.stop();
return _context18.stop();
}
}, _callee17);
}, _callee18);
}));
return _editArticle.apply(this, arguments);
}
@ -596,124 +619,124 @@ function getOtherMagazine() {
// 其他期刊 -创建
function _getOtherMagazine() {
_getOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee18() {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee18$(_context18) {
while (1) switch (_context18.prev = _context18.next) {
_getOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee19() {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee19$(_context19) {
while (1) switch (_context19.prev = _context19.next) {
case 0:
return _context18.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/others.json", {
return _context19.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/others.json", {
method: 'get'
}));
case 1:
case "end":
return _context18.stop();
return _context19.stop();
}
}, _callee18);
}, _callee19);
}));
return _getOtherMagazine.apply(this, arguments);
}
function createOtherMagazine(_x13) {
function createOtherMagazine(_x14) {
return _createOtherMagazine.apply(this, arguments);
}
// 其他期刊 -修改
function _createOtherMagazine() {
_createOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee19(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee19$(_context19) {
while (1) switch (_context19.prev = _context19.next) {
_createOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee20(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee20$(_context20) {
while (1) switch (_context20.prev = _context20.next) {
case 0:
return _context19.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines.json", {
return _context20.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines.json", {
method: 'post',
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context19.stop();
return _context20.stop();
}
}, _callee19);
}, _callee20);
}));
return _createOtherMagazine.apply(this, arguments);
}
function modifyOtherMagazine(_x14) {
function modifyOtherMagazine(_x15) {
return _modifyOtherMagazine.apply(this, arguments);
}
// 其他期刊 -删除
function _modifyOtherMagazine() {
_modifyOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee20(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee20$(_context20) {
while (1) switch (_context20.prev = _context20.next) {
_modifyOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee21(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee21$(_context21) {
while (1) switch (_context21.prev = _context21.next) {
case 0:
return _context20.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, ".json"), {
return _context21.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, ".json"), {
method: 'put',
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context20.stop();
return _context21.stop();
}
}, _callee20);
}, _callee21);
}));
return _modifyOtherMagazine.apply(this, arguments);
}
function delOtherMagazine(_x15) {
function delOtherMagazine(_x16) {
return _delOtherMagazine.apply(this, arguments);
}
// 文章阅读量+1
function _delOtherMagazine() {
_delOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee21(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee21$(_context21) {
while (1) switch (_context21.prev = _context21.next) {
_delOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee22(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee22$(_context22) {
while (1) switch (_context22.prev = _context22.next) {
case 0:
return _context21.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, ".json"), {
return _context22.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, ".json"), {
method: 'delete'
}));
case 1:
case "end":
return _context21.stop();
return _context22.stop();
}
}, _callee21);
}, _callee22);
}));
return _delOtherMagazine.apply(this, arguments);
}
function reviewCount(_x16) {
function reviewCount(_x17) {
return _reviewCount.apply(this, arguments);
}
// 删除期刊
function _reviewCount() {
_reviewCount = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee22(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee22$(_context22) {
while (1) switch (_context22.prev = _context22.next) {
_reviewCount = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee23(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee23$(_context23) {
while (1) switch (_context23.prev = _context23.next) {
case 0:
return _context22.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/articles/".concat(params === null || params === void 0 ? void 0 : params.id, "/viewed.json"), {
return _context23.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/articles/".concat(params === null || params === void 0 ? void 0 : params.id, "/viewed.json"), {
method: 'put'
}));
case 1:
case "end":
return _context22.stop();
return _context23.stop();
}
}, _callee22);
}, _callee23);
}));
return _reviewCount.apply(this, arguments);
}
function delMagazine(_x17) {
function delMagazine(_x18) {
return _delMagazine.apply(this, arguments);
}
function _delMagazine() {
_delMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee23(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee23$(_context23) {
while (1) switch (_context23.prev = _context23.next) {
_delMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee24(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee24$(_context24) {
while (1) switch (_context24.prev = _context24.next) {
case 0:
return _context23.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/articles/".concat(params === null || params === void 0 ? void 0 : params.id, ".json"), {
return _context24.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/articles/".concat(params === null || params === void 0 ? void 0 : params.id, ".json"), {
method: 'delete',
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context23.stop();
return _context24.stop();
}
}, _callee23);
}, _callee24);
}));
return _delMagazine.apply(this, arguments);
}

@ -161,6 +161,17 @@ var Engineering = function Engineering(_ref) {
children: "\u671F\u520A\u8BE6\u60C5"
})]
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "".concat(isSelected("/magazinever/monthlydetails") ? "section_7" : "section_8", " flex-row"),
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(_umi_production_exports.Link, {
to: "/magazinever/monthlydetails",
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "icon-zzxy-yuekanxiangqing"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "text_5",
children: "\u6708\u520A\u8BE6\u60C5"
})]
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "".concat(isSelected("/magazinever/comment") ? "section_7" : "section_8", " flex-row"),
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(_umi_production_exports.Link, {

@ -656,6 +656,7 @@ var Journal = function Journal() {
/* harmony export */ P6: function() { return /* binding */ createOtherMagazine; },
/* harmony export */ QM: function() { return /* binding */ postMagazin; },
/* harmony export */ UV: function() { return /* binding */ delOtherMagazine; },
/* harmony export */ Wx: function() { return /* binding */ getMonthlyDetail; },
/* harmony export */ _3: function() { return /* binding */ getOtherMagazine; },
/* harmony export */ ah: function() { return /* binding */ reviewCount; },
/* harmony export */ dV: function() { return /* binding */ getMagazinCat; },
@ -880,7 +881,7 @@ function getMagazinColumn(_x5) {
return _getMagazinColumn.apply(this, arguments);
}
// 投稿
//获取月刊
function _getMagazinColumn() {
_getMagazinColumn = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee10(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee10$(_context10) {
@ -898,156 +899,178 @@ function _getMagazinColumn() {
}));
return _getMagazinColumn.apply(this, arguments);
}
function postMagazin(_x6) {
function getMonthlyDetail(_x6) {
return _getMonthlyDetail.apply(this, arguments);
}
// 投稿
function _getMonthlyDetail() {
_getMonthlyDetail = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee11(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee11$(_context11) {
while (1) switch (_context11.prev = _context11.next) {
case 0:
return _context11.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/monthly_magazines.json", {
method: 'get',
params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context11.stop();
}
}, _callee11);
}));
return _getMonthlyDetail.apply(this, arguments);
}
function postMagazin(_x7) {
return _postMagazin.apply(this, arguments);
}
// 审核
function _postMagazin() {
_postMagazin = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee11(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee11$(_context11) {
while (1) switch (_context11.prev = _context11.next) {
_postMagazin = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee12(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee12$(_context12) {
while (1) switch (_context12.prev = _context12.next) {
case 0:
return _context11.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/submit.json", {
return _context12.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/submit.json", {
method: 'post',
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context11.stop();
return _context12.stop();
}
}, _callee11);
}, _callee12);
}));
return _postMagazin.apply(this, arguments);
}
function getMagazinCheck(_x7) {
function getMagazinCheck(_x8) {
return _getMagazinCheck.apply(this, arguments);
}
// 审核列表
function _getMagazinCheck() {
_getMagazinCheck = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee12(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee12$(_context12) {
while (1) switch (_context12.prev = _context12.next) {
_getMagazinCheck = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee13(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee13$(_context13) {
while (1) switch (_context13.prev = _context13.next) {
case 0:
return _context12.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/articles/".concat(params === null || params === void 0 ? void 0 : params.id, "/audit.json"), {
return _context13.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/articles/".concat(params === null || params === void 0 ? void 0 : params.id, "/audit.json"), {
method: 'post',
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context12.stop();
return _context13.stop();
}
}, _callee12);
}, _callee13);
}));
return _getMagazinCheck.apply(this, arguments);
}
function getReviewList(_x8) {
function getReviewList(_x9) {
return _getReviewList.apply(this, arguments);
}
// 智云告示 云刊问道
function _getReviewList() {
_getReviewList = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee13(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee13$(_context13) {
while (1) switch (_context13.prev = _context13.next) {
_getReviewList = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee14(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee14$(_context14) {
while (1) switch (_context14.prev = _context14.next) {
case 0:
return _context13.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/articles.json"), {
return _context14.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/articles.json"), {
method: 'get',
params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context13.stop();
return _context14.stop();
}
}, _callee13);
}, _callee14);
}));
return _getReviewList.apply(this, arguments);
}
function approved_articles(_x9) {
function approved_articles(_x10) {
return _approved_articles.apply(this, arguments);
}
// 审核进度
function _approved_articles() {
_approved_articles = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee14(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee14$(_context14) {
while (1) switch (_context14.prev = _context14.next) {
_approved_articles = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee15(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee15$(_context15) {
while (1) switch (_context15.prev = _context15.next) {
case 0:
return _context14.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/approved_articles.json"), {
return _context15.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/approved_articles.json"), {
method: 'get',
params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context14.stop();
return _context15.stop();
}
}, _callee14);
}, _callee15);
}));
return _approved_articles.apply(this, arguments);
}
function getReviewProgress(_x10) {
function getReviewProgress(_x11) {
return _getReviewProgress.apply(this, arguments);
}
//取消投稿
function _getReviewProgress() {
_getReviewProgress = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee15(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee15$(_context15) {
while (1) switch (_context15.prev = _context15.next) {
_getReviewProgress = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee16(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee16$(_context16) {
while (1) switch (_context16.prev = _context16.next) {
case 0:
return _context15.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/article_progress.json"), {
return _context16.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/article_progress.json"), {
method: 'get',
params: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context15.stop();
return _context16.stop();
}
}, _callee15);
}, _callee16);
}));
return _getReviewProgress.apply(this, arguments);
}
function canclePost(_x11) {
function canclePost(_x12) {
return _canclePost.apply(this, arguments);
}
// 编辑稿件
function _canclePost() {
_canclePost = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee16(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee16$(_context16) {
while (1) switch (_context16.prev = _context16.next) {
_canclePost = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee17(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee17$(_context17) {
while (1) switch (_context17.prev = _context17.next) {
case 0:
return _context16.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/cancel_submit.json"), {
return _context17.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/cancel_submit.json"), {
method: 'post',
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context16.stop();
return _context17.stop();
}
}, _callee16);
}, _callee17);
}));
return _canclePost.apply(this, arguments);
}
function editArticle(_x12) {
function editArticle(_x13) {
return _editArticle.apply(this, arguments);
}
// 其他期刊 -获取
function _editArticle() {
_editArticle = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee17(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee17$(_context17) {
while (1) switch (_context17.prev = _context17.next) {
_editArticle = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee18(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee18$(_context18) {
while (1) switch (_context18.prev = _context18.next) {
case 0:
return _context17.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/change_submit.json"), {
return _context18.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, "/change_submit.json"), {
method: 'post',
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context17.stop();
return _context18.stop();
}
}, _callee17);
}, _callee18);
}));
return _editArticle.apply(this, arguments);
}
@ -1057,124 +1080,124 @@ function getOtherMagazine() {
// 其他期刊 -创建
function _getOtherMagazine() {
_getOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee18() {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee18$(_context18) {
while (1) switch (_context18.prev = _context18.next) {
_getOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee19() {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee19$(_context19) {
while (1) switch (_context19.prev = _context19.next) {
case 0:
return _context18.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/others.json", {
return _context19.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/others.json", {
method: 'get'
}));
case 1:
case "end":
return _context18.stop();
return _context19.stop();
}
}, _callee18);
}, _callee19);
}));
return _getOtherMagazine.apply(this, arguments);
}
function createOtherMagazine(_x13) {
function createOtherMagazine(_x14) {
return _createOtherMagazine.apply(this, arguments);
}
// 其他期刊 -修改
function _createOtherMagazine() {
_createOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee19(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee19$(_context19) {
while (1) switch (_context19.prev = _context19.next) {
_createOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee20(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee20$(_context20) {
while (1) switch (_context20.prev = _context20.next) {
case 0:
return _context19.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines.json", {
return _context20.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines.json", {
method: 'post',
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context19.stop();
return _context20.stop();
}
}, _callee19);
}, _callee20);
}));
return _createOtherMagazine.apply(this, arguments);
}
function modifyOtherMagazine(_x14) {
function modifyOtherMagazine(_x15) {
return _modifyOtherMagazine.apply(this, arguments);
}
// 其他期刊 -删除
function _modifyOtherMagazine() {
_modifyOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee20(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee20$(_context20) {
while (1) switch (_context20.prev = _context20.next) {
_modifyOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee21(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee21$(_context21) {
while (1) switch (_context21.prev = _context21.next) {
case 0:
return _context20.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, ".json"), {
return _context21.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, ".json"), {
method: 'put',
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context20.stop();
return _context21.stop();
}
}, _callee20);
}, _callee21);
}));
return _modifyOtherMagazine.apply(this, arguments);
}
function delOtherMagazine(_x15) {
function delOtherMagazine(_x16) {
return _delOtherMagazine.apply(this, arguments);
}
// 文章阅读量+1
function _delOtherMagazine() {
_delOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee21(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee21$(_context21) {
while (1) switch (_context21.prev = _context21.next) {
_delOtherMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee22(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee22$(_context22) {
while (1) switch (_context22.prev = _context22.next) {
case 0:
return _context21.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, ".json"), {
return _context22.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/magazines/".concat(params === null || params === void 0 ? void 0 : params.id, ".json"), {
method: 'delete'
}));
case 1:
case "end":
return _context21.stop();
return _context22.stop();
}
}, _callee21);
}, _callee22);
}));
return _delOtherMagazine.apply(this, arguments);
}
function reviewCount(_x16) {
function reviewCount(_x17) {
return _reviewCount.apply(this, arguments);
}
// 删除期刊
function _reviewCount() {
_reviewCount = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee22(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee22$(_context22) {
while (1) switch (_context22.prev = _context22.next) {
_reviewCount = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee23(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee23$(_context23) {
while (1) switch (_context23.prev = _context23.next) {
case 0:
return _context22.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/articles/".concat(params === null || params === void 0 ? void 0 : params.id, "/viewed.json"), {
return _context23.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/articles/".concat(params === null || params === void 0 ? void 0 : params.id, "/viewed.json"), {
method: 'put'
}));
case 1:
case "end":
return _context22.stop();
return _context23.stop();
}
}, _callee22);
}, _callee23);
}));
return _reviewCount.apply(this, arguments);
}
function delMagazine(_x17) {
function delMagazine(_x18) {
return _delMagazine.apply(this, arguments);
}
function _delMagazine() {
_delMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee23(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee23$(_context23) {
while (1) switch (_context23.prev = _context23.next) {
_delMagazine = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().mark(function _callee24(params) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1___default()().wrap(function _callee24$(_context24) {
while (1) switch (_context24.prev = _context24.next) {
case 0:
return _context23.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/articles/".concat(params === null || params === void 0 ? void 0 : params.id, ".json"), {
return _context24.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/articles/".concat(params === null || params === void 0 ? void 0 : params.id, ".json"), {
method: 'delete',
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default()({}, params)
}));
case 1:
case "end":
return _context23.stop();
return _context24.stop();
}
}, _callee23);
}, _callee24);
}));
return _delMagazine.apply(this, arguments);
}

@ -0,0 +1,386 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[91958],{
/***/ 43467:
/*!*****************************************************************************!*\
!*** ./src/pages/Magazinejor/component/MonthlyDetail/index.tsx + 1 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 */ MonthlyDetail; }
});
// 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.9.0@antd/es/form/index.js + 19 modules
var es_form = __webpack_require__(78241);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/message/index.js + 4 modules
var message = __webpack_require__(8591);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/spin/index.js + 1 modules
var spin = __webpack_require__(71418);
// EXTERNAL MODULE: ./src/.umi-production/exports.ts
var _umi_production_exports = __webpack_require__(88271);
;// CONCATENATED MODULE: ./src/pages/Magazinejor/component/MonthlyDetail/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var MonthlyDetailmodules = ({"Onerow":"Onerow___lxAe1","MultiLine":"MultiLine___anFa7","detailWrap":"detailWrap___WBknt","detailTop":"detailTop___Inv9X","topLeft":"topLeft___XTJ2B","imgCover":"imgCover___pCsrk","coverimg":"coverimg___C9J1k","imgDes":"imgDes___kEb1A","d1":"d1___qdeEG","d2":"d2___plF4G","label":"label___kTtCF","info":"info___EibxE","d3":"d3___YNxfS","d4":"d4___LZRvd","btn":"btn___PO7DH","topbg":"topbg___Cm5XV","detailCon":"detailCon___WVkej","leftWrap":"leftWrap____Bdww","commonMonth":"commonMonth___SgHtH","activeMonth":"activeMonth___C4WOf","disMonth":"disMonth___UFVou","rightWrap":"rightWrap___WExRj","rightconbox":"rightconbox___S2MCV","itemWrap":"itemWrap___qXoU4","bgimg":"bgimg___c8zwq","itemName":"itemName___VUkPV","arcWrap":"arcWrap___RBjHW","artItem":"artItem___fncme","detailsWrap":"detailsWrap___ZXVQK","deltop":"deltop___QSWQi","icon":"icon___YjDks","title":"title___S_r3y","delbottom":"delbottom___viSpJ","my_modal":"my_modal___vwP5A"});
// EXTERNAL MODULE: ./node_modules/_dayjs@1.11.13@dayjs/dayjs.min.js
var dayjs_min = __webpack_require__(61186);
var dayjs_min_default = /*#__PURE__*/__webpack_require__.n(dayjs_min);
// EXTERNAL MODULE: ./src/service/magazine.tsx
var magazine = __webpack_require__(20103);
// EXTERNAL MODULE: ./src/utils/fetch.ts
var fetch = __webpack_require__(82710);
// EXTERNAL MODULE: ./src/pages/Magazinejor/img/defaultpage.png
var defaultpage = __webpack_require__(24362);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
var jsx_runtime = __webpack_require__(37712);
;// CONCATENATED MODULE: ./src/pages/Magazinejor/component/MonthlyDetail/index.tsx
var Journal = function Journal() {
var urlParams = (0,_umi_production_exports.useParams)();
var _useState = (0,_react_17_0_2_react.useState)(false),
_useState2 = slicedToArray_default()(_useState, 2),
loading = _useState2[0],
setLoading = _useState2[1];
var _useState3 = (0,_react_17_0_2_react.useState)({
year: dayjs_min_default()().format('YYYY'),
month: dayjs_min_default()().format('MM')
}),
_useState4 = slicedToArray_default()(_useState3, 2),
params = _useState4[0],
setParams = _useState4[1];
var _useState5 = (0,_react_17_0_2_react.useState)(dayjs_min_default()().year()),
_useState6 = slicedToArray_default()(_useState5, 2),
currentYear = _useState6[0],
setCurrentYear = _useState6[1];
var _useState7 = (0,_react_17_0_2_react.useState)(dayjs_min_default()().month() + 1),
_useState8 = slicedToArray_default()(_useState7, 2),
currentMonth = _useState8[0],
setCurrentMonth = _useState8[1]; // 月份从1开始
var _useState9 = (0,_react_17_0_2_react.useState)({}),
_useState10 = slicedToArray_default()(_useState9, 2),
data = _useState10[0],
setData = _useState10[1];
var _useState11 = (0,_react_17_0_2_react.useState)({
content: "",
type: ""
}),
_useState12 = slicedToArray_default()(_useState11, 2),
previewData = _useState12[0],
setPreviewData = _useState12[1];
var monacoValueRef = (0,_react_17_0_2_react.useRef)();
var _useState13 = (0,_react_17_0_2_react.useState)(0),
_useState14 = slicedToArray_default()(_useState13, 2),
modifyVis = _useState14[0],
setModify = _useState14[1];
var _useState15 = (0,_react_17_0_2_react.useState)(false),
_useState16 = slicedToArray_default()(_useState15, 2),
modifyBtnLoading = _useState16[0],
setModifyBtnLoading = _useState16[1];
var _Form$useForm = es_form/* default */.Z.useForm(),
_Form$useForm2 = slicedToArray_default()(_Form$useForm, 1),
modifyForm = _Form$useForm2[0];
var _useState17 = (0,_react_17_0_2_react.useState)(),
_useState18 = slicedToArray_default()(_useState17, 2),
editId = _useState18[0],
setEditId = _useState18[1];
var _useState19 = (0,_react_17_0_2_react.useState)([]),
_useState20 = slicedToArray_default()(_useState19, 2),
columnList = _useState20[0],
setColumnList = _useState20[1];
var preview = /*#__PURE__*/function () {
var _ref = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(item) {
var res;
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
if (!((item === null || item === void 0 ? void 0 : item.file_type) === "txt")) {
_context.next = 5;
break;
}
_context.next = 3;
return (0,fetch/* default */.ZP)(item === null || item === void 0 ? void 0 : item.url, {
method: "get",
headers: {
"Content-Type": "application/xml"
}
});
case 3:
res = _context.sent;
monacoValueRef.current = res;
case 5:
setPreviewData({
type: item === null || item === void 0 ? void 0 : item.file_type,
content: item === null || item === void 0 ? void 0 : item.url
});
case 6:
case "end":
return _context.stop();
}
}, _callee);
}));
return function preview(_x) {
return _ref.apply(this, arguments);
};
}();
var handleModifyFinish = /*#__PURE__*/function () {
var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2(values) {
var _values$attachment_id, res;
return regeneratorRuntime_default()().wrap(function _callee2$(_context2) {
while (1) switch (_context2.prev = _context2.next) {
case 0:
setModifyBtnLoading(true);
if (values.attachment_id) {
values.attachment_id = values === null || values === void 0 || (_values$attachment_id = values.attachment_id) === null || _values$attachment_id === void 0 ? void 0 : _values$attachment_id.map(function (v) {
return v.response.id;
});
}
if (!(modifyVis == 1)) {
_context2.next = 8;
break;
}
_context2.next = 5;
return (0,magazine/* postMagazin */.QM)(objectSpread2_default()({}, values));
case 5:
_context2.t0 = _context2.sent;
_context2.next = 11;
break;
case 8:
_context2.next = 10;
return (0,magazine/* editArticle */.OD)(objectSpread2_default()(objectSpread2_default()({}, values), {}, {
article_id: editId,
id: 1
}));
case 10:
_context2.t0 = _context2.sent;
case 11:
res = _context2.t0;
if ((res === null || res === void 0 ? void 0 : res.status) === 0) {
message/* default */.ZP.success('操作成功');
setModify(0);
getData();
}
setModifyBtnLoading(false);
case 14:
case "end":
return _context2.stop();
}
}, _callee2);
}));
return function handleModifyFinish(_x2) {
return _ref2.apply(this, arguments);
};
}();
var getColumn = /*#__PURE__*/function () {
var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() {
var res;
return regeneratorRuntime_default()().wrap(function _callee3$(_context3) {
while (1) switch (_context3.prev = _context3.next) {
case 0:
setLoading(true);
_context3.next = 3;
return (0,magazine/* getMonthlyDetail */.Wx)({});
case 3:
res = _context3.sent;
if ((res === null || res === void 0 ? void 0 : res.status) === 0) {
setColumnList(res === null || res === void 0 ? void 0 : res.data);
}
setLoading(false);
case 6:
case "end":
return _context3.stop();
}
}, _callee3);
}));
return function getColumn() {
return _ref3.apply(this, arguments);
};
}();
var getData = /*#__PURE__*/function () {
var _ref4 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4() {
var res;
return regeneratorRuntime_default()().wrap(function _callee4$(_context4) {
while (1) switch (_context4.prev = _context4.next) {
case 0:
setLoading(true);
_context4.next = 3;
return (0,magazine/* getMagazinDetail */.lR)({
// id: urlParams?.id,
id: 1,
start_time: params.year && params.month ? dayjs_min_default()(params.year + '-' + params.month, 'YYYY-MM').startOf('month').format('YYYY-MM-DD') : '',
end_time: params.year && params.month ? dayjs_min_default()(params.year + '-' + params.month, 'YYYY-MM').endOf('month').format('YYYY-MM-DD') : ''
});
case 3:
res = _context4.sent;
if ((res === null || res === void 0 ? void 0 : res.status) === 0) {
setData(res === null || res === void 0 ? void 0 : res.data);
}
setLoading(false);
case 6:
case "end":
return _context4.stop();
}
}, _callee4);
}));
return function getData() {
return _ref4.apply(this, arguments);
};
}();
(0,_react_17_0_2_react.useEffect)(function () {
getData();
getColumn();
}, [params]);
(0,_react_17_0_2_react.useEffect)(function () {
if (data !== null && data !== void 0 && data.memo_id) {
localStorage.setItem('magazineCommentParams', JSON.stringify({
broadcastId: data === null || data === void 0 ? void 0 : data.broadcast_id,
memoId: data === null || data === void 0 ? void 0 : data.memo_id,
isAuthor: data === null || data === void 0 ? void 0 : data.is_author,
can_reviewed: data === null || data === void 0 ? void 0 : data.can_reviewed
}));
}
}, [data]);
var calendar = Array.from({
length: 5
}, function (_, index) {
return {
key: Number(dayjs_min_default()().format('YYYY')) - index,
label: "".concat(Number(dayjs_min_default()().format('YYYY')) - index),
children: Array.from({
length: 12
}).map(function (item, jndex) {
var isDisabled = Number(currentYear) <= Number(params.year) && Number(currentMonth) < 12 - jndex;
return /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "\n ".concat(MonthlyDetailmodules.commonMonth, " ").concat(params.month == 12 - jndex ? MonthlyDetailmodules.activeMonth : '', " \n ").concat(isDisabled ? MonthlyDetailmodules.disMonth : ''),
style: {
marginTop: jndex >= 6 ? '16px' : '0px',
marginRight: [5, 11].includes(jndex) ? '0px' : '30px'
},
onClick: function onClick() {
if (params.month == 12 - jndex || isDisabled) {
if (params.month == 12 - jndex) {
params.month = '';
setParams(objectSpread2_default()({}, params));
}
return;
}
params.month = (12 - jndex).toString().padStart(2, '0');
setParams(objectSpread2_default()({}, params));
},
children: 12 - jndex
}, jndex);
})
};
});
return /*#__PURE__*/(0,jsx_runtime.jsx)(spin/* default */.Z, {
spinning: loading,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: MonthlyDetailmodules.detailWrap,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: MonthlyDetailmodules.detailTop,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: MonthlyDetailmodules.topLeft,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: MonthlyDetailmodules.imgCover,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
src: (data === null || data === void 0 ? void 0 : data.cover_url) || defaultpage,
className: MonthlyDetailmodules.coverimg
}), /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
src: __webpack_require__(/*! ../../img/imgcover.png */ 93828),
width: 158
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: MonthlyDetailmodules.imgDes,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: MonthlyDetailmodules.d1,
children: (data === null || data === void 0 ? void 0 : data.name) || '--'
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: MonthlyDetailmodules.d2,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: MonthlyDetailmodules.label,
children: "\u4E3B\u7F16"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: MonthlyDetailmodules.info,
children: (data === null || data === void 0 ? void 0 : data.author_names) || '--'
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: MonthlyDetailmodules.label,
style: {
marginLeft: '100px',
marginRight: "10px"
},
children: "\u5206\u7C7B"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: MonthlyDetailmodules.info,
style: {
marginRight: '100px'
},
children: (data === null || data === void 0 ? void 0 : data.type) || '--'
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: MonthlyDetailmodules.label,
children: "\u6587\u7AE0\u6570"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: MonthlyDetailmodules.info,
children: (data === null || data === void 0 ? void 0 : data.articles_count) || '--'
})]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: MonthlyDetailmodules.d3,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: MonthlyDetailmodules.label,
children: "\u7B80\u4ECB"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: MonthlyDetailmodules.info,
children: (data === null || data === void 0 ? void 0 : data.description) || '--'
})]
})]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: MonthlyDetailmodules.topbg
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: MonthlyDetailmodules.detailCon,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {})
})]
})
});
};
/* harmony default export */ var MonthlyDetail = (Journal);
/***/ })
}]);

@ -0,0 +1,295 @@
/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Magazinejor/component/MonthlyDetail/index.less?modules ***!
\************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.Onerow___lxAe1 {
word-break: break-all;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.MultiLine___anFa7 {
word-break: break-all;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.detailWrap___WBknt {
width: 100%;
padding: 20px 20px 20px 0px;
}
.detailWrap___WBknt .detailTop___Inv9X {
width: 100%;
height: 305px;
background: linear-gradient(180deg, #2351B5 0%, #1F3B89 100%);
border-radius: 6px;
padding-left: 50px;
display: flex;
align-items: center;
justify-content: space-between;
}
.detailWrap___WBknt .detailTop___Inv9X .topLeft___XTJ2B {
display: flex;
}
.detailWrap___WBknt .detailTop___Inv9X .topLeft___XTJ2B .imgCover___pCsrk {
position: relative;
margin-right: 70px;
}
.detailWrap___WBknt .detailTop___Inv9X .topLeft___XTJ2B .imgCover___pCsrk .coverimg___C9J1k {
position: absolute;
width: 126px;
height: 168px;
top: 5px;
left: 18px;
}
.detailWrap___WBknt .detailTop___Inv9X .topLeft___XTJ2B .imgDes___kEb1A {
display: flex;
flex-direction: column;
}
.detailWrap___WBknt .detailTop___Inv9X .topLeft___XTJ2B .imgDes___kEb1A .d1___qdeEG {
font-family: AlibabaPuHuiTi_2_65_Medium;
font-size: 32px;
color: #FFFFFF;
}
.detailWrap___WBknt .detailTop___Inv9X .topLeft___XTJ2B .imgDes___kEb1A .d2___plF4G {
display: flex;
margin-top: 20px;
}
.detailWrap___WBknt .detailTop___Inv9X .topLeft___XTJ2B .imgDes___kEb1A .d2___plF4G .label___kTtCF {
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 16px;
color: rgba(255, 255, 255, 0.6);
margin-right: 10px;
}
.detailWrap___WBknt .detailTop___Inv9X .topLeft___XTJ2B .imgDes___kEb1A .d2___plF4G .info___EibxE {
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 16px;
color: #FFFFFF;
}
.detailWrap___WBknt .detailTop___Inv9X .topLeft___XTJ2B .imgDes___kEb1A .d3___YNxfS {
display: flex;
margin-top: 10px;
}
.detailWrap___WBknt .detailTop___Inv9X .topLeft___XTJ2B .imgDes___kEb1A .d3___YNxfS .label___kTtCF {
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 16px;
color: rgba(255, 255, 255, 0.6);
min-width: 40px;
}
.detailWrap___WBknt .detailTop___Inv9X .topLeft___XTJ2B .imgDes___kEb1A .d3___YNxfS .info___EibxE {
word-break: break-all;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
display: inline-block;
max-width: 530px;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 16px;
color: #FFFFFF;
}
.detailWrap___WBknt .detailTop___Inv9X .topLeft___XTJ2B .imgDes___kEb1A .d4___LZRvd {
display: flex;
margin-top: 40px;
}
.detailWrap___WBknt .detailTop___Inv9X .topLeft___XTJ2B .imgDes___kEb1A .d4___LZRvd .btn___PO7DH {
background: linear-gradient(90deg, #667FDF 0%, #3649BB 100%);
box-shadow: 0px 5px 10px 0px #174FD2, inset 0px 1px 6px 0px #FFFFFF;
border-radius: 25px;
padding: 17px 40px;
font-family: AlibabaPuHuiTi_2_85_Bold;
font-size: 16px;
color: #DBF3FF;
line-height: 16px;
width: -webkit-max-content;
width: -moz-max-content;
width: max-content;
cursor: pointer;
}
.detailWrap___WBknt .detailTop___Inv9X .topbg___Cm5XV {
flex: 1 1;
height: 100%;
background-image: url(./static/detailbg.6460233e.png);
background-size: cover;
background-position: center;
background-repeat: no-repeat;
position: relative;
}
.detailWrap___WBknt .detailCon___WVkej {
width: 100%;
display: flex;
margin-top: 30px;
height: calc(100vh - 400px);
min-height: 605px;
}
.detailWrap___WBknt .detailCon___WVkej .leftWrap____Bdww {
width: 400px;
height: 100%;
background: linear-gradient(180deg, #0D2A6D 0%, #4B5DCD 100%);
box-shadow: inset 0px 1px 6px 0px #051E55;
border-radius: 4px;
padding: 18px;
margin-right: 20px;
}
.detailWrap___WBknt .detailCon___WVkej .leftWrap____Bdww [class~='ant-collapse-content-box'] {
width: 360px;
height: 112px;
background: rgba(178, 189, 249, 0.18);
border-radius: 4px;
padding: 20px;
border: 1px solid rgba(255, 255, 255, 0.21);
}
.detailWrap___WBknt .detailCon___WVkej .leftWrap____Bdww [class~='ant-collapse-header'] {
padding: 12px 0px !important;
}
.detailWrap___WBknt .detailCon___WVkej .leftWrap____Bdww [class~='ant-collapse-item-active'] {
border: none;
}
.detailWrap___WBknt .detailCon___WVkej .leftWrap____Bdww [class~='ant-collapse-header-text'] {
font-family: PingFangSC, PingFang SC;
font-weight: 600;
font-size: 16px;
color: #fff;
}
.detailWrap___WBknt .detailCon___WVkej .leftWrap____Bdww .commonMonth___SgHtH {
display: inline-block;
width: 26px;
height: 26px;
text-align: center;
line-height: 26px;
border-radius: 2px;
font-weight: 600;
font-size: 14px;
margin-right: 30px;
background: #B2BDF9;
color: #585858;
cursor: pointer;
}
.detailWrap___WBknt .detailCon___WVkej .leftWrap____Bdww .activeMonth___C4WOf {
color: #fff;
background: linear-gradient(270deg, #0E62FF 0%, #17CFDF 100%);
}
.detailWrap___WBknt .detailCon___WVkej .leftWrap____Bdww .disMonth___UFVou {
cursor: not-allowed;
color: #708192;
background-color: #e4e4e4;
}
.detailWrap___WBknt .detailCon___WVkej .rightWrap___WExRj {
flex: 1 1;
background: linear-gradient(180deg, #0D2A6D 0%, #4356C0 100%);
box-shadow: inset 0px 1px 6px 0px #051E55;
border-radius: 4px;
padding-bottom: 20px;
height: 100%;
}
.detailWrap___WBknt .detailCon___WVkej .rightWrap___WExRj .rightconbox___S2MCV {
width: 100%;
height: calc(100% - 60px);
overflow-y: auto;
padding: 0px 20px;
}
.detailWrap___WBknt .detailCon___WVkej .rightWrap___WExRj .rightconbox___S2MCV .itemWrap___qXoU4 {
width: 100%;
background: linear-gradient(180deg, #91A4FB 0%, #9EAAE8 100%);
border-radius: 4px;
border: 1px solid rgba(255, 255, 255, 0.21);
padding: 20px;
position: relative;
min-height: 122px;
}
.detailWrap___WBknt .detailCon___WVkej .rightWrap___WExRj .rightconbox___S2MCV .itemWrap___qXoU4 .bgimg___c8zwq {
position: absolute;
top: 2px;
right: 10px;
}
.detailWrap___WBknt .detailCon___WVkej .rightWrap___WExRj .rightconbox___S2MCV .itemWrap___qXoU4 .itemName___VUkPV {
padding: 8px 10px;
margin-bottom: 30px;
width: -webkit-max-content;
width: -moz-max-content;
width: max-content;
height: 32px;
box-shadow: inset 0px 5px 17px 3px rgba(104, 126, 241, 0.5);
border-radius: 4px;
border: 1px solid;
background: linear-gradient(0deg, #2E81FF 0%, #725BFF 99%);
border-image: linear-gradient(180deg, #6f88e1, #d2d9ff) 1 1;
font-family: AlibabaPuHuiTi_2_85_Bold;
font-size: 16px;
color: #35D7E8;
line-height: 16px;
text-shadow: 0px 1px 2px rgba(193, 220, 255, 0.5), inset 0px 1px 3px #1E0B5F;
text-align: center;
font-style: normal;
}
.detailWrap___WBknt .detailCon___WVkej .rightWrap___WExRj .rightconbox___S2MCV .itemWrap___qXoU4 .arcWrap___RBjHW {
display: flex;
column-gap: 20px;
row-gap: 20px;
flex-wrap: wrap;
}
.detailWrap___WBknt .detailCon___WVkej .rightWrap___WExRj .rightconbox___S2MCV .itemWrap___qXoU4 .arcWrap___RBjHW .artItem___fncme {
width: 315px;
height: 121px;
background: #CEDEFF;
border-radius: 6px;
border: 1px solid #D0F5FF;
-webkit-backdrop-filter: blur(10px);
backdrop-filter: blur(10px);
display: flex;
padding: 8px;
cursor: pointer;
}
.detailWrap___WBknt .detailCon___WVkej .rightWrap___WExRj .rightconbox___S2MCV .itemWrap___qXoU4 .arcWrap___RBjHW .artItem___fncme:hover {
box-shadow: 0px 1px 32px 0px rgba(35, 20, 255, 0.56);
}
.detailWrap___WBknt .detailCon___WVkej .rightWrap___WExRj .rightconbox___S2MCV .itemWrap___qXoU4 .arcWrap___RBjHW .artItem___fncme:hover .detailsWrap___ZXVQK .deltop___QSWQi .icon___YjDks {
display: inline;
color: #5980FC;
font-size: 14px;
}
.detailWrap___WBknt .detailCon___WVkej .rightWrap___WExRj .rightconbox___S2MCV .itemWrap___qXoU4 .arcWrap___RBjHW .artItem___fncme .detailsWrap___ZXVQK {
margin-left: 23px;
display: flex;
flex-direction: column;
justify-content: space-between;
width: 155px;
}
.detailWrap___WBknt .detailCon___WVkej .rightWrap___WExRj .rightconbox___S2MCV .itemWrap___qXoU4 .arcWrap___RBjHW .artItem___fncme .detailsWrap___ZXVQK .deltop___QSWQi {
display: flex;
align-items: center;
justify-content: space-between;
}
.detailWrap___WBknt .detailCon___WVkej .rightWrap___WExRj .rightconbox___S2MCV .itemWrap___qXoU4 .arcWrap___RBjHW .artItem___fncme .detailsWrap___ZXVQK .deltop___QSWQi .title___S_r3y {
word-break: break-all;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
max-width: 90px;
font-family: PingFangSC, PingFang SC;
font-weight: 600;
font-size: 14px;
color: #434D6C;
margin-top: 6px;
}
.detailWrap___WBknt .detailCon___WVkej .rightWrap___WExRj .rightconbox___S2MCV .itemWrap___qXoU4 .arcWrap___RBjHW .artItem___fncme .detailsWrap___ZXVQK .deltop___QSWQi .icon___YjDks {
display: none;
}
.detailWrap___WBknt .detailCon___WVkej .rightWrap___WExRj .rightconbox___S2MCV .itemWrap___qXoU4 .arcWrap___RBjHW .artItem___fncme .detailsWrap___ZXVQK .delbottom___viSpJ {
display: flex;
align-items: center;
justify-content: space-between;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 12px;
color: #333333;
margin-bottom: 3px;
}
.my_modal___vwP5A [class~='ant-form-item-label'] {
margin-right: 10px;
}

@ -192,25 +192,29 @@ var Journal = function Journal() {
_useState20 = slicedToArray_default()(_useState19, 2),
modifyVis = _useState20[0],
setModify = _useState20[1];
var _useState21 = (0,_react_17_0_2_react.useState)(false),
var _useState21 = (0,_react_17_0_2_react.useState)(),
_useState22 = slicedToArray_default()(_useState21, 2),
modifyBtnLoading = _useState22[0],
setModifyBtnLoading = _useState22[1];
title = _useState22[0],
settitle = _useState22[1];
var _useState23 = (0,_react_17_0_2_react.useState)(false),
_useState24 = slicedToArray_default()(_useState23, 2),
modifyBtnLoading = _useState24[0],
setModifyBtnLoading = _useState24[1];
var _Form$useForm3 = es_form/* default */.Z.useForm(),
_Form$useForm4 = slicedToArray_default()(_Form$useForm3, 1),
modifyForm = _Form$useForm4[0];
var _useState23 = (0,_react_17_0_2_react.useState)(),
_useState24 = slicedToArray_default()(_useState23, 2),
editId = _useState24[0],
setEditId = _useState24[1];
var _useState25 = (0,_react_17_0_2_react.useState)(''),
var _useState25 = (0,_react_17_0_2_react.useState)(),
_useState26 = slicedToArray_default()(_useState25, 2),
keyword = _useState26[0],
setKeyword = _useState26[1];
var _useState27 = (0,_react_17_0_2_react.useState)({}),
editId = _useState26[0],
setEditId = _useState26[1];
var _useState27 = (0,_react_17_0_2_react.useState)(''),
_useState28 = slicedToArray_default()(_useState27, 2),
detailRecord = _useState28[0],
setDetailRecord = _useState28[1];
keyword = _useState28[0],
setKeyword = _useState28[1];
var _useState29 = (0,_react_17_0_2_react.useState)({}),
_useState30 = slicedToArray_default()(_useState29, 2),
detailRecord = _useState30[0],
setDetailRecord = _useState30[1];
var getColumn = /*#__PURE__*/function () {
var _ref = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() {
var res;
@ -633,6 +637,7 @@ var Journal = function Journal() {
width: '15%',
dataIndex: 'created_at',
render: function render(text, record) {
var _record$audit_progres19;
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
type: "link",
@ -645,6 +650,26 @@ var Journal = function Journal() {
setTimeLineVis(true);
},
children: "\u8BE6\u60C5"
}), (record === null || record === void 0 || (_record$audit_progres19 = record.audit_progress) === null || _record$audit_progres19 === void 0 || (_record$audit_progres19 = _record$audit_progres19.map(function (item) {
return item.status;
})) === null || _record$audit_progres19 === void 0 ? void 0 : _record$audit_progres19.includes('rejected')) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
type: "link",
style: {
color: '#3D60D1',
padding: 0,
marginLeft: '10px'
},
onClick: function onClick() {
setEditId(record === null || record === void 0 ? void 0 : record.id);
modifyForm.setFieldsValue({
title: record === null || record === void 0 ? void 0 : record.title,
category_id: record === null || record === void 0 ? void 0 : record.category_id,
attachment_id: record !== null && record !== void 0 && record.attachment ? (0,MultiUpload/* coverToFileList */.z)([record.attachment]) : []
});
settitle('重新提交');
setModify(true);
},
children: "\u91CD\u65B0\u63D0\u4EA4"
}), (record === null || record === void 0 ? void 0 : record.status) == 'unstart' && (0,util/* isCurrentUser */.$t)(record === null || record === void 0 ? void 0 : record.author_name) && /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
type: "link",
style: {
@ -793,7 +818,7 @@ var Journal = function Journal() {
maskClosable: false,
destroyOnClose: true,
open: modifyVis,
title: "\u4FEE\u6539\u7A3F\u4EF6",
title: title ? title : "修改稿件",
width: "935px",
className: "".concat(Submissionmodules.my_modal, " modalXazy"),
closeIcon: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
@ -801,6 +826,7 @@ var Journal = function Journal() {
}),
onCancel: function onCancel() {
setModify(false);
settitle('');
},
onOk: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee8() {
return regeneratorRuntime_default()().wrap(function _callee8$(_context8) {
@ -810,7 +836,8 @@ var Journal = function Journal() {
return modifyForm.submit();
case 2:
setModify(false);
case 3:
settitle('');
case 4:
case "end":
return _context8.stop();
}

@ -18753,7 +18753,8 @@ var StageItemDom = function StageItemDom(_ref) {
_ref$Cindex = _ref.Cindex,
Cindex = _ref$Cindex === void 0 ? "1" : _ref$Cindex,
dispatch = _ref.dispatch,
pathsDetail = _ref.pathsDetail;
pathsDetail = _ref.pathsDetail,
oneindex = _ref.oneindex;
var params = (0,_umi_production_exports.useParams)();
var notCollectPay = (DataProps === null || DataProps === void 0 || (_DataProps$learning_s = DataProps.learning_status) === null || _DataProps$learning_s === void 0 ? void 0 : _DataProps$learning_s[0]) === 'can';
var _useState = (0,_react_17_0_2_react.useState)({}),
@ -18983,10 +18984,12 @@ var StageItemDom = function StageItemDom(_ref) {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "flex flex-wrap",
style: {
gap: "20rem"
gap: "20rem",
marginLeft: 10
},
children: DataProps === null || DataProps === void 0 || (_DataProps$children = DataProps.children) === null || _DataProps$children === void 0 ? void 0 : _DataProps$children.map(function (v, i) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(StageItemDom, {
oneindex: oneindex + 1,
DataProps: v,
Findex: Cindex,
Cindex: i + 1,
@ -20150,6 +20153,7 @@ var Page = function Page(_ref9) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(StageItemDom, {
DataProps: item,
pathsDetail: pathsDetail,
oneindex: 0,
dispatch: dispatch,
Findex: currentData === null || currentData === void 0 ? void 0 : currentData.Findex,
Cindex: index + 1

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