parent
ec99187f41
commit
1dadedf341
File diff suppressed because one or more lines are too long
@ -1,182 +0,0 @@
|
||||
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** 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/pages/Equipment/Index/index.less?modules ***!
|
||||
\****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
.flex_box_center___jmmXe {
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
-webkit-justify-content: center;
|
||||
box-align: center;
|
||||
}
|
||||
.flex_space_between___vxGWa {
|
||||
justify-content: space-between;
|
||||
-webkit-box-pack: justify;
|
||||
}
|
||||
.flex_box_vertical_center___SGwrN {
|
||||
align-items: center;
|
||||
box-align: center;
|
||||
}
|
||||
.flex_box_center_end___KiDj3 {
|
||||
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___Z6TVL {
|
||||
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___ZnKoO {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.flex-row___pctXX {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
.justify-start___csUBe {
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
.justify-center___kKub2 {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
.justify-end___n8cXO {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
.justify-evenly___mjQm1 {
|
||||
display: flex;
|
||||
justify-content: space-evenly;
|
||||
}
|
||||
.justify-around___JL_9s {
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
}
|
||||
.justify-between___qTRS7 {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.align-start___lqbAM {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
}
|
||||
.align-center___oDNBy {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.align-end___Uiurd {
|
||||
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___ZnKoO {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.flex-row___pctXX {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
.justify-start___csUBe {
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
.justify-center___kKub2 {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
.justify-end___n8cXO {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
.justify-evenly___mjQm1 {
|
||||
display: flex;
|
||||
justify-content: space-evenly;
|
||||
}
|
||||
.justify-around___JL_9s {
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
}
|
||||
.justify-between___qTRS7 {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.align-start___lqbAM {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
}
|
||||
.align-center___oDNBy {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.align-end___Uiurd {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
}
|
||||
.MenuStyles___BHYdE {
|
||||
width: 300px;
|
||||
gap: 10px;
|
||||
background: linear-gradient(180deg, #0D2A6D 0%, #4351A8 100%);
|
||||
box-shadow: inset 0px 1px 6px 0px #051E55;
|
||||
border-radius: 8px;
|
||||
color: #fff;
|
||||
font-size: 16px;
|
||||
}
|
||||
.MenuStyles___BHYdE .MenuStylesItem___cnAZu {
|
||||
padding: 14px 44px;
|
||||
background: linear-gradient(270deg, #242FA3 0%, #3761BC 100%);
|
||||
box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.08);
|
||||
border-radius: 8px;
|
||||
position: relative;
|
||||
}
|
||||
.MenuStyles___BHYdE .MenuStylesItemActive___KgmGV {
|
||||
background: linear-gradient(270deg, #242FA3 0%, #3761BC 100%);
|
||||
box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.5), inset 0px 1px 3px 0px #FFFFFF;
|
||||
color: #96FFFD;
|
||||
}
|
||||
.MenuStyles___BHYdE .MenuStylesItemActive___KgmGV::after {
|
||||
position: absolute;
|
||||
right: -30px;
|
||||
content: "";
|
||||
width: 18px;
|
||||
height: 22px;
|
||||
-webkit-clip-path: polygon(0% 0%, 0% 100%, 100% 50%);
|
||||
clip-path: polygon(0% 0%, 0% 100%, 100% 50%);
|
||||
background: linear-gradient(270deg, #242FA3 0%, #3761BC 100%);
|
||||
box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.5), inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
.ContentStyles___Mfx8e {
|
||||
min-width: 0;
|
||||
min-height: 0;
|
||||
overflow: auto;
|
||||
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;
|
||||
}
|
||||
|
||||
@ -1,129 +0,0 @@
|
||||
"use strict";
|
||||
(self["webpackChunk"] = self["webpackChunk"] || []).push([[27416],{
|
||||
|
||||
/***/ 3242:
|
||||
/*!*********************************************************!*\
|
||||
!*** ./src/pages/Equipment/Index/index.tsx + 1 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/_react@17.0.2@react/index.js
|
||||
var _react_17_0_2_react = __webpack_require__(59301);
|
||||
;// CONCATENATED MODULE: ./src/pages/Equipment/Index/index.less?modules
|
||||
// extracted by mini-css-extract-plugin
|
||||
/* harmony default export */ var Indexmodules = ({"flex_box_center":"flex_box_center___jmmXe","flex_space_between":"flex_space_between___vxGWa","flex_box_vertical_center":"flex_box_vertical_center___SGwrN","flex_box_center_end":"flex_box_center_end___KiDj3","flex_box_column":"flex_box_column___Z6TVL","flex-col":"flex-col___ZnKoO","flex-row":"flex-row___pctXX","justify-start":"justify-start___csUBe","justify-center":"justify-center___kKub2","justify-end":"justify-end___n8cXO","justify-evenly":"justify-evenly___mjQm1","justify-around":"justify-around___JL_9s","justify-between":"justify-between___qTRS7","align-start":"align-start___lqbAM","align-center":"align-center___oDNBy","align-end":"align-end___Uiurd","MenuStyles":"MenuStyles___BHYdE","MenuStylesItem":"MenuStylesItem___cnAZu","MenuStylesItemActive":"MenuStylesItemActive___KgmGV","ContentStyles":"ContentStyles___Mfx8e"});
|
||||
// EXTERNAL MODULE: ./src/.umi-production/exports.ts
|
||||
var _umi_production_exports = __webpack_require__(88271);
|
||||
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
|
||||
var jsx_runtime = __webpack_require__(37712);
|
||||
;// CONCATENATED MODULE: ./src/pages/Equipment/Index/index.tsx
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
var Engineering = function Engineering(_ref) {
|
||||
var user = _ref.user,
|
||||
globalSetting = _ref.globalSetting,
|
||||
engineering = _ref.engineering,
|
||||
dispatch = _ref.dispatch;
|
||||
var location = (0,_umi_production_exports.useLocation)();
|
||||
(0,_react_17_0_2_react.useEffect)(function () {
|
||||
if (location.pathname == '/equipment') {
|
||||
_umi_production_exports.history.replace('/equipment/information');
|
||||
}
|
||||
}, [location.pathname]);
|
||||
(0,_react_17_0_2_react.useEffect)(function () {
|
||||
dispatch({
|
||||
type: 'globalSetting/footerToggle',
|
||||
payload: false
|
||||
});
|
||||
return function () {
|
||||
dispatch({
|
||||
type: 'globalSetting/footerToggle',
|
||||
payload: true
|
||||
});
|
||||
};
|
||||
}, []);
|
||||
function getItem(label, key, icon, children, type) {
|
||||
return {
|
||||
key: key,
|
||||
icon: icon,
|
||||
children: children,
|
||||
label: label,
|
||||
type: type
|
||||
};
|
||||
}
|
||||
var items = [getItem('设备信息管理', '/equipment/information', /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
|
||||
className: "iconfont icon-shebeixinxiguanli"
|
||||
})),
|
||||
// getItem('预约管理', '/equipment/bookingManage', <i className="iconfont icon-shebeibaofei-2"></i>),
|
||||
getItem('设备在线监控', '/equipment/working', /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
|
||||
className: "iconfont icon-shebeiyunhangjiankong"
|
||||
})), getItem('设备类型管理', '/equipment/maintenance', /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
|
||||
className: "iconfont icon-shebeiweixiujilu"
|
||||
})),
|
||||
// getItem('设备标签管理', '/equipment/deviceLabel', <i className="iconfont icon-shebeibaofei-2"></i>),
|
||||
getItem('保养信息管理', '/equipment/faultlibrary', /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
|
||||
className: "iconfont icon-shebeibaofei-2"
|
||||
})), getItem('消息中心', '/equipment/messageCenterManage', /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
|
||||
className: "iconfont icon-shebeibaofei-2"
|
||||
})), getItem('操作日志', '/equipment/actionlog', /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
|
||||
className: "iconfont icon-shebeibaofei-2"
|
||||
}))];
|
||||
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
||||
className: "flex p20 pl30 pr30",
|
||||
style: {
|
||||
gap: "20px",
|
||||
height: "calc(100vh - 82px)"
|
||||
},
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
||||
className: "p10 ".concat(Indexmodules.MenuStyles, " flex flex-col"),
|
||||
children: items === null || items === void 0 ? void 0 : items.map(function (item) {
|
||||
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
||||
className: "flex items-center justify-center current ".concat(Indexmodules.MenuStylesItem, " ").concat(location.pathname === (item === null || item === void 0 ? void 0 : item.key) ? Indexmodules.MenuStylesItemActive : ''),
|
||||
style: {
|
||||
gap: "10px"
|
||||
},
|
||||
onClick: function onClick(e) {
|
||||
_umi_production_exports.history.push(item === null || item === void 0 ? void 0 : item.key);
|
||||
},
|
||||
children: [item === null || item === void 0 ? void 0 : item.icon, /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
||||
className: "flex-1",
|
||||
style: {
|
||||
minWidth: 0
|
||||
},
|
||||
children: item === null || item === void 0 ? void 0 : item.label
|
||||
})]
|
||||
}, item === null || item === void 0 ? void 0 : item.key);
|
||||
})
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
||||
className: "flex-1 p20 ".concat(Indexmodules.ContentStyles),
|
||||
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));
|
||||
|
||||
/***/ })
|
||||
|
||||
}]);
|
||||
@ -0,0 +1,127 @@
|
||||
"use strict";
|
||||
(self["webpackChunk"] = self["webpackChunk"] || []).push([[27416],{
|
||||
|
||||
/***/ 51624:
|
||||
/*!*********************************************!*\
|
||||
!*** ./src/pages/Equipment/Index/index.tsx ***!
|
||||
\*********************************************/
|
||||
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 59301);
|
||||
/* harmony import */ var _index_less_modules__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./index.less?modules */ 57054);
|
||||
/* harmony import */ var umi__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! umi */ 88271);
|
||||
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react/jsx-runtime */ 37712);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
var Engineering = function Engineering(_ref) {
|
||||
var user = _ref.user,
|
||||
globalSetting = _ref.globalSetting,
|
||||
engineering = _ref.engineering,
|
||||
dispatch = _ref.dispatch;
|
||||
var location = (0,umi__WEBPACK_IMPORTED_MODULE_2__.useLocation)();
|
||||
(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {
|
||||
if (location.pathname == '/equipment') {
|
||||
umi__WEBPACK_IMPORTED_MODULE_2__.history.replace('/equipment/information');
|
||||
}
|
||||
}, [location.pathname]);
|
||||
(0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {
|
||||
dispatch({
|
||||
type: 'globalSetting/footerToggle',
|
||||
payload: false
|
||||
});
|
||||
return function () {
|
||||
dispatch({
|
||||
type: 'globalSetting/footerToggle',
|
||||
payload: true
|
||||
});
|
||||
};
|
||||
}, []);
|
||||
function getItem(label, key, icon, children, type) {
|
||||
return {
|
||||
key: key,
|
||||
icon: icon,
|
||||
children: children,
|
||||
label: label,
|
||||
type: type
|
||||
};
|
||||
}
|
||||
var items = [getItem('设备信息管理', '/equipment/information', /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("i", {
|
||||
className: "iconfont icon-shebeixinxiguanli"
|
||||
})),
|
||||
// getItem('预约管理', '/equipment/bookingManage', <i className="iconfont icon-shebeibaofei-2"></i>),
|
||||
getItem('设备在线监控', '/equipment/working', /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("i", {
|
||||
className: "iconfont icon-shebeiyunhangjiankong"
|
||||
})), getItem('设备类型管理', '/equipment/maintenance', /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("i", {
|
||||
className: "iconfont icon-shebeiweixiujilu"
|
||||
})),
|
||||
// getItem('设备标签管理', '/equipment/deviceLabel', <i className="iconfont icon-shebeibaofei-2"></i>),
|
||||
getItem('保养信息管理', '/equipment/faultlibrary', /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("i", {
|
||||
className: "iconfont icon-shebeibaofei-2"
|
||||
})), getItem('消息中心', '/equipment/messageCenterManage', /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("i", {
|
||||
className: "iconfont icon-shebeibaofei-2"
|
||||
})), getItem('操作日志', '/equipment/actionlog', /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("i", {
|
||||
className: "iconfont icon-shebeibaofei-2"
|
||||
}))];
|
||||
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)("div", {
|
||||
className: "flex p20 pl30 pr30",
|
||||
style: {
|
||||
gap: "20px",
|
||||
height: "calc(100vh - 82px)"
|
||||
},
|
||||
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("div", {
|
||||
className: "p10 ".concat(_index_less_modules__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z.MenuStyles, " flex flex-col"),
|
||||
children: items === null || items === void 0 ? void 0 : items.map(function (item) {
|
||||
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsxs)("div", {
|
||||
className: "flex items-center justify-center current ".concat(_index_less_modules__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z.MenuStylesItem, " ").concat(location.pathname === (item === null || item === void 0 ? void 0 : item.key) ? _index_less_modules__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z.MenuStylesItemActive : ''),
|
||||
style: {
|
||||
gap: "10px"
|
||||
},
|
||||
onClick: function onClick(e) {
|
||||
umi__WEBPACK_IMPORTED_MODULE_2__.history.push(item === null || item === void 0 ? void 0 : item.key);
|
||||
},
|
||||
children: [item === null || item === void 0 ? void 0 : item.icon, /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("div", {
|
||||
className: "flex-1",
|
||||
style: {
|
||||
minWidth: 0
|
||||
},
|
||||
children: item === null || item === void 0 ? void 0 : item.label
|
||||
})]
|
||||
}, item === null || item === void 0 ? void 0 : item.key);
|
||||
})
|
||||
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("div", {
|
||||
className: "flex-1 p20 ".concat(_index_less_modules__WEBPACK_IMPORTED_MODULE_1__/* ["default"] */ .Z.ContentStyles),
|
||||
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(umi__WEBPACK_IMPORTED_MODULE_2__.Outlet, {})
|
||||
})]
|
||||
});
|
||||
};
|
||||
/* harmony default export */ __webpack_exports__["default"] = ((0,umi__WEBPACK_IMPORTED_MODULE_2__.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));
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 57054:
|
||||
/*!******************************************************!*\
|
||||
!*** ./src/pages/Equipment/Index/index.less?modules ***!
|
||||
\******************************************************/
|
||||
/***/ (function(__unused_webpack_module, __webpack_exports__) {
|
||||
|
||||
// extracted by mini-css-extract-plugin
|
||||
/* harmony default export */ __webpack_exports__.Z = ({"flex_box_center":"flex_box_center___jmmXe","flex_space_between":"flex_space_between___vxGWa","flex_box_vertical_center":"flex_box_vertical_center___SGwrN","flex_box_center_end":"flex_box_center_end___KiDj3","flex_box_column":"flex_box_column___Z6TVL","flex-col":"flex-col___ZnKoO","flex-row":"flex-row___pctXX","justify-start":"justify-start___csUBe","justify-center":"justify-center___kKub2","justify-end":"justify-end___n8cXO","justify-evenly":"justify-evenly___mjQm1","justify-around":"justify-around___JL_9s","justify-between":"justify-between___qTRS7","align-start":"align-start___lqbAM","align-center":"align-center___oDNBy","align-end":"align-end___Uiurd","MenuStyles":"MenuStyles___BHYdE","MenuStylesItem":"MenuStylesItem___cnAZu","MenuStylesItemActive":"MenuStylesItemActive___KgmGV","ContentStyles":"ContentStyles___Mfx8e","ModalStyles":"ModalStyles___tzV2m","InputStyles":"InputStyles___V8C5m","FormStyle":"FormStyle___gPLGW","TableStyle":"TableStyle___DNKJL"});
|
||||
|
||||
/***/ })
|
||||
|
||||
}]);
|
||||
@ -1,53 +0,0 @@
|
||||
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** 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/pages/Equipment/Information/InfoList/index.less?modules ***!
|
||||
\*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
.FormStyle___bUUkD [class~="ant-form-item-label"] > label {
|
||||
color: #90AAFF;
|
||||
}
|
||||
.FormStyle___bUUkD [class~="ant-input-affix-wrapper"],
|
||||
.FormStyle___bUUkD [class~="ant-select-selector"] {
|
||||
background-color: #17378A !important;
|
||||
box-shadow: inset 0px 1px 3px 0px rgba(29, 29, 29, 0.5);
|
||||
border-radius: 4px !important;
|
||||
color: #fff !important;
|
||||
border: none !important;
|
||||
}
|
||||
.FormStyle___bUUkD [class~="ant-select-arrow"] {
|
||||
color: #fff;
|
||||
}
|
||||
.FormStyle___bUUkD [class~="ant-input-affix-wrapper"] > input::-webkit-input-placeholder {
|
||||
background: none !important;
|
||||
color: #fff !important;
|
||||
}
|
||||
.FormStyle___bUUkD [class~="ant-input-affix-wrapper"] > input:-ms-input-placeholder {
|
||||
background: none !important;
|
||||
color: #fff !important;
|
||||
}
|
||||
.FormStyle___bUUkD [class~="ant-input-affix-wrapper"] > input::-ms-input-placeholder {
|
||||
background: none !important;
|
||||
color: #fff !important;
|
||||
}
|
||||
.FormStyle___bUUkD [class~="ant-input-affix-wrapper"] > input::placeholder,
|
||||
.FormStyle___bUUkD [class~="ant-input-affix-wrapper"] > input {
|
||||
background: none !important;
|
||||
color: #fff !important;
|
||||
}
|
||||
.TitleStyle___wXHTJ table {
|
||||
border-spacing: 0 10px;
|
||||
}
|
||||
.TitleStyle___wXHTJ [class~="ant-table"] {
|
||||
background: none;
|
||||
}
|
||||
.TitleStyle___wXHTJ [class~="ant-table-cell"] {
|
||||
background: linear-gradient(180deg, #355EBB 0%, #2737A7 100%) !important;
|
||||
border-right: none !important;
|
||||
color: #FFFFFF !important;
|
||||
border-image: linear-gradient(360deg, #4695e6, #5f9ae8) 1 1;
|
||||
}
|
||||
.TitleStyle___wXHTJ [class~="ant-table-cell"]::before {
|
||||
display: none;
|
||||
}
|
||||
.TitleStyle___wXHTJ [class~="ant-table-row"] {
|
||||
margin-top: 10px !important;
|
||||
}
|
||||
|
||||
@ -1,398 +0,0 @@
|
||||
"use strict";
|
||||
(self["webpackChunk"] = self["webpackChunk"] || []).push([[88093],{
|
||||
|
||||
/***/ 90804:
|
||||
/*!***************************************************************!*\
|
||||
!*** ./src/pages/Equipment/Maintenance/index.tsx + 3 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 */ Maintenance; }
|
||||
});
|
||||
|
||||
// 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/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectDestructuringEmpty.js
|
||||
var objectDestructuringEmpty = __webpack_require__(70236);
|
||||
var objectDestructuringEmpty_default = /*#__PURE__*/__webpack_require__.n(objectDestructuringEmpty);
|
||||
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input/index.js + 3 modules
|
||||
var input = __webpack_require__(92832);
|
||||
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/table/index.js + 85 modules
|
||||
var table = __webpack_require__(36546);
|
||||
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/pagination/index.js + 10 modules
|
||||
var pagination = __webpack_require__(19871);
|
||||
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
|
||||
var _react_17_0_2_react = __webpack_require__(59301);
|
||||
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js
|
||||
var regeneratorRuntime = __webpack_require__(7557);
|
||||
var regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(regeneratorRuntime);
|
||||
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js
|
||||
var asyncToGenerator = __webpack_require__(41498);
|
||||
var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator);
|
||||
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js
|
||||
var objectSpread2 = __webpack_require__(82242);
|
||||
var objectSpread2_default = /*#__PURE__*/__webpack_require__.n(objectSpread2);
|
||||
// EXTERNAL MODULE: ./src/service/onlinedevice.ts
|
||||
var onlinedevice = __webpack_require__(82135);
|
||||
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/form/index.js + 19 modules
|
||||
var es_form = __webpack_require__(78241);
|
||||
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/modal/index.js + 16 modules
|
||||
var modal = __webpack_require__(43418);
|
||||
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/message/index.js + 4 modules
|
||||
var message = __webpack_require__(8591);
|
||||
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/radio/index.js + 5 modules
|
||||
var es_radio = __webpack_require__(5112);
|
||||
;// CONCATENATED MODULE: ./src/pages/Equipment/Maintenance/Dialog/index.less?modules
|
||||
// extracted by mini-css-extract-plugin
|
||||
/* harmony default export */ var Dialogmodules = ({"file_button":"file_button___Ta3Fp","my_modal":"my_modal___cAWzt"});
|
||||
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
|
||||
var jsx_runtime = __webpack_require__(37712);
|
||||
;// CONCATENATED MODULE: ./src/pages/Equipment/Maintenance/Dialog/index.tsx
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
var TextArea = input/* default */.Z.TextArea;
|
||||
var DeviceTypeDialog = function DeviceTypeDialog(_ref) {
|
||||
var visible = _ref.visible,
|
||||
setVisible = _ref.setVisible,
|
||||
dataInfo = _ref.dataInfo,
|
||||
queryData = _ref.queryData;
|
||||
var _Form$useForm = es_form/* default */.Z.useForm(),
|
||||
_Form$useForm2 = slicedToArray_default()(_Form$useForm, 1),
|
||||
form = _Form$useForm2[0];
|
||||
(0,_react_17_0_2_react.useEffect)(function () {
|
||||
if (visible) {
|
||||
if (dataInfo !== null && dataInfo !== void 0 && dataInfo.id) {
|
||||
//编辑时 查看详情
|
||||
(0,onlinedevice/* device_type_table_info */.SY)(dataInfo === null || dataInfo === void 0 ? void 0 : dataInfo.id).then(function (res) {
|
||||
form.setFieldsValue(objectSpread2_default()({}, res));
|
||||
});
|
||||
}
|
||||
} else {
|
||||
form.resetFields();
|
||||
}
|
||||
}, [visible]);
|
||||
return /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, {
|
||||
maskClosable: false,
|
||||
centered: true,
|
||||
keyboard: false,
|
||||
destroyOnClose: true,
|
||||
className: Dialogmodules.my_modal,
|
||||
title: "".concat(dataInfo !== null && dataInfo !== void 0 && dataInfo.id ? '编辑' : '新增', "\u8BBE\u5907\u7C7B\u578B"),
|
||||
width: "700px",
|
||||
open: visible,
|
||||
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:
|
||||
form.submit();
|
||||
case 1:
|
||||
case "end":
|
||||
return _context.stop();
|
||||
}
|
||||
}, _callee);
|
||||
})),
|
||||
onCancel: function onCancel() {
|
||||
setVisible(false);
|
||||
},
|
||||
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, {
|
||||
size: "large",
|
||||
className: Dialogmodules.formWrap,
|
||||
labelAlign: "right",
|
||||
labelCol: {
|
||||
span: 5
|
||||
},
|
||||
form: form,
|
||||
onFinish: function onFinish(allValue) {
|
||||
if (allValue.id) {
|
||||
var _allValue$description, _allValue$name;
|
||||
//编辑
|
||||
(0,onlinedevice/* device_type_table_update */.RW)(objectSpread2_default()(objectSpread2_default()({}, allValue), {}, {
|
||||
description: allValue === null || allValue === void 0 || (_allValue$description = allValue.description) === null || _allValue$description === void 0 ? void 0 : _allValue$description.trim(),
|
||||
name: allValue === null || allValue === void 0 || (_allValue$name = allValue.name) === null || _allValue$name === void 0 ? void 0 : _allValue$name.trim()
|
||||
})).then(function (res) {
|
||||
if ((res === null || res === void 0 ? void 0 : res.status) === 0) {
|
||||
message/* default */.ZP.success('编辑成功');
|
||||
setVisible(false);
|
||||
queryData();
|
||||
}
|
||||
});
|
||||
} else {
|
||||
var _allValue$description2, _allValue$name2;
|
||||
//新增
|
||||
(0,onlinedevice/* device_type_table_add */.d_)(objectSpread2_default()(objectSpread2_default()({}, allValue), {}, {
|
||||
description: allValue === null || allValue === void 0 || (_allValue$description2 = allValue.description) === null || _allValue$description2 === void 0 ? void 0 : _allValue$description2.trim(),
|
||||
name: allValue === null || allValue === void 0 || (_allValue$name2 = allValue.name) === null || _allValue$name2 === void 0 ? void 0 : _allValue$name2.trim()
|
||||
})).then(function (res) {
|
||||
if ((res === null || res === void 0 ? void 0 : res.status) === 0) {
|
||||
message/* default */.ZP.success('新增成功');
|
||||
setVisible(false);
|
||||
queryData();
|
||||
}
|
||||
});
|
||||
}
|
||||
},
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
||||
name: "id",
|
||||
hidden: true
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
||||
name: "name",
|
||||
label: "\u7C7B\u578B\u540D\u79F0",
|
||||
rules: [{
|
||||
required: true
|
||||
}],
|
||||
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {})
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
||||
name: "number",
|
||||
label: "\u7C7B\u578B\u7F16\u53F7",
|
||||
rules: [{
|
||||
required: true,
|
||||
whitespace: true,
|
||||
message: '不能为空'
|
||||
}, {
|
||||
required: true,
|
||||
pattern: /^\d{3}$/,
|
||||
message: '必须是三位数字'
|
||||
}],
|
||||
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
|
||||
disabled: dataInfo === null || dataInfo === void 0 ? void 0 : dataInfo.id
|
||||
})
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
||||
name: "need_monitor",
|
||||
label: "\u662F\u5426\u9700\u8981\u76D1\u63A7\u6027\u80FD",
|
||||
rules: [{
|
||||
required: true,
|
||||
message: '请选择是否需要监控性能'
|
||||
}],
|
||||
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_radio/* default.Group */.ZP.Group, {
|
||||
options: [{
|
||||
value: false,
|
||||
label: '否'
|
||||
}, {
|
||||
value: true,
|
||||
label: '是'
|
||||
}]
|
||||
})
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
||||
name: "description",
|
||||
label: "\u5907\u6CE8",
|
||||
children: /*#__PURE__*/(0,jsx_runtime.jsx)(TextArea, {
|
||||
rows: 4
|
||||
})
|
||||
})]
|
||||
})
|
||||
});
|
||||
};
|
||||
/* harmony default export */ var Dialog = (DeviceTypeDialog);
|
||||
;// CONCATENATED MODULE: ./src/pages/Equipment/Maintenance/index.less?modules
|
||||
// extracted by mini-css-extract-plugin
|
||||
/* harmony default export */ var Maintenancemodules = ({"header_div":"header_div___trzMW","header_title":"header_title___RyK0X","search":"search___lF9UC","searchIcon":"searchIcon___YY41x","search_params":"search_params___eBV0k","clear_Data":"clear_Data___Wcmtq","ellipsis":"ellipsis___eB9rv"});
|
||||
// EXTERNAL MODULE: ./src/styles/table_botton.less
|
||||
var table_botton = __webpack_require__(55130);
|
||||
;// CONCATENATED MODULE: ./src/pages/Equipment/Maintenance/index.tsx
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
var DeviceTypePage = function DeviceTypePage(_ref) {
|
||||
objectDestructuringEmpty_default()(_ref);
|
||||
var _useState = (0,_react_17_0_2_react.useState)([]),
|
||||
_useState2 = slicedToArray_default()(_useState, 2),
|
||||
tableData = _useState2[0],
|
||||
setTableData = _useState2[1];
|
||||
var _useState3 = (0,_react_17_0_2_react.useState)(1),
|
||||
_useState4 = slicedToArray_default()(_useState3, 2),
|
||||
page = _useState4[0],
|
||||
setPage = _useState4[1];
|
||||
var _useState5 = (0,_react_17_0_2_react.useState)(10),
|
||||
_useState6 = slicedToArray_default()(_useState5, 2),
|
||||
limit = _useState6[0],
|
||||
setLimit = _useState6[1];
|
||||
var _useState7 = (0,_react_17_0_2_react.useState)(0),
|
||||
_useState8 = slicedToArray_default()(_useState7, 2),
|
||||
total = _useState8[0],
|
||||
setTotal = _useState8[1];
|
||||
var _useState9 = (0,_react_17_0_2_react.useState)(''),
|
||||
_useState10 = slicedToArray_default()(_useState9, 2),
|
||||
keyword = _useState10[0],
|
||||
setKeyword = _useState10[1];
|
||||
var _useState11 = (0,_react_17_0_2_react.useState)(false),
|
||||
_useState12 = slicedToArray_default()(_useState11, 2),
|
||||
visible = _useState12[0],
|
||||
setVisible = _useState12[1];
|
||||
var _useState13 = (0,_react_17_0_2_react.useState)({}),
|
||||
_useState14 = slicedToArray_default()(_useState13, 2),
|
||||
dataInfo = _useState14[0],
|
||||
setDataInfo = _useState14[1];
|
||||
(0,_react_17_0_2_react.useEffect)(function () {
|
||||
queryData();
|
||||
}, [page, limit]);
|
||||
var columns = [{
|
||||
title: '类型编号',
|
||||
width: 200,
|
||||
ellipsis: true,
|
||||
key: 'number',
|
||||
dataIndex: 'number'
|
||||
}, {
|
||||
title: '类型名称',
|
||||
width: 200,
|
||||
ellipsis: true,
|
||||
key: 'name',
|
||||
dataIndex: 'name'
|
||||
}, {
|
||||
title: '关联设备数',
|
||||
width: 100,
|
||||
key: 'associated_device_count',
|
||||
dataIndex: 'associated_device_count'
|
||||
}, {
|
||||
title: '是否需要监控性能',
|
||||
key: 'need_monitor',
|
||||
dataIndex: 'need_monitor',
|
||||
width: 200,
|
||||
align: 'center',
|
||||
render: function render(text) {
|
||||
return text ? '是' : '否';
|
||||
}
|
||||
}, {
|
||||
title: '类型说明',
|
||||
key: 'description',
|
||||
width: 200,
|
||||
ellipsis: true,
|
||||
dataIndex: 'description'
|
||||
}, {
|
||||
title: '操作',
|
||||
fixed: 'right',
|
||||
key: 'cz',
|
||||
width: 200,
|
||||
render: function render(_, record) {
|
||||
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
||||
style: {
|
||||
color: "#165dff",
|
||||
marginRight: '10px',
|
||||
cursor: "pointer"
|
||||
},
|
||||
onClick: function onClick() {
|
||||
setVisible(true);
|
||||
setDataInfo(record);
|
||||
},
|
||||
children: "\u7F16\u8F91"
|
||||
});
|
||||
}
|
||||
}];
|
||||
var onChange = function onChange(pageNumber) {
|
||||
setPage(pageNumber);
|
||||
};
|
||||
var onShowSizeChange = function onShowSizeChange(current, pageSize) {
|
||||
setLimit(pageSize);
|
||||
};
|
||||
var queryData = function queryData() {
|
||||
(0,onlinedevice/* device_type_table_query */.uz)({
|
||||
page: page,
|
||||
limit: limit,
|
||||
keyword: keyword
|
||||
}).then(function (res) {
|
||||
// if (res.status == 0) {
|
||||
setTableData(res === null || res === void 0 ? void 0 : res.device_types);
|
||||
setTotal(res === null || res === void 0 ? void 0 : res.device_type_count);
|
||||
// }
|
||||
});
|
||||
};
|
||||
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
||||
className: Maintenancemodules.header_div,
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
||||
className: Maintenancemodules.header_title,
|
||||
children: "\u8BBE\u5907\u7C7B\u578B\u7BA1\u7406"
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
||||
className: Maintenancemodules.search_params,
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z.Search, {
|
||||
placeholder: "\u8BF7\u8F93\u5165\u60A8\u60F3\u641C\u7D22\u7684\u5185\u5BB9",
|
||||
size: "large",
|
||||
className: Maintenancemodules.search,
|
||||
value: keyword,
|
||||
onChange: function onChange(e) {
|
||||
setKeyword(e.target.value);
|
||||
},
|
||||
onSearch: function onSearch(value) {
|
||||
setKeyword(value);
|
||||
},
|
||||
suffix: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
|
||||
className: "iconfont icon-sousuo9 font14 ".concat(Maintenancemodules.searchIcon),
|
||||
onClick: function onClick() {
|
||||
queryData();
|
||||
}
|
||||
})
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
||||
className: Maintenancemodules.clear_Data,
|
||||
style: {
|
||||
width: '88px',
|
||||
marginLeft: '20px'
|
||||
},
|
||||
onClick: function onClick() {
|
||||
setVisible(true);
|
||||
setDataInfo({});
|
||||
},
|
||||
children: "\u65B0\u5EFA\u7C7B\u578B"
|
||||
})]
|
||||
})]
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, {
|
||||
scroll: {
|
||||
x: 1500
|
||||
},
|
||||
columns: columns,
|
||||
dataSource: tableData,
|
||||
pagination: false,
|
||||
rowKey: "id"
|
||||
}), total > limit && /*#__PURE__*/(0,jsx_runtime.jsx)(pagination/* default */.Z, {
|
||||
showQuickJumper: true,
|
||||
current: page,
|
||||
pageSize: limit,
|
||||
total: total,
|
||||
onChange: onChange,
|
||||
className: Maintenancemodules.page_style,
|
||||
onShowSizeChange: onShowSizeChange
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)(Dialog, {
|
||||
visible: visible,
|
||||
queryData: queryData,
|
||||
setVisible: setVisible,
|
||||
dataInfo: dataInfo
|
||||
})]
|
||||
});
|
||||
};
|
||||
/* harmony default export */ var Maintenance = (DeviceTypePage);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 55130:
|
||||
/*!**************************************!*\
|
||||
!*** ./src/styles/table_botton.less ***!
|
||||
\**************************************/
|
||||
/***/ (function() {
|
||||
|
||||
// extracted by mini-css-extract-plugin
|
||||
|
||||
|
||||
/***/ })
|
||||
|
||||
}]);
|
||||
@ -1,197 +0,0 @@
|
||||
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** 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/pages/Equipment/Maintenance/Dialog/index.less?modules ***!
|
||||
\*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
.file_button___Ta3Fp {
|
||||
height: 38px;
|
||||
width: 116px;
|
||||
border-radius: 4px;
|
||||
text-align: center;
|
||||
line-height: 38px;
|
||||
border: 1px #DAE7EC solid;
|
||||
cursor: pointer;
|
||||
}
|
||||
.file_button___Ta3Fp:hover {
|
||||
border: 1px #3c60c9 solid;
|
||||
color: #3c60c9;
|
||||
}
|
||||
.my_modal___cAWzt [class~='ant-form-item'] {
|
||||
margin-bottom: 14px !important;
|
||||
}
|
||||
.my_modal___cAWzt [class~='ant-form-item'] [class~='ant-form-item-label'] {
|
||||
text-align: right !important;
|
||||
}
|
||||
.my_modal___cAWzt [class~='ant-form-item'] [class~='ant-form-item-label'] label {
|
||||
color: #666 !important;
|
||||
display: block !important;
|
||||
line-height: 38px !important;
|
||||
padding-right: 5px !important;
|
||||
}
|
||||
|
||||
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** 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/pages/Equipment/Maintenance/index.less?modules ***!
|
||||
\**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
.header_div___trzMW {
|
||||
height: 60px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.header_div___trzMW .header_title___RyK0X {
|
||||
height: 38px;
|
||||
font-size: 16px;
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 500;
|
||||
color: #000000;
|
||||
line-height: 38px;
|
||||
}
|
||||
.header_div___trzMW .search___lF9UC {
|
||||
margin-left: auto;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
overflow: hidden;
|
||||
border-radius: 19px;
|
||||
height: 38px;
|
||||
width: 268px;
|
||||
padding-left: 8px;
|
||||
background-color: #f6f7f9;
|
||||
border: none;
|
||||
}
|
||||
.header_div___trzMW .search___lF9UC span[class~='ant-input-search-icon'] {
|
||||
display: none;
|
||||
}
|
||||
.header_div___trzMW .search___lF9UC [class~='ant-input-affix-wrapper'] {
|
||||
background-color: #f6f7f9;
|
||||
border: none;
|
||||
}
|
||||
.header_div___trzMW .search___lF9UC [class~='ant-input-affix-wrapper'] {
|
||||
outline: none !important;
|
||||
border: none !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
.header_div___trzMW .search___lF9UC span[class~='ant-input-group-addon'] {
|
||||
display: none;
|
||||
}
|
||||
.header_div___trzMW .search___lF9UC .searchIcon___YY41x {
|
||||
margin-right: 14px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.header_div___trzMW .search___lF9UC input {
|
||||
background-color: #f6f7f9;
|
||||
}
|
||||
.search_params___eBV0k {
|
||||
display: flex;
|
||||
}
|
||||
.search_params___eBV0k [class~='ant-form-item'] [class~='ant-form-item-label'] {
|
||||
text-align: right !important;
|
||||
}
|
||||
.search_params___eBV0k [class~='ant-form-item'] [class~='ant-form-item-label'] label {
|
||||
color: #666 !important;
|
||||
display: block !important;
|
||||
height: 36px !important;
|
||||
line-height: 36px !important;
|
||||
}
|
||||
.search_params___eBV0k [class~='ant-select-selector'] {
|
||||
height: 36px !important;
|
||||
}
|
||||
.search_params___eBV0k [class~='ant-picker'] {
|
||||
height: 36px !important;
|
||||
}
|
||||
.search_params___eBV0k [class~='ant-select-selection-item'] {
|
||||
line-height: 34px !important;
|
||||
}
|
||||
.clear_Data___Wcmtq {
|
||||
width: 102px;
|
||||
height: 32px;
|
||||
background: #3061D0;
|
||||
box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
|
||||
border-radius: 2px;
|
||||
font-size: 14px;
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
color: #FFFFFF;
|
||||
line-height: 32px;
|
||||
margin-left: auto;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
margin-top: 3px;
|
||||
}
|
||||
.ellipsis___eB9rv {
|
||||
width: 120px;
|
||||
/* 设置容器的固定宽度 */
|
||||
white-space: nowrap;
|
||||
/* 防止文本换行 */
|
||||
overflow: hidden;
|
||||
/* 隐藏溢出的内容 */
|
||||
text-overflow: ellipsis;
|
||||
/* 显示省略号 */
|
||||
-webkit-text-decoration-line: underline;
|
||||
text-decoration-line: underline;
|
||||
}
|
||||
|
||||
/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/styles/table_botton.less ***!
|
||||
\************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
.tag_btn,
|
||||
.info,
|
||||
.update,
|
||||
.xiajia,
|
||||
.yuyue_info,
|
||||
.yuyue_clear,
|
||||
.yuyue_update,
|
||||
.baofei_info,
|
||||
.yichang_info {
|
||||
display: inline-block;
|
||||
width: 44px;
|
||||
margin-right: 10px;
|
||||
padding: 1px 0px;
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
border-radius: 2px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.info {
|
||||
color: #0370d5;
|
||||
background: rgba(3, 112, 213, 0.1);
|
||||
border: 1px solid #0370d5;
|
||||
}
|
||||
.update {
|
||||
color: #019158;
|
||||
background: rgba(1, 145, 88, 0.1);
|
||||
border: 1px solid #019158;
|
||||
}
|
||||
.xiajia {
|
||||
color: #fe5050;
|
||||
background: rgba(254, 80, 80, 0.1);
|
||||
border: 1px solid #fe5050;
|
||||
}
|
||||
.yuyue_info {
|
||||
width: 72px;
|
||||
color: #0370d5;
|
||||
background: rgba(3, 112, 213, 0.1);
|
||||
border: 1px solid #0370d5;
|
||||
}
|
||||
.yuyue_clear {
|
||||
width: 72px;
|
||||
color: #fa6400;
|
||||
background: rgba(250, 100, 0, 0.1);
|
||||
border: 1px solid #fa6400;
|
||||
}
|
||||
.yuyue_update {
|
||||
width: 72px;
|
||||
color: #019158;
|
||||
background: rgba(1, 145, 88, 0.1);
|
||||
border: 1px solid #019158;
|
||||
}
|
||||
.baofei_info {
|
||||
width: 72px;
|
||||
color: #fe5050;
|
||||
background: rgba(254, 80, 80, 0.1);
|
||||
border: 1px solid #fe5050;
|
||||
}
|
||||
.yichang_info {
|
||||
width: 96px;
|
||||
color: #0370d5;
|
||||
background: rgba(3, 112, 213, 0.1);
|
||||
border: 1px solid #0370d5;
|
||||
}
|
||||
|
||||
@ -0,0 +1,68 @@
|
||||
/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/styles/table_botton.less ***!
|
||||
\************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
.tag_btn,
|
||||
.info,
|
||||
.update,
|
||||
.xiajia,
|
||||
.yuyue_info,
|
||||
.yuyue_clear,
|
||||
.yuyue_update,
|
||||
.baofei_info,
|
||||
.yichang_info {
|
||||
display: inline-block;
|
||||
width: 44px;
|
||||
margin-right: 10px;
|
||||
padding: 1px 0px;
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
border-radius: 2px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.info {
|
||||
color: #0370d5;
|
||||
background: rgba(3, 112, 213, 0.1);
|
||||
border: 1px solid #0370d5;
|
||||
}
|
||||
.update {
|
||||
color: #019158;
|
||||
background: rgba(1, 145, 88, 0.1);
|
||||
border: 1px solid #019158;
|
||||
}
|
||||
.xiajia {
|
||||
color: #fe5050;
|
||||
background: rgba(254, 80, 80, 0.1);
|
||||
border: 1px solid #fe5050;
|
||||
}
|
||||
.yuyue_info {
|
||||
width: 72px;
|
||||
color: #0370d5;
|
||||
background: rgba(3, 112, 213, 0.1);
|
||||
border: 1px solid #0370d5;
|
||||
}
|
||||
.yuyue_clear {
|
||||
width: 72px;
|
||||
color: #fa6400;
|
||||
background: rgba(250, 100, 0, 0.1);
|
||||
border: 1px solid #fa6400;
|
||||
}
|
||||
.yuyue_update {
|
||||
width: 72px;
|
||||
color: #019158;
|
||||
background: rgba(1, 145, 88, 0.1);
|
||||
border: 1px solid #019158;
|
||||
}
|
||||
.baofei_info {
|
||||
width: 72px;
|
||||
color: #fe5050;
|
||||
background: rgba(254, 80, 80, 0.1);
|
||||
border: 1px solid #fe5050;
|
||||
}
|
||||
.yichang_info {
|
||||
width: 96px;
|
||||
color: #0370d5;
|
||||
background: rgba(3, 112, 213, 0.1);
|
||||
border: 1px solid #0370d5;
|
||||
}
|
||||
|
||||
|
After Width: | Height: | Size: 174 KiB |
File diff suppressed because one or more lines are too long
Loading…
Reference in new issue