autoUpdataFile

dev_local_v9_zzxy
eduauto 1 year ago
parent e0aec33e89
commit 7f9f25dac0

File diff suppressed because it is too large Load Diff

@ -16,6 +16,7 @@
/* harmony export */ J5: function() { return /* binding */ reservations_table_querys; },
/* harmony export */ KN: function() { return /* binding */ device_tags_table_delete; },
/* harmony export */ Ku: function() { return /* binding */ reservations_table_week_query; },
/* harmony export */ MU: function() { return /* binding */ devices_monitor; },
/* harmony export */ O3: function() { return /* binding */ reservations_table_devices_change_shixun; },
/* harmony export */ QD: function() { return /* binding */ device_info_table_query; },
/* harmony export */ Qq: function() { return /* binding */ postDevicesChangeStatus; },
@ -47,7 +48,7 @@
/* harmony export */ uz: function() { return /* binding */ device_type_table_query; },
/* harmony export */ zZ: function() { return /* binding */ device_fault_update; }
/* harmony export */ });
/* unused harmony exports device_type_table_delete, device_info_use_status, device_info_all_tags, devices_monitor, device_fault_infos_content, application_scrapped, scrapped_data_info, used_rate, shixun_use_type_records, device_statistics, behavior_statistics, procure_records_device_statistics, device_fault_infos, reservation_today_data */
/* unused harmony exports device_type_table_delete, device_info_use_status, device_info_all_tags, device_fault_infos_content, application_scrapped, scrapped_data_info, used_rate, shixun_use_type_records, device_statistics, behavior_statistics, procure_records_device_statistics, device_fault_infos, reservation_today_data */
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js */ 82242);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js */ 7557);
@ -520,11 +521,11 @@ function devices_monitor(_x22) {
//获取某个设备的维修记录
function _devices_monitor() {
_devices_monitor = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee22(id) {
return _regeneratorRuntime().wrap(function _callee22$(_context22) {
_devices_monitor = _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(id) {
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 _context22.abrupt("return", Fetch("/api/zz_classrooms/devices/".concat(id, "/monitor.json"), {
return _context22.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices/".concat(id, "/monitor.json"), {
method: 'get'
}));
case 1:

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[67138,53396,62531,31594,28943,98150,24064,72469,32810,17714,94797,52141,31701,17244,95318,51253,15963,23997,90935,69909,94598,15141,28244,58838,31556,96004,23003,6572,32405,93600,26314],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[67138,53396,62531,31594,28943,98150,24064,72469,49124,32810,17714,94797,52141,31701,17244,95318,51253,15963,23997,90935,69909,94598,15141,28244,58838,31556,96004,23003,6572,32405,93600,26314],{
/***/ 87169:
/*!*******************************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[72469,53396,62531,31594,28943,98150,24064,67138,32810,17714,94797,52141,31701,17244,95318,51253,15963,23997,90935,69909,94598,15141,28244,58838,31556,96004,23003,6572,32405,93600,26314],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[72469,53396,62531,31594,28943,98150,24064,67138,49124,32810,17714,94797,52141,31701,17244,95318,51253,15963,23997,90935,69909,94598,15141,28244,58838,31556,96004,23003,6572,32405,93600,26314],{
/***/ 87169:
/*!*******************************************************************************************************************!*\

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

@ -303,7 +303,7 @@ var CloudTroops = function CloudTroops(_ref) {
margin: '0 auto',
zIndex: 9
},
tabBarExtraContent: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
tabBarExtraContent: actkey === 1 && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: CloudTroopsmodules.rightbutton,
onClick: function onClick() {
setaddmodal(true);

@ -2338,6 +2338,7 @@ function _change_report() {
/* harmony export */ J5: function() { return /* binding */ reservations_table_querys; },
/* harmony export */ KN: function() { return /* binding */ device_tags_table_delete; },
/* harmony export */ Ku: function() { return /* binding */ reservations_table_week_query; },
/* harmony export */ MU: function() { return /* binding */ devices_monitor; },
/* harmony export */ O3: function() { return /* binding */ reservations_table_devices_change_shixun; },
/* harmony export */ QD: function() { return /* binding */ device_info_table_query; },
/* harmony export */ Qq: function() { return /* binding */ postDevicesChangeStatus; },
@ -2369,7 +2370,7 @@ function _change_report() {
/* harmony export */ uz: function() { return /* binding */ device_type_table_query; },
/* harmony export */ zZ: function() { return /* binding */ device_fault_update; }
/* harmony export */ });
/* unused harmony exports device_type_table_delete, device_info_use_status, device_info_all_tags, devices_monitor, device_fault_infos_content, application_scrapped, scrapped_data_info, used_rate, shixun_use_type_records, device_statistics, behavior_statistics, procure_records_device_statistics, device_fault_infos, reservation_today_data */
/* unused harmony exports device_type_table_delete, device_info_use_status, device_info_all_tags, device_fault_infos_content, application_scrapped, scrapped_data_info, used_rate, shixun_use_type_records, device_statistics, behavior_statistics, procure_records_device_statistics, device_fault_infos, reservation_today_data */
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js */ 82242);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js */ 7557);
@ -2842,11 +2843,11 @@ function devices_monitor(_x22) {
//获取某个设备的维修记录
function _devices_monitor() {
_devices_monitor = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee22(id) {
return _regeneratorRuntime().wrap(function _callee22$(_context22) {
_devices_monitor = _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(id) {
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 _context22.abrupt("return", Fetch("/api/zz_classrooms/devices/".concat(id, "/monitor.json"), {
return _context22.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices/".concat(id, "/monitor.json"), {
method: 'get'
}));
case 1:

@ -886,6 +886,7 @@ var DeviceInfoPage = function DeviceInfoPage(_ref) {
/* harmony export */ J5: function() { return /* binding */ reservations_table_querys; },
/* harmony export */ KN: function() { return /* binding */ device_tags_table_delete; },
/* harmony export */ Ku: function() { return /* binding */ reservations_table_week_query; },
/* harmony export */ MU: function() { return /* binding */ devices_monitor; },
/* harmony export */ O3: function() { return /* binding */ reservations_table_devices_change_shixun; },
/* harmony export */ QD: function() { return /* binding */ device_info_table_query; },
/* harmony export */ Qq: function() { return /* binding */ postDevicesChangeStatus; },
@ -917,7 +918,7 @@ var DeviceInfoPage = function DeviceInfoPage(_ref) {
/* harmony export */ uz: function() { return /* binding */ device_type_table_query; },
/* harmony export */ zZ: function() { return /* binding */ device_fault_update; }
/* harmony export */ });
/* unused harmony exports device_type_table_delete, device_info_use_status, device_info_all_tags, devices_monitor, device_fault_infos_content, application_scrapped, scrapped_data_info, used_rate, shixun_use_type_records, device_statistics, behavior_statistics, procure_records_device_statistics, device_fault_infos, reservation_today_data */
/* unused harmony exports device_type_table_delete, device_info_use_status, device_info_all_tags, device_fault_infos_content, application_scrapped, scrapped_data_info, used_rate, shixun_use_type_records, device_statistics, behavior_statistics, procure_records_device_statistics, device_fault_infos, reservation_today_data */
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js */ 82242);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js */ 7557);
@ -1390,11 +1391,11 @@ function devices_monitor(_x22) {
//获取某个设备的维修记录
function _devices_monitor() {
_devices_monitor = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee22(id) {
return _regeneratorRuntime().wrap(function _callee22$(_context22) {
_devices_monitor = _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(id) {
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 _context22.abrupt("return", Fetch("/api/zz_classrooms/devices/".concat(id, "/monitor.json"), {
return _context22.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices/".concat(id, "/monitor.json"), {
method: 'get'
}));
case 1:

@ -373,7 +373,7 @@ var LineChart_LineChart = function LineChart(_ref) {
/* harmony default export */ var components_LineChart = (LineChart_LineChart);
;// CONCATENATED MODULE: ./src/pages/Equipment/Working/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var Workingmodules = ({"monitor":"monitor___uXvF3","screen":"screen___EPGUs","monitorHeader":"monitorHeader___PM_UP","monitorHL":"monitorHL___gSI81","monitorHL_back":"monitorHL_back___ILofC","backIcon":"backIcon___Fyzeu","monitorHL_device":"monitorHL_device___Z8JrZ","monitorHR":"monitorHR___ft0Fz","time_big":"time_big___cb3ZP","time_small":"time_small___cjTsW","monitorMain":"monitorMain____ADSj","title_comp":"title_comp____bjY5","title_icon":"title_icon___YqIdx","select_name":"select_name___IpTLB","monitorMainLeft":"monitorMainLeft___dVsT8","sb_tj":"sb_tj___NZgX2","sbtj_warp":"sbtj_warp___V7tjs","sbtj_item":"sbtj_item___hh5_M","sbtj_item_count":"sbtj_item_count___tW6C_","sbtj_item_title":"sbtj_item_title___sq88n","jr_xx":"jr_xx___naY2_","data_list":"data_list___DJ5gP","show_more":"show_more___Tw4fa","monitorMainRight":"monitorMainRight___gNcLH","sb_xxzs":"sb_xxzs___rNKFo","deviceInfo":"deviceInfo___Wv487","deviceItem":"deviceItem___TSZoP","devItem_top":"devItem_top___krmrU","devItem_top_info":"devItem_top_info___k8hJp","devItem_top_title":"devItem_top_title___zaEkj","devItem_top_title2":"devItem_top_title2___G2RYe","devItem_top_title3":"devItem_top_title3___o07ys","devItem_top_text":"devItem_top_text___Auq1i","devItem_top_text2":"devItem_top_text2___S8vAI","devItem_bottom":"devItem_bottom___Bgiec","devItem_center_warp":"devItem_center_warp___U7s3b","devItem_center":"devItem_center___f0Y3S","devItem_center_info":"devItem_center_info___hriX7","devItem_cb":"devItem_cb___rm84g","overflow":"overflow___bgGMz","devItem_bl":"devItem_bl___Ig6uy","devItem_info":"devItem_info___y_bZe","devItem_br":"devItem_br___T9MWO","br_title":"br_title___AgxyL","jt_yyxq":"jt_yyxq___zNnLZ","table_columns":"table_columns___uVjDB","table_columns_warp":"table_columns_warp___ycJOj","columns_data":"columns_data___x7ReN","columns_data_time":"columns_data_time___QLY1H","table_data_content":"table_data_content___ULISM","table_data":"table_data___sp_hy","data_item":"data_item___SYTrx","data_item_time":"data_item_time___f72r3","nodata":"nodata___iXmTJ"});
/* harmony default export */ var Workingmodules = ({"monitor":"monitor___uXvF3","screen":"screen___EPGUs","monitorHeader":"monitorHeader___PM_UP","monitorHL":"monitorHL___gSI81","monitorHL_back":"monitorHL_back___ILofC","backIcon":"backIcon___Fyzeu","monitorHL_device":"monitorHL_device___Z8JrZ","monitorHR":"monitorHR___ft0Fz","time_big":"time_big___cb3ZP","time_small":"time_small___cjTsW","monitorMain":"monitorMain____ADSj","title_comp":"title_comp____bjY5","title_icon":"title_icon___YqIdx","select_name":"select_name___IpTLB","monitorMainLeft":"monitorMainLeft___dVsT8","sb_tj":"sb_tj___NZgX2","sbtj_warp":"sbtj_warp___V7tjs","sbtj_item":"sbtj_item___hh5_M","sbtj_item_count":"sbtj_item_count___tW6C_","sbtj_item_title":"sbtj_item_title___sq88n","jr_xx":"jr_xx___naY2_","data_list":"data_list___DJ5gP","sb_xxzs":"sb_xxzs___rNKFo","deviceInfo":"deviceInfo___Wv487","deviceItem":"deviceItem___TSZoP","devItem_top":"devItem_top___krmrU","devItem_top_info":"devItem_top_info___k8hJp","devItem_top_title":"devItem_top_title___zaEkj","devItem_top_title2":"devItem_top_title2___G2RYe","devItem_top_title3":"devItem_top_title3___o07ys","devItem_top_text":"devItem_top_text___Auq1i","devItem_top_text2":"devItem_top_text2___S8vAI","devItem_bottom":"devItem_bottom___Bgiec","devItem_center_warp":"devItem_center_warp___U7s3b","devItem_center":"devItem_center___f0Y3S","devItem_center_info":"devItem_center_info___hriX7","devItem_cb":"devItem_cb___rm84g","overflow":"overflow___bgGMz","devItem_bl":"devItem_bl___Ig6uy","devItem_info":"devItem_info___y_bZe","devItem_br":"devItem_br___T9MWO","br_title":"br_title___AgxyL","jt_yyxq":"jt_yyxq___zNnLZ","table_columns":"table_columns___uVjDB","table_columns_warp":"table_columns_warp___ycJOj","columns_data":"columns_data___x7ReN","columns_data_time":"columns_data_time___QLY1H","table_data_content":"table_data_content___ULISM","table_data":"table_data___sp_hy","data_item":"data_item___SYTrx","data_item_time":"data_item_time___f72r3","show_more":"show_more___Tw4fa","monitorMainRight":"monitorMainRight___gNcLH","nodata":"nodata___iXmTJ"});
// EXTERNAL MODULE: ./src/.umi-production/exports.ts
var _umi_production_exports = __webpack_require__(5841);
// EXTERNAL MODULE: ./src/service/laboratory.ts
@ -563,18 +563,30 @@ var IndexPage = function IndexPage(_ref) {
var _res$devices;
res === null || res === void 0 || (_res$devices = res.devices) === null || _res$devices === void 0 || _res$devices.forEach(function (item) {
// 当前性能
// devices_monitor(item?.id).then((info) => {
// if (info?.status == 0) {
// item.monitor = info?.monitor;
// } else {
// item.monitor = {
// cpu: { time_stamps: [], values: [] },
// load: { time_stamps: [], values: [] },
// mem: { time_stamps: [], values: [] },
// disk: { time_stamps: [], values: [] },
// };
// }
// });
(0,onlinedevice/* devices_monitor */.MU)(item === null || item === void 0 ? void 0 : item.id).then(function (info) {
if ((info === null || info === void 0 ? void 0 : info.status) == 0) {
item.monitor = info === null || info === void 0 ? void 0 : info.monitor;
} else {
item.monitor = {
cpu: {
time_stamps: [],
values: []
},
load: {
time_stamps: [],
values: []
},
mem: {
time_stamps: [],
values: []
},
disk: {
time_stamps: [],
values: []
}
};
}
});
});
setDeviceInfo(res === null || res === void 0 ? void 0 : res.devices);
});

@ -209,49 +209,26 @@
flex-direction: column;
gap: 45px;
}
.monitor___uXvF3 .monitorMain____ADSj .show_more___Tw4fa {
position: absolute;
top: 2.2vh;
right: 1.3vw;
color: #6AD0FD;
font-size: 1.4vh;
cursor: pointer;
}
.monitor___uXvF3 .monitorMain____ADSj .monitorMainRight___gNcLH {
display: flex;
flex-wrap: wrap;
align-content: space-between;
width: 69vw;
height: 85vh;
}
.monitor___uXvF3 .monitorMain____ADSj .monitorMainRight___gNcLH .show_more___Tw4fa {
top: 2.5vh;
right: 2vw;
}
.monitor___uXvF3 .monitorMain____ADSj .monitorMainRight___gNcLH .sb_xxzs___rNKFo {
.monitor___uXvF3 .monitorMain____ADSj .monitorMainLeft___dVsT8 .sb_xxzs___rNKFo {
position: relative;
width: 100%;
height: 50.9vh;
background: url(./static/right_device.7563cb37.png) no-repeat;
height: 100%;
background-position: center;
background-size: 100% 100%;
overflow: auto;
}
.monitor___uXvF3 .monitorMain____ADSj .monitorMainRight___gNcLH .sb_xxzs___rNKFo .deviceInfo___Wv487 {
display: flex;
flex-wrap: wrap;
.monitor___uXvF3 .monitorMain____ADSj .monitorMainLeft___dVsT8 .sb_xxzs___rNKFo .deviceInfo___Wv487 {
width: 98%;
height: 43vh;
overflow: auto;
margin: 0 auto;
margin-top: 3vh;
overflow: hidden;
overflow-y: auto;
margin-top: 5vh;
height: 100%;
}
.monitor___uXvF3 .monitorMain____ADSj .monitorMainRight___gNcLH .sb_xxzs___rNKFo .deviceInfo___Wv487 .deviceItem___TSZoP {
.monitor___uXvF3 .monitorMain____ADSj .monitorMainLeft___dVsT8 .sb_xxzs___rNKFo .deviceInfo___Wv487 .deviceItem___TSZoP {
display: flex;
flex-wrap: wrap;
align-content: center;
justify-content: center;
width: 48%;
height: 100%;
margin: 0 1%;
margin-top: 1.5vh;
@ -259,28 +236,28 @@
background-position: center;
background-size: 100% 100%;
}
.monitor___uXvF3 .monitorMain____ADSj .monitorMainRight___gNcLH .sb_xxzs___rNKFo .deviceInfo___Wv487 .deviceItem___TSZoP:nth-child(1),
.monitor___uXvF3 .monitorMain____ADSj .monitorMainRight___gNcLH .sb_xxzs___rNKFo .deviceInfo___Wv487 .deviceItem___TSZoP:nth-child(2) {
.monitor___uXvF3 .monitorMain____ADSj .monitorMainLeft___dVsT8 .sb_xxzs___rNKFo .deviceInfo___Wv487 .deviceItem___TSZoP:nth-child(1),
.monitor___uXvF3 .monitorMain____ADSj .monitorMainLeft___dVsT8 .sb_xxzs___rNKFo .deviceInfo___Wv487 .deviceItem___TSZoP:nth-child(2) {
margin-top: 0px;
}
.monitor___uXvF3 .monitorMain____ADSj .monitorMainRight___gNcLH .sb_xxzs___rNKFo .deviceInfo___Wv487 .devItem_top___krmrU {
.monitor___uXvF3 .monitorMain____ADSj .monitorMainLeft___dVsT8 .sb_xxzs___rNKFo .deviceInfo___Wv487 .devItem_top___krmrU {
position: relative;
width: 95%;
height: 28%;
}
.monitor___uXvF3 .monitorMain____ADSj .monitorMainRight___gNcLH .sb_xxzs___rNKFo .deviceInfo___Wv487 .devItem_top___krmrU img {
.monitor___uXvF3 .monitorMain____ADSj .monitorMainLeft___dVsT8 .sb_xxzs___rNKFo .deviceInfo___Wv487 .devItem_top___krmrU img {
display: inline-block;
width: 11.5vh;
height: 11.5vh;
}
.monitor___uXvF3 .monitorMain____ADSj .monitorMainRight___gNcLH .sb_xxzs___rNKFo .deviceInfo___Wv487 .devItem_top___krmrU .devItem_top_info___k8hJp {
.monitor___uXvF3 .monitorMain____ADSj .monitorMainLeft___dVsT8 .sb_xxzs___rNKFo .deviceInfo___Wv487 .devItem_top___krmrU .devItem_top_info___k8hJp {
position: absolute;
right: 0;
display: inline-block;
width: calc(100% - 15vh);
height: 11.5vh;
}
.monitor___uXvF3 .monitorMain____ADSj .monitorMainRight___gNcLH .sb_xxzs___rNKFo .deviceInfo___Wv487 .devItem_top___krmrU .devItem_top_info___k8hJp .devItem_top_title___zaEkj {
.monitor___uXvF3 .monitorMain____ADSj .monitorMainLeft___dVsT8 .sb_xxzs___rNKFo .deviceInfo___Wv487 .devItem_top___krmrU .devItem_top_info___k8hJp .devItem_top_title___zaEkj {
margin-top: 1vh;
overflow: hidden;
color: #03fef8;
@ -289,29 +266,29 @@
white-space: nowrap;
text-overflow: ellipsis;
}
.monitor___uXvF3 .monitorMain____ADSj .monitorMainRight___gNcLH .sb_xxzs___rNKFo .deviceInfo___Wv487 .devItem_top___krmrU .devItem_top_info___k8hJp .devItem_top_title2___G2RYe,
.monitor___uXvF3 .monitorMain____ADSj .monitorMainRight___gNcLH .sb_xxzs___rNKFo .deviceInfo___Wv487 .devItem_top___krmrU .devItem_top_info___k8hJp .devItem_top_title3___o07ys {
.monitor___uXvF3 .monitorMain____ADSj .monitorMainLeft___dVsT8 .sb_xxzs___rNKFo .deviceInfo___Wv487 .devItem_top___krmrU .devItem_top_info___k8hJp .devItem_top_title2___G2RYe,
.monitor___uXvF3 .monitorMain____ADSj .monitorMainLeft___dVsT8 .sb_xxzs___rNKFo .deviceInfo___Wv487 .devItem_top___krmrU .devItem_top_info___k8hJp .devItem_top_title3___o07ys {
min-width: 3.5vw;
color: #ffffff;
font-size: 1.4vh;
}
.monitor___uXvF3 .monitorMain____ADSj .monitorMainRight___gNcLH .sb_xxzs___rNKFo .deviceInfo___Wv487 .devItem_top___krmrU .devItem_top_info___k8hJp .devItem_top_title3___o07ys {
.monitor___uXvF3 .monitorMain____ADSj .monitorMainLeft___dVsT8 .sb_xxzs___rNKFo .deviceInfo___Wv487 .devItem_top___krmrU .devItem_top_info___k8hJp .devItem_top_title3___o07ys {
min-width: 4vw;
}
.monitor___uXvF3 .monitorMain____ADSj .monitorMainRight___gNcLH .sb_xxzs___rNKFo .deviceInfo___Wv487 .devItem_top___krmrU .devItem_top_info___k8hJp .devItem_top_text___Auq1i,
.monitor___uXvF3 .monitorMain____ADSj .monitorMainRight___gNcLH .sb_xxzs___rNKFo .deviceInfo___Wv487 .devItem_top___krmrU .devItem_top_info___k8hJp .devItem_top_text2___S8vAI {
.monitor___uXvF3 .monitorMain____ADSj .monitorMainLeft___dVsT8 .sb_xxzs___rNKFo .deviceInfo___Wv487 .devItem_top___krmrU .devItem_top_info___k8hJp .devItem_top_text___Auq1i,
.monitor___uXvF3 .monitorMain____ADSj .monitorMainLeft___dVsT8 .sb_xxzs___rNKFo .deviceInfo___Wv487 .devItem_top___krmrU .devItem_top_info___k8hJp .devItem_top_text2___S8vAI {
margin-left: 0.8vw;
color: #03fef8;
font-size: 1.4vh;
}
.monitor___uXvF3 .monitorMain____ADSj .monitorMainRight___gNcLH .sb_xxzs___rNKFo .deviceInfo___Wv487 .devItem_top___krmrU .devItem_top_info___k8hJp .devItem_top_text___Auq1i {
.monitor___uXvF3 .monitorMain____ADSj .monitorMainLeft___dVsT8 .sb_xxzs___rNKFo .deviceInfo___Wv487 .devItem_top___krmrU .devItem_top_info___k8hJp .devItem_top_text___Auq1i {
max-width: 18vw;
margin-left: 0.4vw;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.monitor___uXvF3 .monitorMain____ADSj .monitorMainRight___gNcLH .sb_xxzs___rNKFo .deviceInfo___Wv487 .devItem_top___krmrU .devItem_top_info___k8hJp .devItem_top_text2___S8vAI {
.monitor___uXvF3 .monitorMain____ADSj .monitorMainLeft___dVsT8 .sb_xxzs___rNKFo .deviceInfo___Wv487 .devItem_top___krmrU .devItem_top_info___k8hJp .devItem_top_text2___S8vAI {
display: -webkit-box;
max-width: 18vw;
overflow: hidden;
@ -319,27 +296,27 @@
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
.monitor___uXvF3 .monitorMain____ADSj .monitorMainRight___gNcLH .sb_xxzs___rNKFo .deviceInfo___Wv487 .devItem_bottom___Bgiec {
.monitor___uXvF3 .monitorMain____ADSj .monitorMainLeft___dVsT8 .sb_xxzs___rNKFo .deviceInfo___Wv487 .devItem_bottom___Bgiec {
width: 95%;
height: 33%;
}
.monitor___uXvF3 .monitorMain____ADSj .monitorMainRight___gNcLH .sb_xxzs___rNKFo .deviceInfo___Wv487 .devItem_center_warp___U7s3b {
.monitor___uXvF3 .monitorMain____ADSj .monitorMainLeft___dVsT8 .sb_xxzs___rNKFo .deviceInfo___Wv487 .devItem_center_warp___U7s3b {
display: flex;
align-items: center;
justify-content: space-between;
width: 95%;
height: 29%;
}
.monitor___uXvF3 .monitorMain____ADSj .monitorMainRight___gNcLH .sb_xxzs___rNKFo .deviceInfo___Wv487 .devItem_center___f0Y3S {
.monitor___uXvF3 .monitorMain____ADSj .monitorMainLeft___dVsT8 .sb_xxzs___rNKFo .deviceInfo___Wv487 .devItem_center___f0Y3S {
width: 49%;
height: 100%;
background: rgba(115, 251, 194, 0.1);
border-radius: 2px;
}
.monitor___uXvF3 .monitorMain____ADSj .monitorMainRight___gNcLH .sb_xxzs___rNKFo .deviceInfo___Wv487 .devItem_center_warp___U7s3b {
.monitor___uXvF3 .monitorMain____ADSj .monitorMainLeft___dVsT8 .sb_xxzs___rNKFo .deviceInfo___Wv487 .devItem_center_warp___U7s3b {
margin: 1.5% 0 1.5% 0;
}
.monitor___uXvF3 .monitorMain____ADSj .monitorMainRight___gNcLH .sb_xxzs___rNKFo .deviceInfo___Wv487 .devItem_center_warp___U7s3b .devItem_center_info___hriX7 {
.monitor___uXvF3 .monitorMain____ADSj .monitorMainLeft___dVsT8 .sb_xxzs___rNKFo .deviceInfo___Wv487 .devItem_center_warp___U7s3b .devItem_center_info___hriX7 {
display: flex;
align-items: center;
width: 100%;
@ -349,32 +326,32 @@
color: #fff;
font-size: 1.2vh;
}
.monitor___uXvF3 .monitorMain____ADSj .monitorMainRight___gNcLH .sb_xxzs___rNKFo .deviceInfo___Wv487 .devItem_center_warp___U7s3b .devItem_center_info___hriX7 img {
.monitor___uXvF3 .monitorMain____ADSj .monitorMainLeft___dVsT8 .sb_xxzs___rNKFo .deviceInfo___Wv487 .devItem_center_warp___U7s3b .devItem_center_info___hriX7 img {
width: 1vw;
height: 1.5vh;
}
.monitor___uXvF3 .monitorMain____ADSj .monitorMainRight___gNcLH .sb_xxzs___rNKFo .deviceInfo___Wv487 .devItem_center_warp___U7s3b .devItem_center_info___hriX7 div {
.monitor___uXvF3 .monitorMain____ADSj .monitorMainLeft___dVsT8 .sb_xxzs___rNKFo .deviceInfo___Wv487 .devItem_center_warp___U7s3b .devItem_center_info___hriX7 div {
display: flex;
}
.monitor___uXvF3 .monitorMain____ADSj .monitorMainRight___gNcLH .sb_xxzs___rNKFo .deviceInfo___Wv487 .devItem_center_warp___U7s3b .devItem_cb___rm84g {
.monitor___uXvF3 .monitorMain____ADSj .monitorMainLeft___dVsT8 .sb_xxzs___rNKFo .deviceInfo___Wv487 .devItem_center_warp___U7s3b .devItem_cb___rm84g {
width: auto;
height: 70%;
margin: 0 1vh;
margin-top: 0.5vh;
}
.monitor___uXvF3 .monitorMain____ADSj .monitorMainRight___gNcLH .sb_xxzs___rNKFo .deviceInfo___Wv487 .devItem_bottom___Bgiec {
.monitor___uXvF3 .monitorMain____ADSj .monitorMainLeft___dVsT8 .sb_xxzs___rNKFo .deviceInfo___Wv487 .devItem_bottom___Bgiec {
display: flex;
align-items: center;
justify-content: space-between;
color: #fff;
font-size: 1.2vh;
}
.monitor___uXvF3 .monitorMain____ADSj .monitorMainRight___gNcLH .sb_xxzs___rNKFo .deviceInfo___Wv487 .devItem_bottom___Bgiec .overflow___bgGMz {
.monitor___uXvF3 .monitorMain____ADSj .monitorMainLeft___dVsT8 .sb_xxzs___rNKFo .deviceInfo___Wv487 .devItem_bottom___Bgiec .overflow___bgGMz {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.monitor___uXvF3 .monitorMain____ADSj .monitorMainRight___gNcLH .sb_xxzs___rNKFo .deviceInfo___Wv487 .devItem_bottom___Bgiec .devItem_bl___Ig6uy {
.monitor___uXvF3 .monitorMain____ADSj .monitorMainLeft___dVsT8 .sb_xxzs___rNKFo .deviceInfo___Wv487 .devItem_bottom___Bgiec .devItem_bl___Ig6uy {
display: flex;
flex-wrap: wrap;
align-content: space-between;
@ -384,13 +361,13 @@
background: rgba(115, 251, 194, 0.1);
border-radius: 2px;
}
.monitor___uXvF3 .monitorMain____ADSj .monitorMainRight___gNcLH .sb_xxzs___rNKFo .deviceInfo___Wv487 .devItem_bottom___Bgiec .devItem_bl___Ig6uy .devItem_info___y_bZe {
.monitor___uXvF3 .monitorMain____ADSj .monitorMainLeft___dVsT8 .sb_xxzs___rNKFo .deviceInfo___Wv487 .devItem_bottom___Bgiec .devItem_bl___Ig6uy .devItem_info___y_bZe {
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
}
.monitor___uXvF3 .monitorMain____ADSj .monitorMainRight___gNcLH .sb_xxzs___rNKFo .deviceInfo___Wv487 .devItem_bottom___Bgiec .devItem_br___T9MWO {
.monitor___uXvF3 .monitorMain____ADSj .monitorMainLeft___dVsT8 .sb_xxzs___rNKFo .deviceInfo___Wv487 .devItem_bottom___Bgiec .devItem_br___T9MWO {
position: relative;
display: flex;
align-items: center;
@ -400,13 +377,13 @@
background: rgba(115, 251, 194, 0.1);
border-radius: 2px;
}
.monitor___uXvF3 .monitorMain____ADSj .monitorMainRight___gNcLH .sb_xxzs___rNKFo .deviceInfo___Wv487 .devItem_bottom___Bgiec .devItem_br___T9MWO .br_title___AgxyL {
.monitor___uXvF3 .monitorMain____ADSj .monitorMainLeft___dVsT8 .sb_xxzs___rNKFo .deviceInfo___Wv487 .devItem_bottom___Bgiec .devItem_br___T9MWO .br_title___AgxyL {
position: absolute;
top: 1vh;
left: 1vh;
color: #ffbc00;
}
.monitor___uXvF3 .monitorMain____ADSj .monitorMainRight___gNcLH .jt_yyxq___zNnLZ {
.monitor___uXvF3 .monitorMain____ADSj .monitorMainLeft___dVsT8 .jt_yyxq___zNnLZ {
position: relative;
width: 100%;
height: 33vh;
@ -414,7 +391,7 @@
background-position: center;
background-size: 100% 100%;
}
.monitor___uXvF3 .monitorMain____ADSj .monitorMainRight___gNcLH .jt_yyxq___zNnLZ .table_columns___uVjDB {
.monitor___uXvF3 .monitorMain____ADSj .monitorMainLeft___dVsT8 .jt_yyxq___zNnLZ .table_columns___uVjDB {
width: 96%;
height: 5.6vh;
margin: 0 auto;
@ -425,7 +402,7 @@
background-size: 100% 100%;
border-radius: 2px;
}
.monitor___uXvF3 .monitorMain____ADSj .monitorMainRight___gNcLH .jt_yyxq___zNnLZ .table_columns___uVjDB .table_columns_warp___ycJOj {
.monitor___uXvF3 .monitorMain____ADSj .monitorMainLeft___dVsT8 .jt_yyxq___zNnLZ .table_columns___uVjDB .table_columns_warp___ycJOj {
display: flex;
align-items: center;
width: 100%;
@ -433,18 +410,18 @@
background: rgba(115, 251, 194, 0.1);
border-radius: 2px;
}
.monitor___uXvF3 .monitorMain____ADSj .monitorMainRight___gNcLH .jt_yyxq___zNnLZ .table_columns___uVjDB .columns_data___x7ReN,
.monitor___uXvF3 .monitorMain____ADSj .monitorMainRight___gNcLH .jt_yyxq___zNnLZ .table_columns___uVjDB .columns_data_time___QLY1H {
.monitor___uXvF3 .monitorMain____ADSj .monitorMainLeft___dVsT8 .jt_yyxq___zNnLZ .table_columns___uVjDB .columns_data___x7ReN,
.monitor___uXvF3 .monitorMain____ADSj .monitorMainLeft___dVsT8 .jt_yyxq___zNnLZ .table_columns___uVjDB .columns_data_time___QLY1H {
width: 10%;
color: #03fef8;
font-weight: 600;
font-size: 1.4vh;
text-align: center;
}
.monitor___uXvF3 .monitorMain____ADSj .monitorMainRight___gNcLH .jt_yyxq___zNnLZ .table_columns___uVjDB .columns_data_time___QLY1H {
.monitor___uXvF3 .monitorMain____ADSj .monitorMainLeft___dVsT8 .jt_yyxq___zNnLZ .table_columns___uVjDB .columns_data_time___QLY1H {
width: 20%;
}
.monitor___uXvF3 .monitorMain____ADSj .monitorMainRight___gNcLH .jt_yyxq___zNnLZ .table_data_content___ULISM {
.monitor___uXvF3 .monitorMain____ADSj .monitorMainLeft___dVsT8 .jt_yyxq___zNnLZ .table_data_content___ULISM {
position: relative;
width: 96%;
height: 19vh;
@ -453,7 +430,7 @@
overflow-y: auto;
font-size: 1.4vh;
}
.monitor___uXvF3 .monitorMain____ADSj .monitorMainRight___gNcLH .jt_yyxq___zNnLZ .table_data_content___ULISM .table_data___sp_hy {
.monitor___uXvF3 .monitorMain____ADSj .monitorMainLeft___dVsT8 .jt_yyxq___zNnLZ .table_data_content___ULISM .table_data___sp_hy {
display: flex;
align-items: center;
height: 5.6vh;
@ -463,15 +440,34 @@
background: linear-gradient(307deg, rgba(56, 109, 99, 0.1) 0%, rgba(26, 59, 46, 0.4) 100%);
border-radius: 2px;
}
.monitor___uXvF3 .monitorMain____ADSj .monitorMainRight___gNcLH .jt_yyxq___zNnLZ .table_data_content___ULISM .table_data___sp_hy:last-child {
.monitor___uXvF3 .monitorMain____ADSj .monitorMainLeft___dVsT8 .jt_yyxq___zNnLZ .table_data_content___ULISM .table_data___sp_hy:last-child {
margin-bottom: 0;
}
.monitor___uXvF3 .monitorMain____ADSj .monitorMainRight___gNcLH .jt_yyxq___zNnLZ .table_data_content___ULISM .table_data___sp_hy .data_item___SYTrx {
.monitor___uXvF3 .monitorMain____ADSj .monitorMainLeft___dVsT8 .jt_yyxq___zNnLZ .table_data_content___ULISM .table_data___sp_hy .data_item___SYTrx {
width: 10%;
}
.monitor___uXvF3 .monitorMain____ADSj .monitorMainRight___gNcLH .jt_yyxq___zNnLZ .table_data_content___ULISM .table_data___sp_hy .data_item_time___f72r3 {
.monitor___uXvF3 .monitorMain____ADSj .monitorMainLeft___dVsT8 .jt_yyxq___zNnLZ .table_data_content___ULISM .table_data___sp_hy .data_item_time___f72r3 {
width: 20%;
}
.monitor___uXvF3 .monitorMain____ADSj .show_more___Tw4fa {
position: absolute;
top: 2.2vh;
right: 1.3vw;
color: #6AD0FD;
font-size: 1.4vh;
cursor: pointer;
}
.monitor___uXvF3 .monitorMain____ADSj .monitorMainRight___gNcLH {
display: flex;
flex-wrap: wrap;
align-content: space-between;
width: 69vw;
height: 85vh;
}
.monitor___uXvF3 .monitorMain____ADSj .monitorMainRight___gNcLH .show_more___Tw4fa {
top: 2.5vh;
right: 2vw;
}
.monitor___uXvF3 .nodata___iXmTJ {
position: absolute;
top: 50%;

@ -450,7 +450,7 @@ var Navigation = function Navigation(_ref) {
})
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z.Item, {
name: ""
// valuePropName="fileList"
,
@ -467,7 +467,7 @@ var Navigation = function Navigation(_ref) {
}
// rules={[{ required: true, message: '请选择月刊文章' }]}
,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
type: "primary",
onClick: function onClick() {
getdata();
@ -475,7 +475,27 @@ var Navigation = function Navigation(_ref) {
setwzopen(true);
},
children: "\u6DFB\u52A0"
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
style: {
marginLeft: 10
},
type: "primary",
onClick: function onClick() {
var _selectlistok$map;
if (!attachId) {
message/* default */.ZP.info('请选择封面图');
return;
}
if ((selectlistok === null || selectlistok === void 0 ? void 0 : selectlistok.length) === 0) {
message/* default */.ZP.info('请选择文章');
return;
}
_umi_production_exports.history.push("/magazinever/monthlyadmins/".concat(params.id || 0, "/prview?cover_image_id=").concat(attachId, "&article_ids=").concat(selectlistok === null || selectlistok === void 0 || (_selectlistok$map = selectlistok.map(function (item) {
return item === null || item === void 0 ? void 0 : item.id;
})) === null || _selectlistok$map === void 0 ? void 0 : _selectlistok$map.toString()));
},
children: "\u9884\u89C8"
})]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, {
dataSource: selectlistok,

@ -0,0 +1,763 @@
/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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.5@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.4.5@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Magazinejor/component/MonthlyDetailamins/prview/index.less?modules ***!
\************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.wrap___xERCh {
background: #B2BDF9;
border-radius: 4px;
padding: 40px;
width: 100%;
}
.wrap___xERCh .back_style____aiuT {
color: #999;
margin: 10px 0 15px 0;
cursor: pointer;
}
.wrap___xERCh .back_style____aiuT:hover {
color: #165DFF;
}
.wrap___xERCh .header___i3DWk {
background: #FFFFFF;
border-radius: 4px;
padding: 30px 30px 30px 30px;
}
.wrap___xERCh .header___i3DWk .header_form___kzjes .guize_select___Ac5Hb {
width: 96px;
height: 32px;
background: linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%), #F6F7F9;
box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
border-radius: 2px;
border: 1px solid #BACFFE;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 14px;
color: #3061D0;
line-height: 30px;
text-align: left;
font-style: normal;
text-align: center;
cursor: pointer;
margin-top: 4px;
}
.wrap___xERCh .header___i3DWk .header_form___kzjes .guize_update___Kfm9g {
width: 48px;
height: 22px;
background: #3061D0;
box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
border-radius: 2px;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 12px;
color: #FFFFFF;
line-height: 22px;
text-align: left;
font-style: normal;
cursor: pointer;
text-align: center;
margin-top: 9px;
}
.wrap___xERCh .header___i3DWk .header_form___kzjes .shangchuan_button___oMSQz {
width: 146px;
height: 32px;
background: linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%), #F6F7F9;
box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
border-radius: 2px;
border: 1px solid #BACFFE;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 14px;
color: #3061D0;
line-height: 32px;
text-align: left;
font-style: normal;
text-align: center;
cursor: pointer;
margin-top: 4px;
}
.wrap___xERCh .header___i3DWk .header_form___kzjes .shangchuan_img___k5hkk {
width: 300px;
height: 156px;
background: #F5F5F5;
border-radius: 1px;
position: relative;
margin-top: 20px;
}
.wrap___xERCh .header___i3DWk .header_form___kzjes .shangchuan_close___vD0eu {
position: absolute;
top: 5px;
right: 10px;
color: #FF5555;
cursor: pointer;
}
.wrap___xERCh .header___i3DWk .header_form___kzjes [class~='ant-form-item'] [class~='ant-form-item-label'] {
text-align: right !important;
}
.wrap___xERCh .header___i3DWk .header_form___kzjes [class~='ant-form-item'] [class~='ant-form-item-label'] label {
color: #666 !important;
display: block !important;
line-height: 32px !important;
padding-right: 5px !important;
}
.wrap___xERCh .header___i3DWk .header_form___kzjes [class~='ant-upload'] {
margin-top: 5px !important;
}
.wrap___xERCh .header___i3DWk .close_button___Lf6fY {
width: 64px;
height: 32px;
background: #F8F9FC;
border-radius: 2px;
border: 1px solid #C3CFE0;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 14px;
color: #464F66;
line-height: 32px;
text-align: left;
font-style: normal;
cursor: pointer;
text-align: center;
margin-left: auto;
}
.wrap___xERCh .header___i3DWk .submit_button___PGv1y {
width: 64px;
height: 32px;
background: #3061D0;
box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
border-radius: 2px;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 14px;
color: #FFFFFF;
line-height: 32px;
text-align: left;
font-style: normal;
cursor: pointer;
text-align: center;
margin-left: 20px;
}
.add_button___gztNy {
width: 116px;
height: 32px;
background: #3061D0;
box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
border-radius: 2px;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 14px;
color: #FFFFFF;
line-height: 32px;
font-style: normal;
text-align: center;
cursor: pointer;
position: absolute;
top: 5px;
right: 0;
}
.root___Ee3Fc {
background: linear-gradient(180deg, #0B2D73 0%, #5463C5 100%);
height: 100vh;
overflow: auto;
}
.reportContent___c_Suo {
margin: 40px 30px 0 30px;
background-repeat: round;
background: 100% auto;
min-height: 90vh;
background: linear-gradient(180deg, #224392 0%, #5263C6 100%);
box-shadow: 0px 2px 4px 0px #435FCC;
border-radius: 8px;
border: 1px solid;
border-image: linear-gradient(135deg, #4363dd, rgba(44, 44, 166, 0.66)) 1 1;
padding: 30px;
}
.addbutton___PN8yO {
width: 118px;
height: 32px;
background: linear-gradient(90deg, #4A6FFE 0%, #374DCF 100%);
border-radius: 2px;
text-align: center;
color: #FFFFFF;
line-height: 32px;
cursor: pointer;
}
.imagename___bKckG {
font-weight: 600;
font-size: 24px;
color: #20232B;
display: flex;
align-items: center;
}
.hoverimg___hG4vD .bottom___H3wBr {
display: none;
width: 100%;
cursor: pointer;
}
.hoverimg___hG4vD:hover .bottom___H3wBr {
cursor: pointer;
width: 100%;
position: absolute;
bottom: 0px;
background: linear-gradient(180deg, #4140CA 0%, #475BBA 100%);
left: 0px;
height: 60px;
line-height: 60px;
display: flex;
justify-content: center;
color: #FFFFFF;
}
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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.5@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.4.5@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/HeaderNav/index.less?modules ***!
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.nav_bg___pTE1T {
height: 45px;
width: 100%;
display: flex;
justify-content: space-between;
background: #163B88;
position: relative;
}
.nav_bg___pTE1T .nav_left___tT9dm {
height: 45px;
width: 30vw;
display: flex;
align-items: center;
margin-left: 1.5vw;
}
.nav_bg___pTE1T .nav_time___ZYsoD {
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 12px;
color: #FFFFFF;
text-align: left;
font-style: normal;
}
.nav_bg___pTE1T .nav_title___VcKTB {
height: 60px;
width: 460px;
position: absolute;
top: 0;
left: 50%;
right: 50%;
transform: translateX(-50%);
}
.nav_bg___pTE1T .nav_right___GdTJz {
height: 45px;
width: 30vw;
display: flex;
align-items: center;
justify-content: flex-end;
margin-right: 1.5vw;
}
.nav_bg___pTE1T .nav_right___GdTJz img {
cursor: pointer;
}
.nav_bg___pTE1T .nav_right___GdTJz .user_info___pLgXu {
display: flex;
align-items: center;
cursor: pointer;
}
.nav_bg___pTE1T .nav_right___GdTJz .user_info___pLgXu .user_name___El8Wz {
font-family: PingFangSC, PingFang SC;
font-weight: 500;
font-size: 1.6vh;
color: #FFFFFF;
font-style: normal;
margin: 0 1vh;
}
.nav_bg___pTE1T .message_warp___f0kKB {
position: relative;
cursor: pointer;
margin-left: 2vh;
}
.nav_bg___pTE1T .message_warp___f0kKB .new_message___s9oui {
position: absolute;
top: 0.4vh;
right: 0vh;
width: 6px;
height: 6px;
border-radius: 50%;
background: red;
}
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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.5@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.4.5@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/AuthModal/index.less?modules ***!
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.tilte___IfiMG {
color: #333333;
font-size: 16px;
text-align: center;
}
.flexRow___pQP78 {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
margin-top: 30px;
}
.flexColumn___xrBZQ {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.footerWrap___C5kCC {
display: flex;
justify-content: space-between;
}
.img___GoWZu {
width: 40px;
height: 37px;
vertical-align: middle;
border-style: none;
}
.content___pumTK {
font-size: 14px;
color: #979797;
margin-top: 15px;
}
.modalContent___XvHiZ {
text-align: center;
margin-top: 10px;
color: #333333;
font-size: 16px;
}
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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.5@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.4.5@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/Header/components/Join/index.less?modules ***!
\****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___cltIf {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___fKr_O {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center____QfiA {
align-items: center;
box-align: center;
}
.flex_box_center_end___ysqmH {
justify-content: flex-end;
align-items: center;
-webkit-justify-content: flex-end;
-webkit-align-items: center;
-webkit-box-align: center;
-webkit-box-pack: end;
box-align: center;
box-pack: end;
}
.flex_box_column___CfE8K {
flex-direction: column;
box-orient: block-axis;
}
button {
margin: 0;
padding: 0;
border: 1px solid transparent;
outline: none;
background-color: transparent;
}
button:active {
opacity: 0.6;
}
.flex-col___q69Kn {
display: flex;
flex-direction: column;
}
.flex-row___HYZQR {
display: flex;
flex-direction: row;
}
.justify-start___hl1ma {
display: flex;
justify-content: flex-start;
}
.justify-center___DYm_O {
display: flex;
justify-content: center;
}
.justify-end___qddUn {
display: flex;
justify-content: flex-end;
}
.justify-evenly___uhKut {
display: flex;
justify-content: space-evenly;
}
.justify-around___lWRCW {
display: flex;
justify-content: space-around;
}
.justify-between___Fizuh {
display: flex;
justify-content: space-between;
}
.align-start___HDyjH {
display: flex;
align-items: flex-start;
}
.align-center___Z1RIH {
display: flex;
align-items: center;
}
.align-end___TqRle {
display: flex;
align-items: flex-end;
}
button {
margin: 0;
padding: 0;
border: 1px solid transparent;
outline: none;
background-color: transparent;
}
button:active {
opacity: 0.6;
}
.flex-col___q69Kn {
display: flex;
flex-direction: column;
}
.flex-row___HYZQR {
display: flex;
flex-direction: row;
}
.justify-start___hl1ma {
display: flex;
justify-content: flex-start;
}
.justify-center___DYm_O {
display: flex;
justify-content: center;
}
.justify-end___qddUn {
display: flex;
justify-content: flex-end;
}
.justify-evenly___uhKut {
display: flex;
justify-content: space-evenly;
}
.justify-around___lWRCW {
display: flex;
justify-content: space-around;
}
.justify-between___Fizuh {
display: flex;
justify-content: space-between;
}
.align-start___HDyjH {
display: flex;
align-items: flex-start;
}
.align-center___Z1RIH {
display: flex;
align-items: center;
}
.align-end___TqRle {
display: flex;
align-items: flex-end;
}
.rightMenu___ADTOX {
width: 120px;
text-align: center;
}
.rightMenu___ADTOX li {
padding: 0 15px;
height: 35px;
line-height: 35px;
background: none !important;
}
.rightMenu___ADTOX li:hover {
background: #0152d9 !important;
}
.rightMenu___ADTOX li:hover a {
color: white !important;
}
.rightMenu___ADTOX li a {
font-size: 14px;
margin: 0;
padding: 0;
}
.joinMenu___aRGsf {
padding: 0 0;
width: 240px;
}
.joinMenu___aRGsf a {
color: #323232;
}
.joinBoard___AeUvr {
border: 1px solid #eee;
width: 1px;
height: 100%;
}
.joinCol___fV4uL {
width: 48%;
}
.hidden___TkCJZ {
display: none;
}
.w140___Vx5lp {
width: 140px !important;
}
.w100___yYRaC {
width: 90%;
}
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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.5@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.4.5@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/Header/components/User/index.less?modules ***!
\****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___YbxYn {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___Atwkg {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center____I6AC {
align-items: center;
box-align: center;
}
.flex_box_center_end___LrYPg {
justify-content: flex-end;
align-items: center;
-webkit-justify-content: flex-end;
-webkit-align-items: center;
-webkit-box-align: center;
-webkit-box-pack: end;
box-align: center;
box-pack: end;
}
.flex_box_column___j7QNF {
flex-direction: column;
box-orient: block-axis;
}
button {
margin: 0;
padding: 0;
border: 1px solid transparent;
outline: none;
background-color: transparent;
}
button:active {
opacity: 0.6;
}
.flex-col___FjWL1 {
display: flex;
flex-direction: column;
}
.flex-row___VfJkb {
display: flex;
flex-direction: row;
}
.justify-start___kCHdk {
display: flex;
justify-content: flex-start;
}
.justify-center___lxZ9q {
display: flex;
justify-content: center;
}
.justify-end___bVseE {
display: flex;
justify-content: flex-end;
}
.justify-evenly___tH11C {
display: flex;
justify-content: space-evenly;
}
.justify-around___RNnQY {
display: flex;
justify-content: space-around;
}
.justify-between___HFF9Q {
display: flex;
justify-content: space-between;
}
.align-start___C1sHu {
display: flex;
align-items: flex-start;
}
.align-center___Ow7vB {
display: flex;
align-items: center;
}
.align-end___dpCs7 {
display: flex;
align-items: flex-end;
}
button {
margin: 0;
padding: 0;
border: 1px solid transparent;
outline: none;
background-color: transparent;
}
button:active {
opacity: 0.6;
}
.flex-col___FjWL1 {
display: flex;
flex-direction: column;
}
.flex-row___VfJkb {
display: flex;
flex-direction: row;
}
.justify-start___kCHdk {
display: flex;
justify-content: flex-start;
}
.justify-center___lxZ9q {
display: flex;
justify-content: center;
}
.justify-end___bVseE {
display: flex;
justify-content: flex-end;
}
.justify-evenly___tH11C {
display: flex;
justify-content: space-evenly;
}
.justify-around___RNnQY {
display: flex;
justify-content: space-around;
}
.justify-between___HFF9Q {
display: flex;
justify-content: space-between;
}
.align-start___C1sHu {
display: flex;
align-items: flex-start;
}
.align-center___Ow7vB {
display: flex;
align-items: center;
}
.align-end___dpCs7 {
display: flex;
align-items: flex-end;
}
.userPic___a46Uz {
width: 34px;
height: 34px;
border-radius: 34px;
cursor: pointer;
}
.rightMenu___y_nqk {
text-align: center;
}
.rightMenu___y_nqk li {
padding: 0;
}
.rightMenu___y_nqk li:hover {
background: #0152d9;
}
.rightMenu___y_nqk li:hover a {
color: white;
}
.rightMenu___y_nqk li a {
font-size: 14px;
margin: 0;
}
[id="educoder"] .menuWrap___iwlZB {
padding-left: 0;
padding-right: 0;
border-radius: 2px;
}
[id="educoder"] .menuWrap___iwlZB li {
height: 35px;
padding: 0 !important;
}
[id="educoder"] .menuWrap___iwlZB li [class~='ant-dropdown-menu-title-content'] {
flex: none !important;
}
[id="educoder"] .menuWrap___iwlZB li a {
margin: 0px;
color: #323232;
text-align: left;
padding: 0px 15px;
line-height: 35px;
}
.exit___MOREW {
border-top: 1px solid #eeeeee;
}
.classromediv___crYsO {
width: 60px;
height: 50px;
display: flex;
align-items: center;
border-radius: 50px;
cursor: pointer;
animation: glow___jMGk7 200ms ease-out infinite alternate;
}
@keyframes glow___jMGk7 {
0% {
border-color: #00fff9;
text-align: center;
box-shadow: 0 0 5px rgba(0, 255, 249, 0.2);
}
100% {
border-color: #00fff9;
text-align: center;
box-shadow: 0 0 8px rgba(0, 255, 249, 0.6);
}
}
.height67___asp2E {
height: 40px;
}
.login___WGEW9 {
width: 90px;
height: 32px;
line-height: 32px;
text-align: center;
background: linear-gradient(135deg, #6c7bfd 0%, #3a45fa 100%);
border-radius: 2px;
cursor: pointer;
font-size: 14px;
color: #ffffff;
}
.login___WGEW9 > span {
padding: 0 !important;
}
.icon___HABAt {
font-size: 12px;
display: inline-block;
transform: translateY(3px) scale(0.6);
color: #979797;
}
.new_style___VRLKt {
width: 3vh;
height: 3vh;
margin: 0 1.5vh 0 2vh;
}
.zzxy_user___LLqzL {
display: flex;
align-items: center;
cursor: pointer;
}
.zzxy_user___LLqzL span {
color: #fff;
font-size: 12px;
}
.zzxy_user___LLqzL .icon_img___WwVKf {
margin-left: 1.5vh;
height: 7px;
}
.new_style_header___V65v3 {
display: flex;
align-items: center;
height: 45px;
}
.height6_vh___T2Kph {
height: 45px;
}

@ -0,0 +1,565 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[26952],{
/***/ 94178:
/*!*****************************************************************************************!*\
!*** ./src/pages/Magazinejor/component/MonthlyDetailamins/prview/index.tsx + 3 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 */ prview; }
});
// 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: ./src/.umi-production/exports.ts
var _umi_production_exports = __webpack_require__(5841);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/date-picker/index.js + 12 modules
var date_picker = __webpack_require__(47119);
;// CONCATENATED MODULE: ./src/pages/Magazinejor/component/MonthlyDetailamins/prview/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var prviewmodules = ({"wrap":"wrap___xERCh","back_style":"back_style____aiuT","header":"header___i3DWk","header_form":"header_form___kzjes","guize_select":"guize_select___Ac5Hb","guize_update":"guize_update___Kfm9g","shangchuan_button":"shangchuan_button___oMSQz","shangchuan_img":"shangchuan_img___k5hkk","shangchuan_close":"shangchuan_close___vD0eu","close_button":"close_button___Lf6fY","submit_button":"submit_button___PGv1y","add_button":"add_button___gztNy","root":"root___Ee3Fc","reportContent":"reportContent___c_Suo","addbutton":"addbutton___PN8yO","imagename":"imagename___bKckG","hoverimg":"hoverimg___hG4vD","bottom":"bottom___H3wBr"});
// EXTERNAL MODULE: ./src/components/HeaderNav/index.tsx + 4 modules
var HeaderNav = __webpack_require__(21458);
// EXTERNAL MODULE: ./src/pages/Magazinejor/img/logo.png
var logo = __webpack_require__(4847);
// EXTERNAL MODULE: ./src/utils/fetch.ts
var fetch = __webpack_require__(43391);
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/toConsumableArray.js
var toConsumableArray = __webpack_require__(37205);
var toConsumableArray_default = /*#__PURE__*/__webpack_require__.n(toConsumableArray);
// EXTERNAL MODULE: ./node_modules/_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/modal/index.js + 16 modules
var modal = __webpack_require__(43418);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/upload/index.js
var upload = __webpack_require__(60028);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/button/index.js
var es_button = __webpack_require__(3113);
// EXTERNAL MODULE: ./node_modules/_react-beautiful-dnd@13.0.0@react-beautiful-dnd/dist/react-beautiful-dnd.esm.js + 27 modules
var react_beautiful_dnd_esm = __webpack_require__(78113);
// EXTERNAL MODULE: ./src/utils/env.ts + 1 modules
var env = __webpack_require__(43873);
;// CONCATENATED MODULE: ./src/pages/Magazinejor/component/MonthlyDetailamins/prview/img/titleimg.png
var titleimg_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAgCAYAAABU1PscAAAAAXNSR0IArs4c6QAAAoVJREFUWEfVmM9rU0EQxz+T0GeKImhRpHiS4qGIN8Fje1IkiXjoqX+BBS9exYoRr17Eeq1gezCHSqFWUZMiFAoiPVQq/kAFa5QIiq0xadL3RjY2IdG0TTYqbq7Zz+x8d+fNzI7Q5G/gqXrFLP1BiLgqvSjdInQbXJUMQkaExVDApLeXdPKQFGtND1xQ78tr+v2AONArSrfykxfIqJABFsMhJncdIJ28WM9v5KZs5f9AWvcVlGGFQWDnVuvX/18WGIsIidwNKBQZRhhUbY4XYRllLOKRuDMqHzfbc0MBZ17qtjfvOAecBbY36Xh1mfqwNk+xtADq47XKl29GyIlyxevi8vRVWW1ko6GA8qnDhCpHbTbWPBTuQ5C1oRswwlxnB6ca3cZvAuKP9HDgM4Wy32b74DMU7oHmbOhNGGEpDCcejMlC7ao6Aebk8/DY1nlz8vnbf8H5isfCUmcHR2pvoirAxPzbJWasw8aHwtQfDJuN085cZDd9lW+iKiCa0gRw3vbiS0+gOG9Lt8aF4NLDcRleT8FQDh3llU22KdcBEzq3QEutOWK72mSnSAc9JpTKNxBL6YjCaVuDxVkoPbOl7TiB66lxGRJTYfNZPrVQpOp3DOD7TdC6umvnVCuUKXZdPeyRkyk95sPdVuDatf57KEzb0u1x4TDHJTaj1zRgyNbU6iys/ePwqfoqjEg0rWmUPlsBJnX6H2zpNjlhRqIpfQ4ctDWVT0Lw1ZZujxN4IbG0rqiyw9ZUbhRYs6Xb5r65LUBYcT+EnP+InU+jzhcy51sJ55s5I8D5dtqIcPpBYwQ4/6SshpKrj/pKV+L0WKUiwunBVkWE06PF2ibX2eHur536/zpe/wE1T7TGqaTs3QAAAABJRU5ErkJggg==";
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.6.1@@ant-design/icons/es/icons/CloseCircleFilled.js + 1 modules
var CloseCircleFilled = __webpack_require__(19248);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
var jsx_runtime = __webpack_require__(37712);
;// CONCATENATED MODULE: ./src/pages/Magazinejor/component/MonthlyDetailamins/prview/imgaelist.tsx
var DragQuestions = function DragQuestions(_ref) {
var data = _ref.data,
datalist = _ref.datalist,
setdatalist = _ref.setdatalist,
index = _ref.index;
var _useState = (0,_react_17_0_2_react.useState)([]),
_useState2 = slicedToArray_default()(_useState, 2),
list = _useState2[0],
setList = _useState2[1];
var _useState3 = (0,_react_17_0_2_react.useState)(),
_useState4 = slicedToArray_default()(_useState3, 2),
selectindex = _useState4[0],
setselectindex = _useState4[1];
var _useState5 = (0,_react_17_0_2_react.useState)(false),
_useState6 = slicedToArray_default()(_useState5, 2),
upimg = _useState6[0],
setupimg = _useState6[1];
var _Form$useForm = es_form/* default */.Z.useForm(),
_Form$useForm2 = slicedToArray_default()(_Form$useForm, 1),
myForm = _Form$useForm2[0];
var _useState7 = (0,_react_17_0_2_react.useState)(undefined),
_useState8 = slicedToArray_default()(_useState7, 2),
attachId = _useState8[0],
setattachId = _useState8[1];
var _useState9 = (0,_react_17_0_2_react.useState)(false),
_useState10 = slicedToArray_default()(_useState9, 2),
imgLoading = _useState10[0],
setImgLoading = _useState10[1];
//过滤函数
var reorder = function reorder(list, startIndex, endIndex) {
var result = Array.from(list);
var _result$splice = result.splice(startIndex, 1),
_result$splice2 = slicedToArray_default()(_result$splice, 1),
removed = _result$splice2[0];
result.splice(endIndex, 0, removed);
return result;
};
(0,_react_17_0_2_react.useEffect)(function () {
var _data$images;
console.log('---', 111);
if ((data === null || data === void 0 || (_data$images = data.images) === null || _data$images === void 0 ? void 0 : _data$images.length) > 0) {
setList(toConsumableArray_default()(data === null || data === void 0 ? void 0 : data.images) || []);
}
}, [data]);
var handleDragEnd = /*#__PURE__*/function () {
var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(result, list) {
var items;
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
if (result.destination) {
_context.next = 2;
break;
}
return _context.abrupt("return");
case 2:
items = reorder(list, result.source.index, result.destination.index);
datalist[index].images = items;
setdatalist(toConsumableArray_default()(datalist));
setList(items);
// if (res.status === 0) {
// getdata({ id: list?.[result.source.index].question_id });
// }
case 6:
case "end":
return _context.stop();
}
}, _callee);
}));
return function handleDragEnd(_x, _x2) {
return _ref2.apply(this, arguments);
};
}();
var handleChange = function handleChange(info) {
if (info.file.status === 'uploading') {
setImgLoading(true);
return;
}
if (info.file.status === 'done') {
var _info$file, _info$file3;
setImgLoading(false);
if (info.file.status === 'done' && ((_info$file = info.file) === null || _info$file === void 0 || (_info$file = _info$file.response) === null || _info$file === void 0 ? void 0 : _info$file.status) === -1) {
var _info$file2;
message/* default */.ZP.error((_info$file2 = info.file) === null || _info$file2 === void 0 || (_info$file2 = _info$file2.response) === null || _info$file2 === void 0 ? void 0 : _info$file2.message);
return;
}
var items = {
is_new: true,
category: 'image',
url: "/api/attachments/" + (info === null || info === void 0 || (_info$file3 = info.file) === null || _info$file3 === void 0 || (_info$file3 = _info$file3.response) === null || _info$file3 === void 0 ? void 0 : _info$file3.id),
article_id: data === null || data === void 0 ? void 0 : data.article_id
};
// console.log('0----', [...list, items])
datalist[index].images = [].concat(toConsumableArray_default()(list), [items]);
setList([].concat(toConsumableArray_default()(list), [items]));
setdatalist(toConsumableArray_default()(datalist));
setupimg(false);
}
};
var renderImg = function renderImg() {
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
position: 'relative',
backgroundColor: '#f4f3f4',
display: 'flex',
alignItems: 'center',
justifyContent: 'center'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
src: env/* default */.Z.API_SERVER + "/api/attachments/" + attachId,
alt: "avatar",
style: {
width: 288
}
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
style: {
position: 'absolute',
right: '-6px',
top: '-6px',
cursor: 'pointer',
backgroundColor: '#fff',
width: '16px',
height: '16px',
borderRadius: '50%'
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)(CloseCircleFilled/* default */.Z, {
onClick: function onClick() {
return setattachId(undefined);
},
style: {
fontSize: '16px',
color: 'red'
}
})
})]
});
};
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
display: 'flex',
justifyContent: 'space-between'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: prviewmodules.imagename,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
style: {
width: 24,
height: 16,
marginRight: 20
},
src: titleimg_namespaceObject
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: data === null || data === void 0 ? void 0 : data.name
}), " "]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: prviewmodules.addbutton,
onClick: function onClick() {
setupimg(true);
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
onClick: function onClick() {},
className: "iconfont icon-danceng-shangchuanwenjian"
}), " \u4E0A\u4F20\u56FE\u7247"]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(react_beautiful_dnd_esm/* DragDropContext */.Z5, {
onDragEnd: function onDragEnd(result) {
return handleDragEnd(result, list);
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)(react_beautiful_dnd_esm/* Droppable */.bK, {
droppableId: "droppable",
direction: "horizontal",
children: function children(provided, snapshot) {
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", objectSpread2_default()(objectSpread2_default()({
ref: provided.innerRef
}, provided.droppableProps), {}, {
style: {
display: "flex",
// 设置水平布局
// padding: "8px",
overflow: "auto",
flexWrap: 'wrap',
gap: 20
}
// style={{ width: '100%', height: list?.length * 38 }}
,
children: [list.map(function (item, k) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(react_beautiful_dnd_esm/* Draggable */._l, {
draggableId: k.toString(),
index: k,
children: function children(provided, snapshot) {
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", objectSpread2_default()(objectSpread2_default()(objectSpread2_default()({
className: prviewmodules.hoverimg,
ref: provided.innerRef
}, provided.draggableProps), provided.dragHandleProps), {}, {
style: objectSpread2_default()({
margin: "8px",
backgroundColor: "#f4f4f4",
border: "1px solid #ddd",
borderRadius: "4px",
width: '23%',
position: 'relative'
}, provided.draggableProps.style),
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: prviewmodules.bottom,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
onClick: function onClick() {},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-chakan3"
}), " \u67E5\u770B"]
}), (item === null || item === void 0 ? void 0 : item.category) !== 'directory' && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
marginLeft: 20
},
onClick: function onClick() {
setselectindex(item);
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-shanchu13"
}), " \u5220\u9664"]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
onClick: function onClick() {
selectindex(item);
},
src: env/* default */.Z.IMG_SERVER + (item === null || item === void 0 ? void 0 : item.url),
style: {
height: 500,
objectFit: 'cover',
width: '100%'
}
})]
}));
}
}, k);
}), provided.placeholder]
}));
}
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, {
title: "\u4E0A\u4F20\u56FE\u7247",
className: "modalXazy",
open: upimg,
onCancel: function onCancel() {
setupimg(false);
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z, {
form: myForm,
className: prviewmodules.header_form,
labelCol: {
span: 3
},
wrapperCol: {
span: 21
},
onFinish: ( /*#__PURE__*/function () {
var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2(value) {
return regeneratorRuntime_default()().wrap(function _callee2$(_context2) {
while (1) switch (_context2.prev = _context2.next) {
case 0:
case "end":
return _context2.stop();
}
}, _callee2);
}));
return function (_x3) {
return _ref3.apply(this, arguments);
};
}()),
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
name: "cover_image_id"
// valuePropName="fileList"
,
label: "",
rules: [{
required: false,
message: ''
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(upload/* default */.Z, {
withCredentials: true,
name: "file",
showUploadList: false,
action: "".concat(env/* default */.Z.API_SERVER, "/api/attachments.json"),
onChange: handleChange,
accept: "image/*",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
loading: imgLoading,
icon: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-shangchuantupian2"
}),
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
marginLeft: "3px"
},
children: "\u4E0A\u4F20\u56FE\u7247"
})
})
})
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, {
title: "\u5220\u9664\u56FE\u7247",
className: "modalXazy",
open: selectindex,
onOk: function onOk() {
var items = list.filter(function (item) {
return (item === null || item === void 0 ? void 0 : item.url) !== (selectindex === null || selectindex === void 0 ? void 0 : selectindex.url);
});
datalist[index].images = items;
setList(toConsumableArray_default()(items));
setdatalist(toConsumableArray_default()(datalist));
},
onCancel: function onCancel() {
setselectindex('');
},
children: "\u5728\u8BE5\u5904\u5220\u9664\u5185\u5BB9\uFF0C\u5E76\u4E0D\u4F1A\u540C\u6B65\u5C06\u8BE5\u6587\u7AE0\u7684\u5185\u5BB9\u8FDB\u884C\u5220\u9664\uFF0C\u4EC5\u5728\u672C\u6708\u520A\u4E2D\u4E0D\u5C55\u793A\uFF0C\u786E\u5B9A\u662F\u5426\u5220\u9664\u8BE5\u5185\u5BB9\uFF0C \u5220\u9664\u540E\u65E0\u6CD5\u6062\u590D\u3002"
})]
});
};
/* harmony default export */ var imgaelist = (DragQuestions);
;// CONCATENATED MODULE: ./src/pages/Magazinejor/component/MonthlyDetailamins/prview/index.tsx
// import XazyHeader from '@/components/HeaderNav';
var RangePicker = date_picker["default"].RangePicker;
var Navigation = function Navigation(_ref) {
var loading = _ref.loading,
user = _ref.user,
dispatch = _ref.dispatch,
account = _ref.account,
classroomList = _ref.classroomList;
var params = (0,_umi_production_exports.useParams)();
var _useSearchParams = (0,_umi_production_exports.useSearchParams)(),
_useSearchParams2 = slicedToArray_default()(_useSearchParams, 1),
select = _useSearchParams2[0];
var _useState = (0,_react_17_0_2_react.useState)([]),
_useState2 = slicedToArray_default()(_useState, 2),
datalist = _useState2[0],
setdatalist = _useState2[1];
(0,_react_17_0_2_react.useEffect)(function () {
getdata();
}, []);
function getdata() {
return _getdata.apply(this, arguments);
}
function _getdata() {
_getdata = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() {
var _select$get;
var res;
return regeneratorRuntime_default()().wrap(function _callee2$(_context2) {
while (1) switch (_context2.prev = _context2.next) {
case 0:
_context2.next = 2;
return (0,fetch/* default */.ZP)("/api/monthly_magazines/preview.json", {
method: 'Post',
body: {
magazine_id: 1,
monthly_magazine_id: (params === null || params === void 0 ? void 0 : params.id) || '',
cover_image_id: select.get('cover_image_id'),
article_ids: (_select$get = select.get('article_ids')) === null || _select$get === void 0 ? void 0 : _select$get.split(',')
}
});
case 2:
res = _context2.sent;
if ((res === null || res === void 0 ? void 0 : res.status) === 0) {
setdatalist(res === null || res === void 0 ? void 0 : res.data);
}
case 4:
case "end":
return _context2.stop();
}
}, _callee2);
}));
return _getdata.apply(this, arguments);
}
(0,_react_17_0_2_react.useEffect)(function () {
console.log('---', datalist);
}, [datalist]);
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: prviewmodules.root,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(HeaderNav/* default */.Z, {
title: "\u5B9E\u9A8C\u5BA4\u7BA1\u7406",
goBackUrl: '/magazinever/monthlyadmins',
imgUrl: logo
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: prviewmodules.reportContent,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
display: 'flex',
alignItems: 'center',
justifyContent: 'space-between'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: prviewmodules.back_style,
style: {
color: '#fff'
},
onClick: function onClick() {
_umi_production_exports.history.push('/magazinever/monthlyadmins');
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-fanhui2 font12 mr5"
}), "\u8FD4\u56DE"]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
display: 'flex',
alignItems: 'center'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
color: 'red',
marginRight: 20
},
children: "\u8C03\u6574\u540E\u7684\u5185\u5BB9\u9700\u70B9\u51FB\u53F3\u4E0A\u89D2\u4FDD\u5B58\u6309\u94AE\u8FDB\u884C\u4FDD\u5B58"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: prviewmodules.addbutton,
onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() {
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
case "end":
return _context.stop();
}
}, _callee);
})),
children: "\u4FDD\u5B58"
})]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: prviewmodules.wrap,
style: {
marginTop: 10
},
children: datalist === null || datalist === void 0 ? void 0 : datalist.map(function (item, index) {
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(imgaelist, {
data: item,
index: index,
datalist: datalist,
setdatalist: setdatalist
})
});
})
})]
})]
});
};
/* harmony default export */ var prview = ((0,_umi_production_exports.connect)(function (_ref3) {
var loading = _ref3.loading,
user = _ref3.user,
engineeringNavigtion = _ref3.engineeringNavigtion,
dispatch = _ref3.dispatch,
account = _ref3.account,
classroomList = _ref3.classroomList;
return objectSpread2_default()(objectSpread2_default()({
loading: loading,
user: user
}, engineeringNavigtion), {}, {
dispatch: dispatch,
account: account,
classroomList: classroomList
});
})(Navigation));
/***/ })
}]);

@ -1102,9 +1102,9 @@ var PollDetail = function PollDetail(_ref) {
style: {
marginLeft: '40rem'
},
children: ["\u63D0\u95EE\u65F6\u95F4", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: ["\u53C2\u89C2\u65F6\u95F4", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: Detailmodules.text,
children: questionInfo !== null && questionInfo !== void 0 && questionInfo.created_at ? dayjs_min_default()(questionInfo === null || questionInfo === void 0 ? void 0 : questionInfo.created_at).format('YYYY-MM-DD HH:mm:ss') : '--'
children: questionInfo !== null && questionInfo !== void 0 && questionInfo.date ? dayjs_min_default()(questionInfo === null || questionInfo === void 0 ? void 0 : questionInfo.date).format('YYYY-MM-DD HH:mm:ss') : '--'
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
style: {

@ -584,10 +584,10 @@ var OfficialNotice = function OfficialNotice(_ref) {
className: Practicesmodules.one_time,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Practicesmodules.time_year,
children: dayjs_min_default()(item === null || item === void 0 ? void 0 : item.created_at).format('YYYY')
children: dayjs_min_default()(item === null || item === void 0 ? void 0 : item.date).format('YYYY')
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Practicesmodules.time_month,
children: dayjs_min_default()(item === null || item === void 0 ? void 0 : item.created_at).format('MM-DD')
children: dayjs_min_default()(item === null || item === void 0 ? void 0 : item.date).format('MM-DD')
})]
})]
}, index);

Binary file not shown.

Before

Width:  |  Height:  |  Size: 198 KiB

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