autoUpdataFile

dev_local_v9_zzxy
eduauto 1 year ago
parent 38bd4a614f
commit 7f52f9f95d

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

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

@ -24,7 +24,6 @@
flex-shrink: 0;
}
.container____quqI .left___tKc0u .top___U1lUg .superiorTabs___Y2VA8 {
width: 264px;
height: 32px;
margin-bottom: 0;
margin-right: 20rem;

@ -28,7 +28,6 @@
flex-shrink: 0;
}
.container___s3L99 .top___x017z .superiorTabs___jqTFN {
width: 264px;
height: 32px;
margin-bottom: 0;
margin-right: 20rem;

@ -1978,7 +1978,10 @@ var NewHomeEntrance = function NewHomeEntrance(_ref) {
//消息通知
_context.next = 26;
return (0,fetch/* default */.ZP)("/api/yn_classrooms/operation_logs.json", {
method: 'get'
method: 'get',
paragms: {
container_type: 'Device'
}
});
case 26:
res6 = _context.sent;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -133,7 +133,7 @@ var unitType = {
7: '毫升'
};
var OpenReservationDetail = function OpenReservationDetail(_ref) {
var _statusType$titledata, _statusType$titledata2, _statusType$titledata3, _ref3, _ref4, _infoData$attachments, _infoData$attachments2, _user$userInfo2;
var _statusType$titledata, _statusType$titledata2, _statusType$titledata3, _ref3, _ref4, _titledata$substances, _titledata$substances2, _infoData$attachments, _infoData$attachments2, _user$userInfo2;
var loading = _ref.loading,
user = _ref.user;
var _useState = (0,_react_17_0_2_react.useState)(),
@ -611,11 +611,11 @@ var OpenReservationDetail = function OpenReservationDetail(_ref) {
style: {
background: '#B2BDF9'
},
children: (tableData === null || tableData === void 0 ? void 0 : tableData.length) > 0 ? /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: (titledata === null || titledata === void 0 || (_titledata$substances = titledata.substances) === null || _titledata$substances === void 0 ? void 0 : _titledata$substances.length) > 0 ? /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: OpenReservationDetailmodules.content_wrp,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: OpenReservationDetailmodules.content_list,
children: tableData === null || tableData === void 0 ? void 0 : tableData.map(function (item, index) {
children: titledata === null || titledata === void 0 || (_titledata$substances2 = titledata.substances) === null || _titledata$substances2 === void 0 ? void 0 : _titledata$substances2.map(function (item, index) {
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: OpenReservationDetailmodules.content,
onClick: function onClick() {

@ -794,7 +794,7 @@ var OpenReservation = function OpenReservation(_ref) {
})
})]
})]
}), (item === null || item === void 0 ? void 0 : item.is_teacher) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
display: 'flex',
alignItems: 'center'
@ -805,16 +805,20 @@ var OpenReservation = function OpenReservation(_ref) {
return _umi_production_exports.history.push("/laboratory/openReservation/".concat(item === null || item === void 0 ? void 0 : item.id, "?labName=").concat(item === null || item === void 0 ? void 0 : item.name, "&roomName=").concat(item === null || item === void 0 ? void 0 : item.classroom_room_name));
},
children: "\u67E5\u770B\u8BE6\u60C5"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
}), (item === null || item === void 0 ? void 0 : item.is_teacher) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: OpenReservationmodules.add_Data2,
onClick: function onClick() {
getsub();
setOpenAddModal(true);
// console.log('---', moment(item?.finish_time));
// return
setInfoData(objectSpread2_default()(objectSpread2_default()({}, item), {}, {
teacher_ids: item === null || item === void 0 ? void 0 : item.teachers.map(function (info) {
return info.id;
}),
start_and_end_time: [dayjs_min_default()(item === null || item === void 0 ? void 0 : item.start_time), dayjs_min_default()(item === null || item === void 0 ? void 0 : item.end_time)]
start_and_end_time: [dayjs_min_default()(item === null || item === void 0 ? void 0 : item.start_time), dayjs_min_default()(item === null || item === void 0 ? void 0 : item.end_time)],
finish_time: dayjs_min_default()(item === null || item === void 0 ? void 0 : item.finish_time)
}));
},
children: "\u7F16\u8F91"

@ -1582,26 +1582,26 @@ var Info_Navigation = function Navigation(_ref) {
}
function _getip() {
_getip = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() {
var ip, res;
var res, ip;
return regeneratorRuntime_default()().wrap(function _callee2$(_context2) {
while (1) switch (_context2.prev = _context2.next) {
case 0:
_context2.next = 2;
return (0,Exercise_ip/* findLocalIp */.y)({
ip_limit: 'inner'
});
case 2:
ip = _context2.sent;
setip(ip);
_context2.next = 6;
return (0,fetch/* default */.ZP)("/api/users/review_users.json", {
method: 'get'
});
case 6:
case 2:
res = _context2.sent;
if ((res === null || res === void 0 ? void 0 : res.status) === 0) {
setteacherlist(res === null || res === void 0 ? void 0 : res.users);
}
_context2.next = 6;
return (0,Exercise_ip/* findLocalIp */.y)({
ip_limit: 'inner'
});
case 6:
ip = _context2.sent;
setip(ip);
case 8:
case "end":
return _context2.stop();
@ -2053,11 +2053,11 @@ var Info_Navigation = function Navigation(_ref) {
children: user === null || user === void 0 || (_user$userInfo6 = user.userInfo) === null || _user$userInfo6 === void 0 ? void 0 : _user$userInfo6.phone
}), !ip && /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z.Item, {
colon: false,
label: " ",
label: "ip\u5730\u5740",
name: "",
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "c-red",
children: "\uFF08\u987BChrome\u8C37\u6B4C\u6D4F\u89C8\u5668\uFF0C\u9700\u8981\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6\uFF0C\uFF09"
children: "\uFF08\u987BChrome\u8C37\u6B4C\u6D4F\u89C8\u5668\uFF0C\u4E14\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6\uFF0C\u624D\u80FD\u83B7\u53D6ip\uFF09"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("br", {}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
onClick: function onClick() {
(0,util/* showInstallWebRtcDoc */.jt)();
@ -2065,7 +2065,7 @@ var Info_Navigation = function Navigation(_ref) {
type: "link",
children: "\u5982\u4F55\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6?"
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
}), ip && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
colon: false,
label: "ip\u5730\u5740",
name: "ip",

@ -312,7 +312,7 @@ var Navigation = function Navigation(_ref) {
// { label: '第22节 (21:00-21:50)', value: 22 },
// { label: '第23节 (22:00-22:50)', value: 23 },
// { label: '第24节 (23:00-23:50)', value: 24 }])
var _useState7 = (0,_react_17_0_2_react.useState)(new Date().getHours() + 1),
var _useState7 = (0,_react_17_0_2_react.useState)(9),
_useState8 = slicedToArray_default()(_useState7, 2),
section = _useState8[0],
setSection = _useState8[1];

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