autoUpdataFile

dev_local_v9_zzxy
eduauto 1 year ago
parent 32ceafdaca
commit 69ef74deea

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

@ -2837,6 +2837,80 @@ button:active {
color: #01795d;
}
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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.4@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.4.4@@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.4@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/AuthModal/index.less?modules ***!
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
@ -3319,234 +3393,3 @@ button:active {
height: 45px;
}
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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.4@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/components/XazyHeader/index.less?modules ***!
\****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___WpIvr {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___cPtZs {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___XHKBA {
align-items: center;
box-align: center;
}
.flex_box_center_end___GXlLT {
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___psxt1 {
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___umKUz {
display: flex;
flex-direction: column;
}
.flex-row___JJqsT {
display: flex;
flex-direction: row;
}
.justify-start___zMBU6 {
display: flex;
justify-content: flex-start;
}
.justify-center___TLYXc {
display: flex;
justify-content: center;
}
.justify-end___FYduO {
display: flex;
justify-content: flex-end;
}
.justify-evenly___ZOHOt {
display: flex;
justify-content: space-evenly;
}
.justify-around___heAnI {
display: flex;
justify-content: space-around;
}
.justify-between___RGbwN {
display: flex;
justify-content: space-between;
}
.align-start___OSeGe {
display: flex;
align-items: flex-start;
}
.align-center___ZD7lA {
display: flex;
align-items: center;
}
.align-end___vo5E0 {
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___umKUz {
display: flex;
flex-direction: column;
}
.flex-row___JJqsT {
display: flex;
flex-direction: row;
}
.justify-start___zMBU6 {
display: flex;
justify-content: flex-start;
}
.justify-center___TLYXc {
display: flex;
justify-content: center;
}
.justify-end___FYduO {
display: flex;
justify-content: flex-end;
}
.justify-evenly___ZOHOt {
display: flex;
justify-content: space-evenly;
}
.justify-around___heAnI {
display: flex;
justify-content: space-around;
}
.justify-between___RGbwN {
display: flex;
justify-content: space-between;
}
.align-start___OSeGe {
display: flex;
align-items: flex-start;
}
.align-center___ZD7lA {
display: flex;
align-items: center;
}
.align-end___vo5E0 {
display: flex;
align-items: flex-end;
}
.all_box___Vv9Ai {
background: #fff;
}
.wrap___TmtSa {
margin: 0 30px;
margin-top: 30px;
display: flex;
justify-content: space-between;
align-items: flex-start;
}
.wrap___TmtSa .left___I2KXz {
width: 240px;
overflow: hidden;
flex-shrink: 0;
background: linear-gradient(180deg, #0D2A6D 0%, #4351A8 100%);
box-shadow: inset 0px 1px 6px 0px #051E55;
border-radius: 8px;
}
.wrap___TmtSa .left___I2KXz [class~='ant-menu-item'] {
height: 44px !important;
line-height: 44px !important;
margin-inline: 8px !important;
color: #5F6367;
}
.wrap___TmtSa .left___I2KXz [class~='ant-menu-item']::after {
content: '';
width: 3px;
background: #232B40;
border-radius: 3px 0px 0px 3px;
}
.wrap___TmtSa .left___I2KXz [class~='ant-menu-item-selected'] {
background-color: #F8F9FA !important;
color: #000000 !important;
}
.wrap___TmtSa .left___I2KXz [class~='ant-menu-submenu-title'] {
color: #5F6367 !important;
margin-left: 8px !important;
}
.wrap___TmtSa .left___I2KXz [class~='ant-menu-inline'] {
background: none !important;
-webkit-border-end: none !important;
border-inline-end: none !important;
}
.wrap___TmtSa .left___I2KXz .home___Zh90P {
display: flex;
padding-left: 16px;
padding-right: 8px;
margin-bottom: 15px;
cursor: pointer;
}
.wrap___TmtSa .left___I2KXz .home___Zh90P .info___wwIGD > div:first-child {
font-size: 20px;
font-weight: 500;
color: #0152d9;
line-height: 28px;
}
.wrap___TmtSa .left___I2KXz .home___Zh90P .info___wwIGD > div:last-child {
font-size: 18px;
font-weight: 600;
color: #165DFF;
}
.wrap___TmtSa .right___fkBsz {
border-radius: 4px;
flex: 1 1;
margin-left: 20px;
padding-left: 19px;
overflow: hidden;
min-height: 500px;
background: linear-gradient(180deg, #224392 0%, #5B6BC7 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;
}
.search-bar___FpmLr {
color: white;
flex: 1 0 auto;
display: flex;
flex-flow: row nowrap;
justify-content: flex-end;
align-items: center;
position: relative;
margin-right: 20px;
}
.search-bar___FpmLr [class*="icon-zhankai4"] {
color: #A4C8FC !important;
margin-left: 5px;
}
.search-bar___FpmLr a:hover {
color: #fff;
}

@ -1,392 +0,0 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[35380],{
/***/ 5709:
/*!**********************************************************!*\
!*** ./src/pages/Laboratory/Index/index.tsx + 4 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 */ Index; }
});
// 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);
;// CONCATENATED MODULE: ./src/pages/Laboratory/Index/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var Indexmodules = ({"flex_box_center":"flex_box_center___lrHxi","flex_space_between":"flex_space_between___jBQWM","flex_box_vertical_center":"flex_box_vertical_center___r27qS","flex_box_center_end":"flex_box_center_end___P4YAj","flex_box_column":"flex_box_column___Ejmkk","flex-col":"flex-col___bvmF7","flex-row":"flex-row___m7iv1","justify-start":"justify-start___wdBZW","justify-center":"justify-center___a93Fq","justify-end":"justify-end___cJ6H_","justify-evenly":"justify-evenly___bVYPK","justify-around":"justify-around___IFWgT","justify-between":"justify-between___mhcs5","align-start":"align-start___WE2TQ","align-center":"align-center___cahB7","align-end":"align-end___yjEqK","all_box":"all_box___JhY33","wrap":"wrap___nc2Lp","left":"left___IiZZt","home":"home___cTaaj","info":"info___SduOB","right":"right___App8I","search-bar":"search-bar___hMRJq"});
;// CONCATENATED MODULE: ./src/pages/Laboratory/Index/index2.less
// extracted by mini-css-extract-plugin
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/menu/index.js + 11 modules
var menu = __webpack_require__(20834);
// EXTERNAL MODULE: ./src/.umi-production/exports.ts
var _umi_production_exports = __webpack_require__(88271);
// EXTERNAL MODULE: ./src/components/Header/components/Join/index.tsx + 4 modules
var Join = __webpack_require__(79687);
// EXTERNAL MODULE: ./src/components/Header/components/User/index.tsx + 2 modules
var User = __webpack_require__(15278);
;// CONCATENATED MODULE: ./src/components/XazyHeader/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var XazyHeadermodules = ({"flex_box_center":"flex_box_center___WpIvr","flex_space_between":"flex_space_between___cPtZs","flex_box_vertical_center":"flex_box_vertical_center___XHKBA","flex_box_center_end":"flex_box_center_end___GXlLT","flex_box_column":"flex_box_column___psxt1","flex-col":"flex-col___umKUz","flex-row":"flex-row___JJqsT","justify-start":"justify-start___zMBU6","justify-center":"justify-center___TLYXc","justify-end":"justify-end___FYduO","justify-evenly":"justify-evenly___ZOHOt","justify-around":"justify-around___heAnI","justify-between":"justify-between___RGbwN","align-start":"align-start___OSeGe","align-center":"align-center___ZD7lA","align-end":"align-end___vo5E0","all_box":"all_box___Vv9Ai","wrap":"wrap___TmtSa","left":"left___I2KXz","home":"home___Zh90P","info":"info___wwIGD","right":"right___fkBsz","search-bar":"search-bar___FpmLr"});
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
var jsx_runtime = __webpack_require__(37712);
;// CONCATENATED MODULE: ./src/components/XazyHeader/index.tsx
var XazyHeaderComponents = function XazyHeaderComponents(_ref) {
var _user$userInfo, _user$userInfo2, _user$navigationInfo;
var user = _ref.user,
globalSetting = _ref.globalSetting,
loading = _ref.loading,
title = _ref.title,
dispatch = _ref.dispatch;
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "materials-wrp-header",
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: "group_1 flex-row",
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: "flex-row",
style: {
flex: 1
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
className: "thumbnail_1 current",
onClick: function onClick() {
return _umi_production_exports.history.push('/ythSys');
},
src: "/images/materials/SketchPng2032b4eb0c3138b021caf392ef497cf7503b52d5e8b5496802baec7585143010.png"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "text_1 current",
onClick: function onClick() {
return _umi_production_exports.history.push('/ythSys');
},
children: "\u8FD4\u56DE"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "section_2 flex-col"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "text_2",
children: "2025-01-21\xA0\u661F\u671F\u4E94\xA010:26"
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: "flex-row",
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: XazyHeadermodules['search-bar'],
style: {
flex: globalSetting.isIlearning ? 'initial' : 'initial',
color: '#3061D0'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(Join/* default */.Z, {
moreIcon: '/images/materials/SketchPng050cbed48f607daa69daece9e5665916c9cccdf9041080fbf6fe9f7c8e1f771d.png'
}), !!(user !== null && user !== void 0 && (_user$userInfo = user.userInfo) !== null && _user$userInfo !== void 0 && _user$userInfo.login) && /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, {
className: "c-white ml15 mr15 font18 relative",
to: "/messages/".concat(user === null || user === void 0 || (_user$userInfo2 = user.userInfo) === null || _user$userInfo2 === void 0 ? void 0 : _user$userInfo2.login, "/user_tidings"),
style: {
color: '#3061D0'
},
children: (user === null || user === void 0 || (_user$navigationInfo = user.navigationInfo) === null || _user$navigationInfo === void 0 || (_user$navigationInfo = _user$navigationInfo.top) === null || _user$navigationInfo === void 0 ? void 0 : _user$navigationInfo.new_message) && /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
className: "thumbnail_3",
src: "/images/materials/SketchPng1df971f8284f1cda83bbae0d86891266c02445b6f05304f6ad2608e4da09f455.png"
})
// <span
// className={styles.newslight}
// style={{ color: '#3061D0' }}
// ></span>
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(User/* default */.Z, {})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: "section_3 flex-row",
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "section_4 flex-col"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "section_5 flex-col"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "section_6 flex-col"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "text_4",
children: title
})]
})]
})]
})
});
};
/* harmony default export */ var XazyHeader = ((0,_umi_production_exports.connect)(function (_ref2) {
var user = _ref2.user,
loading = _ref2.loading,
globalSetting = _ref2.globalSetting;
return {
user: user,
globalSetting: globalSetting,
loading: loading.models.index
};
})(XazyHeaderComponents));
;// CONCATENATED MODULE: ./src/pages/Laboratory/Index/index.tsx
var SubMenu = menu/* default */.Z.SubMenu;
var Engineering = function Engineering(_ref) {
var _user$userInfo, _user$userInfo2, _user$userInfo3, _user$userInfo4, _user$userInfo5, _user$userInfo6, _user$userInfo7, _user$userInfo8, _user$userInfo9, _user$userInfo10, _user$userInfo11, _user$userInfo12, _user$userInfo13;
var user = _ref.user,
globalSetting = _ref.globalSetting,
engineering = _ref.engineering,
dispatch = _ref.dispatch;
var location = (0,_umi_production_exports.useLocation)();
var _useState = (0,_react_17_0_2_react.useState)(1),
_useState2 = slicedToArray_default()(_useState, 2),
menuKey = _useState2[0],
setMenuKey = _useState2[1];
(0,_react_17_0_2_react.useEffect)(function () {
if (location.pathname == '/laboratory') {
_umi_production_exports.history.replace('/laboratory/reservations');
}
setMenuKey(function (e) {
return e + 1;
});
}, [location.pathname]);
(0,_react_17_0_2_react.useEffect)(function () {
dispatch({
type: 'globalSetting/headerFooterToggle',
payload: false
});
return function () {
dispatch({
type: 'globalSetting/headerFooterToggle',
payload: true
});
};
}, []);
function getItem(label, key, icon, children, type) {
return {
key: key,
icon: icon,
children: children,
label: label,
type: type
};
}
var items = [getItem('实验室预约', '/laboratory/reservations', /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-shiyanshiyuyue"
})), getItem('实验开放预约', '/laboratory/openReservation', /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-shiyanshiyuyue"
})), getItem('我的预约', '/laboratory/myreservation', /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-wodeyuyue"
})), (user === null || user === void 0 || (_user$userInfo = user.userInfo) === null || _user$userInfo === void 0 ? void 0 : _user$userInfo.classroom_center_auth) && getItem('工作台', 'workbench', /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-wodegongzuotai"
}), [(user === null || user === void 0 || (_user$userInfo2 = user.userInfo) === null || _user$userInfo2 === void 0 ? void 0 : _user$userInfo2.classroom_center_auth) && getItem('实验室中心管理', '/laboratory/laboratoryCenter'),
// (user?.userInfo?.classroom_center_auth || user?.userInfo?.classroom_auth) && getItem('智慧大屏', '/wisdom'),
((user === null || user === void 0 || (_user$userInfo3 = user.userInfo) === null || _user$userInfo3 === void 0 ? void 0 : _user$userInfo3.classroom_center_auth) || (user === null || user === void 0 || (_user$userInfo4 = user.userInfo) === null || _user$userInfo4 === void 0 ? void 0 : _user$userInfo4.classroom_auth)) && getItem('实验室管理', '/laboratory/myLaboratory'), ((user === null || user === void 0 || (_user$userInfo5 = user.userInfo) === null || _user$userInfo5 === void 0 ? void 0 : _user$userInfo5.classroom_center_auth) || (user === null || user === void 0 || (_user$userInfo6 = user.userInfo) === null || _user$userInfo6 === void 0 ? void 0 : _user$userInfo6.classroom_auth)) && getItem('实验室分室管理', '/laboratory/laboratoryRoom'), ((user === null || user === void 0 || (_user$userInfo7 = user.userInfo) === null || _user$userInfo7 === void 0 ? void 0 : _user$userInfo7.classroom_center_auth) || (user === null || user === void 0 || (_user$userInfo8 = user.userInfo) === null || _user$userInfo8 === void 0 ? void 0 : _user$userInfo8.classroom_auth)) && getItem('预约规则管理', '/laboratory/ruleManage'),
// (user?.userInfo?.classroom_center_auth || user?.userInfo?.classroom_auth) && getItem('实验室分类', '/laboratory/laboratoryType'),
((user === null || user === void 0 || (_user$userInfo9 = user.userInfo) === null || _user$userInfo9 === void 0 ? void 0 : _user$userInfo9.classroom_center_auth) || (user === null || user === void 0 || (_user$userInfo10 = user.userInfo) === null || _user$userInfo10 === void 0 ? void 0 : _user$userInfo10.classroom_auth)) && (user === null || user === void 0 || (_user$userInfo11 = user.userInfo) === null || _user$userInfo11 === void 0 ? void 0 : _user$userInfo11.admin_and_review) && getItem('预约管理', '/laboratory/reservationmanage')])];
// 获取所有二级菜单项的key
var allSubMenuKeys = items.filter(function (item) {
return item === null || item === void 0 ? void 0 : item.children;
}).map(function (item) {
return item.key;
});
return (
/*#__PURE__*/
// <div className={styles.all_box}>
// <div className={styles.wrap}>
// <div className={styles.left}>
// <aside
// className={styles.home}
// >
// <div className="mr15">
// <img width={22} src={NavImg} style={{ marginTop: "3px" }} />
// </div>
// <div className={styles.info}>
// <div>实验室管理</div>
// </div>
// </aside>
// <Menu
// key={menuKey}
// defaultSelectedKeys={[location?.pathname]}
// defaultOpenKeys={allSubMenuKeys}
// mode="inline"
// theme="light"
// items={items}
// onClick={(item: any) => {
// history.push(item?.key)
// }}
// />
// </div>
// <div className={styles.right}><Outlet /></div>
// </div>
// </div>
(0,jsx_runtime.jsxs)("div", {
className: "".concat(Indexmodules.all_box, " materials-wrp"),
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(XazyHeader, {
title: "\u5B9E\u9A8C\u5BA4\u7BA1\u7406"
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Indexmodules.wrap,
style: {
marginTop: 40
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Indexmodules.left,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
paddingBottom: 20
},
className: "block_1 flex-col",
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "".concat(location.pathname === "/laboratory/reservations" ? "section_7" : "section_8", " flex-row"),
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(_umi_production_exports.Link, {
to: "/laboratory/reservations",
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "icon-zzxy-shiyanshiyuyue"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "text_5",
children: "\u5B9E\u9A8C\u5BA4\u9884\u7EA6"
})]
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "".concat(location.pathname === "/laboratory/openReservation" ? "section_7" : "section_8", " flex-row"),
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(_umi_production_exports.Link, {
to: "/laboratory/openReservation",
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "icon-zzxy-kaifangshiyanyuyue"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "text_5",
children: "\u5B9E\u9A8C\u5F00\u653E\u9884\u7EA6"
})]
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
style: {
marginBottom: 40
},
className: "".concat(location.pathname === "/laboratory/myreservation" ? "section_7" : "section_8", " flex-row"),
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(_umi_production_exports.Link, {
to: "/laboratory/myreservation",
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "icon-zzxy-wodeyuyue"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "text_5",
children: "\u6211\u7684\u9884\u7EA6"
})]
})
}), (user === null || user === void 0 || (_user$userInfo12 = user.userInfo) === null || _user$userInfo12 === void 0 ? void 0 : _user$userInfo12.classroom_center_auth) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "text_8",
children: "\u2026\u2026\u2026\u2026\u2026\u2026\u5DE5\u4F5C\u53F0\u2026\u2026\u2026\u2026\u2026"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
style: {
marginTop: 20
},
className: "".concat(location.pathname === "/laboratory/laboratoryCenter" ? "section_7" : "section_8", " flex-row"),
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(_umi_production_exports.Link, {
to: "/laboratory/laboratoryCenter",
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "icon-zzxy-shiyanshizhongxinguanli"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "text_5",
children: "\u5B9E\u9A8C\u5BA4\u4E2D\u5FC3\u7BA1\u7406"
})]
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "".concat(location.pathname === "/laboratory/myLaboratory" ? "section_7" : "section_8", " flex-row"),
children: /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, {
to: "/laboratory/myLaboratory",
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: "image-text_19 flex-row justify-between",
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "icon-zzxy-shiyanshiguanli"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "text-group_1 text_5",
children: "\u5B9E\u9A8C\u5BA4\u7BA1\u7406"
})]
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "".concat(location.pathname === "/laboratory/laboratoryRoom" ? "section_7" : "section_8", " flex-row"),
children: /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, {
to: "/laboratory/laboratoryRoom",
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: "image-text_20 flex-row justify-between",
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "icon-zzxy-shiyanshifenshiguanli"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "text-group_2 text_5",
children: "\u5B9E\u9A8C\u5BA4\u5206\u5BA4\u7BA1\u7406"
})]
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "".concat(location.pathname === "/laboratory/ruleManage" ? "section_7" : "section_8", " flex-row"),
children: /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, {
to: "/laboratory/ruleManage",
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: "image-text_21 flex-row justify-between",
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "icon-zzxy-yuyueguizeguanli"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "text-group_3 text_5",
children: "\u9884\u7EA6\u89C4\u5219\u7BA1\u7406"
})]
})
})
}), (user === null || user === void 0 || (_user$userInfo13 = user.userInfo) === null || _user$userInfo13 === void 0 ? void 0 : _user$userInfo13.admin_and_review) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "".concat(location.pathname === "/laboratory/reservationmanage" ? "section_7" : "section_8", " flex-row"),
children: /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, {
to: "/laboratory/reservationmanage",
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: "image-text_22 flex-row justify-between",
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "icon-zzxy-yuyueguanli"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "text-group_4 text_5",
children: "\u9884\u7EA6\u7BA1\u7406"
})]
})
})
})]
})]
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Indexmodules.right,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Outlet, {})
})]
})]
})
);
};
/* harmony default export */ var Index = ((0,_umi_production_exports.connect)(function (_ref2) {
var globalSetting = _ref2.globalSetting,
user = _ref2.user,
engineering = _ref2.engineering,
dispatch = _ref2.dispatch;
return {
user: user,
globalSetting: globalSetting,
engineering: engineering,
dispatch: dispatch
};
})(Engineering));
/***/ })
}]);

File diff suppressed because one or more lines are too long

@ -187,15 +187,15 @@ var Navigation = function Navigation(_ref) {
});
};
var columns = [{
title: '号',
title: '号',
dataIndex: 'number',
ellipsis: true,
render: function render(text) {
render: function render(text, index) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
placement: "bottomLeft",
title: text,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: text || '--'
children: limit * (page - 1) + index + 1
})
});
}
@ -824,16 +824,6 @@ var Navigation = function Navigation(_ref) {
}, key);
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
colon: false,
label: "\u7F16\u53F7",
name: "number",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
onChange: function onChange(e) {
var _e$target2;
myForm.setFieldValue('number', e === null || e === void 0 || (_e$target2 = e.target) === null || _e$target2 === void 0 || (_e$target2 = _e$target2.value) === null || _e$target2 === void 0 ? void 0 : _e$target2.trim());
}
})
})]
})
})]

@ -822,31 +822,6 @@ var Navigation = function Navigation(_ref) {
}, key);
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
colon: false,
label: "\u5B9E\u9A8C\u5BA4\u5206\u7C7B",
name: "classroom_category_id",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"], {
children: typeList === null || typeList === void 0 ? void 0 : typeList.map(function (item, key) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"].Option, {
value: item === null || item === void 0 ? void 0 : item.id,
children: (item === null || item === void 0 ? void 0 : item.title) || '--'
}, key);
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
colon: false,
label: "\u5B9E\u9A8C\u5BA4\u6027\u8D28",
name: "nature",
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_select["default"], {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"].Option, {
value: 0,
children: "\u4E13\u4E1A"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"].Option, {
value: 1,
children: "\u666E\u901A"
})]
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
colon: false,
label: "\u8D1F\u8D23\u4EBA",

@ -320,7 +320,7 @@ var OpenReservationDetail = function OpenReservationDetail(_ref) {
});
}
}, {
title: '所属实验室',
title: '所属实验室分室',
"with": 120,
dataIndex: 'classroom_room_title',
ellipsis: true,

@ -1043,7 +1043,7 @@ var Navigation = function Navigation(_ref) {
required: true,
message: '必填项'
}],
label: "\u9884\u7EA6\u623F\u95F4\u53F7",
label: "\u9884\u7EA6\u5B9E\u9A8C\u5BA4\u5206\u5BA4",
name: "classroom_room_id",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"], {
children: rooms === null || rooms === void 0 ? void 0 : rooms.map(function (item, index) {
@ -1166,7 +1166,7 @@ var Navigation = function Navigation(_ref) {
label: "\u5173\u8054\u6559\u5B66",
name: "container_type",
rules: [{
required: true,
required: false,
message: '必填项'
}],
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_select["default"], {

@ -1004,7 +1004,7 @@ var subscribe_Navigation = function Navigation(_ref) {
}),
open: openAddModal,
title: "".concat(infoData !== null && infoData !== void 0 && infoData.id ? '调整' : '新建', "\u9884\u7EA6"),
width: "600px",
width: 1000,
onOk: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() {
var _myForm$getFieldValue, _myForm$getFieldValue2;
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
@ -2059,7 +2059,9 @@ var Info_Navigation = function Navigation(_ref) {
className: "c-red",
children: "\uFF08\u987BChrome\u8C37\u6B4C\u6D4F\u89C8\u5668\uFF0C\u9700\u8981\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6\uFF0C\uFF09"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("br", {}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
onClick: util/* showInstallWebRtcDoc */.jt,
onClick: function onClick() {
(0,util/* showInstallWebRtcDoc */.jt)();
},
type: "link",
children: "\u5982\u4F55\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6?"
})]

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