Auto Submit

dev_local_v9_test5
autosubmit 2 years ago
parent 7522d252b9
commit 81a047a12e

@ -3382,8 +3382,8 @@ ImmutableTable.Column = sugar_Column;
ImmutableTable.ColumnGroup = sugar_ColumnGroup;
ImmutableTable.Summary = FooterComponents;
/* harmony default export */ var es_Table = (ImmutableTable);
// EXTERNAL MODULE: ./node_modules/_rc-virtual-list@3.13.0@rc-virtual-list/es/index.js + 16 modules
var _rc_virtual_list_3_13_0_rc_virtual_list_es = __webpack_require__(35733);
// EXTERNAL MODULE: ./node_modules/_rc-virtual-list@3.14.0@rc-virtual-list/es/index.js + 16 modules
var _rc_virtual_list_3_14_0_rc_virtual_list_es = __webpack_require__(18982);
;// CONCATENATED MODULE: ./node_modules/_rc-table@7.33.4@rc-table/es/VirtualTable/context.js
var StaticContext = createContext(null);
@ -3794,7 +3794,7 @@ var Grid = /*#__PURE__*/_react_17_0_2_react.forwardRef(function (props, ref) {
var tblPrefixCls = "".concat(prefixCls, "-tbody");
var bodyContent;
if (flattenData.length) {
bodyContent = /*#__PURE__*/_react_17_0_2_react.createElement(_rc_virtual_list_3_13_0_rc_virtual_list_es/* default */.Z, {
bodyContent = /*#__PURE__*/_react_17_0_2_react.createElement(_rc_virtual_list_3_14_0_rc_virtual_list_es/* default */.Z, {
fullHeight: false,
ref: listRef,
className: _classnames_2_5_1_classnames_default()(tblPrefixCls, "".concat(tblPrefixCls, "-virtual")),

@ -1,16 +1,16 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[35733],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[18982],{
/***/ 35733:
/***/ 18982:
/*!***************************************************************************************!*\
!*** ./node_modules/_rc-virtual-list@3.13.0@rc-virtual-list/es/index.js + 16 modules ***!
!*** ./node_modules/_rc-virtual-list@3.14.0@rc-virtual-list/es/index.js + 16 modules ***!
\***************************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
Z: function() { return /* binding */ _rc_virtual_list_3_13_0_rc_virtual_list_es; }
Z: function() { return /* binding */ _rc_virtual_list_3_14_0_rc_virtual_list_es; }
});
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.24.5@@babel/runtime/helpers/esm/extends.js
@ -38,7 +38,7 @@ var useLayoutEffect = __webpack_require__(36241);
var _react_17_0_2_react = __webpack_require__(59301);
// EXTERNAL MODULE: ./node_modules/_react-dom@17.0.2@react-dom/index.js
var _react_dom_17_0_2_react_dom = __webpack_require__(4676);
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.13.0@rc-virtual-list/es/Filler.js
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.14.0@rc-virtual-list/es/Filler.js
@ -91,7 +91,7 @@ var Filler = /*#__PURE__*/_react_17_0_2_react.forwardRef(function (_ref, ref) {
});
Filler.displayName = 'Filler';
/* harmony default export */ var es_Filler = (Filler);
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.13.0@rc-virtual-list/es/Item.js
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.14.0@rc-virtual-list/es/Item.js
function Item(_ref) {
var children = _ref.children,
@ -103,7 +103,7 @@ function Item(_ref) {
ref: refFunc
});
}
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.13.0@rc-virtual-list/es/hooks/useChildren.js
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.14.0@rc-virtual-list/es/hooks/useChildren.js
function useChildren(list, startIndex, endIndex, scrollWidth, offsetX, setNodeRef, renderFunc, _ref) {
@ -125,7 +125,7 @@ function useChildren(list, startIndex, endIndex, scrollWidth, offsetX, setNodeRe
}, node);
});
}
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.13.0@rc-virtual-list/es/utils/algorithmUtil.js
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.14.0@rc-virtual-list/es/utils/algorithmUtil.js
/**
* Get index with specific start index one by one. e.g.
* min: 3, max: 9, start: 6
@ -206,7 +206,7 @@ function findListDiffIndex(originList, targetList, getKey) {
multiple: multiple
};
}
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.13.0@rc-virtual-list/es/hooks/useDiffItem.js
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.14.0@rc-virtual-list/es/hooks/useDiffItem.js
@ -231,11 +231,11 @@ function useDiffItem(data, getKey, onDiff) {
}
// EXTERNAL MODULE: ./node_modules/_rc-util@5.41.0@rc-util/es/raf.js
var raf = __webpack_require__(84462);
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.13.0@rc-virtual-list/es/utils/isFirefox.js
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.14.0@rc-virtual-list/es/utils/isFirefox.js
var isFF = (typeof navigator === "undefined" ? "undefined" : (0,esm_typeof/* default */.Z)(navigator)) === 'object' && /Firefox/i.test(navigator.userAgent);
/* harmony default export */ var isFirefox = (isFF);
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.13.0@rc-virtual-list/es/hooks/useOriginScroll.js
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.14.0@rc-virtual-list/es/hooks/useOriginScroll.js
/* harmony default export */ var useOriginScroll = (function (isScrollAtTop, isScrollAtBottom) {
// Do lock for a wheel when scrolling
@ -273,7 +273,7 @@ var isFF = (typeof navigator === "undefined" ? "undefined" : (0,esm_typeof/* def
return !lockRef.current && originScroll;
};
});
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.13.0@rc-virtual-list/es/hooks/useFrameWheel.js
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.14.0@rc-virtual-list/es/hooks/useFrameWheel.js
@ -359,7 +359,7 @@ onWheelDelta) {
}
return [onWheel, onFireFoxScroll];
}
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.13.0@rc-virtual-list/es/hooks/useGetSize.js
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.14.0@rc-virtual-list/es/hooks/useGetSize.js
@ -414,7 +414,7 @@ var findDOMNode = __webpack_require__(18876);
var classCallCheck = __webpack_require__(15744);
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.24.5@@babel/runtime/helpers/esm/createClass.js
var createClass = __webpack_require__(87469);
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.13.0@rc-virtual-list/es/utils/CacheMap.js
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.14.0@rc-virtual-list/es/utils/CacheMap.js
@ -443,7 +443,7 @@ var CacheMap = /*#__PURE__*/function () {
return CacheMap;
}();
/* harmony default export */ var utils_CacheMap = (CacheMap);
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.13.0@rc-virtual-list/es/hooks/useHeights.js
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.14.0@rc-virtual-list/es/hooks/useHeights.js
@ -510,7 +510,7 @@ function useHeights(getKey, onItemAdd, onItemRemove) {
}, []);
return [setInstanceRef, collectHeight, heightsRef.current, updatedMark];
}
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.13.0@rc-virtual-list/es/hooks/useMobileTouchMove.js
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.14.0@rc-virtual-list/es/hooks/useMobileTouchMove.js
var SMOOTH_PTG = 14 / 15;
@ -575,7 +575,7 @@ function useMobileTouchMove(inVirtual, listRef, callback) {
};
}, [inVirtual]);
}
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.13.0@rc-virtual-list/es/hooks/useScrollTo.js
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.14.0@rc-virtual-list/es/hooks/useScrollTo.js
@ -717,7 +717,7 @@ function useScrollTo(containerRef, data, heights, itemHeight, getKey, collectHei
}
};
}
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.13.0@rc-virtual-list/es/ScrollBar.js
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.14.0@rc-virtual-list/es/ScrollBar.js
@ -953,7 +953,7 @@ var ScrollBar = /*#__PURE__*/_react_17_0_2_react.forwardRef(function (props, ref
});
if (false) {}
/* harmony default export */ var es_ScrollBar = (ScrollBar);
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.13.0@rc-virtual-list/es/utils/scrollbarUtil.js
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.14.0@rc-virtual-list/es/utils/scrollbarUtil.js
var MIN_SIZE = 20;
function getSpinSize() {
var containerSize = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
@ -965,7 +965,7 @@ function getSpinSize() {
baseSize = Math.max(baseSize, MIN_SIZE);
return Math.floor(baseSize);
}
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.13.0@rc-virtual-list/es/List.js
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.14.0@rc-virtual-list/es/List.js
@ -1050,6 +1050,7 @@ function RawList(props, ref) {
var mergedData = data || EMPTY_DATA;
var componentRef = (0,_react_17_0_2_react.useRef)();
var fillerInnerRef = (0,_react_17_0_2_react.useRef)();
var containerRef = (0,_react_17_0_2_react.useRef)();
// =============================== Item Key ===============================
@ -1339,6 +1340,7 @@ function RawList(props, ref) {
}, syncScrollTop, delayHideScrollBar);
_react_17_0_2_react.useImperativeHandle(ref, function () {
return {
nativeElement: containerRef.current,
getScrollInfo: getVirtualScrollInfo,
scrollTo: function scrollTo(config) {
function isPosScroll(arg) {
@ -1400,6 +1402,7 @@ function RawList(props, ref) {
containerProps.dir = 'rtl';
}
return /*#__PURE__*/_react_17_0_2_react.createElement("div", (0,esm_extends/* default */.Z)({
ref: containerRef,
style: (0,objectSpread2/* default */.Z)((0,objectSpread2/* default */.Z)({}, style), {}, {
position: 'relative'
}),
@ -1455,9 +1458,9 @@ function RawList(props, ref) {
var List = /*#__PURE__*/_react_17_0_2_react.forwardRef(RawList);
List.displayName = 'List';
/* harmony default export */ var es_List = (List);
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.13.0@rc-virtual-list/es/index.js
;// CONCATENATED MODULE: ./node_modules/_rc-virtual-list@3.14.0@rc-virtual-list/es/index.js
/* harmony default export */ var _rc_virtual_list_3_13_0_rc_virtual_list_es = (es_List);
/* harmony default export */ var _rc_virtual_list_3_14_0_rc_virtual_list_es = (es_List);
/***/ })

@ -3540,8 +3540,8 @@ Option.isSelectOption = true;
var useMemo = __webpack_require__(5032);
// EXTERNAL MODULE: ./node_modules/_rc-util@5.41.0@rc-util/es/omit.js
var omit = __webpack_require__(83930);
// EXTERNAL MODULE: ./node_modules/_rc-virtual-list@3.13.0@rc-virtual-list/es/index.js + 16 modules
var _rc_virtual_list_3_13_0_rc_virtual_list_es = __webpack_require__(35733);
// EXTERNAL MODULE: ./node_modules/_rc-virtual-list@3.14.0@rc-virtual-list/es/index.js + 16 modules
var _rc_virtual_list_3_14_0_rc_virtual_list_es = __webpack_require__(18982);
;// CONCATENATED MODULE: ./node_modules/_rc-select@14.8.1@rc-select/es/SelectContext.js
@ -3833,7 +3833,7 @@ var OptionList = function OptionList(_, ref) {
width: 0,
overflow: 'hidden'
}
}), renderItem(activeIndex - 1), renderItem(activeIndex), renderItem(activeIndex + 1)), /*#__PURE__*/_react_17_0_2_react.createElement(_rc_virtual_list_3_13_0_rc_virtual_list_es/* default */.Z, {
}), renderItem(activeIndex - 1), renderItem(activeIndex), renderItem(activeIndex + 1)), /*#__PURE__*/_react_17_0_2_react.createElement(_rc_virtual_list_3_14_0_rc_virtual_list_es/* default */.Z, {
itemKey: "key",
ref: listRef,
data: memoFlattenOptions,

@ -1353,8 +1353,8 @@ var slicedToArray = __webpack_require__(88703);
var objectWithoutProperties = __webpack_require__(52167);
// EXTERNAL MODULE: ./node_modules/_rc-util@5.41.0@rc-util/es/hooks/useLayoutEffect.js
var useLayoutEffect = __webpack_require__(36241);
// EXTERNAL MODULE: ./node_modules/_rc-virtual-list@3.13.0@rc-virtual-list/es/index.js + 16 modules
var es = __webpack_require__(35733);
// EXTERNAL MODULE: ./node_modules/_rc-virtual-list@3.14.0@rc-virtual-list/es/index.js + 16 modules
var es = __webpack_require__(18982);
// EXTERNAL MODULE: ./node_modules/_rc-motion@2.9.1@rc-motion/es/index.js + 12 modules
var _rc_motion_2_9_1_rc_motion_es = __webpack_require__(19090);
// EXTERNAL MODULE: ./node_modules/_rc-tree@5.7.12@rc-tree/es/TreeNode.js + 1 modules

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

@ -757,8 +757,8 @@ var AchievementList = function AchievementList(_ref) {
/* harmony default export */ var LearningAnalysis_AchievementList = (AchievementList);
// EXTERNAL MODULE: ./node_modules/_lodash@4.17.21@lodash/lodash.js
var lodash = __webpack_require__(89392);
// EXTERNAL MODULE: ./node_modules/_rc-virtual-list@3.13.0@rc-virtual-list/es/index.js + 16 modules
var es = __webpack_require__(35733);
// EXTERNAL MODULE: ./node_modules/_rc-virtual-list@3.14.0@rc-virtual-list/es/index.js + 16 modules
var es = __webpack_require__(18982);
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Statistics/components/LearningAnalysis/index.tsx

@ -220,6 +220,7 @@ html {
background: linear-gradient(180deg, #002E96 0%, rgba(0, 19, 95, 0.97) 13%, rgba(2, 15, 67, 0.93) 81%, #002790 100%);
border: 2px solid #00458E;
padding: 0.5rem;
position: relative;
}
.box___mldyF .content___vGhln .sbzyzl_box___fuv1i .pjfz_style___ihV7i {
width: 50%;
@ -229,6 +230,7 @@ html {
background: linear-gradient(180deg, #002E96 0%, rgba(0, 19, 95, 0.97) 13%, rgba(2, 15, 67, 0.93) 81%, #002790 100%);
border: 2px solid #00458E;
padding: 0.5rem;
position: relative;
}
.box___mldyF .content___vGhln .sbzyzl_box___fuv1i .cpkjsyl_style___o9UIS {
width: 70%;

@ -274,7 +274,7 @@ var jsx_runtime = __webpack_require__(37712);
var Navigation = function Navigation(_ref) {
var _deviceData$category_4, _deviceData$category_5, _deviceData$category_6, _deviceData$category_7, _deviceData$use_statu, _deviceData$use_statu2, _deviceData$use_statu3, _deviceInfo$disk, _deviceInfo$memo;
var _deviceData$category_4, _deviceData$category_5, _deviceData$category_6, _deviceData$category_7, _deviceData$use_statu, _deviceData$use_statu2, _deviceData$use_statu3, _deviceInfo$cpu3, _deviceInfo$load3, _deviceInfo$disk, _deviceInfo$memo, _deviceInfo$memo2;
var loading = _ref.loading,
dispatch = _ref.dispatch;
var _useState = (0,_react_17_0_2_react.useState)({}),
@ -466,12 +466,12 @@ var Navigation = function Navigation(_ref) {
itemStyle: {
normal: {
color: function color(colors) {
var colorList = ['#08D4FE', '#1890FF', '#EE5D5D'];
var colorList = deviceData !== null && deviceData !== void 0 && deviceData.category_statistics ? ['#08D4FE', '#1890FF', '#EE5D5D'] : ['#1c2967'];
return colorList[colors.dataIndex];
}
}
},
data: [{
data: deviceData !== null && deviceData !== void 0 && deviceData.category_statistics ? [{
value: deviceData === null || deviceData === void 0 || (_deviceData$category_ = deviceData.category_statistics) === null || _deviceData$category_ === void 0 ? void 0 : _deviceData$category_.virtual,
name: '虚拟机'
}, {
@ -480,12 +480,15 @@ var Navigation = function Navigation(_ref) {
}, {
value: deviceData === null || deviceData === void 0 || (_deviceData$category_3 = deviceData.category_statistics) === null || _deviceData$category_3 === void 0 ? void 0 : _deviceData$category_3.scrapped,
name: '报废'
}] : [{
value: 0,
name: '总设备数'
}]
}]
};
};
var getOptionCPU = function getOptionCPU() {
var _deviceInfo$cpu, _deviceInfo$cpu2, _deviceInfo$cpu3, _deviceInfo$cpu4;
var _deviceInfo$cpu, _deviceInfo$cpu2;
return {
grid: {
//位置
@ -497,9 +500,9 @@ var Navigation = function Navigation(_ref) {
},
xAxis: {
type: 'category',
data: (deviceInfo === null || deviceInfo === void 0 || (_deviceInfo$cpu = deviceInfo.cpu) === null || _deviceInfo$cpu === void 0 || (_deviceInfo$cpu = _deviceInfo$cpu.time_stamps) === null || _deviceInfo$cpu === void 0 ? void 0 : _deviceInfo$cpu.length) > 0 ? deviceInfo === null || deviceInfo === void 0 || (_deviceInfo$cpu2 = deviceInfo.cpu) === null || _deviceInfo$cpu2 === void 0 || (_deviceInfo$cpu2 = _deviceInfo$cpu2.time_stamps) === null || _deviceInfo$cpu2 === void 0 ? void 0 : _deviceInfo$cpu2.map(function (item) {
data: deviceInfo === null || deviceInfo === void 0 || (_deviceInfo$cpu = deviceInfo.cpu) === null || _deviceInfo$cpu === void 0 || (_deviceInfo$cpu = _deviceInfo$cpu.time_stamps) === null || _deviceInfo$cpu === void 0 ? void 0 : _deviceInfo$cpu.map(function (item) {
return dayjs_min_default()(item).format('YYYY-MM-DD HH:mm:ss');
}) : ['00.00', '24.00'],
}),
boundaryGap: false,
axisLabel: {
//坐标轴刻度标签
@ -534,7 +537,7 @@ var Navigation = function Navigation(_ref) {
}
},
series: [{
data: (deviceInfo === null || deviceInfo === void 0 || (_deviceInfo$cpu3 = deviceInfo.cpu) === null || _deviceInfo$cpu3 === void 0 || (_deviceInfo$cpu3 = _deviceInfo$cpu3.values) === null || _deviceInfo$cpu3 === void 0 ? void 0 : _deviceInfo$cpu3.length) > 0 ? deviceInfo === null || deviceInfo === void 0 || (_deviceInfo$cpu4 = deviceInfo.cpu) === null || _deviceInfo$cpu4 === void 0 ? void 0 : _deviceInfo$cpu4.values : [0, 0],
data: deviceInfo === null || deviceInfo === void 0 || (_deviceInfo$cpu2 = deviceInfo.cpu) === null || _deviceInfo$cpu2 === void 0 ? void 0 : _deviceInfo$cpu2.values,
type: 'line',
smooth: true,
//是否平滑曲线
@ -552,7 +555,7 @@ var Navigation = function Navigation(_ref) {
};
};
var getOptionPJFZ = function getOptionPJFZ() {
var _deviceInfo$load, _deviceInfo$load2, _deviceInfo$load3, _deviceInfo$load4;
var _deviceInfo$load, _deviceInfo$load2;
return {
grid: {
//位置
@ -564,9 +567,9 @@ var Navigation = function Navigation(_ref) {
},
xAxis: {
type: 'category',
data: (deviceInfo === null || deviceInfo === void 0 || (_deviceInfo$load = deviceInfo.load) === null || _deviceInfo$load === void 0 || (_deviceInfo$load = _deviceInfo$load.time_stamps) === null || _deviceInfo$load === void 0 ? void 0 : _deviceInfo$load.length) > 0 ? deviceInfo === null || deviceInfo === void 0 || (_deviceInfo$load2 = deviceInfo.load) === null || _deviceInfo$load2 === void 0 || (_deviceInfo$load2 = _deviceInfo$load2.time_stamps) === null || _deviceInfo$load2 === void 0 ? void 0 : _deviceInfo$load2.map(function (item) {
data: deviceInfo === null || deviceInfo === void 0 || (_deviceInfo$load = deviceInfo.load) === null || _deviceInfo$load === void 0 || (_deviceInfo$load = _deviceInfo$load.time_stamps) === null || _deviceInfo$load === void 0 ? void 0 : _deviceInfo$load.map(function (item) {
return dayjs_min_default()(item).format('YYYY-MM-DD HH:mm:ss');
}) : ['00.00', '24.00'],
}),
boundaryGap: false,
axisLabel: {
//坐标轴刻度标签
@ -601,7 +604,7 @@ var Navigation = function Navigation(_ref) {
}
},
series: [{
data: (deviceInfo === null || deviceInfo === void 0 || (_deviceInfo$load3 = deviceInfo.load) === null || _deviceInfo$load3 === void 0 || (_deviceInfo$load3 = _deviceInfo$load3.values) === null || _deviceInfo$load3 === void 0 ? void 0 : _deviceInfo$load3.length) > 0 ? deviceInfo === null || deviceInfo === void 0 || (_deviceInfo$load4 = deviceInfo.load) === null || _deviceInfo$load4 === void 0 ? void 0 : _deviceInfo$load4.values : [0, 0],
data: deviceInfo === null || deviceInfo === void 0 || (_deviceInfo$load2 = deviceInfo.load) === null || _deviceInfo$load2 === void 0 ? void 0 : _deviceInfo$load2.values,
type: 'line',
smooth: true,
//是否平滑曲线
@ -714,7 +717,7 @@ var Navigation = function Navigation(_ref) {
color: '#FFFFFF',
fontWeight: "bold"
},
children: deviceData === null || deviceData === void 0 || (_deviceData$category_4 = deviceData.category_statistics) === null || _deviceData$category_4 === void 0 ? void 0 : _deviceData$category_4.total
children: (deviceData === null || deviceData === void 0 || (_deviceData$category_4 = deviceData.category_statistics) === null || _deviceData$category_4 === void 0 ? void 0 : _deviceData$category_4.total) || 0
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
@ -740,7 +743,7 @@ var Navigation = function Navigation(_ref) {
color: '#00E9F9',
fontWeight: "bold"
},
children: deviceData === null || deviceData === void 0 || (_deviceData$category_5 = deviceData.category_statistics) === null || _deviceData$category_5 === void 0 ? void 0 : _deviceData$category_5.virtual
children: (deviceData === null || deviceData === void 0 || (_deviceData$category_5 = deviceData.category_statistics) === null || _deviceData$category_5 === void 0 ? void 0 : _deviceData$category_5.virtual) || 0
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
@ -766,7 +769,7 @@ var Navigation = function Navigation(_ref) {
color: '#68B7FF',
fontWeight: "bold"
},
children: deviceData === null || deviceData === void 0 || (_deviceData$category_6 = deviceData.category_statistics) === null || _deviceData$category_6 === void 0 ? void 0 : _deviceData$category_6.physical
children: (deviceData === null || deviceData === void 0 || (_deviceData$category_6 = deviceData.category_statistics) === null || _deviceData$category_6 === void 0 ? void 0 : _deviceData$category_6.physical) || 0
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
@ -792,7 +795,7 @@ var Navigation = function Navigation(_ref) {
color: '#EE5D5D',
fontWeight: "bold"
},
children: deviceData === null || deviceData === void 0 || (_deviceData$category_7 = deviceData.category_statistics) === null || _deviceData$category_7 === void 0 ? void 0 : _deviceData$category_7.scrapped
children: (deviceData === null || deviceData === void 0 || (_deviceData$category_7 = deviceData.category_statistics) === null || _deviceData$category_7 === void 0 ? void 0 : _deviceData$category_7.scrapped) || 0
})]
})]
})]
@ -886,6 +889,9 @@ var Navigation = function Navigation(_ref) {
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Workingmodules.sbyctx_box,
style: {
alignContent: (messageList === null || messageList === void 0 ? void 0 : messageList.length) > 0 ? '' : 'center'
},
children: (messageList === null || messageList === void 0 ? void 0 : messageList.length) > 0 ? messageList === null || messageList === void 0 ? void 0 : messageList.map(function (item, index) {
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
@ -919,8 +925,7 @@ var Navigation = function Navigation(_ref) {
src: nodataimg_namespaceObject,
style: {
width: '15rem',
height: '10rem',
marginTop: "1rem"
height: '10rem'
}
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
style: {
@ -1067,6 +1072,9 @@ var Navigation = function Navigation(_ref) {
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Workingmodules.sys_list,
style: {
alignContent: (tableData === null || tableData === void 0 ? void 0 : tableData.length) > 0 ? '' : 'center'
},
children: (tableData === null || tableData === void 0 ? void 0 : tableData.length) > 0 ? tableData === null || tableData === void 0 ? void 0 : tableData.map(function (item, index) {
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Workingmodules.sys_item,
@ -1151,8 +1159,7 @@ var Navigation = function Navigation(_ref) {
src: nodataimg_namespaceObject,
style: {
width: '15rem',
height: '10rem',
marginTop: "1rem"
height: '10rem'
}
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
style: {
@ -1242,12 +1249,21 @@ var Navigation = function Navigation(_ref) {
color: "#E99237"
},
children: "cpu\u4F7F\u7528\u7387"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(lib/* default */.Z, {
}), (deviceInfo === null || deviceInfo === void 0 || (_deviceInfo$cpu3 = deviceInfo.cpu) === null || _deviceInfo$cpu3 === void 0 || (_deviceInfo$cpu3 = _deviceInfo$cpu3.time_stamps) === null || _deviceInfo$cpu3 === void 0 ? void 0 : _deviceInfo$cpu3.length) > 0 ? /*#__PURE__*/(0,jsx_runtime.jsx)(lib/* default */.Z, {
style: {
width: '100%',
height: '10vh'
},
option: getOptionCPU()
}) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
style: {
width: '96%',
height: '1px',
background: '#463E59',
position: 'absolute',
bottom: '1rem',
left: '2%'
}
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Workingmodules.pjfz_style,
@ -1257,12 +1273,21 @@ var Navigation = function Navigation(_ref) {
color: "#3061D0"
},
children: "\u5E73\u5747\u8D1F\u8F7D"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(lib/* default */.Z, {
}), (deviceInfo === null || deviceInfo === void 0 || (_deviceInfo$load3 = deviceInfo.load) === null || _deviceInfo$load3 === void 0 || (_deviceInfo$load3 = _deviceInfo$load3.time_stamps) === null || _deviceInfo$load3 === void 0 ? void 0 : _deviceInfo$load3.length) > 0 ? /*#__PURE__*/(0,jsx_runtime.jsx)(lib/* default */.Z, {
style: {
width: '100%',
height: '10vh'
},
option: getOptionPJFZ()
}) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
style: {
width: '96%',
height: '1px',
background: '#463E59',
position: 'absolute',
bottom: '1rem',
left: '2%'
}
})]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
@ -1344,7 +1369,7 @@ var Navigation = function Navigation(_ref) {
}), /*#__PURE__*/(0,jsx_runtime.jsx)(GaugeChart/* default */.Z, {
indexKey: 3,
value: deviceInfo === null || deviceInfo === void 0 || (_deviceInfo$memo = deviceInfo.memo) === null || _deviceInfo$memo === void 0 || (_deviceInfo$memo = _deviceInfo$memo.values) === null || _deviceInfo$memo === void 0 ? void 0 : _deviceInfo$memo[0],
colors: ['#2a55bb', '#DAE7EC'],
colors: ['#2a55bb', deviceInfo !== null && deviceInfo !== void 0 && (_deviceInfo$memo2 = deviceInfo.memo) !== null && _deviceInfo$memo2 !== void 0 && (_deviceInfo$memo2 = _deviceInfo$memo2.values) !== null && _deviceInfo$memo2 !== void 0 && _deviceInfo$memo2[0] ? '#DAE7EC' : '#1c2967'],
position: ['65%', '80%']
})]
})]

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