Auto Submit

dev_local_v9_test4
autosubmit 2 years ago
parent 3227f95a20
commit 20bc26ca23

@ -769,8 +769,8 @@ var context = __webpack_require__(36355);
var useLocale = __webpack_require__(9763);
// EXTERNAL MODULE: ./node_modules/_@ctrl_tinycolor@3.6.1@@ctrl/tinycolor/dist/module/index.js
var dist_module = __webpack_require__(64993);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/useToken.js + 4 modules
var useToken = __webpack_require__(88088);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/useToken.js
var useToken = __webpack_require__(70305);
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/empty/empty.js
"use client";

@ -161,8 +161,8 @@ var context = __webpack_require__(36355);
var useLocale = __webpack_require__(9763);
// EXTERNAL MODULE: ./node_modules/_@ctrl_tinycolor@3.6.1@@ctrl/tinycolor/dist/module/index.js
var dist_module = __webpack_require__(64993);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/useToken.js + 4 modules
var useToken = __webpack_require__(88088);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/useToken.js
var useToken = __webpack_require__(70305);
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/empty/empty.js
"use client";

@ -230,8 +230,8 @@ var context = __webpack_require__(36355);
var useLocale = __webpack_require__(9763);
// EXTERNAL MODULE: ./node_modules/_@ctrl_tinycolor@3.6.1@@ctrl/tinycolor/dist/module/index.js
var dist_module = __webpack_require__(64993);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/useToken.js + 4 modules
var useToken = __webpack_require__(88088);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/useToken.js
var useToken = __webpack_require__(70305);
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/empty/empty.js
"use client";

@ -275,7 +275,7 @@ function _for_option_query() {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee10$(_context10) {
while (1) switch (_context10.prev = _context10.next) {
case 0:
return _context10.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/schools/".concat(39131, "/departments/for_option.json"), {
return _context10.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/schools/".concat(1, "/departments/for_option.json"), {
method: 'get',
params: params
}));

@ -2173,8 +2173,8 @@ var Tour = function Tour(props) {
var _util_placements = __webpack_require__(79676);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/config-provider/context.js
var context = __webpack_require__(36355);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/useToken.js + 4 modules
var useToken = __webpack_require__(88088);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/useToken.js
var useToken = __webpack_require__(70305);
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.4.0@@ant-design/icons/es/icons/CloseOutlined.js + 1 modules
var CloseOutlined = __webpack_require__(53043);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/button/index.js

@ -3951,8 +3951,8 @@ var en_US = __webpack_require__(31724);
var es_pagination = __webpack_require__(86859);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/spin/index.js + 1 modules
var spin = __webpack_require__(71418);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/useToken.js + 4 modules
var useToken = __webpack_require__(88088);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/theme/useToken.js
var useToken = __webpack_require__(70305);
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/table/ExpandIcon.js
"use client";

@ -966,7 +966,7 @@ var languageConfigurationRegistry = __webpack_require__(73468);
// EXTERNAL MODULE: ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/editor/contrib/indentation/indentUtils.js
var indentUtils = __webpack_require__(44765);
// EXTERNAL MODULE: ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/platform/quickinput/common/quickInput.js
var quickInput = __webpack_require__(96148);
var quickInput = __webpack_require__(83079);
;// CONCATENATED MODULE: ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/editor/contrib/indentation/indentation.js
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.

@ -138,7 +138,7 @@ if (false) {}
/***/ }),
/***/ 34362:
/***/ 76933:
/*!********************************************************************************************************!*\
!*** ./node_modules/_@ant-design_icons@5.4.0@@ant-design/icons/es/icons/FilterOutlined.js + 1 modules ***!
\********************************************************************************************************/

@ -21,7 +21,7 @@
/* harmony import */ var _config_provider__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../config-provider */ 36355);
/* harmony import */ var _menu__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../menu */ 20834);
/* harmony import */ var _menu_OverrideContext__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../menu/OverrideContext */ 40875);
/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../theme/internal */ 88088);
/* harmony import */ var _theme_internal__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../theme/internal */ 70305);
/* harmony import */ var _style__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./style */ 47211);
"use client";

File diff suppressed because it is too large Load Diff

@ -35,12 +35,15 @@
/* harmony export */ eX: function() { return /* binding */ device_tags_device_type; },
/* harmony export */ ed: function() { return /* binding */ reservations_table_query; },
/* harmony export */ f6: function() { return /* binding */ reservations_table_reviewed; },
/* harmony export */ hO: function() { return /* binding */ device_fault_add; },
/* harmony export */ iD: function() { return /* binding */ device_fault_query; },
/* harmony export */ lX: function() { return /* binding */ reservations_table_update; },
/* harmony export */ oW: function() { return /* binding */ reservations_table_add; },
/* harmony export */ uz: function() { return /* binding */ device_type_table_query; }
/* harmony export */ sp: function() { return /* binding */ device_info_table_add; },
/* harmony export */ uz: function() { return /* binding */ device_type_table_query; },
/* harmony export */ zZ: function() { return /* binding */ device_fault_update; }
/* harmony export */ });
/* unused harmony exports device_fault_infos_content, device_fault_statistics, device_info_table_update, device_info_table_add, reservations_table_querys, application_scrapped, scrapped_data_info, support_shixuns_info, used_rate, shixun_use_type_records, device_statistics, behavior_statistics, procure_records_device_statistics, device_fault_add, device_fault_update, device_fault_infos */
/* unused harmony exports device_fault_infos_content, device_fault_statistics, device_info_table_update, reservations_table_querys, application_scrapped, scrapped_data_info, support_shixuns_info, used_rate, shixun_use_type_records, device_statistics, behavior_statistics, procure_records_device_statistics, device_fault_infos */
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/regeneratorRuntime.js */ 7557);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js */ 82242);
@ -511,13 +514,13 @@ function device_info_table_add(_x22) {
//预约列表(预约管理, 预约审核)
function _device_info_table_add() {
_device_info_table_add = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee22(data) {
return _regeneratorRuntime().wrap(function _callee22$(_context22) {
_device_info_table_add = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee22(data) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee22$(_context22) {
while (1) switch (_context22.prev = _context22.next) {
case 0:
return _context22.abrupt("return", Fetch("/api/zz_classrooms/devices.json", {
return _context22.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/devices.json", {
method: 'post',
body: _objectSpread({}, data)
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, data)
}));
case 1:
case "end":
@ -945,13 +948,13 @@ function device_fault_add(_x42) {
}
//更新故障记录
function _device_fault_add() {
_device_fault_add = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee42(data) {
return _regeneratorRuntime().wrap(function _callee42$(_context42) {
_device_fault_add = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee42(data) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee42$(_context42) {
while (1) switch (_context42.prev = _context42.next) {
case 0:
return _context42.abrupt("return", Fetch("/api/zz_classrooms/device_fault_infos.json", {
return _context42.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_fault_infos.json", {
method: 'post',
body: _objectSpread({}, data)
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, data)
}));
case 1:
case "end":
@ -966,13 +969,13 @@ function device_fault_update(_x43) {
}
//获取单条故障记录
function _device_fault_update() {
_device_fault_update = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee43(data) {
return _regeneratorRuntime().wrap(function _callee43$(_context43) {
_device_fault_update = _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_2___default()( /*#__PURE__*/_root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().mark(function _callee43(data) {
return _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0___default()().wrap(function _callee43$(_context43) {
while (1) switch (_context43.prev = _context43.next) {
case 0:
return _context43.abrupt("return", Fetch("/api/zz_classrooms/device_fault_infos/".concat(data === null || data === void 0 ? void 0 : data.id, ".json"), {
return _context43.abrupt("return", (0,_utils_fetch__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .ZP)("/api/zz_classrooms/device_fault_infos/".concat(data === null || data === void 0 ? void 0 : data.id, ".json"), {
method: 'put',
body: _objectSpread({}, data)
body: _root_workspace_ppte5yg23_local_v9_test4_node_modules_babel_runtime_7_23_6_babel_runtime_helpers_objectSpread2_js__WEBPACK_IMPORTED_MODULE_1___default()({}, data)
}));
case 1:
case "end":

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

@ -81449,7 +81449,7 @@ var nls = __webpack_require__(13268);
// EXTERNAL MODULE: ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/platform/notification/common/notification.js
var notification = __webpack_require__(79504);
// EXTERNAL MODULE: ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/platform/quickinput/common/quickInput.js
var quickInput = __webpack_require__(96148);
var quickInput = __webpack_require__(83079);
;// CONCATENATED MODULE: ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/editor/contrib/codelens/codelensController.js
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
@ -130578,7 +130578,7 @@ var functional = __webpack_require__(17845);
// EXTERNAL MODULE: ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/platform/quickinput/common/quickAccess.js
var quickAccess = __webpack_require__(82825);
// EXTERNAL MODULE: ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/platform/quickinput/common/quickInput.js
var common_quickInput = __webpack_require__(96148);
var common_quickInput = __webpack_require__(83079);
;// CONCATENATED MODULE: ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/platform/quickinput/browser/quickAccess.js
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
@ -134019,7 +134019,7 @@ var editorExtensions = __webpack_require__(4514);
// EXTERNAL MODULE: ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/editor/common/editorContextKeys.js
var editorContextKeys = __webpack_require__(68987);
// EXTERNAL MODULE: ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/platform/quickinput/common/quickInput.js
var quickInput = __webpack_require__(96148);
var quickInput = __webpack_require__(83079);
;// CONCATENATED MODULE: ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/editor/standalone/browser/quickAccess/standaloneCommandsQuickAccess.js
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
@ -134280,7 +134280,7 @@ var editorExtensions = __webpack_require__(4514);
// EXTERNAL MODULE: ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/editor/common/editorContextKeys.js
var editorContextKeys = __webpack_require__(68987);
// EXTERNAL MODULE: ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/platform/quickinput/common/quickInput.js
var quickInput = __webpack_require__(96148);
var quickInput = __webpack_require__(83079);
;// CONCATENATED MODULE: ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/editor/standalone/browser/quickAccess/standaloneGotoLineQuickAccess.js
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
@ -134940,7 +134940,7 @@ var editorExtensions = __webpack_require__(4514);
// EXTERNAL MODULE: ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/editor/common/editorContextKeys.js
var editorContextKeys = __webpack_require__(68987);
// EXTERNAL MODULE: ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/platform/quickinput/common/quickInput.js
var quickInput = __webpack_require__(96148);
var quickInput = __webpack_require__(83079);
;// CONCATENATED MODULE: ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/editor/standalone/browser/quickAccess/standaloneGotoSymbolQuickAccess.js
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
@ -142252,7 +142252,7 @@ _registry_common_platform_js__WEBPACK_IMPORTED_MODULE_1__/* .Registry */ .B.add(
/***/ }),
/***/ 96148:
/***/ 83079:
/*!**********************************************************************************************************!*\
!*** ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/platform/quickinput/common/quickInput.js ***!
\**********************************************************************************************************/

@ -14816,7 +14816,7 @@ var _react_infinite_scroller_1_2_4_react_infinite_scroller_default = /*#__PURE__
// EXTERNAL MODULE: ./src/assets/images/paper/jinshi.svg
var jinshi = __webpack_require__(55684);
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.4.0@@ant-design/icons/es/icons/FilterOutlined.js + 1 modules
var FilterOutlined = __webpack_require__(34362);
var FilterOutlined = __webpack_require__(76933);
// EXTERNAL MODULE: ./node_modules/_@ant-design_icons@5.4.0@@ant-design/icons/es/icons/CaretUpOutlined.js + 1 modules
var CaretUpOutlined = __webpack_require__(38353);
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/Detail/components/Redo/index.tsx

File diff suppressed because it is too large Load Diff

@ -0,0 +1,699 @@
/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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.3.14@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.14@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Equipment/BookingManage/InfoList/index.less?modules ***!
\***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.title___wb6fR {
margin-top: 20px;
}
.title___wb6fR span {
font-size: 16px;
font-weight: 600;
color: #2C3850;
margin-right: 10px;
}
.search_list___KkJuP {
display: flex;
}
.search_list___KkJuP .add_label___UdHAZ {
margin-left: auto;
}
.change_button___UgCVf {
width: 136px;
height: 32px;
background: #F6F7F9;
border-radius: 16px;
margin-top: 3px;
box-shadow: 2px 2px 5px #D7D8D9 inset;
}
.change_button___UgCVf .button_no____TY83 {
width: 68px;
height: 32px;
cursor: pointer;
text-align: center;
border-radius: 16px;
}
.change_button___UgCVf .button_active___n8Swi {
width: 68px;
height: 32px;
background: #ffffff;
border: 1px #D5F5D1 solid;
border-radius: 16px;
text-align: center;
}
.change_button___UgCVf img {
width: 16px;
height: 16px;
margin-top: 4px;
}
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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.3.14@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.14@@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;
}
/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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.3.14@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.14@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Equipment/BookingManage/InfoList/Dialog/index.less?modules ***!
\******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.check_style___QZpDP {
margin: 10px 0;
}
.check_text_style___EFvxS {
width: 110px;
text-align: center;
border-radius: 10px;
}
.check_text_style_active___Nn8rp {
width: 110px;
text-align: center;
background: #DDF1F1;
color: #019158;
border-radius: 10px;
}
.check_text_style_disable___Gh22P {
width: 110px;
text-align: center;
background: #F3F6F8;
color: #ADB2B8;
border-radius: 10px;
}
/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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.3.14@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.14@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Equipment/BookingManage/InfoList/ListDisplay/Dialog/index.less?modules ***!
\******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.content___ISvze {
height: 200px;
overflow: hidden;
overflow-y: auto;
}
/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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.3.14@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.14@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Equipment/BookingManage/InfoList/ListDisplay/index.less?modules ***!
\***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.box___mhOOi {
width: 100%;
height: 88px;
border: 1px solid #dae7ec;
border-radius: 8px;
margin: 0 auto;
}
.box___mhOOi .left___GFJiQ img {
width: 36px;
height: 36px;
margin-top: -10px;
margin-right: 10%;
}
.box___mhOOi .left___GFJiQ .left_content___JfHph {
height: 60px;
margin-top: 12px;
color: #2c3850;
font-weight: 600;
font-size: 20px;
line-height: 60px;
text-align: center;
border-right: 1px #dae7ec solid;
}
.box___mhOOi .content___BRw4d {
height: 60px;
margin-top: 12px;
}
.box___mhOOi .content___BRw4d .content_title___Wc81G {
width: 112px;
height: 30px;
color: #636d83;
font-weight: 400;
font-size: 14px;
line-height: 35px;
}
.box___mhOOi .content___BRw4d .content_data___Wouuh {
width: 24px;
height: 30px;
color: #2c3850;
font-weight: 600;
font-size: 20px;
line-height: 25px;
}
.search_list____ksrZ {
margin-top: 20px;
}
.pagin___YNZJv {
float: right;
padding: 20px 0;
}
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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.3.14@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.14@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/pages/Equipment/BookingManage/InfoList/ImageDisplay/index.less ***!
\****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.all {
width: 100%;
height: 550px;
}
.all .search_list {
margin-bottom: 30px;
}
.all .top {
height: 60px;
}
.all .top .top_text:first-child {
border: 1px #DDF1F1 solid;
}
.all .top .top_text:not(:first-child) {
border-top: 1px #DDF1F1 solid;
border-right: 1px #DDF1F1 solid;
border-bottom: 1px #DDF1F1 solid;
}
.all .top .top_text {
line-height: 60px;
text-align: center;
background: #F7FBFC;
}
.all .top_date_week {
display: flex;
height: 61px;
line-height: 61px;
text-align: center;
border-top: 1px #DDF1F1 solid;
border-right: 1px #DDF1F1 solid;
border-bottom: 1px #DDF1F1 solid;
background: #F7FBFC;
}
.all .top_date_week .top_text_date {
width: 50%;
text-align: center;
text-indent: 10px;
color: #ADB2B8;
}
.all .top_date_week .top_text_week {
width: 50%;
text-align: center;
text-indent: -10px;
}
.all .content .top_text {
height: 61px;
text-align: center;
border-left: 1px #DDF1F1 solid;
border-right: 1px #DDF1F1 solid;
border-bottom: 1px #DDF1F1 solid;
border-top: 1px #DDF1F1 solid;
background: #F7FBFC;
}
.all .content .top_text .top_text_title {
height: 30px;
line-height: 35px;
}
.all .content .top_text .top_text_time {
height: 30px;
line-height: 25px;
}
.tck {
width: 300px;
height: 500px;
border: 1px saddlebrown solid;
position: absolute;
}
.legend {
display: flex;
margin-left: 10px;
}
.legend .legend_one_color {
width: 18px;
margin: 2px 10px;
height: 10px;
border-radius: 2px;
border: 1px solid #DDF1F1;
}
.legend .legend_two_color {
width: 18px;
height: 10px;
margin: 2px 10px;
background: #ADB6B8;
border-radius: 2px;
border: 1px solid #DDF1F1;
}
.legend .legend_three_color {
width: 18px;
height: 10px;
margin: 2px 10px;
background: #2EC25B;
border-radius: 2px;
border: 1px solid #DDF1F1;
}
.legend .legend_four_color {
width: 18px;
height: 10px;
margin: 2px 10px;
background: #0370D5;
border-radius: 2px;
border: 1px solid #DDF1F1;
}
.legend .legend_text {
width: 42px;
height: 14px;
font-size: 14px;
font-weight: 400;
color: #2C3850;
line-height: 14px;
}
.row_style {
margin-top: 20px;
}
.row_style .col_title {
text-align: right;
margin-bottom: 10px;
margin-right: -12px;
}
.row_style .col_content {
margin-bottom: 10px;
text-align: left;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
margin-left: -12px;
}
.box_blue {
background: #0370D5;
}
.box_green {
background: #2EC25B;
}
.box_gray {
background: #ADB6B8;
}
.box_white {
background: #FFFFFF;
}
.content_info {
float: left;
height: 61px;
width: 14.28571429%;
text-align: center;
line-height: 60px;
border-right: 1px #DDF1F1 solid;
border-bottom: 1px #DDF1F1 solid;
cursor: pointer;
position: relative;
}
.content_info::after {
clear: both;
}
.week_data {
height: 61px;
text-align: center;
color: #fff;
}
.week_data .week_data_list:first-child {
height: 30px;
line-height: 35px;
display: flex;
font-size: 12px;
}
.week_data .week_data_list:last-child {
height: 30px;
line-height: 25px;
display: flex;
font-size: 12px;
}
.week_data .week_data_list_label {
width: 30%;
text-align: right;
}
.week_data .week_data_list_value {
width: 70%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
text-align: left;
margin-left: 10px;
}
.week_nodata {
color: #019158;
height: 61px;
text-align: center;
line-height: 61px;
}
/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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.3.14@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.14@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Equipment/BookingManage/InfoList/ImageDisplay/index.less?modules ***!
\************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.all___G2_db {
width: 100%;
height: 550px;
}
.all___G2_db .search_list___lQ_T_ {
margin-bottom: 30px;
}
.all___G2_db .top___uz8mr {
height: 60px;
}
.all___G2_db .top___uz8mr .top_text___Zc4Wo:first-child {
border: 1px #DDF1F1 solid;
}
.all___G2_db .top___uz8mr .top_text___Zc4Wo:not(:first-child) {
border-top: 1px #DDF1F1 solid;
border-right: 1px #DDF1F1 solid;
border-bottom: 1px #DDF1F1 solid;
}
.all___G2_db .top___uz8mr .top_text___Zc4Wo {
line-height: 60px;
text-align: center;
background: #F7FBFC;
}
.all___G2_db .top_date_week___vXTkL {
display: flex;
height: 61px;
line-height: 61px;
text-align: center;
border-top: 1px #DDF1F1 solid;
border-right: 1px #DDF1F1 solid;
border-bottom: 1px #DDF1F1 solid;
background: #F7FBFC;
}
.all___G2_db .top_date_week___vXTkL .top_text_date___NONvF {
width: 50%;
text-align: center;
text-indent: 10px;
color: #ADB2B8;
}
.all___G2_db .top_date_week___vXTkL .top_text_week___H4ygK {
width: 50%;
text-align: center;
text-indent: -10px;
}
.all___G2_db .content___KNs23 .top_text___Zc4Wo {
height: 61px;
text-align: center;
border-left: 1px #DDF1F1 solid;
border-right: 1px #DDF1F1 solid;
border-bottom: 1px #DDF1F1 solid;
border-top: 1px #DDF1F1 solid;
background: #F7FBFC;
}
.all___G2_db .content___KNs23 .top_text___Zc4Wo .top_text_title___m_Ru4 {
height: 30px;
line-height: 35px;
}
.all___G2_db .content___KNs23 .top_text___Zc4Wo .top_text_time___FxQYr {
height: 30px;
line-height: 25px;
}
.tck___UnGSW {
width: 300px;
height: 500px;
border: 1px saddlebrown solid;
position: absolute;
}
.legend___PpkbN {
display: flex;
margin-left: 10px;
}
.legend___PpkbN .legend_one_color___qjoot {
width: 18px;
margin: 2px 10px;
height: 10px;
border-radius: 2px;
border: 1px solid #DDF1F1;
}
.legend___PpkbN .legend_two_color___qJ8Z2 {
width: 18px;
height: 10px;
margin: 2px 10px;
background: #ADB6B8;
border-radius: 2px;
border: 1px solid #DDF1F1;
}
.legend___PpkbN .legend_three_color___MnH_P {
width: 18px;
height: 10px;
margin: 2px 10px;
background: #2EC25B;
border-radius: 2px;
border: 1px solid #DDF1F1;
}
.legend___PpkbN .legend_four_color___iAWFc {
width: 18px;
height: 10px;
margin: 2px 10px;
background: #0370D5;
border-radius: 2px;
border: 1px solid #DDF1F1;
}
.legend___PpkbN .legend_text___VbO3i {
width: 42px;
height: 14px;
font-size: 14px;
font-weight: 400;
color: #2C3850;
line-height: 14px;
}
.row_style___GaoaD {
margin-top: 20px;
}
.row_style___GaoaD .col_title___XathN {
text-align: right;
margin-bottom: 10px;
margin-right: -12px;
}
.row_style___GaoaD .col_content___KgBvl {
margin-bottom: 10px;
text-align: left;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
margin-left: -12px;
}
.box_blue___XG_HY {
background: #0370D5;
}
.box_green___sm8QH {
background: #2EC25B;
}
.box_gray___X8dpG {
background: #ADB6B8;
}
.box_white___YUIq3 {
background: #FFFFFF;
}
.content_info___unYaB {
float: left;
height: 61px;
width: 14.28571429%;
text-align: center;
line-height: 60px;
border-right: 1px #DDF1F1 solid;
border-bottom: 1px #DDF1F1 solid;
cursor: pointer;
position: relative;
}
.content_info___unYaB::after {
clear: both;
}
.week_data___lRj72 {
height: 61px;
text-align: center;
color: #fff;
}
.week_data___lRj72 .week_data_list___VAZL9:first-child {
height: 30px;
line-height: 35px;
display: flex;
font-size: 12px;
}
.week_data___lRj72 .week_data_list___VAZL9:last-child {
height: 30px;
line-height: 25px;
display: flex;
font-size: 12px;
}
.week_data___lRj72 .week_data_list_label___Cqmae {
width: 30%;
text-align: right;
}
.week_data___lRj72 .week_data_list_value___jRDcz {
width: 70%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
text-align: left;
margin-left: 10px;
}
.week_nodata___L1zzu {
color: #019158;
height: 61px;
text-align: center;
line-height: 61px;
}
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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.3.14@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.14@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/pages/Equipment/BookingManage/InfoList/index.less ***!
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.title {
margin-top: 20px;
}
.title span {
font-size: 16px;
font-weight: 600;
color: #2C3850;
margin-right: 10px;
}
.search_list {
display: flex;
}
.search_list .add_label {
margin-left: auto;
}
.change_button {
width: 136px;
height: 32px;
background: #F6F7F9;
border-radius: 16px;
margin-top: 3px;
box-shadow: 2px 2px 5px #D7D8D9 inset;
}
.change_button .button_no {
width: 68px;
height: 32px;
cursor: pointer;
text-align: center;
border-radius: 16px;
}
.change_button .button_active {
width: 68px;
height: 32px;
background: #ffffff;
border: 1px #D5F5D1 solid;
border-radius: 16px;
text-align: center;
}
.change_button img {
width: 16px;
height: 16px;
margin-top: 4px;
}
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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.3.14@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.14@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Equipment/BookingManage/Scrap/Dialog/index.less?modules ***!
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.list___p1JAv {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
height: 35px;
}
.list___p1JAv span {
padding: 2px 10px;
background: #DDF1F1;
color: #019158;
border-radius: 10px;
margin-right: 10px;
}
/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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.3.14@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.14@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Equipment/BookingManage/Scrap/index.less?modules ***!
\********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.box___qsHca {
width: 100%;
height: 88px;
border-radius: 8px;
border: 1px solid #DAE7EC;
}
.box___qsHca .left___nQ2PZ img {
width: 36px;
height: 36px;
margin-right: 10%;
margin-top: -10px;
}
.box___qsHca .left___nQ2PZ .left_content___iIA9a {
line-height: 60px;
height: 60px;
font-size: 20px;
font-weight: 600;
margin-top: 12px;
border-right: 1px #DAE7EC solid;
text-align: center;
color: #2C3850;
}
.box___qsHca .content___G6hTP {
height: 60px;
margin-top: 12px;
}
.box___qsHca .content___G6hTP .content_title___FLEkf {
height: 30px;
line-height: 35px;
width: 112px;
font-size: 14px;
font-weight: 400;
color: #636D83;
}
.box___qsHca .content___G6hTP .content_data___DRt1Z {
height: 30px;
line-height: 25px;
width: 24px;
font-size: 20px;
font-weight: 600;
color: #2C3850;
}
.search_list___VX0GH {
margin-bottom: 30px;
}

@ -70,7 +70,8 @@ var jsx_runtime = __webpack_require__(37712);
var DeviceLabelDialog = function DeviceLabelDialog(_ref) {
var visible = _ref.visible,
setVisible = _ref.setVisible,
dataInfo = _ref.dataInfo;
dataInfo = _ref.dataInfo,
queryData = _ref.queryData;
// 关联设备弹窗
var _Form$useForm = es_form/* default */.Z.useForm(),
_Form$useForm2 = slicedToArray_default()(_Form$useForm, 1),
@ -206,10 +207,11 @@ var DeviceLabelDialog = function DeviceLabelDialog(_ref) {
};
// 将当前选中的的标签添加到----关联设备型号下拉框数据中
var setDataToDeviceModels = function setDataToDeviceModels(arr, haha) {
var setDataToDeviceModels = function setDataToDeviceModels(arr, flag) {
if ((dataInfo === null || dataInfo === void 0 ? void 0 : dataInfo.device_type_id) == form.getFieldValue('device_type_id')) {
dataInfo.models.forEach(function (item) {
if (haha) {
var _dataInfo$models;
dataInfo === null || dataInfo === void 0 || (_dataInfo$models = dataInfo.models) === null || _dataInfo$models === void 0 || _dataInfo$models.forEach(function (item) {
if (flag) {
arr.push({
label: item,
value: item,
@ -253,6 +255,7 @@ var DeviceLabelDialog = function DeviceLabelDialog(_ref) {
if ((res === null || res === void 0 ? void 0 : res.status) === 0) {
message/* default */.ZP.success('编辑成功');
setVisible(false);
queryData(true);
}
});
} else {
@ -261,6 +264,7 @@ var DeviceLabelDialog = function DeviceLabelDialog(_ref) {
if ((res === null || res === void 0 ? void 0 : res.status) === 0) {
message/* default */.ZP.success('新增成功');
setVisible(false);
queryData(true);
}
});
}
@ -500,12 +504,16 @@ var DeviceLabelPage = function DeviceLabelPage(_ref) {
}, {
title: '操作',
key: 'cz',
width: 140,
render: function render(_, record) {
return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(Dialog, {
modalName: "\u7F16\u8F91",
dataInfo: record,
queryData: queryData
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "info",
onClick: function onClick() {
setVisible(true);
setDataInfo(record);
},
children: "\u7F16\u8F91"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "xiajia",
onClick: function onClick() {
@ -590,6 +598,7 @@ var DeviceLabelPage = function DeviceLabelPage(_ref) {
},
onClick: function onClick() {
setVisible(true);
setDataInfo({});
},
children: "\u65B0\u5EFA\u578B\u53F7"
})]
@ -612,7 +621,8 @@ var DeviceLabelPage = function DeviceLabelPage(_ref) {
}), /*#__PURE__*/(0,jsx_runtime.jsx)(Dialog, {
visible: visible,
setVisible: setVisible,
dataInfo: dataInfo
dataInfo: dataInfo,
queryData: queryData
})]
});
};

@ -86,7 +86,8 @@ var TextArea = input/* default */.Z.TextArea;
var ReservationDialog = function ReservationDialog(_ref) {
var visible = _ref.visible,
setVisible = _ref.setVisible,
dataInfo = _ref.dataInfo;
dataInfo = _ref.dataInfo,
queryData = _ref.queryData;
// 关联设备弹窗
var _Form$useForm = es_form/* default */.Z.useForm(),
_Form$useForm2 = slicedToArray_default()(_Form$useForm, 1),
@ -109,29 +110,23 @@ var ReservationDialog = function ReservationDialog(_ref) {
(0,onlinedevice/* device_tags_table_query */.dh)({}).then(function (res) {
var _res$device_tags;
// if(res?.status == 0) {
setDeviceLabels([{
value: '',
label: '全部'
}].concat(toConsumableArray_default()(res === null || res === void 0 || (_res$device_tags = res.device_tags) === null || _res$device_tags === void 0 ? void 0 : _res$device_tags.map(function (v) {
setDeviceLabels(toConsumableArray_default()(res === null || res === void 0 || (_res$device_tags = res.device_tags) === null || _res$device_tags === void 0 ? void 0 : _res$device_tags.map(function (v) {
v.value = v === null || v === void 0 ? void 0 : v.id;
v.label = v === null || v === void 0 ? void 0 : v.name;
return v;
}))));
})));
// }
});
//设备类型
(0,onlinedevice/* device_type_table_query */.uz)({}).then(function (res) {
if (res.status == 0) {
var _res$device_types;
setDeviceTypes([{
value: '',
label: '全部'
}].concat(toConsumableArray_default()(res === null || res === void 0 || (_res$device_types = res.device_types) === null || _res$device_types === void 0 ? void 0 : _res$device_types.map(function (v) {
v.value = v === null || v === void 0 ? void 0 : v.id;
v.label = v === null || v === void 0 ? void 0 : v.name;
return v;
}))));
}
var _res$device_types;
// if (res.status == 0) {
setDeviceTypes(toConsumableArray_default()(res === null || res === void 0 || (_res$device_types = res.device_types) === null || _res$device_types === void 0 ? void 0 : _res$device_types.map(function (v) {
v.value = v === null || v === void 0 ? void 0 : v.id;
v.label = v === null || v === void 0 ? void 0 : v.name;
return v;
})));
// }
});
//设备
queryDevice();
@ -142,18 +137,17 @@ var ReservationDialog = function ReservationDialog(_ref) {
}
}, [visible]);
var queryDevice = function queryDevice() {
// device_info_table_query({
// tag_id: form.getFieldValue('tag_id') || '',
// type_id: form.getFieldValue('type_id') || '',
// }).then((res) => {
// setDevices(
// res?.devices?.map((v: any) => {
// v.value = v?.id;
// v.label = v?.name;
// return v;
// }),
// );
// });
(0,onlinedevice/* device_info_table_query */.QD)({
tag_id: form.getFieldValue('tag_id') || '',
type_id: form.getFieldValue('type_id') || ''
}).then(function (res) {
var _res$devices;
setDevices(res === null || res === void 0 || (_res$devices = res.devices) === null || _res$devices === void 0 ? void 0 : _res$devices.map(function (v) {
v.value = v === null || v === void 0 ? void 0 : v.id;
v.label = v === null || v === void 0 ? void 0 : v.name;
return v;
}));
});
};
return /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, {
maskClosable: false,
@ -171,28 +165,33 @@ var ReservationDialog = function ReservationDialog(_ref) {
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
console.log(form.getFieldsValue());
_context.next = 2;
return form.validateFields();
case 2:
//编辑
// if (props.dataInfo?.id) {
// device_fault_update({
// id: props.dataInfo?.id,
// device_fault_info: form.getFieldsValue(),
// }).then((res) => {
// if (res?.status == 0) {
// message.success('编辑成功');
// props?.queryData(true);
// }
// });
// } else {
// device_fault_add({ device_fault_info: form.getFieldsValue() }).then((res) => {
// if (res?.status == 0) {
// message.success('新建成功');
// props?.queryData(true);
// }
// });
// }
// return true;
case 1:
if (dataInfo !== null && dataInfo !== void 0 && dataInfo.id) {
(0,onlinedevice/* device_fault_update */.zZ)({
id: dataInfo === null || dataInfo === void 0 ? void 0 : dataInfo.id,
device_fault_info: form.getFieldsValue()
}).then(function (res) {
if ((res === null || res === void 0 ? void 0 : res.status) == 0) {
message/* default */.ZP.success('编辑成功');
queryData(true);
setVisible(false);
}
});
} else {
(0,onlinedevice/* device_fault_add */.hO)({
device_fault_info: form.getFieldsValue()
}).then(function (res) {
if ((res === null || res === void 0 ? void 0 : res.status) == 0) {
message/* default */.ZP.success('新建成功');
queryData(true);
setVisible(false);
}
});
}
case 3:
case "end":
return _context.stop();
}
@ -338,10 +337,9 @@ var InfoList = function InfoList(_ref) {
deviceId = _useState24[0],
setDeviceId = _useState24[1];
(0,_react_17_0_2_react.useEffect)(function () {
// queryData(false);
// device_info_table_query({}).then((res) => {
// console.log(res)
// });
(0,onlinedevice/* device_info_table_query */.QD)({}).then(function (res) {
console.log(res);
});
}, []);
(0,_react_17_0_2_react.useEffect)(function () {
queryData(false);
@ -477,9 +475,8 @@ var InfoList = function InfoList(_ref) {
style: {
marginRight: '20px'
},
onChange: function onChange(e) {
console.log(e);
// setTime(e)
onChange: function onChange(date, dateString) {
setTime(dateString);
}
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
@ -493,7 +490,7 @@ var InfoList = function InfoList(_ref) {
size: "large",
options: devices,
onChange: function onChange(e) {
console.log(e);
setDeviceId(e);
}
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z.Search, {
@ -578,7 +575,8 @@ var InfoList = function InfoList(_ref) {
}), /*#__PURE__*/(0,jsx_runtime.jsx)(Dialog, {
visible: visible,
setVisible: setVisible,
dataInfo: dataInfo
dataInfo: dataInfo,
queryData: queryData
})]
});
};

@ -69,7 +69,7 @@ var Engineering = function Engineering(_ref) {
}
var items = [getItem('设备信息管理', '/equipment/information', /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-shebeixinxiguanli"
})), getItem('预约管理', '/equipment/scrap', /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
})), getItem('预约管理', '/equipment/bookingManage', /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-shebeibaofei-2"
})), getItem('设备在线监控', '/equipment/working', /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-shebeiyunhangjiankong"

@ -71,6 +71,8 @@ var _umi_production_exports = __webpack_require__(19148);
;// CONCATENATED MODULE: ./src/pages/Equipment/Information/GLDevicesDialog/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var GLDevicesDialogmodules = ({"my_modal":"my_modal___yHCJH"});
// EXTERNAL MODULE: ./src/service/laboratory.ts
var laboratory = __webpack_require__(32507);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
var jsx_runtime = __webpack_require__(37712);
;// CONCATENATED MODULE: ./src/pages/Equipment/Information/GLDevicesDialog/index.tsx
@ -85,6 +87,7 @@ var jsx_runtime = __webpack_require__(37712);
var GLDevicesDialog = function GLDevicesDialog(_ref) {
var visible = _ref.visible,
setVisible = _ref.setVisible;
@ -92,51 +95,48 @@ var GLDevicesDialog = function GLDevicesDialog(_ref) {
var _Form$useForm = es_form/* default */.Z.useForm(),
_Form$useForm2 = slicedToArray_default()(_Form$useForm, 1),
form = _Form$useForm2[0];
var _useState = (0,_react_17_0_2_react.useState)({}),
var _useState = (0,_react_17_0_2_react.useState)([]),
_useState2 = slicedToArray_default()(_useState, 2),
formValue = _useState2[0],
setFormValue = _useState2[1];
deviceType = _useState2[0],
setDeviceType = _useState2[1];
var _useState3 = (0,_react_17_0_2_react.useState)([]),
_useState4 = slicedToArray_default()(_useState3, 2),
deviceType = _useState4[0],
setDeviceType = _useState4[1];
var _useState5 = (0,_react_17_0_2_react.useState)([]),
kdClassroom = _useState4[0],
setKdClassroom = _useState4[1];
var _useState5 = (0,_react_17_0_2_react.useState)(''),
_useState6 = slicedToArray_default()(_useState5, 2),
kdClassroom = _useState6[0],
setKdClassroom = _useState6[1];
var _useState7 = (0,_react_17_0_2_react.useState)(2),
_useState8 = slicedToArray_default()(_useState7, 2),
deviceid = _useState8[0],
setdeviceide = _useState8[1];
var onOpenChange = function onOpenChange(flag) {
if (flag) {
//实验室
(0,onlinedevice/* device_tags_device_type */.eX)({
type: 'KdClassroom'
deviceid = _useState6[0],
setdeviceide = _useState6[1];
(0,_react_17_0_2_react.useEffect)(function () {
if (visible) {
//实验室房间
(0,laboratory/* classroom_rooms_query */.jd)({
page: 1,
limit: 10000,
classroom_id: ''
}).then(function (res) {
if ((res === null || res === void 0 ? void 0 : res.status) == 0) {
setKdClassroom(res === null || res === void 0 ? void 0 : res.data);
var _res$data;
setKdClassroom(res === null || res === void 0 || (_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.list);
}
});
//设备类型
querySelect();
} else {
form.resetFields();
}
};
var querySelect = function querySelect(value, options) {
// if (value === 2) {
// form.setFieldValue('device_type_id', '');
// }
}, [visible]);
var querySelect = function querySelect() {
if (!form.getFieldValue('category')) {
form.setFieldValue('category', 1);
}
form.setFieldValue('device_type_id', '');
setdeviceide('');
(0,onlinedevice/* device_tags_device_type */.eX)({
type: 'DeviceType',
category: form.getFieldValue('category')
}).then(function (res) {
if ((res === null || res === void 0 ? void 0 : res.status) == 0) {
setDeviceType(res === null || res === void 0 ? void 0 : res.data);
}
setDeviceType(res);
});
};
return /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, {
@ -157,17 +157,17 @@ var GLDevicesDialog = function GLDevicesDialog(_ref) {
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
console.log(form.getFieldsValue());
// device_info_table_add(values).then((res) => {
// if (res?.status === 0) {
// message.success('关联成功');
// history.push({ pathname: `/onlineDevice/deviceInfo/deviceEdit/${res?.data?.id}` });
// } else {
// message.error(res?.message);
// }
// });
// return true;
case 1:
_context.next = 2;
return form.validateFields();
case 2:
(0,onlinedevice/* device_info_table_add */.sp)(form.getFieldsValue()).then(function (res) {
if ((res === null || res === void 0 ? void 0 : res.status) === 0) {
message/* default */.ZP.success('关联成功');
setVisible(false);
// history.push({ pathname: `/onlineDevice/deviceInfo/deviceEdit/${res?.data?.id}` });
}
});
case 3:
case "end":
return _context.stop();
}
@ -218,10 +218,8 @@ var GLDevicesDialog = function GLDevicesDialog(_ref) {
label: 'name',
value: 'id'
},
defaultValue: 2,
onChange: function onChange() {
setdeviceide(form.getFieldValue('device_type_id'));
console.log(form.getFieldValue('device_type_id'));
}
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
@ -257,12 +255,12 @@ var GLDevicesDialog = function GLDevicesDialog(_ref) {
rules: [{
required: true
}],
label: "\u6240\u5C5E\u5B9E\u9A8C\u5BA4",
label: "\u5B9E\u9A8C\u5BA4\u623F\u95F4",
name: "classroom_id",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"], {
options: kdClassroom,
fieldNames: {
label: 'name',
label: 'title',
value: 'id'
},
allowClear: true,
@ -306,8 +304,6 @@ var GLDevicesDialog = function GLDevicesDialog(_ref) {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
size: "large"
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: "\u8BBE\u5907SSH\u8FDE\u63A5\u4FE1\u606F"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
label: "IP\u5730\u5740",
name: "ip",
@ -709,9 +705,9 @@ var InfoList = function InfoList(_ref) {
ellipsis: true,
render: function render(text) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: text.join('、'),
title: text === null || text === void 0 ? void 0 : text.join('、'),
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: text.join('、')
children: text === null || text === void 0 ? void 0 : text.join('、')
})
});
}

@ -77,7 +77,7 @@
}
.my_modal___yHCJH [class~='ant-form-item'] [class~='ant-form-item-label'] label {
color: #666 !important;
width: 100px !important;
width: 120px !important;
display: block !important;
line-height: 38px !important;
padding-right: 5px !important;

@ -1,924 +0,0 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[7661],{
/***/ 31715:
/*!*********************************************************!*\
!*** ./src/pages/Equipment/Scrap/index.tsx + 2 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 */ Scrap; }
});
// 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: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/toConsumableArray.js
var toConsumableArray = __webpack_require__(37205);
var toConsumableArray_default = /*#__PURE__*/__webpack_require__.n(toConsumableArray);
// 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);
// EXTERNAL MODULE: ./src/.umi-production/exports.ts
var _umi_production_exports = __webpack_require__(19148);
;// CONCATENATED MODULE: ./src/pages/Equipment/Scrap/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var Scrapmodules = ({"header_div":"header_div___unSwv","header_title":"header_title___WCf0b","search":"search___XDmOG","searchIcon":"searchIcon___j6ZDZ","search_params":"search_params___veOCx","clear_Data":"clear_Data___u0bVa","content_list":"content_list___dnPyj","content":"content___cchLV","content_img":"content_img___L5dds","content_name":"content_name___aAY7s","content_title":"content_title___MYA4V","content_params":"content_params___brz1n","redRow":"redRow___Na1q0","infoItem":"infoItem___VG8ki","infoItem_value":"infoItem_value___m1ajt","file_list":"file_list___zm7CA","file_list_title":"file_list_title___U7TTt","file_list_size":"file_list_size___D6Wcu"});
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/tooltip/index.js + 3 modules
var tooltip = __webpack_require__(6848);
// 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/select/index.js
var es_select = __webpack_require__(57809);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input/index.js + 5 modules
var input = __webpack_require__(24650);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/table/index.js + 85 modules
var table = __webpack_require__(51945);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/pagination/index.js + 10 modules
var pagination = __webpack_require__(86859);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/modal/index.js + 16 modules
var modal = __webpack_require__(43418);
// EXTERNAL MODULE: ./src/service/laboratory.ts
var laboratory = __webpack_require__(32507);
// EXTERNAL MODULE: ./node_modules/_dayjs@1.11.12@dayjs/dayjs.min.js
var dayjs_min = __webpack_require__(17810);
var dayjs_min_default = /*#__PURE__*/__webpack_require__.n(dayjs_min);
// EXTERNAL MODULE: ./src/components/NoData/index.tsx
var NoData = __webpack_require__(12594);
// 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: ./src/utils/fetch.ts
var fetch = __webpack_require__(84112);
;// CONCATENATED MODULE: ./src/service/equipment.ts
//设备关联列表
function devices_query(_x) {
return _devices_query.apply(this, arguments);
}
//关联设备
function _devices_query() {
_devices_query = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(params) {
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
return _context.abrupt("return", (0,fetch/* default */.ZP)("/api/yn_classrooms/devices.json", {
method: 'get',
params: objectSpread2_default()({}, params)
}));
case 1:
case "end":
return _context.stop();
}
}, _callee);
}));
return _devices_query.apply(this, arguments);
}
function devices_create(_x2) {
return _devices_create.apply(this, arguments);
}
//编辑设备
function _devices_create() {
_devices_create = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(data) {
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
while (1) switch (_context2.prev = _context2.next) {
case 0:
return _context2.abrupt("return", Fetch("/api/yn_classrooms/devices.json", {
method: 'post',
body: _objectSpread({}, data)
}));
case 1:
case "end":
return _context2.stop();
}
}, _callee2);
}));
return _devices_create.apply(this, arguments);
}
function devices_update(_x3) {
return _devices_update.apply(this, arguments);
}
//上下架
function _devices_update() {
_devices_update = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(data) {
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
while (1) switch (_context3.prev = _context3.next) {
case 0:
return _context3.abrupt("return", Fetch("/api/yn_classrooms/devices/".concat(data === null || data === void 0 ? void 0 : data.id, ".json"), {
method: 'put',
body: _objectSpread({}, data)
}));
case 1:
case "end":
return _context3.stop();
}
}, _callee3);
}));
return _devices_update.apply(this, arguments);
}
function change_use_status(_x4) {
return _change_use_status.apply(this, arguments);
}
//设备详情
function _change_use_status() {
_change_use_status = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(data) {
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
while (1) switch (_context4.prev = _context4.next) {
case 0:
return _context4.abrupt("return", Fetch("/api/yn_classrooms/devices/".concat(data === null || data === void 0 ? void 0 : data.id, "/change_use_status.json"), {
method: 'post',
body: _objectSpread({}, data)
}));
case 1:
case "end":
return _context4.stop();
}
}, _callee4);
}));
return _change_use_status.apply(this, arguments);
}
function devices_info(_x5) {
return _devices_info.apply(this, arguments);
}
//设备报废
function _devices_info() {
_devices_info = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee5(params) {
return _regeneratorRuntime().wrap(function _callee5$(_context5) {
while (1) switch (_context5.prev = _context5.next) {
case 0:
return _context5.abrupt("return", Fetch("/api/yn_classrooms/devices/".concat(params === null || params === void 0 ? void 0 : params.id, ".json"), {
method: 'get',
params: _objectSpread({}, params)
}));
case 1:
case "end":
return _context5.stop();
}
}, _callee5);
}));
return _devices_info.apply(this, arguments);
}
function devices_scrapped(_x6) {
return _devices_scrapped.apply(this, arguments);
}
//创建维修记录
function _devices_scrapped() {
_devices_scrapped = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee6(data) {
return _regeneratorRuntime().wrap(function _callee6$(_context6) {
while (1) switch (_context6.prev = _context6.next) {
case 0:
return _context6.abrupt("return", Fetch("/api/yn_classrooms/devices/".concat(data === null || data === void 0 ? void 0 : data.id, "/scrapped.json"), {
method: 'post',
body: _objectSpread({}, data)
}));
case 1:
case "end":
return _context6.stop();
}
}, _callee6);
}));
return _devices_scrapped.apply(this, arguments);
}
function repair_records_create(_x7) {
return _repair_records_create.apply(this, arguments);
}
//编辑维修记录
function _repair_records_create() {
_repair_records_create = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee7(data) {
return _regeneratorRuntime().wrap(function _callee7$(_context7) {
while (1) switch (_context7.prev = _context7.next) {
case 0:
return _context7.abrupt("return", Fetch("/api/yn_classrooms/repair_records.json", {
method: 'post',
body: _objectSpread({}, data)
}));
case 1:
case "end":
return _context7.stop();
}
}, _callee7);
}));
return _repair_records_create.apply(this, arguments);
}
function repair_records_update(_x8) {
return _repair_records_update.apply(this, arguments);
}
//维修记录列表
function _repair_records_update() {
_repair_records_update = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee8(data) {
return _regeneratorRuntime().wrap(function _callee8$(_context8) {
while (1) switch (_context8.prev = _context8.next) {
case 0:
return _context8.abrupt("return", Fetch("/api/yn_classrooms/repair_records/".concat(data === null || data === void 0 ? void 0 : data.id, ".json"), {
method: 'put',
body: _objectSpread({}, data)
}));
case 1:
case "end":
return _context8.stop();
}
}, _callee8);
}));
return _repair_records_update.apply(this, arguments);
}
function repair_records_query(_x9) {
return _repair_records_query.apply(this, arguments);
}
//维修记录详情
function _repair_records_query() {
_repair_records_query = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee9(params) {
return _regeneratorRuntime().wrap(function _callee9$(_context9) {
while (1) switch (_context9.prev = _context9.next) {
case 0:
return _context9.abrupt("return", Fetch("/api/yn_classrooms/repair_records.json", {
method: 'get',
params: _objectSpread({}, params)
}));
case 1:
case "end":
return _context9.stop();
}
}, _callee9);
}));
return _repair_records_query.apply(this, arguments);
}
function repair_records_info(_x10) {
return _repair_records_info.apply(this, arguments);
}
//设备统计
function _repair_records_info() {
_repair_records_info = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee10(params) {
return _regeneratorRuntime().wrap(function _callee10$(_context10) {
while (1) switch (_context10.prev = _context10.next) {
case 0:
return _context10.abrupt("return", Fetch("/api/yn_classrooms/repair_records/".concat(params, ".json"), {
method: 'get',
params: _objectSpread({}, params)
}));
case 1:
case "end":
return _context10.stop();
}
}, _callee10);
}));
return _repair_records_info.apply(this, arguments);
}
function statistics_query(_x11) {
return _statistics_query.apply(this, arguments);
}
//设备异常消息
function _statistics_query() {
_statistics_query = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee11(params) {
return _regeneratorRuntime().wrap(function _callee11$(_context11) {
while (1) switch (_context11.prev = _context11.next) {
case 0:
return _context11.abrupt("return", Fetch("/api/yn_classrooms/devices/statistics.json", {
method: 'get',
params: _objectSpread({}, params)
}));
case 1:
case "end":
return _context11.stop();
}
}, _callee11);
}));
return _statistics_query.apply(this, arguments);
}
function device_messages(_x12) {
return _device_messages.apply(this, arguments);
}
//设备性能
function _device_messages() {
_device_messages = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee12(params) {
return _regeneratorRuntime().wrap(function _callee12$(_context12) {
while (1) switch (_context12.prev = _context12.next) {
case 0:
return _context12.abrupt("return", Fetch("/api/yn_classrooms/device_messages.json", {
method: 'get',
params: _objectSpread({}, params)
}));
case 1:
case "end":
return _context12.stop();
}
}, _callee12);
}));
return _device_messages.apply(this, arguments);
}
function monitor_info(_x13) {
return _monitor_info.apply(this, arguments);
}
function _monitor_info() {
_monitor_info = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee13(params) {
return _regeneratorRuntime().wrap(function _callee13$(_context13) {
while (1) switch (_context13.prev = _context13.next) {
case 0:
return _context13.abrupt("return", Fetch("/api/yn_classrooms/devices/".concat(params, "/monitor.json"), {
method: 'get',
params: _objectSpread({}, params)
}));
case 1:
case "end":
return _context13.stop();
}
}, _callee13);
}));
return _monitor_info.apply(this, arguments);
}
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
var jsx_runtime = __webpack_require__(37712);
;// CONCATENATED MODULE: ./src/pages/Equipment/Scrap/index.tsx
var Navigation = function Navigation(_ref) {
var loading = _ref.loading;
var _useState = (0,_react_17_0_2_react.useState)(),
_useState2 = slicedToArray_default()(_useState, 2),
keyword = _useState2[0],
setkeyword = _useState2[1];
//状态
var _useState3 = (0,_react_17_0_2_react.useState)(''),
_useState4 = slicedToArray_default()(_useState3, 2),
status = _useState4[0],
setStatus = _useState4[1];
var _useState5 = (0,_react_17_0_2_react.useState)(''),
_useState6 = slicedToArray_default()(_useState5, 2),
overdue = _useState6[0],
setOverdue = _useState6[1];
//实验室
var _useState7 = (0,_react_17_0_2_react.useState)([]),
_useState8 = slicedToArray_default()(_useState7, 2),
laboratorys = _useState8[0],
setLaboratorys = _useState8[1];
var _useState9 = (0,_react_17_0_2_react.useState)(''),
_useState10 = slicedToArray_default()(_useState9, 2),
laboratorySq = _useState10[0],
setLaboratorySq = _useState10[1];
//分页
var _useState11 = (0,_react_17_0_2_react.useState)(0),
_useState12 = slicedToArray_default()(_useState11, 2),
total = _useState12[0],
setTotal = _useState12[1];
var _useState13 = (0,_react_17_0_2_react.useState)(1),
_useState14 = slicedToArray_default()(_useState13, 2),
page = _useState14[0],
setPage = _useState14[1];
var _useState15 = (0,_react_17_0_2_react.useState)(10),
_useState16 = slicedToArray_default()(_useState15, 2),
limit = _useState16[0],
setLimit = _useState16[1];
var _useState17 = (0,_react_17_0_2_react.useState)([]),
_useState18 = slicedToArray_default()(_useState17, 2),
tableData = _useState18[0],
setTableData = _useState18[1];
var _useState19 = (0,_react_17_0_2_react.useState)(false),
_useState20 = slicedToArray_default()(_useState19, 2),
viewVisible = _useState20[0],
setViewVisible = _useState20[1];
var _useState21 = (0,_react_17_0_2_react.useState)({}),
_useState22 = slicedToArray_default()(_useState21, 2),
viewData = _useState22[0],
setViewData = _useState22[1];
var columns = [{
title: '设备名称',
dataIndex: 'name',
ellipsis: true,
render: function render(text) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
placement: "bottomLeft",
title: text,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: text || '--'
})
});
}
}, {
title: '设备类型',
dataIndex: 'category',
ellipsis: true,
render: function render(text) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
placement: "bottomLeft",
title: text == 'virtual' ? '虚拟机' : '物理机',
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: text == 'virtual' ? '虚拟机' : '物理机'
})
});
}
}, {
title: '所属实验室',
dataIndex: 'classroom_title',
ellipsis: true,
render: function render(text) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
placement: "bottomLeft",
title: text,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: text || '--'
})
});
}
}, {
title: '所属房间',
dataIndex: 'classroom_room_title',
ellipsis: true,
render: function render(text) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
placement: "bottomLeft",
title: text,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: text || '--'
})
});
}
}, {
title: '金额',
dataIndex: 'amount',
ellipsis: true,
render: function render(text) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
placement: "bottomLeft",
title: text,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: text || '--'
})
});
}
}, {
title: '报废申请人员',
dataIndex: 'scrapped_user_name',
ellipsis: true,
render: function render(text, record) {
return /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: [text, /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
placement: "bottomLeft",
title: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
padding: "0 10px"
},
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
marginTop: '10px'
},
children: ["\u8D1F\u8D23\u4EBA", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
marginLeft: '10px'
},
children: (record === null || record === void 0 ? void 0 : record.scrapped_user_name) || '--'
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
marginTop: '10px'
},
children: ["\u624B\u673A\u53F7", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
marginLeft: '10px'
},
children: (record === null || record === void 0 ? void 0 : record.scrapped_user_phone) || '--'
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
marginTop: '10px',
marginBottom: '10px'
},
children: ["\u90AE\u7BB1\u53F7", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
marginLeft: '10px'
},
children: (record === null || record === void 0 ? void 0 : record.scrapped_user_mail) || '--'
})]
})]
}),
children: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-xinxi ml5",
style: {
cursor: "pointer"
}
})
})]
});
}
}, {
title: '报废日期',
dataIndex: 'scrapped_date',
ellipsis: true,
render: function render(text) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
placement: "bottomLeft",
title: text ? dayjs_min_default()(text).format('YYYY-MM-DD HH:mm:ss') : '--',
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: text ? dayjs_min_default()(text).format('YYYY-MM-DD HH:mm:ss') : '--'
})
});
}
}, {
title: '操作',
ellipsis: true,
width: 60,
render: function render(text, record) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
color: "#165DFF",
cursor: "pointer"
},
onClick: function onClick() {
setViewData(record);
setViewVisible(true);
},
children: "\u8BE6\u60C5"
})
});
}
}];
(0,_react_17_0_2_react.useEffect)(function () {
//实验室
(0,laboratory/* classroom_query */.GJ)({
page: 1,
limit: 10000
}).then(function (res) {
var _res$data;
setLaboratorys([{
id: '',
title: '全部'
}].concat(toConsumableArray_default()(res === null || res === void 0 || (_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.list)));
});
}, []);
(0,_react_17_0_2_react.useEffect)(function () {
//列表查询
getData(false);
}, [page, limit]);
(0,_react_17_0_2_react.useEffect)(function () {
//列表查询
getData(true);
}, [laboratorySq, status, overdue, keyword]);
var getData = function getData(flag) {
if (flag) {
setPage(1);
}
devices_query({
page: page,
limit: limit,
status: status,
keyword: keyword,
classroom_id: laboratorySq,
category: overdue,
scrapped: 1
}).then(function (res) {
var _res$data2, _res$data3;
setTableData(res === null || res === void 0 || (_res$data2 = res.data) === null || _res$data2 === void 0 ? void 0 : _res$data2.list);
setTotal(res === null || res === void 0 || (_res$data3 = res.data) === null || _res$data3 === void 0 ? void 0 : _res$data3.count);
});
};
var onShowSizeChange = function onShowSizeChange(page, size) {
setPage(page);
setLimit(size);
};
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Scrapmodules.header_div,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Scrapmodules.header_title,
children: "\u8BBE\u5907\u62A5\u5E9F\u7BA1\u7406"
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Scrapmodules.search_params,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
colon: false,
label: "\u6240\u5C5E\u5B9E\u9A8C\u5BA4",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"], {
style: {
width: 120
},
defaultValue: laboratorySq,
value: laboratorySq,
onChange: function onChange(e) {
setLaboratorySq(e);
},
children: laboratorys === null || laboratorys === void 0 ? void 0 : laboratorys.map(function (item, index) {
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
}, index);
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
colon: false,
label: "\u8BBE\u5907\u7C7B\u578B",
style: {
margin: '0 20px'
},
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_select["default"], {
style: {
width: 120
},
defaultValue: overdue,
value: overdue,
onChange: function onChange(e) {
setOverdue(e);
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"].Option, {
value: "",
children: "\u5168\u90E8"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"].Option, {
value: "1",
children: "\u7269\u7406\u673A"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"].Option, {
value: "2",
children: "\u865A\u62DF\u673A"
})]
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z.Search, {
placeholder: "\u8BF7\u8F93\u5165\u8BBE\u5907\u540D\u79F0\u641C\u7D22",
size: "large",
className: Scrapmodules.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(Scrapmodules.searchIcon),
onClick: function onClick() {
setkeyword(keyword);
getData(true);
}
})
})]
})]
}), (tableData === null || tableData === void 0 ? void 0 : tableData.length) > 0 ? /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, {
pagination: false,
dataSource: tableData,
columns: columns
}) : /*#__PURE__*/(0,jsx_runtime.jsx)(NoData/* default */.Z, {
customText: "\u6682\u65E0\u6570\u636E"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("aside", {
children: total > 0 ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
display: 'flex',
alignItems: 'center',
justifyContent: 'space-between',
padding: '10px 7px 20px 7px'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
style: {
color: '#656F87'
},
children: ["\u5171", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "c-light-primary",
children: total
}), "\u6761\u6570\u636E"]
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(pagination/* default */.Z, {
showSizeChanger: true,
showQuickJumper: true,
onChange: onShowSizeChange,
defaultCurrent: 1,
pageSizeOptions: ['10', '20', '50', '100'],
current: page || 1,
pageSize: limit || 10,
defaultPageSize: 10,
total: total
})]
}) : ''
}), /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, {
maskClosable: false,
title: "\u67E5\u770B\u8BE6\u60C5",
centered: true,
open: viewVisible,
onOk: function onOk() {
return setViewVisible(false);
},
onCancel: function onCancel() {
return setViewVisible(false);
},
cancelButtonProps: {
style: {
display: 'none'
}
},
width: 600,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
maxHeight: '500px',
overflowY: 'auto'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Scrapmodules.infoItem,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
style: {
width: '100px'
},
children: "\u8BBE\u5907\u540D\u79F0\uFF1A"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: (viewData === null || viewData === void 0 ? void 0 : viewData.name) || '--',
placement: "topLeft",
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Scrapmodules.infoItem_value,
children: (viewData === null || viewData === void 0 ? void 0 : viewData.name) || '--'
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Scrapmodules.infoItem,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
width: '100px'
},
children: "\u8BBE\u5907\u7C7B\u578B\uFF1A"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: (viewData === null || viewData === void 0 ? void 0 : viewData.category) == 'virtual' ? '虚拟机' : '物理机',
placement: "topLeft",
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Scrapmodules.infoItem_value,
children: (viewData === null || viewData === void 0 ? void 0 : viewData.category) == 'virtual' ? '虚拟机' : '物理机'
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Scrapmodules.infoItem,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
width: '100px'
},
children: "IP\u5730\u5740\uFF1A"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: (viewData === null || viewData === void 0 ? void 0 : viewData.ip) || '--',
placement: "topLeft",
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Scrapmodules.infoItem_value,
children: (viewData === null || viewData === void 0 ? void 0 : viewData.ip) || '--'
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Scrapmodules.infoItem,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
width: '100px'
},
children: "MAC\u5730\u5740\uFF1A"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: (viewData === null || viewData === void 0 ? void 0 : viewData.mac_address) || '--',
placement: "topLeft",
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Scrapmodules.infoItem_value,
children: (viewData === null || viewData === void 0 ? void 0 : viewData.mac_address) || '--'
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Scrapmodules.infoItem,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
width: '100px'
},
children: "\u6240\u5C5E\u5B9E\u9A8C\u5BA4\uFF1A"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: (viewData === null || viewData === void 0 ? void 0 : viewData.classroom_title) || '--',
placement: "topLeft",
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Scrapmodules.infoItem_value,
children: (viewData === null || viewData === void 0 ? void 0 : viewData.classroom_title) || '--'
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Scrapmodules.infoItem,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
width: '100px'
},
children: "\u6240\u5C5E\u623F\u95F4\uFF1A"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: (viewData === null || viewData === void 0 ? void 0 : viewData.classroom_room_title) || '--',
placement: "topLeft",
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Scrapmodules.infoItem_value,
children: (viewData === null || viewData === void 0 ? void 0 : viewData.classroom_room_title) || '--'
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Scrapmodules.infoItem,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
width: '100px'
},
children: "\u91D1\u989D\uFF1A"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: (viewData === null || viewData === void 0 ? void 0 : viewData.amount) || '--',
placement: "topLeft",
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Scrapmodules.infoItem_value,
children: (viewData === null || viewData === void 0 ? void 0 : viewData.amount) || '--'
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Scrapmodules.infoItem,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
width: '100px'
},
children: "\u62A5\u5E9F\u7533\u8BF7\u4EBA\u5458\uFF1A"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: (viewData === null || viewData === void 0 ? void 0 : viewData.scrapped_user_name) || '--',
placement: "topLeft",
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Scrapmodules.infoItem_value,
children: (viewData === null || viewData === void 0 ? void 0 : viewData.scrapped_user_name) || '--'
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Scrapmodules.infoItem,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
width: '100px'
},
children: "\u8054\u7CFB\u624B\u673A\u53F7\uFF1A"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: (viewData === null || viewData === void 0 ? void 0 : viewData.scrapped_user_phone) || '--',
placement: "topLeft",
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Scrapmodules.infoItem_value,
children: (viewData === null || viewData === void 0 ? void 0 : viewData.scrapped_user_phone) || '--'
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Scrapmodules.infoItem,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
width: '100px'
},
children: "\u8054\u7CFB\u90AE\u7BB1\uFF1A"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: (viewData === null || viewData === void 0 ? void 0 : viewData.scrapped_user_mail) || '--',
placement: "topLeft",
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Scrapmodules.infoItem_value,
children: (viewData === null || viewData === void 0 ? void 0 : viewData.scrapped_user_mail) || '--'
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Scrapmodules.infoItem,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
width: '100px'
},
children: "\u7EF4\u4FEE\u65E5\u671F\uFF1A"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: viewData !== null && viewData !== void 0 && viewData.scrapped_date ? dayjs_min_default()(viewData === null || viewData === void 0 ? void 0 : viewData.scrapped_date).format('YYYY-MM-DD HH:mm') : '--',
placement: "topLeft",
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Scrapmodules.infoItem_value,
children: viewData !== null && viewData !== void 0 && viewData.scrapped_date ? dayjs_min_default()(viewData === null || viewData === void 0 ? void 0 : viewData.scrapped_date).format('YYYY-MM-DD HH:mm') : '--'
})
})]
})]
})
})]
});
};
/* harmony default export */ var Scrap = ((0,_umi_production_exports.connect)(function (_ref2) {
var loading = _ref2.loading,
engineeringNavigtion = _ref2.engineeringNavigtion;
return objectSpread2_default()({
loading: loading
}, engineeringNavigtion);
})(Navigation));
/***/ })
}]);

@ -1,186 +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.3.14@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.14@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Equipment/Scrap/index.less?modules ***!
\******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.header_div___unSwv {
height: 60px;
display: flex;
justify-content: space-between;
}
.header_div___unSwv .header_title___WCf0b {
height: 38px;
font-size: 16px;
font-family: PingFangSC, PingFang SC;
font-weight: 500;
color: #000000;
line-height: 38px;
}
.header_div___unSwv .search___XDmOG {
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___unSwv .search___XDmOG span[class~='ant-input-search-icon'] {
display: none;
}
.header_div___unSwv .search___XDmOG [class~='ant-input-affix-wrapper'] {
background-color: #f6f7f9;
border: none;
}
.header_div___unSwv .search___XDmOG [class~='ant-input-affix-wrapper'] {
outline: none !important;
border: none !important;
box-shadow: none !important;
}
.header_div___unSwv .search___XDmOG span[class~='ant-input-group-addon'] {
display: none;
}
.header_div___unSwv .search___XDmOG .searchIcon___j6ZDZ {
margin-right: 14px;
cursor: pointer;
}
.header_div___unSwv .search___XDmOG input {
background-color: #f6f7f9;
}
.search_params___veOCx {
display: flex;
}
.search_params___veOCx [class~='ant-form-item'] [class~='ant-form-item-label'] {
text-align: right !important;
}
.search_params___veOCx [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___veOCx [class~='ant-select-selector'] {
height: 36px !important;
}
.search_params___veOCx [class~='ant-picker'] {
height: 36px !important;
}
.search_params___veOCx [class~='ant-select-selection-item'] {
line-height: 34px !important;
}
.clear_Data___u0bVa {
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;
}
.content_list___dnPyj {
display: flex;
flex-wrap: wrap;
}
.content_list___dnPyj .content___cchLV {
width: 222px;
height: 247px;
background: #FFFFFF;
margin: 0 10px 20px 10px;
box-shadow: 0px 2px 4px 0px #D6DAE1;
border-radius: 8px;
cursor: pointer;
}
.content_list___dnPyj .content___cchLV .content_img___L5dds {
width: 222px;
height: 140px;
box-shadow: 0px 2px 4px 0px #D6DAE1;
border-radius: 8px 8px 0px 0px;
}
.content_list___dnPyj .content___cchLV .content_name___aAY7s {
height: 26px;
font-size: 16px;
font-family: PingFangSC, PingFang SC;
font-weight: 600;
color: #20232B;
line-height: 26px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
margin-top: 10px;
padding: 0 15px;
}
.content_list___dnPyj .content___cchLV .content_title___MYA4V {
height: 22px;
font-size: 14px;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
color: #666666;
line-height: 22px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
margin-top: 6px;
padding: 0 15px;
}
.content_list___dnPyj .content___cchLV .content_params___brz1n {
margin-top: 18px;
padding: 0 15px;
display: flex;
}
.content_list___dnPyj .content___cchLV .content_params___brz1n span {
color: #999999;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
font-size: 12px;
}
.redRow___Na1q0 {
color: #E30000;
}
.infoItem___VG8ki {
color: #666;
line-height: 38px;
padding-right: 5px;
text-align: right;
display: flex;
}
.infoItem___VG8ki .infoItem_value___m1ajt {
text-align: left;
width: 440px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
.file_list___zm7CA {
display: flex;
color: #3061D0;
font-size: 12px;
margin-bottom: 10px;
}
.file_list___zm7CA .file_list_title___U7TTt {
height: 24px;
line-height: 24px;
padding: 0 10px;
background: rgba(22, 93, 255, 0.06);
border-radius: 12px;
}
.file_list___zm7CA .file_list_size___D6Wcu {
height: 24px;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 12px;
color: #B2B2B2;
line-height: 24px;
text-align: left;
margin-left: 10px;
font-style: normal;
}

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