Auto Submit

dev_local_v9_test5
autosubmit 2 years ago
parent dbf1abcbf4
commit 5e95865ff0

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

@ -184,17 +184,13 @@ var ElectronBPManage = function ElectronBPManage(_ref) {
var countRef = (0,_react_17_0_2_react.useRef)(reason);
countRef.current = reason;
var statusVal = {
'running': {
'1': {
txt: '运行中',
color: '#20A639'
},
'unstart': {
'-1': {
txt: '已关机',
color: '#1D4057'
},
'abnormal': {
txt: '异常',
color: '#FF0000'
}
};
var _useState5 = (0,_react_17_0_2_react.useState)([]),
@ -309,12 +305,12 @@ var ElectronBPManage = function ElectronBPManage(_ref) {
var _statusVal$text, _statusVal$text2, _statusVal$text3;
return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
placement: "bottomLeft",
title: ((_statusVal$text = statusVal[text]) === null || _statusVal$text === void 0 ? void 0 : _statusVal$text.txt) || '--',
title: ((_statusVal$text = statusVal[text]) === null || _statusVal$text === void 0 ? void 0 : _statusVal$text.txt) || '已关机',
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
color: "".concat((_statusVal$text2 = statusVal[text]) === null || _statusVal$text2 === void 0 ? void 0 : _statusVal$text2.color)
},
children: ((_statusVal$text3 = statusVal[text]) === null || _statusVal$text3 === void 0 ? void 0 : _statusVal$text3.txt) || '--'
children: ((_statusVal$text3 = statusVal[text]) === null || _statusVal$text3 === void 0 ? void 0 : _statusVal$text3.txt) || '已关机'
})
});
}

@ -131,6 +131,8 @@ var _umi_production_exports = __webpack_require__(12712);
var LeftOutlined = __webpack_require__(11407);
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.3.7@@ant-design/icons/es/icons/RightOutlined.js + 1 modules
var RightOutlined = __webpack_require__(88845);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/modal/index.js + 16 modules
var modal = __webpack_require__(43418);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
var jsx_runtime = __webpack_require__(37712);
;// CONCATENATED MODULE: ./src/pages/IOT/ViewAppointment/schedule/index.tsx
@ -141,6 +143,9 @@ var jsx_runtime = __webpack_require__(37712);
var Navigation = function Navigation(_ref) {
var _scheduleData$reserva, _scheduleData$reserva2;
var loading = _ref.loading,
@ -168,11 +173,11 @@ var Navigation = function Navigation(_ref) {
6: '六',
7: '日'
};
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
padding: 20
},
children: (scheduleData === null || scheduleData === void 0 ? void 0 : scheduleData.cweek) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [(scheduleData === null || scheduleData === void 0 ? void 0 : scheduleData.cweek) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: schedulemodules.week,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
@ -255,6 +260,9 @@ var Navigation = function Navigation(_ref) {
color: colorType[item2 === null || item2 === void 0 ? void 0 : item2.status],
background: bgcolorType[item2 === null || item2 === void 0 ? void 0 : item2.status]
},
onClick: function onClick() {
if ((item2 === null || item2 === void 0 ? void 0 : item2.status) == 1) {}
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: (item2 === null || item2 === void 0 ? void 0 : item2.status) != 5 ? nameType[item2 === null || item2 === void 0 ? void 0 : item2.status] : "\u5269\u4F59 ".concat(item2 === null || item2 === void 0 ? void 0 : item2.num)
})
@ -264,12 +272,32 @@ var Navigation = function Navigation(_ref) {
})]
})]
})]
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, {
maskClosable: false,
centered: true,
keyboard: false,
destroyOnClose: true,
className: schedulemodules.my_modal,
open: false,
title: "\u9884\u7EA6\u8BE6\u60C5",
width: "1057px",
onOk: /*#__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);
})),
onCancel: function onCancel() {},
children: "awdawdawd"
})]
});
};
/* harmony default export */ var schedule = ((0,_umi_production_exports.connect)(function (_ref2) {
var loading = _ref2.loading,
engineeringNavigtion = _ref2.engineeringNavigtion;
/* harmony default export */ var schedule = ((0,_umi_production_exports.connect)(function (_ref3) {
var loading = _ref3.loading,
engineeringNavigtion = _ref3.engineeringNavigtion;
return objectSpread2_default()({
loading: loading
}, engineeringNavigtion);

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