Auto Submit

dev_local_v9_test4
autosubmit 2 years ago
parent 0ca8cbe6fd
commit cdec2ec226

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[10126,94144,61104,37495,77034,61603,43468,6275,96004,23003,6572,32405,95644,23084,55128,40115],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[10126,94144,61104,37495,77034,61603,43468,6275,96004,23003,6572,32405,95644,55128,40115],{
/***/ 37064:
/*!********************************************************************************************************!*\

@ -1,4 +1,4 @@
(self["webpackChunk"] = self["webpackChunk"] || []).push([[10970,50523,70176,18945,47271,96004,23003,6572,32405,95644,23084],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[10970,50523,70176,18945,47271,96004,23003,6572,32405,95644],{
/***/ 86413:
/*!**************************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[11348,61603,43468,6275,96004,23003,6572,32405,95644,23084],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[11348,61603,43468,6275,96004,23003,6572,32405,95644],{
/***/ 3148:
/*!*******************************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[14082,70232,96004,23003,6572,32405,95644,23084,40115],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[14082,70232,96004,23003,6572,32405,95644,40115],{
/***/ 86413:
/*!**************************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[16581,24064,50523,70176,18945,47271,96004,23003,6572,32405,95644,23084],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[16581,24064,50523,70176,18945,47271,96004,23003,6572,32405,95644],{
/***/ 9516:
/*!*******************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[18945,50523,70176,47271,96004,23003,6572,32405,95644,23084],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[18945,50523,70176,47271,96004,23003,6572,32405,95644],{
/***/ 86413:
/*!**************************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[20338,50523,70176,18945,47271,96004,23003,6572,32405,95644,23084],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[20338,50523,70176,18945,47271,96004,23003,6572,32405,95644],{
/***/ 86413:
/*!**************************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[22296,65805,61603,43468,6275,96004,23003,6572,32405,95644,23084],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[22296,65805,61603,43468,6275,96004,23003,6572,32405,95644],{
/***/ 3148:
/*!*******************************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[22662,24064,50523,70176,18945,47271,96004,23003,6572,32405,95644,23084],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[22662,24064,50523,70176,18945,47271,96004,23003,6572,32405,95644],{
/***/ 83336:
/*!***********************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[23003,96004,6572,32405,95644,23084],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[23003,96004,6572,32405,95644],{
/***/ 86413:
/*!**************************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[24064,96004,23003,6572,32405,95644,23084],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[24064,96004,23003,6572,32405,95644],{
/***/ 86413:
/*!**************************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[24486,24064,50523,70176,18945,47271,96004,23003,6572,32405,95644,23084],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[24486,24064,50523,70176,18945,47271,96004,23003,6572,32405,95644],{
/***/ 9516:
/*!*******************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[32128,61603,43468,6275,96004,23003,6572,32405,95644,23084],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[32128,61603,43468,6275,96004,23003,6572,32405,95644],{
/***/ 3148:
/*!*******************************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[32405,96004,23003,6572,95644,23084],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[32405,96004,23003,6572,95644],{
/***/ 86413:
/*!**************************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[42133,61603,43468,6275,96004,23003,6572,32405,95644,23084],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[42133,61603,43468,6275,96004,23003,6572,32405,95644],{
/***/ 3148:
/*!*******************************************************************************************************************!*\

@ -1,4 +1,4 @@
(self["webpackChunk"] = self["webpackChunk"] || []).push([[43252,10970,50523,70176,18945,47271,96004,23003,6572,32405,95644,23084],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[43252,10970,50523,70176,18945,47271,96004,23003,6572,32405,95644],{
/***/ 86413:
/*!**************************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[43468,61603,6275,96004,23003,6572,32405,95644,23084],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[43468,61603,6275,96004,23003,6572,32405,95644],{
/***/ 3148:
/*!*******************************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[43508,4938,24064,45178,48507,70232,14082,96004,23003,6572,32405,95644,23084,40115],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[43508,4938,24064,45178,48507,70232,14082,96004,23003,6572,32405,95644,40115],{
/***/ 86413:
/*!**************************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[45178,24064,48507,70232,14082,96004,23003,6572,32405,95644,23084,40115],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[45178,24064,48507,70232,14082,96004,23003,6572,32405,95644,40115],{
/***/ 86413:
/*!**************************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[47271,50523,70176,18945,96004,23003,6572,32405,95644,23084],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[47271,50523,70176,18945,96004,23003,6572,32405,95644],{
/***/ 86413:
/*!**************************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[48507,24064,45178,70232,14082,96004,23003,6572,32405,95644,23084,40115],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[48507,24064,45178,70232,14082,96004,23003,6572,32405,95644,40115],{
/***/ 86413:
/*!**************************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[4938,24064,45178,48507,70232,14082,96004,23003,6572,32405,95644,23084,40115],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[4938,24064,45178,48507,70232,14082,96004,23003,6572,32405,95644,40115],{
/***/ 86413:
/*!**************************************************************************************************************!*\

@ -1,4 +1,4 @@
(self["webpackChunk"] = self["webpackChunk"] || []).push([[49388,96004,23003,6572,32405,95644,23084],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[49388,96004,23003,6572,32405,95644],{
/***/ 86413:
/*!**************************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[50523,70176,18945,47271,96004,23003,6572,32405,95644,23084],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[50523,70176,18945,47271,96004,23003,6572,32405,95644],{
/***/ 86413:
/*!**************************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[52556,70232,14082,96004,23003,6572,32405,95644,23084,40115],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[52556,70232,14082,96004,23003,6572,32405,95644,40115],{
/***/ 86413:
/*!**************************************************************************************************************!*\

@ -1,4 +1,4 @@
(self["webpackChunk"] = self["webpackChunk"] || []).push([[58561,96004,23003,6572,32405,95644,23084],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[58561,96004,23003,6572,32405,95644],{
/***/ 86413:
/*!**************************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[60597,61603,43468,6275,96004,23003,6572,32405,95644,23084,55128,40115],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[60597,61603,43468,6275,96004,23003,6572,32405,95644,55128,40115],{
/***/ 3148:
/*!*******************************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[61603,43468,6275,96004,23003,6572,32405,95644,23084],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[61603,43468,6275,96004,23003,6572,32405,95644],{
/***/ 3148:
/*!*******************************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[6275,61603,43468,96004,23003,6572,32405,95644,23084],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[6275,61603,43468,96004,23003,6572,32405,95644],{
/***/ 3148:
/*!*******************************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[6572,96004,23003,32405,95644,23084],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[6572,96004,23003,32405,95644],{
/***/ 86413:
/*!**************************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[65805,61603,43468,6275,96004,23003,6572,32405,95644,23084],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[65805,61603,43468,6275,96004,23003,6572,32405,95644],{
/***/ 3148:
/*!*******************************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[67500,96004,23003,6572,32405,95644,23084],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[67500,96004,23003,6572,32405,95644],{
/***/ 86413:
/*!**************************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[70176,50523,18945,47271,96004,23003,6572,32405,95644,23084],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[70176,50523,18945,47271,96004,23003,6572,32405,95644],{
/***/ 86413:
/*!**************************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[70232,14082,96004,23003,6572,32405,95644,23084,40115],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[70232,14082,96004,23003,6572,32405,95644,40115],{
/***/ 86413:
/*!**************************************************************************************************************!*\

@ -67,7 +67,7 @@ __webpack_require__(/*! ./contrib/inPlaceReplace/inPlaceReplace.js */ 63478);
__webpack_require__(/*! ./standalone/browser/inspectTokens/inspectTokens.js */ 39178);
__webpack_require__(/*! ./contrib/linesOperations/linesOperations.js */ 26313);
__webpack_require__(/*! ./contrib/links/links.js */ 2922);
__webpack_require__(/*! ./contrib/multicursor/multicursor.js */ 51518);
__webpack_require__(/*! ./contrib/multicursor/multicursor.js */ 55805);
__webpack_require__(/*! ./contrib/parameterHints/parameterHints.js */ 17865);
__webpack_require__(/*! ./standalone/browser/quickAccess/standaloneCommandsQuickAccess.js */ 63435);
__webpack_require__(/*! ./standalone/browser/quickAccess/standaloneGotoSymbolQuickAccess.js */ 83861);
@ -2266,7 +2266,7 @@ const editorLinkedEditingBackground = (0,colorRegistry/* registerColor */.P6)('e
// EXTERNAL MODULE: ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/editor/contrib/links/links.js + 2 modules
var links = __webpack_require__(2922);
// EXTERNAL MODULE: ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/editor/contrib/multicursor/multicursor.js
var multicursor = __webpack_require__(51518);
var multicursor = __webpack_require__(55805);
// EXTERNAL MODULE: ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/editor/contrib/parameterHints/parameterHints.js + 4 modules
var parameterHints = __webpack_require__(17865);
// EXTERNAL MODULE: ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/editor/contrib/rename/rename.js + 2 modules

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[71658,60597,61603,43468,6275,96004,23003,6572,32405,95644,23084,55128,40115],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[71658,60597,61603,43468,6275,96004,23003,6572,32405,95644,55128,40115],{
/***/ 3148:
/*!*******************************************************************************************************************!*\

@ -1,4 +1,4 @@
(self["webpackChunk"] = self["webpackChunk"] || []).push([[73376,96004,23003,6572,32405,95644,23084],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[73376,96004,23003,6572,32405,95644],{
/***/ 86413:
/*!**************************************************************************************************************!*\

@ -1,4 +1,4 @@
(self["webpackChunk"] = self["webpackChunk"] || []).push([[74460,49388,96004,23003,6572,32405,95644,23084],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[74460,49388,96004,23003,6572,32405,95644],{
/***/ 37064:
/*!********************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[95447,50523,70176,18945,47271,61603,43468,6275,96004,23003,6572,32405,95644,23084],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[95447,50523,70176,18945,47271,61603,43468,6275,96004,23003,6572,32405,95644],{
/***/ 3148:
/*!*******************************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[95644,96004,23003,6572,32405,23084],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[95644,96004,23003,6572,32405],{
/***/ 86413:
/*!**************************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[96004,23003,6572,32405,95644,23084],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[96004,23003,6572,32405,95644],{
/***/ 86413:
/*!**************************************************************************************************************!*\

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

@ -91,7 +91,7 @@ __webpack_require__(/*! ./contrib/inPlaceReplace/inPlaceReplace.js */ 63478);
__webpack_require__(/*! ./standalone/browser/inspectTokens/inspectTokens.js */ 39178);
__webpack_require__(/*! ./contrib/linesOperations/linesOperations.js */ 26313);
__webpack_require__(/*! ./contrib/links/links.js */ 2922);
__webpack_require__(/*! ./contrib/multicursor/multicursor.js */ 51518);
__webpack_require__(/*! ./contrib/multicursor/multicursor.js */ 55805);
__webpack_require__(/*! ./contrib/parameterHints/parameterHints.js */ 17865);
__webpack_require__(/*! ./standalone/browser/quickAccess/standaloneCommandsQuickAccess.js */ 63435);
__webpack_require__(/*! ./standalone/browser/quickAccess/standaloneGotoSymbolQuickAccess.js */ 83861);
@ -102883,7 +102883,7 @@ class MessageWidget {
/***/ }),
/***/ 51518:
/***/ 55805:
/*!***********************************************************************************************************!*\
!*** ./node_modules/_monaco-editor@0.30.0@monaco-editor/esm/vs/editor/contrib/multicursor/multicursor.js ***!
\***********************************************************************************************************/

@ -1,4 +1,4 @@
(self["webpackChunk"] = self["webpackChunk"] || []).push([[67878,96004,23003,6572,32405,95644,23084],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[67878,96004,23003,6572,32405,95644],{
/***/ 86413:
/*!**************************************************************************************************************!*\

@ -0,0 +1,100 @@
/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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.17@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.17@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Counselling/Index/index.less?modules ***!
\********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___ewAhg {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___bQ7Vq {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___wTmme {
align-items: center;
box-align: center;
}
.flex_box_center_end___agiOO {
justify-content: flex-end;
align-items: center;
-webkit-justify-content: flex-end;
-webkit-align-items: center;
-webkit-box-align: center;
-webkit-box-pack: end;
box-align: center;
box-pack: end;
}
.flex_box_column___PWrUo {
flex-direction: column;
box-orient: block-axis;
}
.all_box___D4ufU {
background: #fff;
padding-top: 40px;
}
.wrap___PM68s {
margin: 0 100px;
display: flex;
justify-content: space-between;
align-items: flex-start;
background: #fff;
}
.wrap___PM68s .left___k85ia {
width: 240px;
overflow: hidden;
flex-shrink: 0;
}
.wrap___PM68s .left___k85ia [class~='ant-menu-item'] {
height: 44px !important;
line-height: 44px !important;
margin-inline: 8px !important;
color: #5F6367;
}
.wrap___PM68s .left___k85ia [class~='ant-menu-item']::after {
content: '';
width: 3px;
background: #232B40;
border-radius: 3px 0px 0px 3px;
}
.wrap___PM68s .left___k85ia [class~='ant-menu-item-selected'] {
background-color: #F8F9FA !important;
color: #000000 !important;
}
.wrap___PM68s .left___k85ia [class~='ant-menu-submenu-title'] {
color: #5F6367 !important;
margin-left: 8px !important;
}
.wrap___PM68s .left___k85ia [class~='ant-menu-inline'] {
background: #fff !important;
-webkit-border-end: none !important;
border-inline-end: none !important;
}
.wrap___PM68s .left___k85ia .home___BAil7 {
display: flex;
padding-left: 16px;
padding-right: 8px;
margin-bottom: 15px;
cursor: pointer;
}
.wrap___PM68s .left___k85ia .home___BAil7 .info___wu0zh > div:first-child {
font-size: 20px;
font-weight: 500;
color: #0152d9;
line-height: 28px;
}
.wrap___PM68s .left___k85ia .home___BAil7 .info___wu0zh > div:last-child {
font-size: 18px;
font-weight: 600;
color: #165DFF;
}
.wrap___PM68s .right___Yfrvm {
background: #ffffff;
border-radius: 4px;
flex: 1 1;
padding-left: 19px;
overflow: hidden;
min-height: 500px;
border-left: 1px #DBDCE0 solid;
}

@ -0,0 +1,163 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[66884],{
/***/ 67036:
/*!***********************************************************!*\
!*** ./src/pages/Counselling/Index/index.tsx + 1 modules ***!
\***********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"default": function() { return /* binding */ Index; }
});
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/slicedToArray.js
var slicedToArray = __webpack_require__(79800);
var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
var _react_17_0_2_react = __webpack_require__(59301);
;// CONCATENATED MODULE: ./src/pages/Counselling/Index/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var Indexmodules = ({"flex_box_center":"flex_box_center___ewAhg","flex_space_between":"flex_space_between___bQ7Vq","flex_box_vertical_center":"flex_box_vertical_center___wTmme","flex_box_center_end":"flex_box_center_end___agiOO","flex_box_column":"flex_box_column___PWrUo","all_box":"all_box___D4ufU","wrap":"wrap___PM68s","left":"left___k85ia","home":"home___BAil7","info":"info___wu0zh","right":"right___Yfrvm"});
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/menu/index.js + 11 modules
var menu = __webpack_require__(20834);
// EXTERNAL MODULE: ./src/.umi-production/exports.ts
var _umi_production_exports = __webpack_require__(33936);
// EXTERNAL MODULE: ./src/assets/images/shiyanshi.png
var shiyanshi = __webpack_require__(87072);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
var jsx_runtime = __webpack_require__(37712);
;// CONCATENATED MODULE: ./src/pages/Counselling/Index/index.tsx
var SubMenu = menu/* default */.Z.SubMenu;
var Engineering = function Engineering(_ref) {
var _user$userInfo, _user$userInfo2;
var user = _ref.user,
globalSetting = _ref.globalSetting,
engineering = _ref.engineering,
dispatch = _ref.dispatch;
var location = (0,_umi_production_exports.useLocation)();
var _useState = (0,_react_17_0_2_react.useState)(1),
_useState2 = slicedToArray_default()(_useState, 2),
menuKey = _useState2[0],
setMenuKey = _useState2[1];
(0,_react_17_0_2_react.useEffect)(function () {
if (location.pathname == '/counselling') {
_umi_production_exports.history.replace('/counselling/itemAssets');
}
setMenuKey(function (e) {
return e + 1;
});
}, [location.pathname]);
(0,_react_17_0_2_react.useEffect)(function () {
dispatch({
type: 'globalSetting/footerToggle',
payload: false
});
return function () {
dispatch({
type: 'globalSetting/footerToggle',
payload: true
});
};
}, []);
function getItem(label, key, icon, children, type) {
return {
key: key,
icon: icon,
children: children,
label: label,
type: type
};
}
var items = [getItem('专家列表', '/counselling/itemAssets', /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-shiyanshiyuyue"
})), getItem('我的咨询', '/counselling/myReceive', /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-wodelingyongshenqing"
})), ((user === null || user === void 0 || (_user$userInfo = user.userInfo) === null || _user$userInfo === void 0 ? void 0 : _user$userInfo.classroom_center_auth) || (user === null || user === void 0 || (_user$userInfo2 = user.userInfo) === null || _user$userInfo2 === void 0 ? void 0 : _user$userInfo2.classroom_auth)) && getItem('工作台', 'workbench', /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-wodegongzuotai"
}), [getItem('专家管理', '/counselling/itemAssetsType'), getItem('值班设置', '/counselling/itemAssetsList')])];
// 获取所有二级菜单项的key
var allSubMenuKeys = items.filter(function (item) {
return item === null || item === void 0 ? void 0 : item.children;
}).map(function (item) {
return item.key;
});
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Indexmodules.all_box,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Indexmodules.wrap,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Indexmodules.left,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("aside", {
className: Indexmodules.home,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "mr15",
children: /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
width: 22,
src: shiyanshi,
style: {
marginTop: "3px"
}
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Indexmodules.info,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: "\u5728\u7EBF\u54A8\u8BE2"
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z, {
defaultSelectedKeys: [location === null || location === void 0 ? void 0 : location.pathname],
defaultOpenKeys: allSubMenuKeys,
mode: "inline",
theme: "light",
items: items,
onClick: function onClick(item) {
_umi_production_exports.history.push(item === null || item === void 0 ? void 0 : item.key);
}
}, menuKey)]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Indexmodules.right,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Outlet, {})
})]
})
});
};
/* harmony default export */ var Index = ((0,_umi_production_exports.connect)(function (_ref2) {
var globalSetting = _ref2.globalSetting,
user = _ref2.user,
engineering = _ref2.engineering,
dispatch = _ref2.dispatch;
return {
user: user,
globalSetting: globalSetting,
engineering: engineering,
dispatch: dispatch
};
})(Engineering));
/***/ }),
/***/ 87072:
/*!*****************************************!*\
!*** ./src/assets/images/shiyanshi.png ***!
\*****************************************/
/***/ (function(module) {
module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAsCAYAAAAXb/p7AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAKKADAAQAAAABAAAALAAAAACPZsBsAAAIkUlEQVRYCc1YC4xVxRn+5u69uzx3YSnLLqB0eVgEKlpFSO0K2IZqfaA1rY1GUAqpSSG1tWpShaS2NNZYfIBaKoJSCYmAgBS6tbo8VOSlFiwILJRoFrBWsDwWYZfd0++buXMf597lXFrS+CfnzJyZf/7/m/81c68BqdfEoHdrMx4JAoyCQRUCjZIMH/XViny/rXnHlXpHLU8x+o6Tf5Dr1sQSuG//HNNg+hPcqVZsJbjyMKCwAi/Ht1wDQya1eSkswAFwG9WC0HzWp8HhEoOh8dMGj8SLCI4UXq+xLAoxeHBqRaHpsH7HlPGO4C9vBbEVF2GUGM8FRSg86w0Q06h4URGqPMAsE+dBHAUgx2ThBXlkZg2FAQSoitO9No7EGBVTOS4lAD9mFeUqSMcZGTxvKiTC662Q7Fc8EXfANBwloH0xMGkMMHIw0K0zcKoZ2NEAbK4HVm4BjpxwMso6ANcNAy4fAAzsBZQkgE+OAHXbgHmvAye5Lh/l1T/s523mYJYMgXvhJ8CXK5yCjz8DenQBNC4S2Ff/BsRjwLeGAtq4qPEk8K+jQFVXB3T3fmDCLKDpdLRBBDieoItt7Fhxbb9kOYGTpX73igMk7t7dGMlDgFuvBK6n1USfHQdeXAus3Q4c5EZEHbiRe28CxlwMjBsNPF+XC9BxZr9jisHUw93bvtrQUzPIgXp8BdDC/Pdrjn4ODDkfkFtlxSY+XTsBF/YGNGflUEdTC/AYN6a1V1KWDCMZvk3p1Xim7jhdodgWnSnpyqlU1qB8K1j8XTsCD98O9K8C/v4RMH0RwKqAqd9zbu5ZDjy4gLFJoCKB/JTuLmf8Sm8UCVdMO5BQPb6v1u6MO/GtYqZze7c7jXUvBZ6Y6MD9hbF37wvA4UYXbz+b59w76DxgxgS3EW+tTpQhWV6ub72lU20SU5aLBVKCPGDt0o6xrT/oMldW6Ux3Tr+NZzj7SzcCM1cCHUuA4cxaua+Mln10GVD7rovbX90KdOJ8dQ/Ht4eyvFzfSpcFm2zVt99i8C7OMbkmkn5/ny4ccQFw1UW0WiXQj89r2xjsq4EBPYFffJdWLXMSTpwCHv8T8PtX3WauGAhMudZZVxySJeVWsY8rTfi+Wv95s+4wHmGIwbG5d6d2wOy7nHvk6p0sF9MWuph84k6WEVpz5TvAccbbjcNdbf3xHODzJuA3tGBfWk/ARZOeSVcBN5J8ZxjEjhCPczFjzfqe5k216nOXMr1aFdf1u1wcKoZmruJiruvJ+taLpWZTPbBgHbB8M7CCTwe6dHBvqqGSJxkCp5kgGluzPV0FVCttbLK1fcrzbSoWfUEV4pyjLrQjz6vhdqxr+m5JuqNUCcRvzZUyBkWa05iKuT/efJxpPiQ+r357Fid15CyQEE+d6eIRTIKjPM5KmSRTrgF+vcS5TcedMvYBxuEJuvRr1S7e/vFPV6Anf4dJQesc56miJFqyIXnchRCGPq3qmBamM8b1rWvpVpthyfaKC507allSNuyGPVXuGsMxrp9bB3xAkCrOl/YFDrBePlXrtjaZG1G2r9vBs/h9d9xJlnUlZfvW68xpvdu8pdpqBymeSO/uA97cCVQwYy/rxyQYBSx8k3H2Zxef2uxhHnUxmuOH3wQu6gPsOgAsetuVqRuG0dq9XDxbgREv6+IIHjt9/peAfzfy8E9m4uy/AnezdNTQGsrw+Wud25S1SoYJo5kkdPtHnwJzXqcIAj5E4Mrk8yhLlgpTvttMwfdBWcaerWwlqJln3iy6cRKtdEm1O1nmr3OxNn4kUNnFFfe5a5jB5BUgrdN5La/pyUnKMGJ+2/tgnnE7lClA4HQHVEY2s2SIBPIPtM7Nw13s3T/WjSuuN7DsLN/CTCavD6N2CXfKNBxyGyHeVG22K0MD0m+TxNYcCs1puWs7xnY7k0BWvOXrdGl7p1RW0Z3w2EnnXgHTo0zWPbCC57UPehV3rVVsKuslK/N4s/VWGGhZj0MbM1NfEs5okqKJo11hbuWKY7SoLKLbskiF/L19DsDF1RyncD8utwqgwH3ImJy3mieQtPI724R2SdbL/HIxAYoxH2UK4bysM7w/z95Kd0PRNUpX+f0sK7KKvyXLOjpFVF5kRRXxQ0yw3czmTXtd7Fl1UQCp30xfFgQeXwhPPshnHAvrC8uLmg8LF7+98kuQKEpA1LyTkn6H+dMzrpeZhBrJKTMcK7gOWpFhjWdpoih2qyPzRX0OoBSLoiSE592q//4dtWFKLrhQWxQRAumiI3RbmU+6CPaCDBJT3fH1S3VHfbV6VFp8a/uqXRpLPr5PGc3km9atEhXFCdydiKFRtUyyfJvZz6xz6qf0Jft+XtjMvDfSdTAqaPP5klbaRrzjbq8xW/38greCPk2tmM3vb/uxQtp8+s0f16cBFiLE8xBYC135cHEpHvr+YMOzI5cWrA/G8aSbQV7euV3985mqb99X2xaZhRvPAmAySUyADxDD+B9cbni5PzO9vDWoaDqFJ6nlljNz5p81i7akAWojPlHF7vtqLRm0kmdGt3JMHV1teNoWTovfCa6nwKcpK3mzLGytWfpeGmB4SSZg9vdw/o6xl5i3wnyFfq+qD0qbGvFb8v+IWq1nvRGsjEyFHBAys2IbjzpN+AH2PWQ7bLhvg6cqy3H/ZT0Nf5H871S7PajhfzTPUs9XUseX9PPxGL0WU7vDw/FDWe2HjLU7rx5oVmeNnoOP+vqgZO9pTDOtuI+XARaUPCQLvrYzA6CHz9bE8GxJF9zzje7mWJ6l52yoblcwlACfI4pLc0woHGv2Bh9zooc0JvHt56+5iTXVpvacoYgQFARB0bp9+Cmrw0O8J7YXDhGBN8ZY9WfoZCiOIyCw+WVFGPL/BCcgxpiWkX3No0UJfJU46vRzV0/C2GLPn5IHgj56xPxFoI0NwdANDcGILwKWSAz/AfAC86YlvnlTAAAAAElFTkSuQmCC";
/***/ })
}]);

@ -1,299 +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.17@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.17@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Counselling/Index/index.less?modules ***!
\********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___ewAhg {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___bQ7Vq {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___wTmme {
align-items: center;
box-align: center;
}
.flex_box_center_end___agiOO {
justify-content: flex-end;
align-items: center;
-webkit-justify-content: flex-end;
-webkit-align-items: center;
-webkit-box-align: center;
-webkit-box-pack: end;
box-align: center;
box-pack: end;
}
.flex_box_column___PWrUo {
flex-direction: column;
box-orient: block-axis;
}
.page___LjQDJ {
background: #ffffff;
padding-bottom: 30px;
min-height: 80vh;
}
.page___LjQDJ .center___okELL {
margin: 0 auto;
width: 1200px;
}
.page___LjQDJ .center___okELL .prompt___m559c {
width: 1200px;
height: 30px;
background: rgba(144, 150, 163, 0.1);
border-radius: 0px 0px 8px 8px;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 12px;
color: #9096A3;
font-style: normal;
display: flex;
align-items: center;
padding-left: 20px;
}
.page___LjQDJ .listWrap___dNaZl .wrap___PM68s {
padding: 20px;
position: relative;
background: #FFFFFF;
box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.05);
border-radius: 4px;
border: 1px solid #F5F5F5;
margin-bottom: 20px;
display: flex;
}
.page___LjQDJ .listWrap___dNaZl .wrap___PM68s .leftContent___qPeZp {
cursor: pointer;
width: 86%;
}
.page___LjQDJ .listWrap___dNaZl .wrap___PM68s .leftContent___qPeZp .header___ZmIEK {
height: 25px;
display: flex;
}
.page___LjQDJ .listWrap___dNaZl .wrap___PM68s .leftContent___qPeZp .header___ZmIEK .title___MTJ42 {
width: 80%;
height: 25px;
font-family: PingFangSC, PingFang SC;
font-weight: 600;
font-size: 20px;
color: #000000;
line-height: 25px;
text-align: left;
font-style: normal;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.page___LjQDJ .listWrap___dNaZl .wrap___PM68s .leftContent___qPeZp .header___ZmIEK .time___sCgd6 {
width: 20%;
height: 25px;
line-height: 25px;
text-align: right;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 12px;
color: #9096A3;
font-style: normal;
}
.page___LjQDJ .listWrap___dNaZl .wrap___PM68s .leftContent___qPeZp .introduction___qTFpI {
margin: 10px 0 20px 0;
max-height: 44px;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 14px;
color: #666666;
line-height: 22px;
text-align: justify;
font-style: normal;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.page___LjQDJ .listWrap___dNaZl .wrap___PM68s .leftContent___qPeZp .from___Cs77C {
font-size: 14px;
font-weight: 400;
color: #5f6368;
margin-bottom: 25px;
}
.page___LjQDJ .listWrap___dNaZl .wrap___PM68s .leftContent___qPeZp .bottom___arkj1 {
height: 22px;
line-height: 22px;
display: flex;
}
.page___LjQDJ .listWrap___dNaZl .wrap___PM68s .leftContent___qPeZp .bottom___arkj1 .user_img___u9uJa {
width: 22px;
height: 22px;
margin-right: 6px;
border-radius: 50%;
}
.page___LjQDJ .listWrap___dNaZl .wrap___PM68s .leftContent___qPeZp .bottom___arkj1 .user_name___PEuz6 {
color: #5f6368;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 14px;
color: #000000;
font-style: normal;
margin-right: 20px;
}
.page___LjQDJ .listWrap___dNaZl .wrap___PM68s .leftContent___qPeZp .bottom___arkj1 .tags_name___OlK2W {
height: 22px;
font-size: 12px;
text-align: center;
color: #9096A3;
line-height: 22px;
background: #F6F7F9;
border-radius: 2px;
margin-right: 10px;
padding: 0 8px;
}
.page___LjQDJ .listWrap___dNaZl .wrap___PM68s .leftContent___qPeZp .bottom___arkj1 .buttonList___JMUNo {
margin-left: auto;
display: flex;
}
.page___LjQDJ .listWrap___dNaZl .wrap___PM68s .leftContent___qPeZp .bottom___arkj1 .buttonList___JMUNo .buttonItem___xIymS {
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 12px;
color: #2C3850;
text-align: left;
font-style: normal;
margin-left: 30px;
}
.page___LjQDJ .listWrap___dNaZl .wrap___PM68s .leftContent___qPeZp:hover .title___MTJ42 {
color: #165dff;
}
.selectList___VM4Ux {
width: 1200px;
background: #FFFFFF;
box-shadow: 0px 2px 6px 0px #D2D2D2;
border-radius: 2px;
border: 1px solid #E7F3FF;
}
.selectList___VM4Ux .selectHeader___mDJNx {
width: 1200px;
height: 40px;
background: #F6F7F9;
border-radius: 2px 2px 0px 0px;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 14px;
color: #2C3850;
line-height: 40px;
font-style: normal;
text-indent: 12px;
}
.selectList___VM4Ux .selectContent___dHspS {
border-bottom: 1px #F5F5F5 solid;
padding: 12px 12px 20px 12px;
}
.selectList___VM4Ux .selectContent___dHspS .contentTitle___o7Uy0 {
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 14px;
color: #B3B4B9;
text-align: left;
font-style: normal;
}
.selectList___VM4Ux .selectContent___dHspS .contentTags___MArjH {
display: flex;
flex-wrap: wrap;
}
.selectList___VM4Ux .selectContent___dHspS .contentTags___MArjH .tagName___k0wTs {
height: 22px;
padding: 0 8px;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 14px;
color: #5F6368;
line-height: 22px;
text-align: left;
font-style: normal;
margin-right: 30px;
margin-top: 15px;
cursor: pointer;
}
.selectList___VM4Ux .selectContent___dHspS .contentTags___MArjH .tagNameActive___OJAFW {
height: 22px;
padding: 0 8px;
background: #F6F7F9;
border-radius: 2px;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 14px;
color: #165DFF;
line-height: 22px;
text-align: center;
font-style: normal;
margin-right: 30px;
margin-top: 15px;
cursor: pointer;
}
.selectList___VM4Ux .activeStyle___zIcDl {
margin: 20px auto;
text-align: left;
padding-left: 12px;
display: flex;
align-items: center;
}
.selectList___VM4Ux .activeStyle___zIcDl .activeLabel___vsLbB {
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 14px;
color: #2C3850;
font-style: normal;
margin-right: 20px;
}
.selectList___VM4Ux .activeStyle___zIcDl .activeItem___CtUab {
background: #F6F7F9;
padding: 0 8px;
border-radius: 2px;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 14px;
color: #165DFF;
text-align: left;
font-style: normal;
margin-right: 10px;
display: flex;
align-items: center;
}
.selectList___VM4Ux .activeStyle___zIcDl .activeClose___GNlUY {
width: 60px;
height: 32px;
background: #F8F9FC;
border-radius: 2px;
border: 1px solid #C3CFE0;
opacity: 0.5;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 14px;
color: #464F66;
line-height: 32px;
text-align: center;
font-style: normal;
cursor: pointer;
margin-left: auto;
}
.selectList___VM4Ux .activeStyle___zIcDl .activeSubmit___sWDcM {
width: 60px;
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-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 14px;
color: #FFFFFF;
line-height: 32px;
text-align: center;
font-style: normal;
cursor: pointer;
margin-left: 20px;
margin-right: 12px;
}
[class~='ant-select-dropdown'] {
padding: 0 !important;
}

File diff suppressed because one or more lines are too long

@ -0,0 +1,194 @@
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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.17@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.17@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Counselling/ItemAssetsList/index.less?modules ***!
\*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.tabs_content___PtC23 {
position: relative;
}
.tabs_content___PtC23 .header_div___MCCPQ {
height: 60px;
display: flex;
position: absolute;
right: 0;
top: 0;
}
.tabs_content___PtC23 .header_div___MCCPQ .search____yy0h {
display: flex;
align-items: center;
overflow: hidden;
border-radius: 19px;
height: 38px;
width: 260px;
padding-left: 8px;
background-color: #f6f7f9;
border: none;
margin-left: auto;
}
.tabs_content___PtC23 .header_div___MCCPQ .search____yy0h span[class~='ant-input-search-icon'] {
display: none !important;
}
.tabs_content___PtC23 .header_div___MCCPQ .search____yy0h [class~='ant-input-affix-wrapper'] {
background-color: #f6f7f9 !important;
border: none !important;
}
.tabs_content___PtC23 .header_div___MCCPQ .search____yy0h [class~='ant-input-affix-wrapper'] {
outline: none !important;
border: none !important;
box-shadow: none !important;
}
.tabs_content___PtC23 .header_div___MCCPQ .search____yy0h span[class~='ant-input-group-addon'] {
display: none !important;
}
.tabs_content___PtC23 .header_div___MCCPQ .search____yy0h .searchIcon___j11JG {
margin-right: 14px;
cursor: pointer;
}
.tabs_content___PtC23 .header_div___MCCPQ .search____yy0h input {
background-color: #f6f7f9;
}
.search_params___tXpPp {
display: flex;
}
.search_params___tXpPp [class~='ant-form-item'] [class~='ant-form-item-label'] {
text-align: right !important;
}
.search_params___tXpPp [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___tXpPp [class~='ant-select-selector'] {
height: 36px !important;
}
.search_params___tXpPp [class~='ant-picker'] {
height: 36px !important;
}
.search_params___tXpPp [class~='ant-select-selection-item'] {
line-height: 34px !important;
}
.add_Data___TikSE {
width: 60px;
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-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 14px;
color: #FFFFFF;
line-height: 32px;
font-style: normal;
text-align: center;
cursor: pointer;
margin-top: 3px;
margin-left: 20px;
}
.daoru_Data___m25co {
width: 62px;
height: 32px;
background: linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%), #F6F7F9;
box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
border-radius: 2px;
border: 1px solid #BACFFE;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 14px;
color: #3061D0;
line-height: 32px;
font-style: normal;
text-align: center;
cursor: pointer;
margin-top: 3px;
margin-left: 20px;
}
.upload_modal___R6_P_ .modal_moban___hI_fF {
width: 450px;
height: 114px;
background: #F6F7F9;
border-radius: 2px;
margin-top: 10px;
}
.upload_modal___R6_P_ .xiazai___WwhI7 {
width: 146px;
height: 32px;
background: linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%), #F6F7F9;
box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
border-radius: 2px;
border: 1px solid #BACFFE;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 14px;
color: #3061D0;
line-height: 32px;
text-align: left;
font-style: normal;
text-align: center;
cursor: pointer;
margin-left: 20px;
}
.upload_modal___R6_P_ .modal_shangchuan___nHIz3 {
width: 450px;
padding-bottom: 20px;
background: #F6F7F9;
border-radius: 2px;
margin-top: 10px;
}
.upload_modal___R6_P_ .modal_shangchuan___nHIz3 [class~='ant-upload-drag'] {
height: 100px !important;
width: 410px !important;
margin: auto !important;
background: #fff !important;
}
.upload_modal___R6_P_ .modal_shangchuan___nHIz3 .shangchuan___IEGPy {
width: 96px;
height: 32px;
background: linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%), #F6F7F9;
box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
border-radius: 2px;
border: 1px solid #BACFFE;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 14px;
color: #3061D0;
line-height: 32px;
text-align: left;
font-style: normal;
text-align: center;
cursor: pointer;
margin: auto;
}
.upload_modal___R6_P_ .modal_shangchuan___nHIz3 .geshi___Ka0GR {
width: 391px;
height: 20px;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 12px;
color: #999999;
line-height: 20px;
text-align: left;
font-style: normal;
text-align: center;
margin: 10px auto 0 auto;
}
.redRow___vFWzH {
background-color: #fdf3f3;
}
.warehousing_add___PxhNm {
width: 60px;
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-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 14px;
color: #FFFFFF;
line-height: 32px;
font-style: normal;
text-align: center;
cursor: pointer;
position: absolute;
right: 70px;
top: 18px;
}

@ -0,0 +1,948 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[77315],{
/***/ 20478:
/*!********************************************************************!*\
!*** ./src/pages/Counselling/ItemAssetsList/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 */ ItemAssetsList; }
});
// 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/regeneratorRuntime.js
var regeneratorRuntime = __webpack_require__(7557);
var regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(regeneratorRuntime);
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js
var asyncToGenerator = __webpack_require__(41498);
var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator);
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/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__(33936);
;// CONCATENATED MODULE: ./src/pages/Counselling/ItemAssetsList/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var ItemAssetsListmodules = ({"tabs_content":"tabs_content___PtC23","header_div":"header_div___MCCPQ","search":"search____yy0h","searchIcon":"searchIcon___j11JG","search_params":"search_params___tXpPp","add_Data":"add_Data___TikSE","daoru_Data":"daoru_Data___m25co","upload_modal":"upload_modal___R6_P_","modal_moban":"modal_moban___hI_fF","xiazai":"xiazai___WwhI7","modal_shangchuan":"modal_shangchuan___nHIz3","shangchuan":"shangchuan___IEGPy","geshi":"geshi___Ka0GR","redRow":"redRow___vFWzH","warehousing_add":"warehousing_add___PxhNm"});
// 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/modal/index.js + 16 modules
var modal = __webpack_require__(43418);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/message/index.js + 4 modules
var message = __webpack_require__(8591);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/form/index.js + 19 modules
var es_form = __webpack_require__(78241);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/tabs/index.js + 24 modules
var tabs = __webpack_require__(99313);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input/index.js + 3 modules
var input = __webpack_require__(92832);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/select/index.js
var es_select = __webpack_require__(57809);
// 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: ./src/service/laboratory.ts
var laboratory = __webpack_require__(51440);
// EXTERNAL MODULE: ./src/utils/util.tsx
var util = __webpack_require__(16739);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/upload/Dragger.js
var Dragger = __webpack_require__(71409);
// EXTERNAL MODULE: ./src/utils/env.ts + 1 modules
var env = __webpack_require__(84666);
;// CONCATENATED MODULE: ./src/pages/Counselling/ItemAssetsList/itemAssetsList_module.xlsx
var itemAssetsList_module_namespaceObject = __webpack_require__.p + "static/itemAssetsList_module.5f3bbac0.xlsx";
// EXTERNAL MODULE: ./src/service/materials.ts
var materials = __webpack_require__(63643);
// EXTERNAL MODULE: ./src/assets/images/roomInitImgMaterials.png
var roomInitImgMaterials = __webpack_require__(3416);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
var jsx_runtime = __webpack_require__(37712);
;// CONCATENATED MODULE: ./src/pages/Counselling/ItemAssetsList/index.tsx
var unitType = {
1: '个',
2: '套',
3: '袋',
4: '条',
5: '根',
6: '升',
7: '毫升'
};
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)(0),
_useState4 = slicedToArray_default()(_useState3, 2),
total = _useState4[0],
setTotal = _useState4[1];
var _useState5 = (0,_react_17_0_2_react.useState)(1),
_useState6 = slicedToArray_default()(_useState5, 2),
page = _useState6[0],
setPage = _useState6[1];
var _useState7 = (0,_react_17_0_2_react.useState)(10),
_useState8 = slicedToArray_default()(_useState7, 2),
limit = _useState8[0],
setLimit = _useState8[1];
//物资类型 可用、报废
var _useState9 = (0,_react_17_0_2_react.useState)('1'),
_useState10 = slicedToArray_default()(_useState9, 2),
itemType = _useState10[0],
setItemType = _useState10[1];
//预约数据
var _useState11 = (0,_react_17_0_2_react.useState)([]),
_useState12 = slicedToArray_default()(_useState11, 2),
tableData = _useState12[0],
setTableData = _useState12[1];
//导入
var _useState13 = (0,_react_17_0_2_react.useState)(false),
_useState14 = slicedToArray_default()(_useState13, 2),
openUpload = _useState14[0],
setOpenUpload = _useState14[1];
var _useState15 = (0,_react_17_0_2_react.useState)([]),
_useState16 = slicedToArray_default()(_useState15, 2),
fileList = _useState16[0],
setFileList = _useState16[1];
//实验室、实验室房间、物资类别
var _useState17 = (0,_react_17_0_2_react.useState)([]),
_useState18 = slicedToArray_default()(_useState17, 2),
roomList = _useState18[0],
setRoomList = _useState18[1];
var _useState19 = (0,_react_17_0_2_react.useState)(''),
_useState20 = slicedToArray_default()(_useState19, 2),
classroomRoomId = _useState20[0],
setClassroomRoomId = _useState20[1];
var _useState21 = (0,_react_17_0_2_react.useState)([]),
_useState22 = slicedToArray_default()(_useState21, 2),
classroomList = _useState22[0],
setClassroomList = _useState22[1];
var _useState23 = (0,_react_17_0_2_react.useState)(''),
_useState24 = slicedToArray_default()(_useState23, 2),
classroomId = _useState24[0],
setClassroomId = _useState24[1];
var _useState25 = (0,_react_17_0_2_react.useState)([]),
_useState26 = slicedToArray_default()(_useState25, 2),
substanceList = _useState26[0],
setSubstanceList = _useState26[1];
var _useState27 = (0,_react_17_0_2_react.useState)(''),
_useState28 = slicedToArray_default()(_useState27, 2),
substanceCategoryId = _useState28[0],
setSubstanceCategoryId = _useState28[1];
var columns = [{
title: '物资编号',
dataIndex: 'number',
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: 'title',
width: 210,
render: function render(text, record) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
placement: "bottomLeft",
title: text,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
display: "flex"
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
style: {
width: '90px',
height: '50px',
marginRight: '10px'
},
src: record !== null && record !== void 0 && record.image ? env/* default */.Z.API_SERVER + '/' + (record === null || record === void 0 ? void 0 : record.image) : roomInitImgMaterials
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
style: {
width: '100px',
lineHeight: "50px",
whiteSpace: 'nowrap',
overflow: 'hidden',
textOverflow: 'ellipsis'
},
children: text || '--'
})]
})
});
}
}, itemType == '1' && {
title: '可申请',
dataIndex: 'apply_total',
ellipsis: true,
render: function render(text, record) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
placement: "bottomLeft",
title: text,
children: Number(record === null || record === void 0 ? void 0 : record.total) < Number(record === null || record === void 0 ? void 0 : record.low_value) ? /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
color: '#E30000'
},
children: text
}) : /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: text
})
});
}
}, {
title: itemType == '1' ? '总量' : '报废总量',
dataIndex: 'total',
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: 'unit',
ellipsis: true,
render: function render(text) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
placement: "bottomLeft",
title: unitType[text],
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: unitType[text]
})
});
}
}, {
title: '物资类别',
dataIndex: 'substance_category_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: 'model',
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_titile',
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: 'facturer',
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: '操作',
width: itemType == 1 ? 300 : 200,
ellipsis: true,
render: function render(text, record) {
return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
children: [itemType == 1 && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
color: "#165DFF",
cursor: "pointer"
},
onClick: function onClick() {
_umi_production_exports.history.push("/materials/itemAssetsList/createItemAssets/".concat(record === null || record === void 0 ? void 0 : record.id));
},
children: "\u7F16\u8F91"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
color: "#165DFF",
cursor: "pointer",
marginLeft: '20px'
},
onClick: function onClick() {
modal/* default */.Z.confirm({
centered: true,
okText: '确定',
cancelText: '取消',
title: "提示",
content: "是否确认删除该物资?",
onOk: function () {
var _onOk = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() {
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
(0,materials/* substance_delete */.iU)({
id: record === null || record === void 0 ? void 0 : record.id
}).then(function (res) {
if (res.status === 0) {
message/* default */.ZP.success('删除成功');
getData(true);
}
});
case 1:
case "end":
return _context.stop();
}
}, _callee);
}));
function onOk() {
return _onOk.apply(this, arguments);
}
return onOk;
}()
});
},
children: "\u5220\u9664"
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
color: "#165DFF",
cursor: "pointer",
marginLeft: "".concat(itemType == 1 ? '20px' : '0')
},
onClick: function onClick() {
// ${record?.id}
_umi_production_exports.history.push("/materials/itemAssets/".concat(record === null || record === void 0 ? void 0 : record.id, "/info?backUrl=/materials/itemAssetsList&indexType=").concat(itemType));
},
children: "\u7269\u8D44\u660E\u7EC6"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
color: "#165DFF",
cursor: "pointer",
marginLeft: "".concat(itemType == 1 ? '20px' : '0')
},
onClick: function onClick() {
// ${record?.id}
_umi_production_exports.history.push("/materials/itemAssets/".concat(record === null || record === void 0 ? void 0 : record.id, "/infoCode?backUrl=/materials/itemAssetsList&indexType=").concat(itemType));
},
children: "\u6253\u5370\u6761\u5F62\u7801"
})]
});
}
}].filter(function (item) {
return !!item;
});
//添加入库
var _useState29 = (0,_react_17_0_2_react.useState)(false),
_useState30 = slicedToArray_default()(_useState29, 2),
warehousing = _useState30[0],
setWarehousing = _useState30[1];
var _Form$useForm = es_form/* default */.Z.useForm(),
_Form$useForm2 = slicedToArray_default()(_Form$useForm, 1),
myRuleForm = _Form$useForm2[0];
var addColumns = [{
title: '资产编码',
dataIndex: 'number',
ellipsis: true
}, {
title: '物资名称',
dataIndex: 'title',
ellipsis: true
}, {
title: '规格型号',
dataIndex: 'model',
ellipsis: true
}, {
title: '数量',
dataIndex: 'apply_total',
ellipsis: true
}, {
title: '单位',
dataIndex: 'unit',
ellipsis: true,
render: function render(text) {
return /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: unitType[text]
});
}
}, {
title: '所在实验室',
dataIndex: 'classroom_title',
ellipsis: true
}, {
title: '所在实验室房间',
dataIndex: 'classroom_room_title',
ellipsis: true
}, {
title: '操作',
width: 60,
render: function render(text, record, index) {
return /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
color: '#165DFF',
cursor: 'pointer'
},
onClick: function onClick() {
// formTableData.splice(index, 1)
// setFormTableData([...formTableData])
},
children: "\u5220\u9664"
});
}
}];
//正则校验
var validateInput = function validateInput(rule, value, callback) {
var pattern = /^[0-9a-zA-Z]+$/;
if (!pattern.test(value)) {
callback('请输入数字和字母');
} else {
callback();
}
};
(0,_react_17_0_2_react.useEffect)(function () {
getData(false);
}, [page]);
(0,_react_17_0_2_react.useEffect)(function () {
getData(true);
}, [keyword, classroomRoomId, classroomId, substanceCategoryId, itemType, limit]);
(0,_react_17_0_2_react.useEffect)(function () {
//实验室列表
(0,laboratory/* classroom_query */.GJ)({
page: 1,
limit: 10000,
keyword: ''
}).then(function (res) {
var _res$data;
setClassroomList([{
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,laboratory/* classroom_rooms_query */.jd)({
page: 1,
limit: 10000,
keyword: '',
classroom_id: ''
}).then(function (res) {
var _res$data2;
setRoomList([{
id: '',
title: '全部'
}].concat(toConsumableArray_default()(res === null || res === void 0 || (_res$data2 = res.data) === null || _res$data2 === void 0 ? void 0 : _res$data2.list)));
});
//物资分类
(0,materials/* substance_categories_query */.xb)({
page: 1,
limit: 10000,
keyword: ''
}).then(function (res) {
var _res$data3;
setSubstanceList([{
id: '',
title: '全部'
}].concat(toConsumableArray_default()(res === null || res === void 0 || (_res$data3 = res.data) === null || _res$data3 === void 0 ? void 0 : _res$data3.list)));
});
}, []);
var getData = function getData(flag) {
if (flag) {
setPage(1);
}
(0,materials/* me_substances_query */.OV)({
page: page,
limit: limit,
keyword: keyword,
classroom_room_id: classroomRoomId,
classroom_id: classroomId,
substance_category_id: substanceCategoryId,
scrapped: itemType == 2 ? 1 : ''
}).then(function (res) {
var _res$data4, _res$data5;
setTableData(res === null || res === void 0 || (_res$data4 = res.data) === null || _res$data4 === void 0 ? void 0 : _res$data4.list);
setTotal(res === null || res === void 0 || (_res$data5 = res.data) === null || _res$data5 === void 0 ? void 0 : _res$data5.count);
});
};
var onShowSizeChange = function onShowSizeChange(page, size) {
setPage(page);
setLimit(size);
};
var Draggers = {
onRemove: function onRemove() {
setFileList([]);
},
beforeUpload: function beforeUpload(file) {
if ((file === null || file === void 0 ? void 0 : file.size) > 1024 * 1024 * 50) {
message/* default */.ZP.info('文件超过50M不符合上传要求');
return false;
}
var filelist = [];
filelist.push(file);
setFileList([].concat(filelist));
return false;
},
fileList: fileList,
accept: ".xls,.xlsx"
};
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: ItemAssetsListmodules.tabs_content,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(tabs/* default */.Z, {
defaultActiveKey: itemType,
items: [{
key: '1',
label: '可用物资'
}, {
key: '2',
label: '报废物资'
}],
onChange: function onChange(e) {
setItemType(e);
}
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: ItemAssetsListmodules.header_div,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z.Search, {
placeholder: "\u8BF7\u641C\u7D22\u540D\u79F0/\u7269\u8D44\u7F16\u53F7",
size: "large",
className: ItemAssetsListmodules.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(ItemAssetsListmodules.searchIcon),
onClick: function onClick() {
setkeyword(keyword);
getData(true);
}
})
}), itemType == 1 && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: ItemAssetsListmodules.add_Data,
onClick: function onClick() {
_umi_production_exports.history.push("/materials/itemAssetsList/createItemAssets/null");
},
children: "\u6DFB\u52A0"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: ItemAssetsListmodules.daoru_Data,
onClick: function onClick() {
setOpenUpload(true);
},
children: "\u5BFC\u5165"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: ItemAssetsListmodules.add_Data,
onClick: function onClick() {
setWarehousing(true);
},
children: "\u5165\u5E93"
})]
})]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: ItemAssetsListmodules.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: 160
},
defaultValue: classroomId,
value: classroomId,
onChange: function onChange(e) {
setClassroomId(e);
//实验室房间
(0,laboratory/* classroom_rooms_query */.jd)({
page: 1,
limit: 10000,
keyword: '',
classroom_id: e
}).then(function (res) {
var _res$data6;
setRoomList([{
id: '',
title: '全部'
}].concat(toConsumableArray_default()(res === null || res === void 0 || (_res$data6 = res.data) === null || _res$data6 === void 0 ? void 0 : _res$data6.list)));
});
setClassroomRoomId('');
},
children: classroomList === null || classroomList === void 0 ? void 0 : classroomList.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: "\u6240\u5C5E\u5B9E\u9A8C\u5BA4\u623F\u95F4",
style: {
marginLeft: '20px'
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"], {
style: {
width: 140
},
defaultValue: classroomRoomId,
value: classroomRoomId,
onChange: function onChange(e) {
setClassroomRoomId(e);
},
children: roomList === null || roomList === void 0 ? void 0 : roomList.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: "\u7269\u8D44\u7C7B\u522B",
style: {
marginLeft: 'auto'
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"], {
style: {
width: 140
},
defaultValue: substanceCategoryId,
value: substanceCategoryId,
onChange: function onChange(e) {
setSubstanceCategoryId(e);
},
children: substanceList === null || substanceList === void 0 ? void 0 : substanceList.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)(table/* default */.Z, {
style: {
marginTop: '-10px'
},
pagination: false,
dataSource: tableData,
columns: columns,
rowClassName: function rowClassName(record, index) {
if (Number(record === null || record === void 0 ? void 0 : record.total) < Number(record === null || record === void 0 ? void 0 : record.low_value)) {
return ItemAssetsListmodules.redRow;
}
return '';
}
}), /*#__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.jsxs)(modal/* default */.Z, {
maskClosable: false,
centered: true,
keyboard: false,
destroyOnClose: true,
className: ItemAssetsListmodules.upload_modal,
open: openUpload,
title: "\u5BFC\u5165\u7269\u8D44",
width: "500px",
onOk: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() {
var formData;
return regeneratorRuntime_default()().wrap(function _callee2$(_context2) {
while (1) switch (_context2.prev = _context2.next) {
case 0:
formData = new FormData();
formData.append('file', fileList === null || fileList === void 0 ? void 0 : fileList[0]);
(0,materials/* substances_import */.FZ)(formData).then(function (res) {
var _res$fail;
if ((res === null || res === void 0 || (_res$fail = res.fail) === null || _res$fail === void 0 ? void 0 : _res$fail.length) > 0) {
modal/* default */.Z.info({
title: "批量导入失败信息",
icon: null,
okText: "确认",
width: 600,
centered: true,
onOk: function onOk() {
getData(true);
},
content: /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, {
scroll: {
y: 300
},
pagination: false,
dataSource: res === null || res === void 0 ? void 0 : res.fail,
columns: [{
title: '物资名称',
dataIndex: 'title',
ellipsis: true
}, {
title: '导入失败原因',
dataIndex: 'message',
ellipsis: true
}]
})
});
} else if ((res === null || res === void 0 ? void 0 : res.status) == 0) {
message/* default */.ZP.success('导入成功');
getData(true);
} else {
getData(true);
}
});
setOpenUpload(false);
setFileList([]);
case 5:
case "end":
return _context2.stop();
}
}, _callee2);
})),
onCancel: function onCancel() {
setOpenUpload(false);
setFileList([]);
},
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: ItemAssetsListmodules.modal_moban,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
padding: '20px'
},
children: ["1.\u4E0B\u8F7D\u5BFC\u5165\u6A21\u7248", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
color: '#999999',
marginLeft: '10px'
},
children: "\uFF08\u6839\u636E\u63D0\u793A\u4FE1\u606F\u5B8C\u5584\u8868\u683C\u5185\u5BB9\uFF09"
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: ItemAssetsListmodules.xiazai,
onClick: function onClick() {
(0,util/* downLoadFile */.FH)('物资导入模版', (0,util/* setUrlQuery */.NY)({
url: itemAssetsList_module_namespaceObject,
query: {}
}));
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-xiazai4 mr5"
}), "\u4E0B\u8F7D\u6A21\u7248\u8868\u683C"]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: ItemAssetsListmodules.modal_shangchuan,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
style: {
padding: '20px'
},
children: "2.\u4E0A\u4F20\u5B8C\u5584\u540E\u7684\u6A21\u7248"
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(Dragger/* default */.Z, objectSpread2_default()(objectSpread2_default()({}, Draggers), {}, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: ItemAssetsListmodules.shangchuan,
children: "\u9009\u62E9\u6587\u4EF6"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: ItemAssetsListmodules.geshi,
children: "\u4E0B\u8F7D\u6A21\u677F\u5E76\u5B8C\u5584\u4FE1\u606F\u540E\uFF0C\u53EF\u5C06\u6587\u4EF6\u62D6\u66F3\u81F3\u6B64\u5904\u4E0A\u4F20\u3001\u652F\u6301\u683C\u5F0F\uFF1A.xls\u3001.xlsx"
})]
}))]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, {
maskClosable: false,
centered: true,
keyboard: false,
destroyOnClose: true,
className: ItemAssetsListmodules.upload_modal,
open: warehousing,
title: "\u6DFB\u52A0\u5165\u5E93",
width: "1000px",
okText: "\u786E\u8BA4\u5165\u5E93",
onOk: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() {
return regeneratorRuntime_default()().wrap(function _callee3$(_context3) {
while (1) switch (_context3.prev = _context3.next) {
case 0:
setWarehousing(false);
case 1:
case "end":
return _context3.stop();
}
}, _callee3);
})),
onCancel: function onCancel() {
setWarehousing(false);
},
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: ItemAssetsListmodules.warehousing_add,
onClick: function onClick() {
modal/* default */.Z.confirm({
centered: true,
okText: '确定',
cancelText: '取消',
title: '添加',
icon: null,
content: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z, {
className: ItemAssetsListmodules.formWrap,
form: myRuleForm,
wrapperCol: {
span: 20
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
colon: false,
label: "\u8D44\u4EA7\u7F16\u53F7",
name: "num",
rules: [{
required: true,
message: '请输入资产编号'
}, {
validator: validateInput,
message: '请输入数字和字母'
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
size: "large",
onChange: function onChange(e) {
var _e$target;
myRuleForm.setFieldValue('num', e === null || e === void 0 || (_e$target = e.target) === null || _e$target === void 0 || (_e$target = _e$target.value) === null || _e$target === void 0 ? void 0 : _e$target.trim());
}
})
})
})
}),
onOk: function () {
var _onOk2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4() {
return regeneratorRuntime_default()().wrap(function _callee4$(_context4) {
while (1) switch (_context4.prev = _context4.next) {
case 0:
_context4.next = 2;
return myRuleForm.validateFields();
case 2:
case "end":
return _context4.stop();
}
}, _callee4);
}));
function onOk() {
return _onOk2.apply(this, arguments);
}
return onOk;
}()
});
},
children: "\u589E\u52A0"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, {
pagination: false,
dataSource: [],
columns: addColumns
})]
})
})]
});
};
/* harmony default export */ var ItemAssetsList = ((0,_umi_production_exports.connect)(function (_ref4) {
var loading = _ref4.loading,
engineeringNavigtion = _ref4.engineeringNavigtion;
return objectSpread2_default()({
loading: loading
}, engineeringNavigtion);
})(Navigation));
/***/ })
}]);

@ -0,0 +1,70 @@
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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.17@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.17@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Counselling/ItemAssetsType/index.less?modules ***!
\*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.header_div___o8zjC {
height: 60px;
display: flex;
}
.header_div___o8zjC .header_title___gpuNQ {
height: 38px;
font-size: 16px;
font-family: PingFangSC, PingFang SC;
font-weight: 500;
color: #000000;
line-height: 38px;
}
.header_div___o8zjC .search___feAIj {
display: flex;
align-items: center;
overflow: hidden;
border-radius: 19px;
height: 38px;
width: 260px;
padding-left: 8px;
background-color: #f6f7f9;
border: none;
margin-left: auto;
}
.header_div___o8zjC .search___feAIj span[class~='ant-input-search-icon'] {
display: none !important;
}
.header_div___o8zjC .search___feAIj [class~='ant-input-affix-wrapper'] {
background-color: #f6f7f9 !important;
border: none !important;
}
.header_div___o8zjC .search___feAIj [class~='ant-input-affix-wrapper'] {
outline: none !important;
border: none !important;
box-shadow: none !important;
}
.header_div___o8zjC .search___feAIj span[class~='ant-input-group-addon'] {
display: none !important;
}
.header_div___o8zjC .search___feAIj .searchIcon___DyHvl {
margin-right: 14px;
cursor: pointer;
}
.header_div___o8zjC .search___feAIj input {
background-color: #f6f7f9;
}
.clear_Data___rhG2F {
width: 100px;
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;
text-align: center;
cursor: pointer;
margin-top: 3px;
margin-left: 20px;
}
.formWrap___V_H_8 [class~='ant-form-item'] [class~='ant-form-item-label'] label {
height: 40px !important;
line-height: 40px !important;
}

@ -0,0 +1,404 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[9194],{
/***/ 51518:
/*!********************************************************************!*\
!*** ./src/pages/Counselling/ItemAssetsType/index.tsx + 1 modules ***!
\********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"default": function() { return /* binding */ ItemAssetsType; }
});
// 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/regeneratorRuntime.js
var regeneratorRuntime = __webpack_require__(7557);
var regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(regeneratorRuntime);
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js
var asyncToGenerator = __webpack_require__(41498);
var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator);
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/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__(33936);
;// CONCATENATED MODULE: ./src/pages/Counselling/ItemAssetsType/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var ItemAssetsTypemodules = ({"header_div":"header_div___o8zjC","header_title":"header_title___gpuNQ","search":"search___feAIj","searchIcon":"searchIcon___DyHvl","clear_Data":"clear_Data___rhG2F","formWrap":"formWrap___V_H_8"});
// 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/tooltip/index.js + 3 modules
var tooltip = __webpack_require__(6848);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/modal/index.js + 16 modules
var modal = __webpack_require__(43418);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/message/index.js + 4 modules
var message = __webpack_require__(8591);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input/index.js + 3 modules
var input = __webpack_require__(92832);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/table/index.js + 85 modules
var table = __webpack_require__(51945);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/pagination/index.js + 10 modules
var pagination = __webpack_require__(86859);
// EXTERNAL MODULE: ./src/service/materials.ts
var materials = __webpack_require__(63643);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
var jsx_runtime = __webpack_require__(37712);
;// CONCATENATED MODULE: ./src/pages/Counselling/ItemAssetsType/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),
typeId = _useState4[0],
setTypeId = _useState4[1];
var _useState5 = (0,_react_17_0_2_react.useState)(false),
_useState6 = slicedToArray_default()(_useState5, 2),
openMyModal = _useState6[0],
setOpenMyModal = _useState6[1];
var _Form$useForm = es_form/* default */.Z.useForm(),
_Form$useForm2 = slicedToArray_default()(_Form$useForm, 1),
myForm = _Form$useForm2[0];
//分页
var _useState7 = (0,_react_17_0_2_react.useState)(0),
_useState8 = slicedToArray_default()(_useState7, 2),
total = _useState8[0],
setTotal = _useState8[1];
var _useState9 = (0,_react_17_0_2_react.useState)(1),
_useState10 = slicedToArray_default()(_useState9, 2),
page = _useState10[0],
setPage = _useState10[1];
var _useState11 = (0,_react_17_0_2_react.useState)(10),
_useState12 = slicedToArray_default()(_useState11, 2),
limit = _useState12[0],
setLimit = _useState12[1];
//预约数据
var _useState13 = (0,_react_17_0_2_react.useState)([]),
_useState14 = slicedToArray_default()(_useState13, 2),
tableData = _useState14[0],
setTableData = _useState14[1];
(0,_react_17_0_2_react.useEffect)(function () {
getData(false);
}, [page]);
(0,_react_17_0_2_react.useEffect)(function () {
getData(true);
}, [keyword, limit]);
var getData = function getData(flag) {
if (flag) {
setPage(1);
}
(0,materials/* substance_categories_query */.xb)({
page: page,
limit: limit,
keyword: keyword
}).then(function (res) {
var _res$data, _res$data2;
setTableData(res === null || res === void 0 || (_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.list);
setTotal(res === null || res === void 0 || (_res$data2 = res.data) === null || _res$data2 === void 0 ? void 0 : _res$data2.count);
});
};
var columns = [{
title: '类别名称',
dataIndex: '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: 'risk',
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: '操作',
width: 150,
ellipsis: true,
render: function render(text, record) {
return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
color: "#165DFF",
cursor: "pointer"
},
onClick: function onClick() {
setTypeId(record === null || record === void 0 ? void 0 : record.id);
myForm.setFieldValue('title', record === null || record === void 0 ? void 0 : record.title);
myForm.setFieldValue('risk', record === null || record === void 0 ? void 0 : record.risk);
setOpenMyModal(true);
},
children: "\u7F16\u8F91"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
color: "#5F6367",
marginLeft: "10px",
cursor: "pointer"
},
onClick: function onClick() {
modal/* default */.Z.confirm({
centered: true,
okText: '确定',
cancelText: '取消',
title: "提示",
content: "是否确认删除该物资类别?",
onOk: function () {
var _onOk = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() {
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
(0,materials/* substance_categories_delete */.HX)({
id: record === null || record === void 0 ? void 0 : record.id
}).then(function (res) {
if (res.status === 0) {
message/* default */.ZP.success('删除成功');
getData(true);
}
});
case 1:
case "end":
return _context.stop();
}
}, _callee);
}));
function onOk() {
return _onOk.apply(this, arguments);
}
return onOk;
}()
});
},
children: "\u5220\u9664"
})]
});
}
}];
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: ItemAssetsTypemodules.header_div,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: ItemAssetsTypemodules.header_title,
children: "\u7269\u8D44\u7C7B\u522B"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z.Search, {
placeholder: "\u8BF7\u8F93\u5165\u7C7B\u522B\u540D\u79F0\u641C\u7D22",
size: "large",
className: ItemAssetsTypemodules.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(ItemAssetsTypemodules.searchIcon),
onClick: function onClick() {
setkeyword(keyword);
getData(true);
}
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: ItemAssetsTypemodules.clear_Data,
onClick: function onClick() {
setOpenMyModal(true);
setTypeId('');
},
children: "\u65B0\u589E\u7C7B\u522B"
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: ItemAssetsTypemodules.search_params
}), /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, {
pagination: false,
dataSource: tableData,
columns: columns
}), /*#__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,
centered: true,
keyboard: false,
destroyOnClose: true,
className: ItemAssetsTypemodules.my_modal,
open: openMyModal,
title: "".concat(typeId ? '编辑' : '新建', "\u7269\u8D44\u7C7B\u522B"),
width: "600px",
onOk: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() {
return regeneratorRuntime_default()().wrap(function _callee2$(_context2) {
while (1) switch (_context2.prev = _context2.next) {
case 0:
_context2.next = 2;
return myForm.validateFields();
case 2:
if (typeId) {
(0,materials/* substance_categories_update */.en)({
id: typeId,
substance_category: myForm.getFieldsValue()
}).then(function (res) {
if ((res === null || res === void 0 ? void 0 : res.status) == 0) {
message/* default */.ZP.success('编辑成功');
getData(true);
}
setOpenMyModal(false);
myForm.resetFields();
});
} else {
(0,materials/* substance_categories_create */.Td)({
substance_category: myForm.getFieldsValue()
}).then(function (res) {
if ((res === null || res === void 0 ? void 0 : res.status) == 0) {
message/* default */.ZP.success('新增成功');
getData(true);
}
setOpenMyModal(false);
myForm.resetFields();
});
}
case 3:
case "end":
return _context2.stop();
}
}, _callee2);
})),
onCancel: function onCancel() {
setOpenMyModal(false);
myForm.resetFields();
},
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, {
className: ItemAssetsTypemodules.formWrap,
form: myForm,
wrapperCol: {
span: 20
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
colon: false,
labelCol: {
span: 4
},
label: "\u7C7B\u522B\u540D\u79F0",
name: "title",
rules: [{
required: true,
message: '请输入类别名称'
}],
style: {
marginTop: '20px',
marginBottom: '10px'
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
style: {
height: '40px'
},
maxLength: 50,
showCount: true,
onChange: function onChange(e) {
var _e$target;
myForm.setFieldValue('title', e === null || e === void 0 || (_e$target = e.target) === null || _e$target === void 0 || (_e$target = _e$target.value) === null || _e$target === void 0 ? void 0 : _e$target.trim().replace(/\s/g, ''));
}
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
colon: false,
labelCol: {
span: 4
},
label: "\u98CE\u9669\u70B9",
name: "risk",
style: {
marginTop: '20px',
marginBottom: '10px'
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
style: {
height: '40px'
},
maxLength: 200,
showCount: true,
onChange: function onChange(e) {
var _e$target2;
myForm.setFieldValue('risk', e === null || e === void 0 || (_e$target2 = e.target) === null || _e$target2 === void 0 || (_e$target2 = _e$target2.value) === null || _e$target2 === void 0 ? void 0 : _e$target2.trim().replace(/\s/g, ''));
}
})
})]
})
})]
});
};
/* harmony default export */ var ItemAssetsType = ((0,_umi_production_exports.connect)(function (_ref3) {
var loading = _ref3.loading,
engineeringNavigtion = _ref3.engineeringNavigtion;
return objectSpread2_default()({
loading: loading
}, engineeringNavigtion);
})(Navigation));
/***/ })
}]);

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[23084,96004,23003,6572,32405,95644],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[28921],{
/***/ 86413:
/*!**************************************************************************************************************!*\
@ -91,48 +91,45 @@ if (false) {}
/***/ }),
/***/ 38854:
/*!************************************************************************!*\
!*** ./node_modules/_antd@5.9.0@antd/es/dropdown/index.js + 1 modules ***!
\************************************************************************/
/***/ 21409:
/*!*********************************************************************!*\
!*** ./src/pages/Counselling/ItemAssets/Info/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__, {
Z: function() { return /* binding */ es_dropdown; }
"default": function() { return /* binding */ Info; }
});
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/dropdown.js
var dropdown = __webpack_require__(91857);
// EXTERNAL MODULE: ./node_modules/_classnames@2.5.1@classnames/index.js
var _classnames_2_5_1_classnames = __webpack_require__(92310);
var _classnames_2_5_1_classnames_default = /*#__PURE__*/__webpack_require__.n(_classnames_2_5_1_classnames);
// 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/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: ./node_modules/_@ant-design_icons@5.4.0@@ant-design/icons/es/icons/EllipsisOutlined.js + 1 modules
var EllipsisOutlined = __webpack_require__(78892);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/button/index.js
var es_button = __webpack_require__(3113);
// 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/space/index.js + 3 modules
var space = __webpack_require__(81327);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/space/Compact.js
var Compact = __webpack_require__(33234);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/style/index.js + 1 modules
var style = __webpack_require__(47211);
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/dropdown-button.js
"use client";
// EXTERNAL MODULE: ./src/.umi-production/exports.ts
var _umi_production_exports = __webpack_require__(33936);
;// CONCATENATED MODULE: ./src/pages/Counselling/ItemAssets/Info/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var Infomodules = ({"wrap":"wrap___zc746","back_style":"back_style___GvOmT","header":"header___XCJIL","user_img":"user_img___fO_kT","header_content":"header_content___rxtTS","user_name":"user_name___wilG6","user_role":"user_role___KBuod","user_content":"user_content___BGDfl","header_button":"header_button___N0c0r","question_list":"question_list___zwWpf","list_header":"list_header___ifERa","list_img":"list_img___p28E9","list_title":"list_title___mNhKv","search":"search___wwGOr","searchIcon":"searchIcon___WqicJ","list_button":"list_button___f6zxg","items_list":"items_list___dyX0c","items":"items___x3Dh5","topContent":"topContent___PmUTi","leibie_style":"leibie_style___l8Qug","title":"title___eAaab","bottomContent":"bottomContent___sfSa2","time":"time___rsplQ"});
// EXTERNAL MODULE: ./src/pages/Counselling/ItemAssets/userimg.jpg
var userimg = __webpack_require__(6025);
;// CONCATENATED MODULE: ./src/pages/Counselling/ItemAssets/questionimg.png
var questionimg_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAmCAYAAADX7PtfAAAAAXNSR0IArs4c6QAAA0JJREFUWEe1WE9IFFEY/32zJhGIVFBYexDs4kFCWPTgoTx4qUslCWrYZSnqIMWWGGSkBIoYEoYeDKLSFQwJAoX+odBSmYJkQQezICrrEkuBJLL7xZtmZqeZN/tmdvVddpj33vd97/f7fe/7ZgkA9kY5zOvoTTMOEqGEWbwFiADxLH7FEK/FozFtPRvT/xY5BgErAGZoC9q+3qIvtC/K4TXGGzB2OB1ILdhemsGYAbqc2QMm/CwE9lPZaY4DaNRPYJzGy0BWg34gIIxR+Vn+xkCJ6jSyeSfEEjgtGoy5FapoZfbizGnAiUBgCoQGKs8zW6JwQKoyqApANk/Vbcwy2c32mmHkAjZQfZHZKWM9gJpLzDJZJ7rzc2jaNXk2w6baDk9NRnI7m7VrXqqBuqsZDl2Z7UN2/y1R3Aw6pIevGVjL8ijoEc1ryORIEgAd6fFO81yuMlWMdLxP7vD+hfxEI7UrIG3st3FoCy9+Lj+HTf2SgxBAJwc8OAwhP5Wm4VKpECVFh/xe1Sp2/M3TmWGbw81QibM+tt6WX21inUrlgfNWQBq7K+fweksw0cTuGYHbWgJpx9Aez0BqP1F3UzCHdjvZ2KSOcU9Ig6p0XkmBoKlrwrseOkl0GVTUT2k97HnoXfGD9jh+EoP6JnPPQz8QugrOjUdy0fhqmhR5K6Vg8Kn/8hS0x5ElMg3PZBGNnJRlDRhMA1cAFNuXuPLOKSqh0jsJq0t0B+TYoGmYKtqG5qOVlBx7yaVrKYwQUGO2/irRCIgp/irj0GsDkd6UdzVVoZOILPvjzKHUa3SAcZmBkMqhrvrxOXk9tLosQpIYJ+ojNOllcGKOa1KEETBKs94yoh4+WMjSCAOLhQU4dqiCllXRP1nm4tVfGGLjO0VfL8kbmnwr55CA0V07cSqyh1ZVzuzzU++4JQ3cBKNIto8ev8/koXjSCOsAYnXlNBDEkX3tsyUuS6UQB6PKlfjTS5mrTQNWOISG2jJK5OrM3DfNXEAf0JkG2omhWV3o849Wq5/YqqEhUkrii3XDxotPfIAJI8wI6z3N7GdmjTBAYcQiRALODR+LSd7+5zeG04x6WvjBzZW7aXTDvUgMLnznaLb/AzYlhr8r67Kn6HS9FgAAAABJRU5ErkJggg==";
// 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/input/index.js + 3 modules
var input = __webpack_require__(92832);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
var jsx_runtime = __webpack_require__(37712);
;// CONCATENATED MODULE: ./src/pages/Counselling/ItemAssets/Info/index.tsx
var __rest = undefined && undefined.__rest || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
}
return t;
};
@ -142,111 +139,131 @@ var __rest = undefined && undefined.__rest || function (s, e) {
const DropdownButton = props => {
const {
getPopupContainer: getContextPopupContainer,
getPrefixCls,
direction
} = _react_17_0_2_react.useContext(context/* ConfigContext */.E_);
const {
prefixCls: customizePrefixCls,
type = 'default',
danger,
disabled,
loading,
onClick,
htmlType,
children,
className,
menu,
arrow,
autoFocus,
overlay,
trigger,
align,
open,
onOpenChange,
placement,
getPopupContainer,
href,
icon = /*#__PURE__*/_react_17_0_2_react.createElement(EllipsisOutlined/* default */.Z, null),
title,
buttonsRender = buttons => buttons,
mouseEnterDelay,
mouseLeaveDelay,
overlayClassName,
overlayStyle,
destroyPopupOnHide,
dropdownRender
} = props,
restProps = __rest(props, ["prefixCls", "type", "danger", "disabled", "loading", "onClick", "htmlType", "children", "className", "menu", "arrow", "autoFocus", "overlay", "trigger", "align", "open", "onOpenChange", "placement", "getPopupContainer", "href", "icon", "title", "buttonsRender", "mouseEnterDelay", "mouseLeaveDelay", "overlayClassName", "overlayStyle", "destroyPopupOnHide", "dropdownRender"]);
const prefixCls = getPrefixCls('dropdown', customizePrefixCls);
const buttonPrefixCls = `${prefixCls}-button`;
const [wrapSSR, hashId] = (0,style/* default */.Z)(prefixCls);
const dropdownProps = {
menu,
arrow,
autoFocus,
align,
disabled,
trigger: disabled ? [] : trigger,
onOpenChange,
getPopupContainer: getPopupContainer || getContextPopupContainer,
mouseEnterDelay,
mouseLeaveDelay,
overlayClassName,
overlayStyle,
destroyPopupOnHide,
dropdownRender
};
const {
compactSize,
compactItemClassnames
} = (0,Compact/* useCompactItemContext */.ri)(prefixCls, direction);
const classes = _classnames_2_5_1_classnames_default()(buttonPrefixCls, compactItemClassnames, className, hashId);
if ('overlay' in props) {
dropdownProps.overlay = overlay;
}
if ('open' in props) {
dropdownProps.open = open;
}
if ('placement' in props) {
dropdownProps.placement = placement;
} else {
dropdownProps.placement = direction === 'rtl' ? 'bottomLeft' : 'bottomRight';
}
const leftButton = /*#__PURE__*/_react_17_0_2_react.createElement(es_button/* default */.ZP, {
type: type,
danger: danger,
disabled: disabled,
loading: loading,
onClick: onClick,
htmlType: htmlType,
href: href,
title: title
}, children);
const rightButton = /*#__PURE__*/_react_17_0_2_react.createElement(es_button/* default */.ZP, {
type: type,
danger: danger,
icon: icon
var Navigation = function Navigation(_ref) {
var _ref2;
var loading = _ref.loading,
user = _ref.user,
dispatch = _ref.dispatch,
account = _ref.account;
var _useSearchParams = (0,_umi_production_exports.useSearchParams)(),
_useSearchParams2 = slicedToArray_default()(_useSearchParams, 1),
searchParams = _useSearchParams2[0];
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Infomodules.wrap,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Infomodules.back_style,
onClick: function onClick() {
_umi_production_exports.history.push("".concat(searchParams.get('backUrl')));
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-fanhui2 font12 mr5"
}), "\u8FD4\u56DE"]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Infomodules.header,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
src: userimg,
className: Infomodules.user_img
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Infomodules.header_content,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Infomodules.user_name,
children: ["\u674E\u65ED ", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: Infomodules.user_role,
children: "\u6559\u6388"
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: "\u5728\u4EBA\u5DE5\u667A\u80FD\u7406\u8BBA\u4E0A\u7CFB\u7EDF\u5730\u63D0\u51FA\u4E86\u95EE\u9898\u5206\u5C42\u6C42\u89E3\u5728\u4EBA\u5DE5\u667A\u80FD\u7406\u8BBA\u4E0A\u7CFB\u7EDF\u5730\u63D0\u51FA\u4E86\u95EE\u9898\u5206\u5C42\u6C42\u89E3",
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Infomodules.user_content,
children: "\u5728\u4EBA\u5DE5\u667A\u80FD\u7406\u8BBA\u4E0A\u7CFB\u7EDF\u5730\u63D0\u51FA\u4E86\u95EE\u9898\u5206\u5C42\u6C42\u89E3\u5728\u4EBA\u5DE5\u667A\u80FD\u7406\u8BBA\u4E0A\u7CFB\u7EDF\u5730\u63D0\u51FA\u4E86\u95EE\u9898\u5206\u5C42\u6C42\u89E3 \u5728\u4EBA\u5DE5\u667A\u80FD\u7406\u8BBA\u4E0A\u7CFB\u7EDF\u5730\u63D0\u51FA\u4E86\u95EE\u9898\u5206\u5C42\u6C42\u89E3\u5728\u4EBA\u5DE5\u667A\u80FD\u7406\u8BBA\u4E0A\u7CFB\u7EDF\u5730\u63D0\u51FA\u4E86\u95EE\u9898\u5206\u5C42\u6C42\u89E3 \u5728\u4EBA\u5DE5\u667A\u80FD\u7406\u8BBA\u4E0A\u7CFB\u7EDF\u5730\u63D0\u51FA\u4E86\u95EE\u9898\u5206\u5C42\u6C42\u89E3\u5728\u4EBA\u5DE5\u667A\u80FD\u7406\u8BBA\u4E0A\u7CFB\u7EDF\u5730\u63D0\u51FA\u4E86\u95EE\u9898\u5206\u5C42\u6C42\u89E3\u5728\u4EBA\u5DE5\u667A\u80FD\u7406\u8BBA\u4E0A\u7CFB\u7EDF\u5730\u63D0\u51FA\u4E86\u95EE\u9898\u5206\u5C42\u6C42\u89E3 \u5728\u4EBA\u5DE5\u667A\u80FD\u7406\u8BBA\u4E0A\u7CFB\u7EDF\u5730\u63D0\u51FA\u4E86\u95EE\u9898\u5206\u5C42\u6C42\u89E3\u5728\u4EBA\u5DE5\u667A\u80FD\u7406\u8BBA\u4E0A\u7CFB\u7EDF\u5730\u63D0\u51FA\u4E86\u95EE\u9898\u5206\u5C42\u6C42\u89E3 \u5728\u4EBA\u5DE5\u667A\u80FD\u7406\u8BBA\u4E0A\u7CFB\u7EDF\u5730\u63D0\u51FA\u4E86\u95EE\u9898\u5206\u5C42\u6C42\u89E3\u5728\u4EBA\u5DE5\u667A\u80FD\u7406\u8BBA\u4E0A\u7CFB\u7EDF\u5730\u63D0\u51FA\u4E86\u95EE\u9898\u5206\u5C42\u6C42\u89E3\u5728\u4EBA\u5DE5\u667A\u80FD\u7406\u8BBA\u4E0A\u7CFB\u7EDF\u5730\u63D0\u51FA\u4E86\u95EE\u9898\u5206\u5C42\u6C42\u89E3"
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Infomodules.header_button,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-pinglun1 font14 mr5"
}), "\u53D1\u8D77\u63D0\u95EE"]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Infomodules.question_list,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Infomodules.list_header,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
src: questionimg_namespaceObject,
className: Infomodules.list_img
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Infomodules.list_title,
children: "\u88AB\u63D0\u95EE\u8BB0\u5F55"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z.Search, {
placeholder: "\u8BF7\u8F93\u5165\u4E13\u5BB6\u540D\u79F0\u8FDB\u884C\u641C\u7D22",
size: "large",
className: Infomodules.search
// value={keyword}
,
onChange: function onChange(e) {
console.log(e.target.value);
},
onSearch: function onSearch(value) {
console.log(value);
},
suffix: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-sousuo9 font14 ".concat(Infomodules.searchIcon),
onClick: function onClick() {
// setkeyword(keyword)
}
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Infomodules.list_button,
children: "\u5728\u7EBF\u804A\u5929"
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Infomodules.items_list,
children: (_ref2 = [1, 2, 3]) === null || _ref2 === void 0 ? void 0 : _ref2.map(function (item, index) {
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Infomodules.items,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Infomodules.topContent,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Infomodules.leibie_style,
children: "\u5DF2\u89E3\u7B54"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Infomodules.title,
children: "\u5728\u4EBA\u5DE5\u667A\u80FD\u7406\u8BBA\u4E0A\u7CFB\u7EDF\u5730\u63D0\u51FA\u4E86\u95EE\u9898\u5206\u5C42\u6C42\u89E3"
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Infomodules.bottomContent,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
className: Infomodules.user_img,
alt: "\u7528\u6237\u5934\u50CF",
src: "".concat(userimg)
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Infomodules.user_name,
children: "\u738B\u6653\u7B11\u5907\u4EFD 2"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Infomodules.time,
children: "2024-10-10 12:12"
})]
})]
}, index);
})
})]
})]
});
const [leftButtonToRender, rightButtonToRender] = buttonsRender([leftButton, rightButton]);
return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement(space/* default */.Z.Compact, Object.assign({
className: classes,
size: compactSize,
block: true
}, restProps), leftButtonToRender, /*#__PURE__*/_react_17_0_2_react.createElement(dropdown/* default */.Z, Object.assign({}, dropdownProps), rightButtonToRender)));
};
DropdownButton.__ANT_BUTTON = true;
/* harmony default export */ var dropdown_button = (DropdownButton);
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/index.js
"use client";
const Dropdown = dropdown/* default */.Z;
Dropdown.Button = dropdown_button;
/* harmony default export */ var es_dropdown = (Dropdown);
/* harmony default export */ var Info = ((0,_umi_production_exports.connect)(function (_ref3) {
var loading = _ref3.loading,
user = _ref3.user,
engineeringNavigtion = _ref3.engineeringNavigtion,
account = _ref3.account,
dispatch = _ref3.dispatch;
return objectSpread2_default()(objectSpread2_default()({
loading: loading,
user: user
}, engineeringNavigtion), {}, {
account: account,
dispatch: dispatch
});
})(Navigation));
/***/ }),
@ -623,183 +640,13 @@ input_Input.Password = input_Password;
/***/ }),
/***/ 81327:
/*!*********************************************************************!*\
!*** ./node_modules/_antd@5.9.0@antd/es/space/index.js + 3 modules ***!
\*********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
Z: function() { return /* binding */ space; }
});
// UNUSED EXPORTS: SpaceContext
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/index.js
var _react_17_0_2_react = __webpack_require__(59301);
// EXTERNAL MODULE: ./node_modules/_classnames@2.5.1@classnames/index.js
var _classnames_2_5_1_classnames = __webpack_require__(92310);
var _classnames_2_5_1_classnames_default = /*#__PURE__*/__webpack_require__.n(_classnames_2_5_1_classnames);
// EXTERNAL MODULE: ./node_modules/_rc-util@5.43.0@rc-util/es/Children/toArray.js
var toArray = __webpack_require__(75440);
// 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/space/Compact.js
var Compact = __webpack_require__(33234);
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/space/context.js
const SpaceContext = /*#__PURE__*/_react_17_0_2_react.createContext({
latestIndex: 0
});
const SpaceContextProvider = SpaceContext.Provider;
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/space/Item.js
"use client";
const Item = _ref => {
let {
className,
index,
children,
split,
style
} = _ref;
const {
latestIndex
} = _react_17_0_2_react.useContext(SpaceContext);
if (children === null || children === undefined) {
return null;
}
return /*#__PURE__*/_react_17_0_2_react.createElement(_react_17_0_2_react.Fragment, null, /*#__PURE__*/_react_17_0_2_react.createElement("div", {
className: className,
style: style
}, children), index < latestIndex && split && /*#__PURE__*/_react_17_0_2_react.createElement("span", {
className: `${className}-split`
}, split));
};
/* harmony default export */ var space_Item = (Item);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/space/style/index.js + 1 modules
var space_style = __webpack_require__(2856);
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/space/utils.js
function isPresetSize(size) {
return ['small', 'middle', 'large'].includes(size);
}
function isValidGapNumber(size) {
if (!size) {
// The case of size = 0 is deliberately excluded here, because the default value of the gap attribute in CSS is 0, so if the user passes 0 in, we can directly ignore it.
return false;
}
return typeof size === 'number' && !Number.isNaN(size);
}
;// CONCATENATED MODULE: ./node_modules/_antd@5.9.0@antd/es/space/index.js
"use client";
var __rest = undefined && undefined.__rest || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
}
return t;
};
/***/ 6025:
/*!******************************************************!*\
!*** ./src/pages/Counselling/ItemAssets/userimg.jpg ***!
\******************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
const Space = /*#__PURE__*/_react_17_0_2_react.forwardRef((props, ref) => {
var _a, _b;
const {
getPrefixCls,
space,
direction: directionConfig
} = _react_17_0_2_react.useContext(context/* ConfigContext */.E_);
const {
size = (space === null || space === void 0 ? void 0 : space.size) || 'small',
align,
className,
rootClassName,
children,
direction = 'horizontal',
prefixCls: customizePrefixCls,
split,
style,
wrap = false,
classNames: customClassNames,
styles
} = props,
otherProps = __rest(props, ["size", "align", "className", "rootClassName", "children", "direction", "prefixCls", "split", "style", "wrap", "classNames", "styles"]);
const [horizontalSize, verticalSize] = Array.isArray(size) ? size : [size, size];
const isPresetVerticalSize = isPresetSize(verticalSize);
const isPresetHorizontalSize = isPresetSize(horizontalSize);
const isValidVerticalSize = isValidGapNumber(verticalSize);
const isValidHorizontalSize = isValidGapNumber(horizontalSize);
const childNodes = (0,toArray/* default */.Z)(children, {
keepEmpty: true
});
const mergedAlign = align === undefined && direction === 'horizontal' ? 'center' : align;
const prefixCls = getPrefixCls('space', customizePrefixCls);
const [wrapSSR, hashId] = (0,space_style/* default */.Z)(prefixCls);
const cls = _classnames_2_5_1_classnames_default()(prefixCls, space === null || space === void 0 ? void 0 : space.className, hashId, `${prefixCls}-${direction}`, {
[`${prefixCls}-rtl`]: directionConfig === 'rtl',
[`${prefixCls}-align-${mergedAlign}`]: mergedAlign,
[`${prefixCls}-gap-row-${verticalSize}`]: isPresetVerticalSize,
[`${prefixCls}-gap-col-${horizontalSize}`]: isPresetHorizontalSize
}, className, rootClassName);
const itemClassName = _classnames_2_5_1_classnames_default()(`${prefixCls}-item`, (_a = customClassNames === null || customClassNames === void 0 ? void 0 : customClassNames.item) !== null && _a !== void 0 ? _a : (_b = space === null || space === void 0 ? void 0 : space.classNames) === null || _b === void 0 ? void 0 : _b.item);
// Calculate latest one
let latestIndex = 0;
const nodes = childNodes.map((child, i) => {
var _a, _b;
if (child !== null && child !== undefined) {
latestIndex = i;
}
const key = child && child.key || `${itemClassName}-${i}`;
return /*#__PURE__*/_react_17_0_2_react.createElement(space_Item, {
className: itemClassName,
key: key,
index: i,
split: split,
style: (_a = styles === null || styles === void 0 ? void 0 : styles.item) !== null && _a !== void 0 ? _a : (_b = space === null || space === void 0 ? void 0 : space.styles) === null || _b === void 0 ? void 0 : _b.item
}, child);
});
const spaceContext = _react_17_0_2_react.useMemo(() => ({
latestIndex
}), [latestIndex]);
// =========================== Render ===========================
if (childNodes.length === 0) {
return null;
}
const gapStyle = {};
if (wrap) {
gapStyle.flexWrap = 'wrap';
}
if (!isPresetHorizontalSize && isValidHorizontalSize) {
gapStyle.columnGap = horizontalSize;
}
if (!isPresetVerticalSize && isValidVerticalSize) {
gapStyle.rowGap = verticalSize;
}
return wrapSSR( /*#__PURE__*/_react_17_0_2_react.createElement("div", Object.assign({
ref: ref,
className: cls,
style: Object.assign(Object.assign(Object.assign({}, gapStyle), space === null || space === void 0 ? void 0 : space.style), style)
}, otherProps), /*#__PURE__*/_react_17_0_2_react.createElement(SpaceContextProvider, {
value: spaceContext
}, nodes)));
});
if (false) {}
const CompoundedSpace = Space;
CompoundedSpace.Compact = Compact/* default */.ZP;
/* harmony default export */ var space = (CompoundedSpace);
module.exports = __webpack_require__.p + "static/userimg.87fb4fc3.jpg";
/***/ })

@ -0,0 +1,235 @@
/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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.17@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.17@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Counselling/ItemAssets/Info/index.less?modules ***!
\******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.wrap___zc746 {
width: 1200px;
margin: 20px auto 40px auto;
}
.wrap___zc746 .back_style___GvOmT {
color: #999;
margin: 10px 0 15px 0;
cursor: pointer;
}
.wrap___zc746 .back_style___GvOmT:hover {
color: #165DFF;
}
.wrap___zc746 .header___XCJIL {
width: 1200px;
height: 147px;
background: linear-gradient(162deg, #F5F9FF 0%, #FFFFFF 100%);
border-radius: 8px;
display: flex;
padding: 30px;
align-items: center;
}
.wrap___zc746 .header___XCJIL .user_img___fO_kT {
width: 87px;
height: 87px;
border-radius: 50%;
margin-right: 30px;
}
.wrap___zc746 .header___XCJIL .header_content___rxtTS {
width: 860px;
}
.wrap___zc746 .header___XCJIL .header_content___rxtTS .user_name___wilG6 {
height: 28px;
font-family: PingFangSC, PingFang SC;
font-weight: 500;
font-size: 18px;
color: #191919;
line-height: 28px;
text-align: left;
font-style: normal;
}
.wrap___zc746 .header___XCJIL .header_content___rxtTS .user_role___KBuod {
height: 22px;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 14px;
color: #232B40;
line-height: 22px;
text-align: left;
font-style: normal;
}
.wrap___zc746 .header___XCJIL .header_content___rxtTS .user_content___BGDfl {
height: 52px;
margin-top: 7px;
border-radius: 8px;
line-height: 25px;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.wrap___zc746 .header___XCJIL .header_button___N0c0r {
width: 110px;
height: 32px;
line-height: 30px;
background: linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%), #F6F7F9;
box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
border-radius: 16px;
border: 1px solid #BACFFE;
text-align: center;
margin-left: auto;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 14px;
color: #3061D0;
font-style: normal;
cursor: pointer;
}
.wrap___zc746 .question_list___zwWpf {
width: 1200px;
background: #FFFFFF;
border-radius: 8px;
margin-top: 20px;
padding: 0 30px 30px 30px;
}
.wrap___zc746 .question_list___zwWpf .list_header___ifERa {
height: 78px;
border-bottom: 1px #EBEBEB solid;
display: flex;
align-items: center;
}
.wrap___zc746 .question_list___zwWpf .list_header___ifERa .list_img___p28E9 {
width: 14px;
height: 19px;
margin-right: 10px;
margin-top: 3px;
}
.wrap___zc746 .question_list___zwWpf .list_header___ifERa .list_title___mNhKv {
width: 80px;
height: 26px;
font-family: PingFangSC, PingFang SC;
font-weight: 500;
font-size: 16px;
color: #000000;
line-height: 26px;
text-align: center;
font-style: normal;
}
.wrap___zc746 .question_list___zwWpf .list_header___ifERa .search___wwGOr {
display: flex;
align-items: center;
overflow: hidden;
border-radius: 19px;
height: 38px;
width: 260px;
padding-left: 8px;
background-color: #f6f7f9;
border: none;
margin-left: auto;
}
.wrap___zc746 .question_list___zwWpf .list_header___ifERa .search___wwGOr span[class~='ant-input-search-icon'] {
display: none !important;
}
.wrap___zc746 .question_list___zwWpf .list_header___ifERa .search___wwGOr [class~='ant-input-affix-wrapper'] {
background-color: #f6f7f9 !important;
border: none !important;
}
.wrap___zc746 .question_list___zwWpf .list_header___ifERa .search___wwGOr [class~='ant-input-affix-wrapper'] {
outline: none !important;
border: none !important;
box-shadow: none !important;
}
.wrap___zc746 .question_list___zwWpf .list_header___ifERa .search___wwGOr span[class~='ant-input-group-addon'] {
display: none !important;
}
.wrap___zc746 .question_list___zwWpf .list_header___ifERa .search___wwGOr .searchIcon___WqicJ {
margin-right: 14px;
cursor: pointer;
}
.wrap___zc746 .question_list___zwWpf .list_header___ifERa .search___wwGOr input {
background-color: #f6f7f9;
}
.wrap___zc746 .question_list___zwWpf .list_header___ifERa .list_button___f6zxg {
width: 88px;
height: 32px;
background: linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%), #F6F7F9;
box-shadow: 0px 2px 4px 0px #E0DFE1, inset 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
border-radius: 16px;
border: 1px solid #BACFFE;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
color: #3061D0;
line-height: 30px;
text-align: center;
font-style: normal;
cursor: pointer;
margin-left: 20px;
}
.wrap___zc746 .question_list___zwWpf .items_list___dyX0c {
height: 520px;
overflow-y: auto;
}
.wrap___zc746 .question_list___zwWpf .items_list___dyX0c .items___x3Dh5 {
height: 118px;
border: 1px #fff solid;
border-bottom: 1px #F6F7F9 solid;
}
.wrap___zc746 .question_list___zwWpf .items_list___dyX0c .items___x3Dh5 .topContent___PmUTi {
display: flex;
align-items: center;
margin-top: 25px;
}
.wrap___zc746 .question_list___zwWpf .items_list___dyX0c .items___x3Dh5 .topContent___PmUTi .leibie_style___l8Qug {
width: 66px;
height: 28px;
background: rgba(51, 191, 151, 0.12);
border-radius: 4px;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 14px;
color: #019158;
line-height: 28px;
text-align: center;
font-style: normal;
margin-right: 10px;
}
.wrap___zc746 .question_list___zwWpf .items_list___dyX0c .items___x3Dh5 .topContent___PmUTi .title___eAaab {
width: 90%;
height: 26px;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 16px;
color: #191919;
line-height: 26px;
text-align: left;
font-style: normal;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.wrap___zc746 .question_list___zwWpf .items_list___dyX0c .items___x3Dh5 .bottomContent___sfSa2 {
margin-top: 20px;
height: 24px;
line-height: 24px;
display: flex;
align-items: center;
}
.wrap___zc746 .question_list___zwWpf .items_list___dyX0c .items___x3Dh5 .bottomContent___sfSa2 .user_img___fO_kT {
width: 24px;
height: 24px;
margin-right: 8px;
border-radius: 50%;
}
.wrap___zc746 .question_list___zwWpf .items_list___dyX0c .items___x3Dh5 .bottomContent___sfSa2 .user_name___wilG6 {
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 14px;
color: #5F6368;
text-align: left;
font-style: normal;
margin-left: 8px;
}
.wrap___zc746 .question_list___zwWpf .items_list___dyX0c .items___x3Dh5 .bottomContent___sfSa2 .time___rsplQ {
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 14px;
color: #5F6368;
text-align: left;
font-style: normal;
margin-left: 12px;
}

@ -0,0 +1,101 @@
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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.17@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.17@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Counselling/ItemAssets/index.less?modules ***!
\*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.tabs_content___Bqbat {
position: relative;
}
.tabs_content___Bqbat .header_div___vN3m5 {
display: flex;
align-items: center;
position: absolute;
right: 0;
top: 0;
}
.tabs_content___Bqbat .header_div___vN3m5 .search___TW4vQ {
display: flex;
align-items: center;
overflow: hidden;
border-radius: 19px;
height: 38px;
width: 260px;
padding-left: 8px;
background-color: #f6f7f9;
border: none;
margin-left: auto;
}
.tabs_content___Bqbat .header_div___vN3m5 .search___TW4vQ span[class~='ant-input-search-icon'] {
display: none !important;
}
.tabs_content___Bqbat .header_div___vN3m5 .search___TW4vQ [class~='ant-input-affix-wrapper'] {
background-color: #f6f7f9 !important;
border: none !important;
}
.tabs_content___Bqbat .header_div___vN3m5 .search___TW4vQ [class~='ant-input-affix-wrapper'] {
outline: none !important;
border: none !important;
box-shadow: none !important;
}
.tabs_content___Bqbat .header_div___vN3m5 .search___TW4vQ span[class~='ant-input-group-addon'] {
display: none !important;
}
.tabs_content___Bqbat .header_div___vN3m5 .search___TW4vQ .searchIcon___oHtR1 {
margin-right: 14px;
cursor: pointer;
}
.tabs_content___Bqbat .header_div___vN3m5 .search___TW4vQ input {
background-color: #f6f7f9;
}
.lists___uhV60 {
display: flex;
flex-wrap: wrap;
margin-bottom: 50px;
}
.lists___uhV60 .lists_item___EfFxV {
width: 260px;
height: 290px;
background: #FFFFFF;
box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.05);
border-radius: 4px;
border: 1px solid #F6F7F9;
margin: 20px 30px 0 0;
cursor: pointer;
}
.lists___uhV60 .lists_item___EfFxV .user_img___y3i4M {
width: 87px;
height: 87px;
border-radius: 50%;
margin: 30px auto 20px auto;
}
.lists___uhV60 .lists_item___EfFxV .user_name___sarAI {
height: 28px;
font-family: PingFangSC, PingFang SC;
font-weight: 500;
font-size: 18px;
color: #191919;
line-height: 28px;
font-style: normal;
text-align: center;
}
.lists___uhV60 .lists_item___EfFxV .user_role___n5JhH {
height: 22px;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 14px;
color: #232B40;
line-height: 22px;
font-style: normal;
}
.lists___uhV60 .lists_item___EfFxV .user_content___Ncw6n {
height: 89px;
background: #F6F7F9;
border-radius: 8px;
margin: 15px;
padding: 8px 15px;
line-height: 25px;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
}

File diff suppressed because it is too large Load Diff

@ -0,0 +1,777 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[89503],{
/***/ 54235:
/*!***************************************************************!*\
!*** ./src/pages/Counselling/MyReceive/index.tsx + 3 modules ***!
\***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"default": function() { return /* binding */ MyReceive; }
});
// 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/regeneratorRuntime.js
var regeneratorRuntime = __webpack_require__(7557);
var regeneratorRuntime_default = /*#__PURE__*/__webpack_require__.n(regeneratorRuntime);
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/asyncToGenerator.js
var asyncToGenerator = __webpack_require__(41498);
var asyncToGenerator_default = /*#__PURE__*/__webpack_require__.n(asyncToGenerator);
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/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__(33936);
;// CONCATENATED MODULE: ./src/pages/Counselling/MyReceive/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var MyReceivemodules = ({"header_div":"header_div___t6JtQ","header_title":"header_title___RQ9b3","search":"search___o7EdS","searchIcon":"searchIcon___cOO1f","search_params":"search_params___8ZWCp","clear_Data":"clear_Data___DcdzO","content_list":"content_list___Nlx9L","content":"content___Se81p","content_img":"content_img___p1JTp","content_id":"content_id___qvC3z","content_name":"content_name___zwP9Y","content_params":"content_params___oQiL8","redRow":"redRow___SoVKi"});
// 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/modal/index.js + 16 modules
var modal = __webpack_require__(43418);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/message/index.js + 4 modules
var message = __webpack_require__(8591);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/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/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: ./src/service/laboratory.ts
var service_laboratory = __webpack_require__(51440);
// EXTERNAL MODULE: ./node_modules/_dayjs@1.11.13@dayjs/dayjs.min.js
var dayjs_min = __webpack_require__(61186);
var dayjs_min_default = /*#__PURE__*/__webpack_require__.n(dayjs_min);
// EXTERNAL MODULE: ./src/components/NoData/index.tsx
var NoData = __webpack_require__(53070);
// EXTERNAL MODULE: ./src/service/materials.ts
var materials = __webpack_require__(63643);
;// CONCATENATED MODULE: ./src/pages/Counselling/MyReceive/ViewModal/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var ViewModalmodules = ({"header":"header___tfedX","header_params":"header_params___lIud5","header_title":"header_title___sNiZC","file_list":"file_list___ri9sD","file_list_title":"file_list_title___kth8f","file_list_size":"file_list_size___Jvdvb","search_params":"search_params___GOs24","search":"search___gdfne","searchIcon":"searchIcon___ajo_X","header_button":"header_button___ggq3O","header_content":"header_content___XrtFk","content_div":"content_div___NkTsR"});
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/button/index.js
var es_button = __webpack_require__(3113);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
var jsx_runtime = __webpack_require__(37712);
;// CONCATENATED MODULE: ./src/pages/Counselling/MyReceive/ViewModal/index.tsx
var unitType = {
1: '个',
2: '套',
3: '袋',
4: '条',
5: '根',
6: '升',
7: '毫升'
};
var ViewModal = function ViewModal(_ref) {
var _viewInfo$classroom_d, _viewInfo$classroom_d2, _viewInfo$classroom_d3, _viewInfo$classroom_d4;
var openViewModal = _ref.openViewModal,
viewInfo = _ref.viewInfo,
_onCancel = _ref.onCancel,
buttonMethod = _ref.buttonMethod,
onReject = _ref.onReject,
showButton = _ref.showButton;
var _useState = (0,_react_17_0_2_react.useState)({
content: "",
type: ""
}),
_useState2 = slicedToArray_default()(_useState, 2),
data = _useState2[0],
setData = _useState2[1];
var columns = [{
title: '物资编码',
dataIndex: 'number',
ellipsis: true
}, {
title: '物资名称',
dataIndex: 'title',
ellipsis: true
}, {
title: '规格型号',
dataIndex: 'model',
ellipsis: true
}, {
title: '存放实验室房间',
dataIndex: 'classroom_room_title',
ellipsis: true
}, {
title: '单位',
dataIndex: 'unit',
ellipsis: true,
render: function render(text) {
return /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: unitType[text]
});
}
}, {
title: '可申请数量',
dataIndex: 'apply_total',
ellipsis: true
}, {
title: '需申请数量',
dataIndex: 'apply_num',
ellipsis: true
}];
return /*#__PURE__*/(0,jsx_runtime.jsx)(modal/* default */.Z, {
maskClosable: false,
centered: true,
keyboard: false,
destroyOnClose: true,
className: ViewModalmodules.my_modal,
open: openViewModal,
title: "\u7269\u8D44\u660E\u7EC6",
width: "1000px",
footer: showButton ? /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
onClick: function onClick() {
buttonMethod('驳回', viewInfo);
},
children: "\u9A73\u56DE"
}, "cancel"), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
type: "primary",
onClick: function onClick() {
buttonMethod('同意', viewInfo);
},
children: "\u540C\u610F"
}, "ok")]
}) : null,
onCancel: function onCancel(e) {
_onCancel();
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: ViewModalmodules.header,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: ViewModalmodules.header_params,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: ViewModalmodules.header_content,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
maxWidth: "400px"
},
className: ViewModalmodules.content_div,
children: [" ", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
color: '#666',
marginRight: '10px'
},
children: "\u6240\u5728\u5B9E\u9A8C\u5BA4"
}), viewInfo === null || viewInfo === void 0 ? void 0 : viewInfo.classroom_title]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: (viewInfo === null || viewInfo === void 0 || (_viewInfo$classroom_d = viewInfo.classroom_directors) === null || _viewInfo$classroom_d === void 0 ? void 0 : _viewInfo$classroom_d.length) > 0 ? viewInfo === null || viewInfo === void 0 || (_viewInfo$classroom_d2 = viewInfo.classroom_directors) === null || _viewInfo$classroom_d2 === void 0 ? void 0 : _viewInfo$classroom_d2.map(function (item, key) {
return /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: [item === null || item === void 0 ? void 0 : item.name, "(", item === null || item === void 0 ? void 0 : item.phone, ")\u3001"]
});
}) : '--',
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
maxWidth: "400px",
marginLeft: '40px'
},
className: ViewModalmodules.content_div,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
color: '#666',
marginRight: '10px'
},
children: "\u5B9E\u9A8C\u5BA4\u8D1F\u8D23\u4EBA"
}), (viewInfo === null || viewInfo === void 0 || (_viewInfo$classroom_d3 = viewInfo.classroom_directors) === null || _viewInfo$classroom_d3 === void 0 ? void 0 : _viewInfo$classroom_d3.length) > 0 ? viewInfo === null || viewInfo === void 0 || (_viewInfo$classroom_d4 = viewInfo.classroom_directors) === null || _viewInfo$classroom_d4 === void 0 ? void 0 : _viewInfo$classroom_d4.map(function (item, key) {
var _viewInfo$classroom_d5;
return /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: [item === null || item === void 0 ? void 0 : item.name, "(", item === null || item === void 0 ? void 0 : item.phone, ")", key == (viewInfo === null || viewInfo === void 0 || (_viewInfo$classroom_d5 = viewInfo.classroom_directors) === null || _viewInfo$classroom_d5 === void 0 ? void 0 : _viewInfo$classroom_d5.length) - 1 ? '' : '、']
}, key);
}) : '--']
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
style: {
width: 949,
marginBottom: '20px'
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, {
pagination: false,
dataSource: (viewInfo === null || viewInfo === void 0 ? void 0 : viewInfo.substances) || [],
columns: columns,
scroll: {
y: 400
},
rowKey: "id"
})
})]
})
})
});
};
/* harmony default export */ var MyReceive_ViewModal = (ViewModal);
;// CONCATENATED MODULE: ./src/pages/Counselling/MyReceive/index.tsx
var statusType = {
pending: '待审核',
approved: '待归还',
rejected: '已驳回',
canceled: '已取消',
returned: '已归还'
};
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),
laboratoryRooms = _useState8[0],
setLaboratoryRooms = _useState8[1];
var _useState9 = (0,_react_17_0_2_react.useState)(''),
_useState10 = slicedToArray_default()(_useState9, 2),
laboratoryRoom = _useState10[0],
setLaboratoryRoom = _useState10[1];
//实验室
var _useState11 = (0,_react_17_0_2_react.useState)([]),
_useState12 = slicedToArray_default()(_useState11, 2),
laboratorys = _useState12[0],
setLaboratorys = _useState12[1];
var _useState13 = (0,_react_17_0_2_react.useState)([]),
_useState14 = slicedToArray_default()(_useState13, 2),
laboratorysUse = _useState14[0],
setLaboratorysUse = _useState14[1];
var _useState15 = (0,_react_17_0_2_react.useState)(''),
_useState16 = slicedToArray_default()(_useState15, 2),
laboratory = _useState16[0],
setLaboratory = _useState16[1];
var _useState17 = (0,_react_17_0_2_react.useState)(''),
_useState18 = slicedToArray_default()(_useState17, 2),
laboratorySq = _useState18[0],
setLaboratorySq = _useState18[1];
var _useState19 = (0,_react_17_0_2_react.useState)(false),
_useState20 = slicedToArray_default()(_useState19, 2),
openViewModal = _useState20[0],
setOpenViewModal = _useState20[1];
var _useState21 = (0,_react_17_0_2_react.useState)({}),
_useState22 = slicedToArray_default()(_useState21, 2),
viewData = _useState22[0],
setViewData = _useState22[1];
//分页
var _useState23 = (0,_react_17_0_2_react.useState)(0),
_useState24 = slicedToArray_default()(_useState23, 2),
total = _useState24[0],
setTotal = _useState24[1];
var _useState25 = (0,_react_17_0_2_react.useState)(1),
_useState26 = slicedToArray_default()(_useState25, 2),
page = _useState26[0],
setPage = _useState26[1];
var _useState27 = (0,_react_17_0_2_react.useState)(10),
_useState28 = slicedToArray_default()(_useState27, 2),
limit = _useState28[0],
setLimit = _useState28[1];
var _useState29 = (0,_react_17_0_2_react.useState)([]),
_useState30 = slicedToArray_default()(_useState29, 2),
tableData = _useState30[0],
setTableData = _useState30[1];
var columns = [{
title: '申请原因',
dataIndex: 'reason',
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_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: 'status',
ellipsis: true,
render: function render(text) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
placement: "bottomLeft",
title: statusType[text],
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: statusType[text]
})
});
}
}, {
title: '使用时间',
dataIndex: 'apply_time',
ellipsis: true,
render: function render(text, record) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
placement: "bottomLeft",
title: /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: record !== null && record !== void 0 && record.start_time ? dayjs_min_default()(record === null || record === void 0 ? void 0 : record.start_time).format('YYYY-MM-DD HH:mm') : '--'
}), /*#__PURE__*/(0,jsx_runtime.jsx)("br", {}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: record !== null && record !== void 0 && record.end_time ? dayjs_min_default()(record === null || record === void 0 ? void 0 : record.end_time).format('YYYY-MM-DD HH:mm') : '--'
})]
}),
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: record !== null && record !== void 0 && record.overdue ? MyReceivemodules.redRow : '',
children: record !== null && record !== void 0 && record.start_time ? dayjs_min_default()(record === null || record === void 0 ? void 0 : record.start_time).format('YYYY-MM-DD HH:mm') : '--'
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: record !== null && record !== void 0 && record.overdue ? MyReceivemodules.redRow : '',
children: record !== null && record !== void 0 && record.end_time ? dayjs_min_default()(record === null || record === void 0 ? void 0 : record.end_time).format('YYYY-MM-DD HH:mm') : '--'
})]
})
});
}
}, {
title: '使用实验室',
dataIndex: 'classroom_place_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: 'place_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: 'apply_time',
ellipsis: true,
render: function render(text, record) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
placement: "bottomLeft",
title: text ? dayjs_min_default()(text).format('YYYY-MM-DD HH:mm') : '--',
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: text ? dayjs_min_default()(text).format('YYYY-MM-DD HH:mm') : '--'
})
});
}
}, {
title: '操作',
ellipsis: true,
width: 200,
render: function render(text, record) {
return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
color: "#165DFF",
cursor: "pointer"
},
onClick: function onClick() {
(0,materials/* receives_info */.Os)({
id: record.id
}).then(function (res) {
setViewData(res === null || res === void 0 ? void 0 : res.data);
setOpenViewModal(true);
});
},
children: "\u7533\u8BF7\u5185\u5BB9"
}), ((record === null || record === void 0 ? void 0 : record.status) == 'pending' || (record === null || record === void 0 ? void 0 : record.status) == 'rejected') && /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
color: "#165DFF",
cursor: "pointer",
marginLeft: 10
},
onClick: function onClick() {
_umi_production_exports.history.push("/materials/itemAssets/AddReceive/".concat(record === null || record === void 0 ? void 0 : record.id, "?backUrl=/materials/myReceive"));
},
children: "\u4FEE\u6539"
}), (record === null || record === void 0 ? void 0 : record.status) == 'pending' && /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
color: "#165DFF",
cursor: "pointer",
marginLeft: 10
},
onClick: function onClick() {
modal/* default */.Z.confirm({
centered: true,
okText: '确定',
cancelText: '取消',
title: "提示",
content: "\u8BF7\u786E\u8BA4\u662F\u5426\u53D6\u6D88\u8BE5\u9886\u7528\u7533\u8BF7",
onOk: function () {
var _onOk = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() {
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
(0,materials/* receives_cancel */.JQ)({
id: record === null || record === void 0 ? void 0 : record.id
}).then(function (res) {
if (res.status === 0) {
message/* default */.ZP.success('取消成功');
getData(true);
}
});
case 1:
case "end":
return _context.stop();
}
}, _callee);
}));
function onOk() {
return _onOk.apply(this, arguments);
}
return onOk;
}()
});
},
children: "\u53D6\u6D88"
})]
});
}
}];
(0,_react_17_0_2_react.useEffect)(function () {
//申请实验室
(0,service_laboratory/* user_substance_classrooms */.y8)({
type: 2,
kclass: 'Receive'
}).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,service_laboratory/* user_substance_classrooms */.y8)({
type: 3,
kclass: 'Receive'
}).then(function (res) {
var _res$data2;
setLaboratorysUse([{
id: '',
title: '全部'
}].concat(toConsumableArray_default()(res === null || res === void 0 || (_res$data2 = res.data) === null || _res$data2 === void 0 ? void 0 : _res$data2.list)));
});
//实验室房间
(0,service_laboratory/* classroom_rooms_query */.jd)({
page: 1,
limit: 10000,
keyword: '',
classroom_id: laboratory
}).then(function (res) {
var _res$data3;
setLaboratoryRooms([{
id: '',
title: '全部'
}].concat(toConsumableArray_default()(res === null || res === void 0 || (_res$data3 = res.data) === null || _res$data3 === void 0 ? void 0 : _res$data3.list)));
});
}, []);
(0,_react_17_0_2_react.useEffect)(function () {
//列表查询
getData(false);
}, [page, limit]);
(0,_react_17_0_2_react.useEffect)(function () {
//列表查询
getData(true);
}, [laboratory, laboratorySq, laboratoryRoom, overdue, status, keyword]);
var getData = function getData(flag) {
if (flag) {
setPage(1);
}
(0,materials/* me_receives_query */.zO)({
page: page,
limit: limit,
status: status,
overdue: overdue,
keyword: keyword,
classroom_place_id: laboratory,
classroom_id: laboratorySq,
place_id: laboratoryRoom
}).then(function (res) {
var _res$data4, _res$data5;
setTableData(res === null || res === void 0 || (_res$data4 = res.data) === null || _res$data4 === void 0 ? void 0 : _res$data4.list);
setTotal(res === null || res === void 0 || (_res$data5 = res.data) === null || _res$data5 === void 0 ? void 0 : _res$data5.count);
});
};
var onShowSizeChange = function onShowSizeChange(page, size) {
setPage(page);
setLimit(size);
};
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: MyReceivemodules.header_div,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: MyReceivemodules.header_title,
children: "\u6211\u7684\u9886\u7528\u7533\u8BF7"
})
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: MyReceivemodules.search_params,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
colon: false,
label: "\u7533\u8BF7\u5B9E\u9A8C\u5BA4",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"], {
style: {
width: 100
},
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: "\u4F7F\u7528\u5B9E\u9A8C\u5BA4",
style: {
marginLeft: '20px'
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"], {
style: {
width: 100
},
defaultValue: laboratory,
value: laboratory,
onChange: function onChange(e) {
setLaboratory(e);
setLaboratoryRoom('');
//实验室房间
(0,service_laboratory/* classroom_rooms_query */.jd)({
page: 1,
limit: 10000,
keyword: '',
classroom_id: e
}).then(function (res) {
var _res$data6;
setLaboratoryRooms([{
id: '',
title: '全部'
}].concat(toConsumableArray_default()(res === null || res === void 0 || (_res$data6 = res.data) === null || _res$data6 === void 0 ? void 0 : _res$data6.list)));
});
},
children: laboratorysUse === null || laboratorysUse === void 0 ? void 0 : laboratorysUse.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: "\u5B9E\u9A8C\u5BA4\u623F\u95F4",
style: {
marginLeft: '20px'
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"], {
style: {
width: 100
},
defaultValue: laboratoryRoom,
value: laboratoryRoom,
onChange: function onChange(e) {
setLaboratoryRoom(e);
},
children: laboratoryRooms === null || laboratoryRooms === void 0 ? void 0 : laboratoryRooms.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: "\u72B6\u6001",
style: {
marginLeft: 'auto'
},
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_select["default"], {
style: {
width: 100
},
defaultValue: status,
value: status,
onChange: function onChange(e) {
setStatus(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: "\u5F85\u5BA1\u6838"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"].Option, {
value: "2",
children: "\u5F85\u5F52\u8FD8"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"].Option, {
value: "3",
children: "\u5DF2\u9A73\u56DE"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"].Option, {
value: "4",
children: "\u5DF2\u53D6\u6D88"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"].Option, {
value: "5",
children: "\u5DF2\u5F52\u8FD8"
})]
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
colon: false,
label: "\u662F\u5426\u903E\u671F\u5F52\u8FD8",
style: {
marginLeft: '20px'
},
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_select["default"], {
style: {
width: 100
},
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: "\u662F"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"].Option, {
value: "0",
children: "\u5426"
})]
})
})]
}), (tableData === null || tableData === void 0 ? void 0 : tableData.length) > 0 ? /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, {
pagination: false,
dataSource: tableData,
columns: columns,
scroll: {
x: 1500
}
// rowClassName={(record: any, index: number) => {
// if (!record?.overdue) {
// return styles.redRow;
// }
// return '';
// }}
}) : /*#__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)(MyReceive_ViewModal, {
openViewModal: openViewModal,
viewInfo: viewData,
onCancel: function onCancel() {
return setOpenViewModal(false);
},
onReject: function onReject() {
setOpenViewModal(false);
}
})]
});
};
/* harmony default export */ var MyReceive = ((0,_umi_production_exports.connect)(function (_ref2) {
var loading = _ref2.loading,
engineeringNavigtion = _ref2.engineeringNavigtion;
return objectSpread2_default()({
loading: loading
}, engineeringNavigtion);
})(Navigation));
/***/ })
}]);

@ -0,0 +1,274 @@
/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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.17@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.17@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Counselling/MyReceive/index.less?modules ***!
\************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.header_div___t6JtQ {
height: 60px;
display: flex;
}
.header_div___t6JtQ .header_title___RQ9b3 {
height: 38px;
font-size: 16px;
font-family: PingFangSC, PingFang SC;
font-weight: 500;
color: #000000;
line-height: 38px;
}
.header_div___t6JtQ .search___o7EdS {
margin-left: auto;
display: flex;
align-items: center;
overflow: hidden;
border-radius: 19px;
height: 38px;
width: 350px;
padding-left: 8px;
background-color: #f6f7f9;
border: none;
}
.header_div___t6JtQ .search___o7EdS span[class~='ant-input-search-icon'] {
display: none;
}
.header_div___t6JtQ .search___o7EdS [class~='ant-input-affix-wrapper'] {
background-color: #f6f7f9;
border: none;
}
.header_div___t6JtQ .search___o7EdS [class~='ant-input-affix-wrapper'] {
outline: none !important;
border: none !important;
box-shadow: none !important;
}
.header_div___t6JtQ .search___o7EdS span[class~='ant-input-group-addon'] {
display: none;
}
.header_div___t6JtQ .search___o7EdS .searchIcon___cOO1f {
margin-right: 14px;
cursor: pointer;
}
.header_div___t6JtQ .search___o7EdS input {
background-color: #f6f7f9;
}
.search_params___8ZWCp {
display: flex;
}
.search_params___8ZWCp [class~='ant-form-item'] [class~='ant-form-item-label'] {
text-align: right !important;
}
.search_params___8ZWCp [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___8ZWCp [class~='ant-select-selector'] {
height: 36px !important;
}
.search_params___8ZWCp [class~='ant-picker'] {
height: 36px !important;
}
.search_params___8ZWCp [class~='ant-select-selection-item'] {
line-height: 34px !important;
}
.search_params___8ZWCp .clear_Data___DcdzO {
width: 60px;
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: 2px;
}
.content_list___Nlx9L {
display: flex;
flex-wrap: wrap;
}
.content_list___Nlx9L .content___Se81p {
width: 222px;
height: 302px;
background: #FFFFFF;
margin: 0 10px 20px 10px;
box-shadow: 0px 2px 4px 0px #D6DAE1;
border-radius: 8px;
cursor: pointer;
position: relative;
}
.content_list___Nlx9L .content___Se81p .content_img___p1JTp {
width: 222px;
height: 140px;
box-shadow: 0px 2px 4px 0px #D6DAE1;
border-radius: 8px 8px 0px 0px;
}
.content_list___Nlx9L .content___Se81p .content_id___qvC3z {
width: 222px;
height: 36px;
line-height: 36px;
background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000000 100%);
box-shadow: 0px 2px 4px 0px #D6DAE1;
position: absolute;
top: 104px;
color: #FFE7C8;
font-size: 12px;
font-weight: 400;
font-style: normal;
padding-left: 15px;
}
.content_list___Nlx9L .content___Se81p .content_name___zwP9Y {
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;
margin-bottom: 5px;
padding: 0 15px;
}
.content_list___Nlx9L .content___Se81p .content_params___oQiL8 {
padding: 5px 15px;
display: flex;
}
.content_list___Nlx9L .content___Se81p .content_params___oQiL8 span {
color: #999999;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
font-size: 12px;
}
.redRow___SoVKi {
color: #E30000;
}
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** 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.17@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.17@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Counselling/MyReceive/ViewModal/index.less?modules ***!
\**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.header___tfedX {
background: #FFFFFF;
border-radius: 4px;
}
.header___tfedX .header_params___lIud5 {
width: 600px;
}
.header___tfedX .header_params___lIud5 .header_title___sNiZC {
height: 30px;
font-size: 26px;
font-family: PingFangSC, PingFang SC;
font-weight: 600;
color: #000F37;
line-height: 30px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
margin-top: 10px;
margin-bottom: 20px;
}
.header___tfedX .file_list___ri9sD {
display: flex;
color: #3061D0;
font-size: 12px;
margin-bottom: 10px;
margin-left: 66px;
}
.header___tfedX .file_list___ri9sD .file_list_title___kth8f {
height: 24px;
line-height: 24px;
padding: 0 10px;
background: rgba(22, 93, 255, 0.06);
border-radius: 12px;
}
.header___tfedX .file_list___ri9sD .file_list_size___Jvdvb {
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;
}
.header___tfedX .search_params___GOs24 {
display: flex;
}
.header___tfedX .search_params___GOs24 [class~='ant-select-selector'] {
height: 36px !important;
line-height: 36px !important;
}
.header___tfedX .search_params___GOs24 [class~='ant-form-item-label'] {
height: 36px !important;
line-height: 36px !important;
}
.header___tfedX .search_params___GOs24 [class~='ant-select-selection-item'] {
line-height: 34px !important;
}
.header___tfedX .search_params___GOs24 .search___gdfne {
margin-left: auto;
display: flex;
align-items: center;
overflow: hidden;
border-radius: 19px;
height: 38px;
width: 350px;
padding-left: 8px;
background-color: #f6f7f9;
border: none;
margin-top: 18px;
}
.header___tfedX .search_params___GOs24 .search___gdfne span[class~='ant-input-search-icon'] {
display: none;
}
.header___tfedX .search_params___GOs24 .search___gdfne [class~='ant-input-affix-wrapper'] {
background-color: #f6f7f9;
border: none;
}
.header___tfedX .search_params___GOs24 .search___gdfne [class~='ant-input-affix-wrapper'] {
outline: none !important;
border: none !important;
box-shadow: none !important;
}
.header___tfedX .search_params___GOs24 .search___gdfne span[class~='ant-input-group-addon'] {
display: none;
}
.header___tfedX .search_params___GOs24 .search___gdfne .searchIcon___ajo_X {
margin-right: 14px;
cursor: pointer;
}
.header___tfedX .search_params___GOs24 .search___gdfne input {
background-color: #f6f7f9;
}
.header___tfedX .search_params___GOs24 .header_button___ggq3O {
width: 96px;
height: 38px;
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: 38px;
text-align: center;
cursor: pointer;
margin-left: 20px;
margin-top: 18px;
margin-bottom: 20px;
}
.header___tfedX .header_content___XrtFk {
width: 949px;
display: flex;
margin-bottom: 20px;
}
.header___tfedX .header_content___XrtFk .content_div___NkTsR {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

@ -1,4 +1,4 @@
(self["webpackChunk"] = self["webpackChunk"] || []).push([[14058,24064,52556,45178,48507,65805,70232,14082,61603,43468,6275,96004,23003,6572,32405,95644,23084,55128,40115],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[14058,24064,52556,45178,48507,65805,70232,14082,61603,43468,6275,96004,23003,6572,32405,95644,55128,40115],{
/***/ 3148:
/*!*******************************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[90337,96004,23003,6572,32405,95644,23084],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[90337,96004,23003,6572,32405,95644],{
/***/ 86413:
/*!**************************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[16328,24064,52556,45178,48507,70232,14082,96004,23003,6572,32405,95644,23084,40115],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[16328,24064,52556,45178,48507,70232,14082,96004,23003,6572,32405,95644,40115],{
/***/ 86413:
/*!**************************************************************************************************************!*\

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[98062,96004,23003,6572,32405,95644,23084],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[98062,96004,23003,6572,32405,95644],{
/***/ 86413:
/*!**************************************************************************************************************!*\

Binary file not shown.

After

Width:  |  Height:  |  Size: 155 KiB

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