|
|
|
|
@ -24,7 +24,7 @@ var _react_17_0_2_react = __webpack_require__(59301);
|
|
|
|
|
var _umi_production_exports = __webpack_require__(88271);
|
|
|
|
|
;// CONCATENATED MODULE: ./src/pages/NewHomeEntrance1/index.less?modules
|
|
|
|
|
// extracted by mini-css-extract-plugin
|
|
|
|
|
/* harmony default export */ var NewHomeEntrance1modules = ({"homeEntrance":"homeEntrance___MyCMy","go_back":"go_back___uP7d0","heard_warp":"heard_warp___IPU2u","info_con":"info_con___DQWVI","left_Warp":"left_Warp___yOqIn","tabs":"tabs____LrNs","con_img":"con_img___U8H2R","right_Warp":"right_Warp___pkVIA","title":"title___Wvyt0","con_text":"con_text___cuWmr","detail_btn":"detail_btn___B3mW1","text3":"text3___kgmiO","text4":"text4___hjJHl","text5":"text5___klMzn","text3_active":"text3_active___ETqmQ","text4_active":"text4_active___pWHSi","text5_active":"text5_active___YfsF_","content":"content___TrM8Y","ts":"ts___N9uUa","detail":"detail___IE98U","detail1":"detail1___zHTxL","sy_top_bom":"sy_top_bom___Zo69t","sy_top_bom1":"sy_top_bom1___hj0mc","bottom_list":"bottom_list___MNE7M","bottom_list1":"bottom_list1___Yo7gx"});
|
|
|
|
|
/* harmony default export */ var NewHomeEntrance1modules = ({"homeEntrance":"homeEntrance___MyCMy","go_back":"go_back___uP7d0","heard_warp":"heard_warp___IPU2u","info_con":"info_con___DQWVI","left_Warp":"left_Warp___yOqIn","tabs":"tabs____LrNs","con_img":"con_img___U8H2R","right_Warp":"right_Warp___pkVIA","title":"title___Wvyt0","con_text":"con_text___cuWmr","detail_btn":"detail_btn___B3mW1","text3":"text3___kgmiO","text4":"text4___hjJHl","text5":"text5___klMzn","text3_active":"text3_active___ETqmQ","text4_active":"text4_active___pWHSi","text5_active":"text5_active___YfsF_","content":"content___TrM8Y","ts":"ts___N9uUa","detail":"detail___IE98U","detail1":"detail1___zHTxL","detail3":"detail3___pGJ_q","detail4":"detail4___osrT9","sy_top_bom":"sy_top_bom___Zo69t","sy_top_bom1":"sy_top_bom1___hj0mc","bottom_list":"bottom_list___MNE7M","bottom_list1":"bottom_list1___Yo7gx","sbgl_warp":"sbgl_warp___vUnRb","wzgl_warp":"wzgl_warp___QxAVL","bottom_list3":"bottom_list3___jCib4","bottom_list4":"bottom_list4___eojVX"});
|
|
|
|
|
// EXTERNAL MODULE: ./src/utils/authority.ts
|
|
|
|
|
var authority = __webpack_require__(64118);
|
|
|
|
|
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
|
|
|
|
|
@ -38,7 +38,7 @@ var jsx_runtime = __webpack_require__(37712);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var NewHomeEntrance1 = function NewHomeEntrance1(_ref) {
|
|
|
|
|
var _data$current, _data$current2, _data$current3, _data$current4, _data$current5, _data$current6, _data$current7;
|
|
|
|
|
var _data$current, _data$current2, _data$current3, _data$current4, _data$current5, _data$current6, _data$current7, _data$current8, _data$current9, _data$current10, _data$current11;
|
|
|
|
|
var user = _ref.user,
|
|
|
|
|
dispatch = _ref.dispatch;
|
|
|
|
|
var _useState = (0,_react_17_0_2_react.useState)(0),
|
|
|
|
|
@ -143,17 +143,99 @@ var NewHomeEntrance1 = function NewHomeEntrance1(_ref) {
|
|
|
|
|
}, {
|
|
|
|
|
name: '设备管理',
|
|
|
|
|
className: 'text4',
|
|
|
|
|
url: '/equipment/information',
|
|
|
|
|
title: '在线管理,设备尽在掌握',
|
|
|
|
|
content: '动态更新库存数量,物资采购到使用的全过程追踪,确保可追溯性',
|
|
|
|
|
img: __webpack_require__(/*! ./img/设备管理.png */ 45881)
|
|
|
|
|
dom: function dom() {
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: NewHomeEntrance1modules.sbgl_warp,
|
|
|
|
|
children: [{
|
|
|
|
|
url: '',
|
|
|
|
|
img: __webpack_require__(/*! ./img/设备信息管理.png */ 1098)
|
|
|
|
|
}, {
|
|
|
|
|
url: '',
|
|
|
|
|
img: __webpack_require__(/*! ./img/设备在线监控.png */ 95011)
|
|
|
|
|
}, {
|
|
|
|
|
url: '',
|
|
|
|
|
img: __webpack_require__(/*! ./img/设备类型管理.png */ 76855)
|
|
|
|
|
}, {
|
|
|
|
|
url: '',
|
|
|
|
|
img: __webpack_require__(/*! ./img/保养信息管理.png */ 51046)
|
|
|
|
|
}].map(function (item, index) {
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: NewHomeEntrance1modules.bottom_list3,
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
|
|
|
|
|
src: item === null || item === void 0 ? void 0 : item.img,
|
|
|
|
|
style: {
|
|
|
|
|
position: 'relative',
|
|
|
|
|
width: '100%',
|
|
|
|
|
height: '100%'
|
|
|
|
|
}
|
|
|
|
|
}, index), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: NewHomeEntrance1modules.detail3,
|
|
|
|
|
children: ["\u67E5\u770B\u8BE6\u60C5", /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
|
|
|
|
|
src: __webpack_require__(/*! ./img/箭头.png */ 70514),
|
|
|
|
|
style: {
|
|
|
|
|
width: '1.2vw',
|
|
|
|
|
height: '1vh',
|
|
|
|
|
marginLeft: '0.3vw',
|
|
|
|
|
marginRight: '1vw'
|
|
|
|
|
}
|
|
|
|
|
})]
|
|
|
|
|
})]
|
|
|
|
|
}, index);
|
|
|
|
|
})
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}, {
|
|
|
|
|
name: '物资管理',
|
|
|
|
|
className: 'text4',
|
|
|
|
|
url: '/materials/itemAssets',
|
|
|
|
|
title: '智能追踪,轻松管理',
|
|
|
|
|
content: '动态更新库存数量,物资采购到使用的全过程追踪,确保可追溯性',
|
|
|
|
|
img: __webpack_require__(/*! ./img/物资管理.png */ 1546)
|
|
|
|
|
dom: function dom() {
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: NewHomeEntrance1modules.wzgl_warp,
|
|
|
|
|
children: [{
|
|
|
|
|
url: '',
|
|
|
|
|
img: __webpack_require__(/*! ./img/物资类别.png */ 48771)
|
|
|
|
|
}, {
|
|
|
|
|
url: '',
|
|
|
|
|
img: __webpack_require__(/*! ./img/物资管理.png */ 1546)
|
|
|
|
|
}, {
|
|
|
|
|
url: '',
|
|
|
|
|
img: __webpack_require__(/*! ./img/领用申请管理.png */ 49764)
|
|
|
|
|
}, {
|
|
|
|
|
url: '',
|
|
|
|
|
img: __webpack_require__(/*! ./img/采购申请管理.png */ 42078)
|
|
|
|
|
}, {
|
|
|
|
|
url: '',
|
|
|
|
|
img: __webpack_require__(/*! ./img/入账管理.png */ 90365)
|
|
|
|
|
}].map(function (item, index) {
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: NewHomeEntrance1modules.bottom_list4,
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
|
|
|
|
|
src: item === null || item === void 0 ? void 0 : item.img,
|
|
|
|
|
style: {
|
|
|
|
|
position: 'relative',
|
|
|
|
|
width: '100%',
|
|
|
|
|
height: '100%'
|
|
|
|
|
}
|
|
|
|
|
}, index), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: NewHomeEntrance1modules.detail4,
|
|
|
|
|
children: ["\u67E5\u770B\u8BE6\u60C5", /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
|
|
|
|
|
src: __webpack_require__(/*! ./img/箭头.png */ 70514),
|
|
|
|
|
style: {
|
|
|
|
|
width: '1.2vw',
|
|
|
|
|
height: '1vh',
|
|
|
|
|
marginLeft: '0.3vw',
|
|
|
|
|
marginRight: '1vw'
|
|
|
|
|
}
|
|
|
|
|
})]
|
|
|
|
|
})]
|
|
|
|
|
}, index);
|
|
|
|
|
})
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}, {
|
|
|
|
|
name: '教学课堂',
|
|
|
|
|
className: 'text4',
|
|
|
|
|
@ -162,8 +244,6 @@ var NewHomeEntrance1 = function NewHomeEntrance1(_ref) {
|
|
|
|
|
content: '提供在线预约、智能资源分配、多级审批流程等功能,确保实验空间及其他设施的合理利用',
|
|
|
|
|
img: __webpack_require__(/*! ./img/教学课堂.png */ 88500)
|
|
|
|
|
}];
|
|
|
|
|
//<img src={require(`./img/${data[current]?.name}.png`)} style={{ width: '44.5vw', height: '49.5vh' }} />
|
|
|
|
|
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: NewHomeEntrance1modules.homeEntrance,
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
@ -189,20 +269,26 @@ var NewHomeEntrance1 = function NewHomeEntrance1(_ref) {
|
|
|
|
|
children: item.name
|
|
|
|
|
}, index);
|
|
|
|
|
})
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: NewHomeEntrance1modules.con_img,
|
|
|
|
|
children: ((_data$current = data[current]) === null || _data$current === void 0 ? void 0 : _data$current.name) == '实验室管理' && data[current].dom()
|
|
|
|
|
children: [((_data$current = data[current]) === null || _data$current === void 0 ? void 0 : _data$current.name) == '实验室管理' && data[current].dom(), ((_data$current2 = data[current]) === null || _data$current2 === void 0 ? void 0 : _data$current2.name) == '设备管理' && data[current].dom(), ((_data$current3 = data[current]) === null || _data$current3 === void 0 ? void 0 : _data$current3.name) == '物资管理' && data[current].dom(), ((_data$current4 = data[current]) === null || _data$current4 === void 0 ? void 0 : _data$current4.name) == '教学课堂' && /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
|
|
|
|
|
src: __webpack_require__(29781)("./".concat((_data$current5 = data[current]) === null || _data$current5 === void 0 ? void 0 : _data$current5.name, ".png")),
|
|
|
|
|
style: {
|
|
|
|
|
width: '44.5vw',
|
|
|
|
|
height: '53.4vh'
|
|
|
|
|
}
|
|
|
|
|
})]
|
|
|
|
|
})]
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: NewHomeEntrance1modules.right_Warp,
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: NewHomeEntrance1modules.title,
|
|
|
|
|
children: (_data$current2 = data[current]) === null || _data$current2 === void 0 ? void 0 : _data$current2.title
|
|
|
|
|
children: (_data$current6 = data[current]) === null || _data$current6 === void 0 ? void 0 : _data$current6.title
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: NewHomeEntrance1modules.con_text,
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: NewHomeEntrance1modules.content,
|
|
|
|
|
children: (_data$current3 = data[current]) === null || _data$current3 === void 0 ? void 0 : _data$current3.content
|
|
|
|
|
children: (_data$current7 = data[current]) === null || _data$current7 === void 0 ? void 0 : _data$current7.content
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
style: {
|
|
|
|
|
display: 'flex',
|
|
|
|
|
@ -217,9 +303,9 @@ var NewHomeEntrance1 = function NewHomeEntrance1(_ref) {
|
|
|
|
|
}
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: NewHomeEntrance1modules.ts,
|
|
|
|
|
children: ((_data$current4 = data[current]) === null || _data$current4 === void 0 ? void 0 : _data$current4.name) == '实验室管理' ? '成果展示' : '注意事项'
|
|
|
|
|
children: ((_data$current8 = data[current]) === null || _data$current8 === void 0 ? void 0 : _data$current8.name) == '实验室管理' ? '成果展示' : '注意事项'
|
|
|
|
|
})]
|
|
|
|
|
}), ((_data$current5 = data[current]) === null || _data$current5 === void 0 ? void 0 : _data$current5.name) == '实验室管理' ? /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
}), ((_data$current9 = data[current]) === null || _data$current9 === void 0 ? void 0 : _data$current9.name) == '实验室管理' ? /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: NewHomeEntrance1modules.content,
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
|
|
|
|
|
src: __webpack_require__(/*! ./img/成果.png */ 39844),
|
|
|
|
|
@ -229,14 +315,14 @@ var NewHomeEntrance1 = function NewHomeEntrance1(_ref) {
|
|
|
|
|
})
|
|
|
|
|
}) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: NewHomeEntrance1modules.content,
|
|
|
|
|
children: (_data$current6 = data[current]) === null || _data$current6 === void 0 ? void 0 : _data$current6.content
|
|
|
|
|
children: (_data$current10 = data[current]) === null || _data$current10 === void 0 ? void 0 : _data$current10.content
|
|
|
|
|
})]
|
|
|
|
|
}), !['实验室管理'].includes((_data$current7 = data[current]) === null || _data$current7 === void 0 ? void 0 : _data$current7.name) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
}), !['实验室管理', '设备管理', '物资管理'].includes((_data$current11 = data[current]) === null || _data$current11 === void 0 ? void 0 : _data$current11.name) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: NewHomeEntrance1modules.detail_btn,
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
onClick: function onClick() {
|
|
|
|
|
var _data$current8;
|
|
|
|
|
return _umi_production_exports.history.push((_data$current8 = data[current]) === null || _data$current8 === void 0 ? void 0 : _data$current8.url);
|
|
|
|
|
var _data$current12;
|
|
|
|
|
return _umi_production_exports.history.push((_data$current12 = data[current]) === null || _data$current12 === void 0 ? void 0 : _data$current12.url);
|
|
|
|
|
},
|
|
|
|
|
children: "\u67E5\u770B\u8BE6\u60C5"
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
|