Auto Submit

dev_local_v9_test5
autosubmit 2 years ago
parent 2518f2bbdd
commit 91fd690cdd

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

@ -467,7 +467,8 @@ var ViewAppointment = function ViewAppointment(_ref) {
id: params === null || params === void 0 ? void 0 : params.id,
cweek: box
}).then(function (res) {
if (res.status === 200) {
if (res.status === 0) {
console.log(res);
setScheduleData(res === null || res === void 0 ? void 0 : res.data);
}
});

@ -1744,7 +1744,7 @@ var Info_Navigation = function Navigation(_ref) {
marginRight: 20
},
onClick: function onClick() {
_umi_production_exports.history.push("/viewAppointment/".concat(roomInfo === null || roomInfo === void 0 ? void 0 : roomInfo.classroom_room_id));
_umi_production_exports.history.push("/viewAppointment/".concat(params === null || params === void 0 ? void 0 : params.laboratoryId));
},
children: "\u9884\u7EA6\u60C5\u51B5"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {

@ -342,26 +342,22 @@ var Navigation = function Navigation(_ref) {
(0,service_laboratory/* can_reservation_classroom_centers */.Gy)({
reservation_user_id: user === null || user === void 0 || (_user$userInfo2 = user.userInfo) === null || _user$userInfo2 === void 0 ? void 0 : _user$userInfo2.user_id
}).then(function (res) {
if ((res === null || res === void 0 ? void 0 : res.status) === 200) {
var _res$data;
setLaboratoryCenters([{
id: '',
title: '全部'
}].concat(toConsumableArray_default()(res === null || res === void 0 || (_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.list)));
}
var _res$data;
setLaboratoryCenters([{
id: '',
title: '全部'
}].concat(toConsumableArray_default()(res === null || res === void 0 || (_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.list)));
});
//实验室下拉
(0,service_laboratory/* can_reservation_classrooms */.QS)({
classroom_center_id: '',
reservation_user_id: user === null || user === void 0 || (_user$userInfo3 = user.userInfo) === null || _user$userInfo3 === void 0 ? void 0 : _user$userInfo3.user_id
}).then(function (res) {
if ((res === null || res === void 0 ? void 0 : res.status) === 200) {
var _res$data2;
setLaboratorys([{
id: '',
title: '全部'
}].concat(toConsumableArray_default()(res === null || res === void 0 || (_res$data2 = res.data) === null || _res$data2 === void 0 ? void 0 : _res$data2.list)));
}
var _res$data2;
setLaboratorys([{
id: '',
title: '全部'
}].concat(toConsumableArray_default()(res === null || res === void 0 || (_res$data2 = res.data) === null || _res$data2 === void 0 ? void 0 : _res$data2.list)));
});
}
}, []);

@ -91,7 +91,7 @@ var ViewModal = function ViewModal(_ref) {
});
}
}, {
title: '所实验室房间',
title: '所实验室房间',
dataIndex: 'classroom_room_title',
ellipsis: true
}, {

@ -91,7 +91,7 @@ var ViewModal = function ViewModal(_ref) {
});
}
}, {
title: '所实验室房间',
title: '所实验室房间',
dataIndex: 'classroom_room_title',
ellipsis: true
}, {
@ -386,7 +386,7 @@ var ReturnModal_ViewModal = function ViewModal(_ref) {
dataIndex: 'model',
ellipsis: true
}, {
title: '所实验室房间',
title: '所实验室房间',
dataIndex: 'classroom_room_title',
ellipsis: true
}, {

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