autoUpdataFile

dev_local_v9_zzxy
eduauto 1 year ago
parent 1dadedf341
commit fded25d1a6

@ -1131,7 +1131,7 @@ var JoinGraduationsModal_Page = function Page(_ref) {
var _excluded = ["homePage", "user", "globalSetting", "loading", "dispatch", "location"];
var _excluded = ["homePage", "user", "globalSetting", "loading", "dispatch", "moreIcon", "location"];
@ -1165,6 +1165,7 @@ var Join = function Join(_ref) {
globalSetting = _ref.globalSetting,
loading = _ref.loading,
dispatch = _ref.dispatch,
moreIcon = _ref.moreIcon,
location = _ref.location,
props = objectWithoutProperties_default()(_ref, _excluded);
var _useState = (0,_react_17_0_2_react.useState)(),
@ -1317,7 +1318,9 @@ var Join = function Join(_ref) {
});
},
placement: "bottom",
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: moreIcon ? /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
src: moreIcon
}) : /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
lineHeight: 'inherit',
color: '#3061D0'
@ -1412,7 +1415,7 @@ var jsx_runtime = __webpack_require__(37712);
var _excluded = ["homePage", "user", "globalSetting", "loading", "dispatch", "shixunHomeworks", "location", "payload"];
var _excluded = ["homePage", "user", "globalSetting", "loading", "dispatch", "shixunHomeworks", "location", "hideSearch", "payload"];
@ -1458,6 +1461,7 @@ var User = function User(_ref) {
dispatch = _ref.dispatch,
shixunHomeworks = _ref.shixunHomeworks,
location = _ref.location,
hideSearch = _ref.hideSearch,
_ref$payload = _ref.payload,
payload = _ref$payload === void 0 ? {} : _ref$payload,
props = objectWithoutProperties_default()(_ref, _excluded);

@ -12,7 +12,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1">
<meta http-equiv="Cache-Control" content="no-transform">
<title>头歌实践教学平台</title>
<link rel="stylesheet" href="/react/build/umi.2d17d56d.css">
<link rel="stylesheet" href="/react/build/umi.43758b0f.css">
<script src="/react/build/js/polyfill.min.js"></script>
</head>
<body>
@ -27,7 +27,7 @@
display: block !important;
}
</style><script>if(document.domain !== "www.educoder.net") document.title = '';</script>
<script src="/react/build/umi.2c1845ee.js"></script>
<script src="/react/build/umi.ff3e731d.js"></script>
<script src="/react/build/js/public.js"></script>
</body>
</html>

@ -78,7 +78,7 @@ var _react_17_0_2_react = __webpack_require__(59301);
var _umi_production_exports = __webpack_require__(88271);
;// CONCATENATED MODULE: ./src/pages/Materials/Entry/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var Entrymodules = ({"header_div":"header_div___HMlol","header_title":"header_title___JUhMA","search":"search___j2_OT","searchIcon":"searchIcon___eX8nB","clear_Data":"clear_Data___Rb0QM","infoItem":"infoItem___ibpAn","file_list":"file_list___GDpfw","file_list_title":"file_list_title___Du77A","file_list_size":"file_list_size___nMJsO"});
/* harmony default export */ var Entrymodules = ({"header_div":"header_div___HMlol","header_title":"header_title___JUhMA","search":"search___j2_OT","searchIcon":"searchIcon___eX8nB","clear_Data":"clear_Data___Rb0QM","infoItem":"infoItem___ibpAn","file_list":"file_list___GDpfw","file_list_title":"file_list_title___Du77A","file_list_size":"file_list_size___nMJsO","search_params":"search_params___vqmNB","search_params_left":"search_params_left___qHkAA","search_params_right":"search_params_right___IkkOD"});
// 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
@ -525,16 +525,12 @@ var Navigation = function Navigation(_ref) {
setLimit(size);
};
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: "mt20",
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Entrymodules.header_div,
className: Entrymodules.search_params,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Entrymodules.header_title,
children: "\u5165\u8D26\u7BA1\u7406"
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
display: 'flex'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z.Search, {
className: Entrymodules.search_params_left,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z.Search, {
placeholder: "\u8BF7\u8F93\u5165\u91C7\u8D2D\u540D\u79F0\u8FDB\u884C\u641C\u7D22",
size: "large",
className: Entrymodules.search,
@ -552,8 +548,11 @@ var Navigation = function Navigation(_ref) {
getData(true);
}
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Entrymodules.clear_Data,
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Entrymodules.search_params_right,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "text-wrapper_4 flex-col",
style: {
width: '116px',
marginLeft: '20px'
@ -563,26 +562,31 @@ var Navigation = function Navigation(_ref) {
setEditVisible(true);
},
children: "\u589E\u52A0\u5165\u8D26\u5355"
})]
})
})]
}), total > 0 ? /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, {
pagination: false,
dataSource: tableData,
columns: columns
}) : /*#__PURE__*/(0,jsx_runtime.jsx)(NoData/* default */.Z, {
customText: "\u6682\u65E0\u6570\u636E"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "materials-table-wrp",
children: total > 0 ? /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, {
pagination: false,
dataSource: tableData,
columns: columns,
className: "materials-table"
}) : /*#__PURE__*/(0,jsx_runtime.jsx)(NoData/* default */.Z, {
customText: "\u6682\u65E0\u6570\u636E"
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("aside", {
className: "mr20",
children: total > 0 ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
display: 'flex',
alignItems: 'center',
justifyContent: 'space-between',
padding: '10px 7px 20px 7px'
padding: '10px 0 20px 7px'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
style: {
color: '#656F87'
color: '#c5d3f4'
},
children: ["\u5171", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "c-light-primary",

@ -95,6 +95,86 @@
margin-left: 10px;
font-style: normal;
}
.search_params___vqmNB {
display: flex;
margin-right: 20px;
margin-bottom: 20px;
justify-content: space-between;
}
.search_params___vqmNB .search_params_left___qHkAA {
display: flex;
}
.search_params___vqmNB .search_params_right___IkkOD {
display: flex;
}
.search_params___vqmNB .search___j2_OT {
display: flex;
align-items: center;
overflow: hidden;
height: 38px;
width: 300px !important;
border: none;
}
.search_params___vqmNB .search___j2_OT span[class~='ant-input-search-icon'] {
display: none;
}
.search_params___vqmNB .search___j2_OT [class~='ant-input-affix-wrapper'] {
background: #17378A;
box-shadow: inset 0px 1px 3px 0px rgba(29, 29, 29, 0.5);
border-radius: 4px;
border: none;
}
.search_params___vqmNB .search___j2_OT [class~='ant-input-affix-wrapper'] input {
background: none;
color: #90AAFF;
}
.search_params___vqmNB .search___j2_OT [class~='ant-input-affix-wrapper'] input::-webkit-input-placeholder {
color: #90AAFF;
}
.search_params___vqmNB .search___j2_OT [class~='ant-input-affix-wrapper'] {
outline: none !important;
border: none !important;
box-shadow: none !important;
}
.search_params___vqmNB .search___j2_OT span[class~="ant-select-arrow"] {
color: rgba(255, 255, 255, 0.6) !important;
}
.search_params___vqmNB .search___j2_OT span[class~='ant-input-group-addon'] {
display: none;
}
.search_params___vqmNB .search___j2_OT .searchIcon___eX8nB {
margin-right: 0px;
cursor: pointer;
color: rgba(255, 255, 255, 0.6);
}
.search_params___vqmNB .search___j2_OT input {
background-color: #f6f7f9;
}
.search_params___vqmNB [class~='ant-form-item'] [class~='ant-form-item-label'] {
text-align: right !important;
}
.search_params___vqmNB [class~='ant-form-item'] [class~='ant-form-item-label'] label {
color: #90AAFF !important;
display: block !important;
height: 36px !important;
line-height: 36px !important;
}
.search_params___vqmNB [class~='ant-select-selector'] {
height: 36px !important;
}
.search_params___vqmNB [class~='ant-picker'] {
height: 36px !important;
}
.search_params___vqmNB [class~='ant-select-selection-item'] {
line-height: 34px !important;
}
.search_params___vqmNB [class~="ant-select-selector"] {
background: #17378A !important;
box-shadow: inset 0px 1px 3px 0px rgba(29, 29, 29, 0.5) !important;
border-radius: 4px !important;
border: none !important;
color: #90AAFF;
}
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Materials/Entry/EditModal/index.less?modules ***!

@ -71,7 +71,7 @@ var Engineering = function Engineering(_ref) {
_umi_production_exports.history.push('/search?value=' + value);
}
var SearchInput = function SearchInput() {
if (openSearch) {
if (openSearch && !hideSearch) {
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
onBlur: function onBlur() {
setTimeout(function () {
@ -150,10 +150,16 @@ var Engineering = function Engineering(_ref) {
flex: 1
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
className: "thumbnail_1",
className: "thumbnail_1 current",
onClick: function onClick() {
return _umi_production_exports.history.push("/ythSys");
},
src: "/images/materials/SketchPng2032b4eb0c3138b021caf392ef497cf7503b52d5e8b5496802baec7585143010.png"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "text_1",
className: "text_1 current",
onClick: function onClick() {
return _umi_production_exports.history.push("/ythSys");
},
children: "\u8FD4\u56DE"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "section_2 flex-col"
@ -170,7 +176,9 @@ var Engineering = function Engineering(_ref) {
color: '#3061D0'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(SearchInput, {}), /*#__PURE__*/(0,jsx_runtime.jsx)(Join/* default */.Z, {}), !!(user !== null && user !== void 0 && (_user$userInfo3 = user.userInfo) !== null && _user$userInfo3 !== void 0 && _user$userInfo3.login) && /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(Join/* default */.Z, {
moreIcon: "/images/materials/SketchPng050cbed48f607daa69daece9e5665916c9cccdf9041080fbf6fe9f7c8e1f771d.png"
}), !!(user !== null && user !== void 0 && (_user$userInfo3 = user.userInfo) !== null && _user$userInfo3 !== void 0 && _user$userInfo3.login) && /*#__PURE__*/(0,jsx_runtime.jsx)(_umi_production_exports.Link, {
className: "c-white ml15 mr15 font18 relative",
to: "/messages/".concat(user === null || user === void 0 || (_user$userInfo4 = user.userInfo) === null || _user$userInfo4 === void 0 ? void 0 : _user$userInfo4.login, "/user_tidings"),
style: {
@ -185,9 +193,7 @@ var Engineering = function Engineering(_ref) {
// style={{ color: '#3061D0' }}
// ></span>
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(User/* default */.Z, {
messageIcon: "/images/materials/SketchPng1df971f8284f1cda83bbae0d86891266c02445b6f05304f6ad2608e4da09f455.png"
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(User/* default */.Z, {})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: "section_3 flex-row",
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {

@ -219,6 +219,11 @@ button:active {
justify-content: flex-end;
align-items: center;
position: relative;
margin-right: 20px;
}
.search-bar___GkyTq [class*="icon-zhankai4"] {
color: #A4C8FC !important;
margin-left: 5px;
}
.search-bar___GkyTq a:hover {
color: #fff;
@ -229,6 +234,7 @@ button:active {
\*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.materials-wrp {
background: linear-gradient(180deg, #0b2d73 0%, #5463c5 100%);
min-height: 100vh;
}
.materials-wrp .section_1 {
width: 100%;
@ -943,8 +949,9 @@ button:active {
height: 38px;
background: url(/images/materials/SketchPng6f2e5fd0e72a4169bbab2ea0157c5a809969801babf95d2a8440829061275149.png) 100% no-repeat;
background-size: 100% 100%;
margin-left: 59px;
width: 135px;
margin-left: 10px;
width: auto !important;
padding: 0 20px;
display: inline-flex;
justify-content: center;
align-items: center;

@ -47,12 +47,65 @@
}
.search_params___fZdCk {
display: flex;
margin-top: 5px;
margin-right: 20px;
justify-content: space-between;
}
.search_params___fZdCk .search_params_left___V1ApO {
display: flex;
}
.search_params___fZdCk .search_params_right___CiSR1 {
display: flex;
}
.search_params___fZdCk .search___CWnRQ {
margin-left: 20px;
display: flex;
align-items: center;
overflow: hidden;
height: 38px;
width: 300px !important;
border: none;
}
.search_params___fZdCk .search___CWnRQ span[class~='ant-input-search-icon'] {
display: none;
}
.search_params___fZdCk .search___CWnRQ [class~='ant-input-affix-wrapper'] {
background: #17378A;
box-shadow: inset 0px 1px 3px 0px rgba(29, 29, 29, 0.5);
border-radius: 4px;
border: none;
}
.search_params___fZdCk .search___CWnRQ [class~='ant-input-affix-wrapper'] input {
background: none;
color: #90AAFF;
}
.search_params___fZdCk .search___CWnRQ [class~='ant-input-affix-wrapper'] input::-webkit-input-placeholder {
color: #90AAFF;
}
.search_params___fZdCk .search___CWnRQ [class~='ant-input-affix-wrapper'] {
outline: none !important;
border: none !important;
box-shadow: none !important;
}
.search_params___fZdCk .search___CWnRQ span[class~="ant-select-arrow"] {
color: rgba(255, 255, 255, 0.6) !important;
}
.search_params___fZdCk .search___CWnRQ span[class~='ant-input-group-addon'] {
display: none;
}
.search_params___fZdCk .search___CWnRQ .searchIcon___fXBwc {
margin-right: 0px;
cursor: pointer;
color: rgba(255, 255, 255, 0.6);
}
.search_params___fZdCk .search___CWnRQ input {
background-color: #f6f7f9;
}
.search_params___fZdCk [class~='ant-form-item'] [class~='ant-form-item-label'] {
text-align: right !important;
}
.search_params___fZdCk [class~='ant-form-item'] [class~='ant-form-item-label'] label {
color: #666 !important;
color: #90AAFF !important;
display: block !important;
height: 36px !important;
line-height: 36px !important;
@ -66,6 +119,13 @@
.search_params___fZdCk [class~='ant-select-selection-item'] {
line-height: 34px !important;
}
.search_params___fZdCk [class~="ant-select-selector"] {
background: #17378A !important;
box-shadow: inset 0px 1px 3px 0px rgba(29, 29, 29, 0.5) !important;
border-radius: 4px !important;
border: none !important;
color: #90AAFF;
}
.add_Data___eJpfM {
width: 60px;
height: 32px;

@ -36,7 +36,7 @@ var _react_17_0_2_react = __webpack_require__(59301);
var _umi_production_exports = __webpack_require__(88271);
;// CONCATENATED MODULE: ./src/pages/Materials/ItemAssetsList/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var ItemAssetsListmodules = ({"tabs_content":"tabs_content___nlFwP","header_div":"header_div___Jh1DK","search":"search___CWnRQ","searchIcon":"searchIcon___fXBwc","search_params":"search_params___fZdCk","add_Data":"add_Data___eJpfM","daoru_Data":"daoru_Data___piDwM","upload_modal":"upload_modal___KxO6A","modal_moban":"modal_moban___AyGUa","xiazai":"xiazai___c6mAR","modal_shangchuan":"modal_shangchuan___KKj_n","shangchuan":"shangchuan___tsjf2","geshi":"geshi___snpRc","redRow":"redRow___s7ujU","warehousing_add":"warehousing_add___Ec8xp"});
/* harmony default export */ var ItemAssetsListmodules = ({"tabs_content":"tabs_content___nlFwP","header_div":"header_div___Jh1DK","search":"search___CWnRQ","searchIcon":"searchIcon___fXBwc","search_params":"search_params___fZdCk","search_params_left":"search_params_left___V1ApO","search_params_right":"search_params_right___CiSR1","add_Data":"add_Data___eJpfM","daoru_Data":"daoru_Data___piDwM","upload_modal":"upload_modal___KxO6A","modal_moban":"modal_moban___AyGUa","xiazai":"xiazai___c6mAR","modal_shangchuan":"modal_shangchuan___KKj_n","shangchuan":"shangchuan___tsjf2","geshi":"geshi___snpRc","redRow":"redRow___s7ujU","warehousing_add":"warehousing_add___Ec8xp"});
// 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
@ -45,16 +45,14 @@ var tooltip = __webpack_require__(6848);
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/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__(36546);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/pagination/index.js + 10 modules
var pagination = __webpack_require__(19871);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input/index.js + 3 modules
var input = __webpack_require__(92832);
// EXTERNAL MODULE: ./src/service/laboratory.ts
var laboratory = __webpack_require__(39531);
// EXTERNAL MODULE: ./src/utils/util.tsx
@ -202,15 +200,15 @@ var Navigation = function Navigation(_ref) {
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
style: {
width: '90px',
height: '50px',
width: '48px',
height: '30px',
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",
lineHeight: "30px",
whiteSpace: 'nowrap',
overflow: 'hidden',
textOverflow: 'ellipsis'
@ -295,34 +293,33 @@ var Navigation = function Navigation(_ref) {
})
});
}
}, {
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: '所属实验室房间',
},
// {
// title: '型号规格',
// dataIndex: 'model',
// ellipsis: true,
// render: (text: string) => {
// return (
// <Tooltip placement="bottomLeft" title={text}>
// <span>{text || '--'}</span>
// </Tooltip>
// );
// },
// },
// {
// title: '所属实验室',
// dataIndex: 'classroom_titile',
// ellipsis: true,
// render: (text: string) => {
// return (
// <Tooltip placement="bottomLeft" title={text}>
// <span>{text || '--'}</span>
// </Tooltip>
// );
// },
// },
{
title: '所属实验室分室',
dataIndex: 'classroom_room_title',
ellipsis: true,
render: function render(text) {
@ -426,16 +423,6 @@ var Navigation = function Navigation(_ref) {
_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"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
color: "#165DFF",
cursor: "pointer",
marginLeft: "".concat(itemType == 1 ? '20px' : '0')
},
onClick: function onClick() {
setShowEditStatus(record);
},
children: "\u4FEE\u6539\u72B6\u6001"
})]
});
}
@ -766,168 +753,144 @@ var Navigation = function Navigation(_ref) {
};
}();
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: "mt20",
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);
className: ItemAssetsListmodules.search_params,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: ItemAssetsListmodules.search_params_left,
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$data7;
setRoomList([{
id: '',
title: '全部'
}].concat(toConsumableArray_default()(res === null || res === void 0 || (_res$data7 = res.data) === null || _res$data7 === void 0 ? void 0 : _res$data7.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'
},
onSearch: function onSearch(value) {
setkeyword(value);
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'
},
suffix: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-sousuo9 font14 ".concat(ItemAssetsListmodules.searchIcon),
onClick: function onClick() {
setkeyword(keyword);
getData(true);
}
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);
})
})
}), itemType == 1 && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: ItemAssetsListmodules.search_params_right,
children: itemType == 1 && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: ItemAssetsListmodules.add_Data,
className: "text-wrapper_4",
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,
className: "text-wrapper_4",
onClick: function onClick() {
setOpenUpload(true);
},
children: "\u5BFC\u5165"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: ItemAssetsListmodules.add_Data,
className: "text-wrapper_4",
onClick: function onClick() {
setWarehousingList([]);
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$data7;
setRoomList([{
id: '',
title: '全部'
}].concat(toConsumableArray_default()(res === null || res === void 0 || (_res$data7 = res.data) === null || _res$data7 === void 0 ? void 0 : _res$data7.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",
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "materials-table-wrp",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, {
style: {
marginLeft: 'auto'
marginTop: '-10px'
},
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;
pagination: false,
className: "materials-table",
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 '';
}
return '';
}
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("aside", {
className: "mr20",
children: total > 0 ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
display: 'flex',
alignItems: 'center',
justifyContent: 'space-between',
padding: '10px 7px 20px 7px'
padding: '10px 0 20px 7px'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
style: {
color: '#656F87'
color: '#c5d3f4'
},
children: ["\u5171", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "c-light-primary",

@ -33,7 +33,7 @@ var _react_17_0_2_react = __webpack_require__(59301);
var _umi_production_exports = __webpack_require__(88271);
;// CONCATENATED MODULE: ./src/pages/Materials/ItemAssetsType/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var ItemAssetsTypemodules = ({"header_div":"header_div___vIi6W","header_title":"header_title___N7Kkj","search":"search___V6do5","searchIcon":"searchIcon___R9Tr9","clear_Data":"clear_Data___w3xTH","formWrap":"formWrap___EfDnW"});
/* harmony default export */ var ItemAssetsTypemodules = ({"header_div":"header_div___vIi6W","header_title":"header_title___N7Kkj","search":"search___V6do5","searchIcon":"searchIcon___R9Tr9","formWrap":"formWrap___EfDnW","search_params":"search_params___rsBV4","search_params_left":"search_params_left___t7aC5"});
// 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
@ -246,54 +246,59 @@ var Navigation = function Navigation(_ref) {
};
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: ItemAssetsTypemodules.header_div,
className: ItemAssetsTypemodules.search_params,
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),
className: "flex1"
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: ItemAssetsTypemodules.search_params_left,
children: [/*#__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: "".concat(ItemAssetsTypemodules.clear_Data, " ml10 text-wrapper_4 flex-col"),
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"
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
className: "materials-table-wrp",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, {
pagination: false,
dataSource: tableData,
columns: columns,
className: "materials-table"
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("aside", {
className: "mr20",
children: total > 0 ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
display: 'flex',
alignItems: 'center',
justifyContent: 'space-between',
padding: '10px 7px 20px 7px'
padding: '10px 0 20px 7px'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
style: {
color: '#656F87'
color: '#c5d3f4'
},
children: ["\u5171", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "c-light-primary",

@ -47,24 +47,86 @@
.header_div___vIi6W .search___V6do5 input {
background-color: #f6f7f9;
}
.clear_Data___w3xTH {
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___EfDnW [class~='ant-form-item'] [class~='ant-form-item-label'] label {
height: 40px !important;
line-height: 40px !important;
}
.search_params___rsBV4 {
display: flex;
margin-top: 5px;
margin-right: 20px;
justify-content: space-between;
}
.search_params___rsBV4 .search_params_left___t7aC5 {
display: flex;
}
.search_params___rsBV4 .search___V6do5 {
margin-left: 20px;
display: flex;
align-items: center;
overflow: hidden;
height: 38px;
width: 300px !important;
border: none;
}
.search_params___rsBV4 .search___V6do5 span[class~='ant-input-search-icon'] {
display: none;
}
.search_params___rsBV4 .search___V6do5 [class~='ant-input-affix-wrapper'] {
background: #17378A;
box-shadow: inset 0px 1px 3px 0px rgba(29, 29, 29, 0.5);
border-radius: 4px;
border: none;
}
.search_params___rsBV4 .search___V6do5 [class~='ant-input-affix-wrapper'] input {
background: none;
color: #90AAFF;
}
.search_params___rsBV4 .search___V6do5 [class~='ant-input-affix-wrapper'] input::-webkit-input-placeholder {
color: #90AAFF;
}
.search_params___rsBV4 .search___V6do5 [class~='ant-input-affix-wrapper'] {
outline: none !important;
border: none !important;
box-shadow: none !important;
}
.search_params___rsBV4 .search___V6do5 span[class~="ant-select-arrow"] {
color: rgba(255, 255, 255, 0.6) !important;
}
.search_params___rsBV4 .search___V6do5 span[class~='ant-input-group-addon'] {
display: none;
}
.search_params___rsBV4 .search___V6do5 .searchIcon___R9Tr9 {
margin-right: 0px;
cursor: pointer;
color: rgba(255, 255, 255, 0.6);
}
.search_params___rsBV4 .search___V6do5 input {
background-color: #f6f7f9;
}
.search_params___rsBV4 [class~='ant-form-item'] [class~='ant-form-item-label'] {
text-align: right !important;
}
.search_params___rsBV4 [class~='ant-form-item'] [class~='ant-form-item-label'] label {
color: #90AAFF !important;
display: block !important;
height: 36px !important;
line-height: 36px !important;
}
.search_params___rsBV4 [class~='ant-select-selector'] {
height: 36px !important;
}
.search_params___rsBV4 [class~='ant-picker'] {
height: 36px !important;
}
.search_params___rsBV4 [class~='ant-select-selection-item'] {
line-height: 34px !important;
}
.search_params___rsBV4 [class~="ant-select-selector"] {
background: #17378A !important;
box-shadow: inset 0px 1px 3px 0px rgba(29, 29, 29, 0.5) !important;
border-radius: 4px !important;
border: none !important;
color: #90AAFF;
}

@ -673,7 +673,7 @@ var Navigation = function Navigation(_ref) {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
style: {
color: '#656F87'
color: '#c5d3f4'
},
children: ["\u5171", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "c-light-primary",

@ -58,7 +58,6 @@
}
.search_params___NeBae {
display: flex;
margin-bottom: 10px;
margin-top: 5px;
margin-right: 20px;
}

@ -46,21 +46,100 @@
.header_div___Wlpv4 .search___TCi9C input {
background-color: #f6f7f9;
}
.header_div___Wlpv4 [class~='ant-form-item'] [class~='ant-form-item-label'] {
.search_params___vCkVe {
display: flex;
margin-top: 5px;
margin-right: 20px;
justify-content: space-between;
}
.search_params___vCkVe .search_params_left___Fls67 {
display: flex;
}
.search_params___vCkVe .search___TCi9C {
margin-left: 20px;
display: flex;
align-items: center;
overflow: hidden;
height: 38px;
width: 300px !important;
border: none;
}
.search_params___vCkVe .search___TCi9C span[class~='ant-input-search-icon'] {
display: none;
}
.search_params___vCkVe .search___TCi9C [class~='ant-input-affix-wrapper'] {
background: #17378A;
box-shadow: inset 0px 1px 3px 0px rgba(29, 29, 29, 0.5);
border-radius: 4px;
border: none;
}
.search_params___vCkVe .search___TCi9C [class~='ant-input-affix-wrapper'] input {
background: none;
color: #90AAFF;
}
.search_params___vCkVe .search___TCi9C [class~='ant-input-affix-wrapper'] input::-webkit-input-placeholder {
color: #90AAFF;
}
.search_params___vCkVe .search___TCi9C [class~='ant-input-affix-wrapper'] {
outline: none !important;
border: none !important;
box-shadow: none !important;
}
.search_params___vCkVe .search___TCi9C span[class~="ant-select-arrow"] {
color: rgba(255, 255, 255, 0.6) !important;
}
.search_params___vCkVe .search___TCi9C span[class~='ant-input-group-addon'] {
display: none;
}
.search_params___vCkVe .search___TCi9C .searchIcon___aj2zp {
margin-right: 0px;
cursor: pointer;
color: rgba(255, 255, 255, 0.6);
}
.search_params___vCkVe .search___TCi9C input {
background-color: #f6f7f9;
}
.search_params___vCkVe [class~='ant-form-item'] [class~='ant-form-item-label'] {
text-align: right !important;
}
.header_div___Wlpv4 [class~='ant-form-item'] [class~='ant-form-item-label'] label {
color: #666 !important;
.search_params___vCkVe [class~='ant-form-item'] [class~='ant-form-item-label'] label {
color: #90AAFF !important;
display: block !important;
height: 36px !important;
line-height: 36px !important;
}
.header_div___Wlpv4 [class~='ant-select-selector'] {
.search_params___vCkVe [class~='ant-select-selector'] {
height: 36px !important;
}
.header_div___Wlpv4 [class~='ant-select-selection-item'] {
.search_params___vCkVe [class~='ant-picker'] {
height: 36px !important;
}
.search_params___vCkVe [class~='ant-select-selection-item'] {
line-height: 34px !important;
}
.search_params___vCkVe [class~="ant-select-selector"] {
background: #17378A !important;
box-shadow: inset 0px 1px 3px 0px rgba(29, 29, 29, 0.5) !important;
border-radius: 4px !important;
border: none !important;
color: #90AAFF;
}
.search_params___vCkVe .clear_Data___alPld {
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;
}
.clear_Data___alPld {
width: 130px;
height: 32px;
@ -118,6 +197,18 @@
margin-right: 6px;
font-size: 14px;
}
.pending___PArj0 {
color: #5B6292;
}
.approved___hbzpv {
color: #0BB74A;
}
.rejected___GOKcz {
color: #EE281B;
}
.canceled___oxDio {
color: #5B6292;
}
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Materials/Procure/ViewModal/index.less?modules ***!

@ -36,7 +36,7 @@ var _react_17_0_2_react = __webpack_require__(59301);
var _umi_production_exports = __webpack_require__(88271);
;// CONCATENATED MODULE: ./src/pages/Materials/MyProcure/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var MyProcuremodules = ({"header_div":"header_div___Wlpv4","header_title":"header_title___Ke5eh","search":"search___TCi9C","searchIcon":"searchIcon___aj2zp","clear_Data":"clear_Data___alPld","batch":"batch___AYgkR","btns":"btns___Hq8qk","btn":"btn___fFGnN"});
/* harmony default export */ var MyProcuremodules = ({"header_div":"header_div___Wlpv4","header_title":"header_title___Ke5eh","search":"search___TCi9C","searchIcon":"searchIcon___aj2zp","search_params":"search_params___vCkVe","search_params_left":"search_params_left___Fls67","clear_Data":"clear_Data___alPld","batch":"batch___AYgkR","btns":"btns___Hq8qk","btn":"btn___fFGnN","pending":"pending___PArj0","approved":"approved___hbzpv","rejected":"rejected___GOKcz","canceled":"canceled___oxDio"});
// 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
@ -170,6 +170,7 @@ var Navigation = function Navigation(_ref) {
placement: "bottomLeft",
title: statusType[text],
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: MyProcuremodules[text],
children: statusType[text]
})
});
@ -327,65 +328,66 @@ var Navigation = function Navigation(_ref) {
setLimit(size);
};
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: "mt20",
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: MyProcuremodules.header_div,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: MyProcuremodules.header_title,
children: "\u6211\u7684\u91C7\u8D2D\u7533\u8BF7"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
colon: false,
label: "\u7533\u8BF7\u5B9E\u9A8C\u5BA4",
style: {
marginLeft: 'auto'
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"], {
className: MyProcuremodules.search_params,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: MyProcuremodules.search_params_left,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
colon: false,
label: "\u7533\u8BF7\u5B9E\u9A8C\u5BA4",
style: {
width: 140
},
defaultValue: laboratory,
value: laboratory,
onChange: function onChange(e) {
setLaboratory(e);
marginLeft: 'auto'
},
children: laboratoryLists === null || laboratoryLists === void 0 ? void 0 : laboratoryLists.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);
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"], {
style: {
width: 240
},
defaultValue: laboratory,
value: laboratory,
onChange: function onChange(e) {
setLaboratory(e);
},
children: laboratoryLists === null || laboratoryLists === void 0 ? void 0 : laboratoryLists.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: '20px'
},
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_select["default"], {
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
colon: false,
label: "\u72B6\u6001",
style: {
width: 120
},
defaultValue: status,
value: status,
onChange: function onChange(e) {
setStatus(e);
marginLeft: '20px'
},
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: "\u5DF2\u540C\u610F"
}), /*#__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"
})]
})
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_select["default"], {
style: {
width: 240
},
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: "\u5DF2\u540C\u610F"
}), /*#__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)(input/* default */.Z.Search, {
placeholder: "\u8BF7\u8F93\u5165\u7533\u8D2D\u7F16\u53F7\u641C\u7D22",
size: "large",
@ -406,23 +408,26 @@ var Navigation = function Navigation(_ref) {
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: MyProcuremodules.search_params
}), /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, {
pagination: false,
dataSource: tableData,
columns: columns
className: "materials-table-wrp",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, {
pagination: false,
dataSource: tableData,
columns: columns,
className: "materials-table"
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("aside", {
className: "mr20",
children: total > 0 ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
display: 'flex',
alignItems: 'center',
justifyContent: 'space-between',
padding: '10px 7px 20px 7px'
padding: '10px 0 20px 7px'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
style: {
color: '#656F87'
color: '#c5d3f4'
},
children: ["\u5171", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "c-light-primary",

@ -366,7 +366,7 @@ var _react_17_0_2_react = __webpack_require__(59301);
var _umi_production_exports = __webpack_require__(88271);
;// CONCATENATED MODULE: ./src/pages/Materials/MyReceive/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var MyReceivemodules = ({"header_div":"header_div___g5aU4","header_title":"header_title___bmMQ4","search":"search___vPJxM","searchIcon":"searchIcon___HIsg6","search_params":"search_params___F7Qdj","clear_Data":"clear_Data___wZkTY","content_list":"content_list___HLLIu","content":"content___AzXhj","content_img":"content_img___aIwBi","content_id":"content_id___FxUBi","content_name":"content_name___Amhwa","content_params":"content_params___koB_B","redRow":"redRow___o7s8E"});
/* harmony default export */ var MyReceivemodules = ({"header_div":"header_div___g5aU4","header_title":"header_title___bmMQ4","search":"search___vPJxM","searchIcon":"searchIcon___HIsg6","search_params":"search_params___F7Qdj","clear_Data":"clear_Data___wZkTY","content_list":"content_list___HLLIu","content":"content___AzXhj","content_img":"content_img___aIwBi","content_id":"content_id___FxUBi","content_name":"content_name___Amhwa","content_params":"content_params___koB_B","redRow":"redRow___o7s8E","pending":"pending___AVnqP","approved":"approved___WmA03","rejected":"rejected___oSmDb","canceled":"canceled___LX0Ba","returned":"returned___OAPst","shipped":"shipped___aE8ld"});
// 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
@ -497,6 +497,7 @@ var Navigation = function Navigation(_ref) {
var columns = [{
title: '申请原因',
dataIndex: 'reason',
width: "12%",
ellipsis: true,
render: function render(text) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
@ -509,6 +510,7 @@ var Navigation = function Navigation(_ref) {
}
}, {
title: '申请实验室',
width: "12%",
dataIndex: 'classroom_title',
ellipsis: true,
render: function render(text) {
@ -524,11 +526,13 @@ var Navigation = function Navigation(_ref) {
title: '状态',
dataIndex: 'status',
ellipsis: true,
width: "10%",
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", {
className: MyReceivemodules[text],
children: statusType[text]
})
});
@ -536,6 +540,7 @@ var Navigation = function Navigation(_ref) {
}, {
title: '使用时间',
dataIndex: 'apply_time',
width: "15%",
ellipsis: true,
render: function render(text, record) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
@ -560,6 +565,7 @@ var Navigation = function Navigation(_ref) {
}
}, {
title: '使用实验室分室',
width: "18%",
dataIndex: 'classroom_place_title',
ellipsis: true,
render: function render(text) {
@ -586,6 +592,7 @@ var Navigation = function Navigation(_ref) {
// },
{
title: '申请时间',
width: "15%",
dataIndex: 'apply_time',
ellipsis: true,
render: function render(text, record) {
@ -600,7 +607,7 @@ var Navigation = function Navigation(_ref) {
}, {
title: '操作',
ellipsis: true,
width: 200,
// width: 200,
render: function render(text, record) {
return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
@ -751,20 +758,15 @@ var Navigation = function Navigation(_ref) {
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"
})
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: "mt20",
children: [/*#__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
width: "100%"
},
defaultValue: laboratorySq,
value: laboratorySq,
@ -780,49 +782,10 @@ var Navigation = function Navigation(_ref) {
})
}), /*#__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'
},
label: "\u4F7F\u7528\u5B9E\u9A8C\u5BA4\u5206\u5BA4",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"], {
style: {
width: 100
width: "100%"
},
defaultValue: laboratoryRoom,
value: laboratoryRoom,
@ -839,12 +802,9 @@ var Navigation = function Navigation(_ref) {
}), /*#__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
width: "100%"
},
defaultValue: status,
value: status,
@ -874,12 +834,9 @@ var Navigation = function Navigation(_ref) {
}), /*#__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
width: "100%"
},
defaultValue: overdue,
value: overdue,
@ -898,33 +855,36 @@ var Navigation = function Navigation(_ref) {
})]
})
})]
}), (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)("div", {
className: "materials-table-wrp",
children: (tableData === null || tableData === void 0 ? void 0 : tableData.length) > 0 ? /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, {
pagination: false,
dataSource: tableData,
columns: columns,
className: "materials-table"
// 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", {
className: "mr20",
children: total > 0 ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
display: 'flex',
alignItems: 'center',
justifyContent: 'space-between',
padding: '10px 7px 20px 7px'
padding: '10px 0px 20px 7px'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
style: {
color: '#656F87'
color: '#c5d3f4'
},
children: ["\u5171", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "c-light-primary",

@ -49,12 +49,63 @@
}
.search_params___F7Qdj {
display: flex;
margin-top: 5px;
margin-right: 20px;
justify-content: space-between;
}
.search_params___F7Qdj > div {
width: 23%;
margin-right: 2%;
}
.search_params___F7Qdj .search___vPJxM {
margin-left: 20px;
display: flex;
align-items: center;
overflow: hidden;
height: 38px;
width: 300px !important;
border: none;
}
.search_params___F7Qdj .search___vPJxM span[class~='ant-input-search-icon'] {
display: none;
}
.search_params___F7Qdj .search___vPJxM [class~='ant-input-affix-wrapper'] {
background: #17378A;
box-shadow: inset 0px 1px 3px 0px rgba(29, 29, 29, 0.5);
border-radius: 4px;
border: none;
}
.search_params___F7Qdj .search___vPJxM [class~='ant-input-affix-wrapper'] input {
background: none;
color: #90AAFF;
}
.search_params___F7Qdj .search___vPJxM [class~='ant-input-affix-wrapper'] input::-webkit-input-placeholder {
color: #90AAFF;
}
.search_params___F7Qdj .search___vPJxM [class~='ant-input-affix-wrapper'] {
outline: none !important;
border: none !important;
box-shadow: none !important;
}
.search_params___F7Qdj .search___vPJxM span[class~="ant-select-arrow"] {
color: rgba(255, 255, 255, 0.6) !important;
}
.search_params___F7Qdj .search___vPJxM span[class~='ant-input-group-addon'] {
display: none;
}
.search_params___F7Qdj .search___vPJxM .searchIcon___HIsg6 {
margin-right: 0px;
cursor: pointer;
color: rgba(255, 255, 255, 0.6);
}
.search_params___F7Qdj .search___vPJxM input {
background-color: #f6f7f9;
}
.search_params___F7Qdj [class~='ant-form-item'] [class~='ant-form-item-label'] {
text-align: right !important;
}
.search_params___F7Qdj [class~='ant-form-item'] [class~='ant-form-item-label'] label {
color: #666 !important;
color: #90AAFF !important;
display: block !important;
height: 36px !important;
line-height: 36px !important;
@ -68,6 +119,13 @@
.search_params___F7Qdj [class~='ant-select-selection-item'] {
line-height: 34px !important;
}
.search_params___F7Qdj [class~="ant-select-selector"] {
background: #17378A !important;
box-shadow: inset 0px 1px 3px 0px rgba(29, 29, 29, 0.5) !important;
border-radius: 4px !important;
border: none !important;
color: #90AAFF;
}
.search_params___F7Qdj .clear_Data___wZkTY {
width: 60px;
height: 32px;
@ -146,6 +204,24 @@
.redRow___o7s8E {
color: #E30000;
}
.pending___AVnqP {
color: #E57E0C;
}
.approved___WmA03 {
color: #E57E0C;
}
.rejected___oSmDb {
color: #E30000;
}
.canceled___LX0Ba {
color: #999;
}
.returned___OAPst {
color: #03A781;
}
.shipped___aE8ld {
color: #2269DC;
}
/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Materials/MyReceive/ViewModal/index.less?modules ***!

@ -420,7 +420,7 @@ var _react_17_0_2_react = __webpack_require__(59301);
var _umi_production_exports = __webpack_require__(88271);
;// CONCATENATED MODULE: ./src/pages/Materials/Procure/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var Procuremodules = ({"header_div":"header_div___PjEvU","header_title":"header_title___SdPR7","search":"search___nzx2s","searchIcon":"searchIcon___ylZqz","clear_Data":"clear_Data___SstH8","batch":"batch___E8ElC","btns":"btns___NozFY","btn":"btn___rcu07"});
/* harmony default export */ var Procuremodules = ({"header_div":"header_div___PjEvU","header_title":"header_title___SdPR7","search":"search___nzx2s","searchIcon":"searchIcon___ylZqz","clear_Data":"clear_Data___SstH8","batch":"batch___E8ElC","btns":"btns___NozFY","btn":"btn___rcu07","search_params":"search_params___HMYQH","search_params_left":"search_params_left___SEB7n","search_params_right":"search_params_right___kJMw7"});
// 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/message/index.js + 4 modules
@ -841,12 +841,10 @@ var Navigation = function Navigation(_ref) {
setLimit(size);
};
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: "mt20",
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Procuremodules.header_div,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Procuremodules.header_title,
children: "\u91C7\u8D2D\u7533\u8BF7\u7BA1\u7406"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
className: Procuremodules.search_params,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
colon: false,
label: "\u7533\u8BF7\u5B9E\u9A8C\u5BA4",
style: {
@ -920,23 +918,26 @@ var Navigation = function Navigation(_ref) {
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Procuremodules.search_params
}), /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, {
pagination: false,
dataSource: tableData,
columns: columns
className: "materials-table-wrp",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, {
pagination: false,
dataSource: tableData,
columns: columns,
className: "materials-table"
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("aside", {
className: "mr20",
children: total > 0 ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
display: 'flex',
alignItems: 'center',
justifyContent: 'space-between',
padding: '10px 7px 20px 7px'
padding: '10px 0 20px 7px'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
style: {
color: '#656F87'
color: '#c5d3f4'
},
children: ["\u5171", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "c-light-primary",

@ -118,6 +118,87 @@
margin-right: 6px;
font-size: 14px;
}
.search_params___HMYQH {
display: flex;
margin-top: 5px;
margin-right: 20px;
justify-content: space-between;
}
.search_params___HMYQH .search_params_left___SEB7n {
display: flex;
}
.search_params___HMYQH .search_params_right___kJMw7 {
display: flex;
}
.search_params___HMYQH .search___nzx2s {
margin-left: 20px;
display: flex;
align-items: center;
overflow: hidden;
height: 38px;
width: 300px !important;
border: none;
}
.search_params___HMYQH .search___nzx2s span[class~='ant-input-search-icon'] {
display: none;
}
.search_params___HMYQH .search___nzx2s [class~='ant-input-affix-wrapper'] {
background: #17378A;
box-shadow: inset 0px 1px 3px 0px rgba(29, 29, 29, 0.5);
border-radius: 4px;
border: none;
}
.search_params___HMYQH .search___nzx2s [class~='ant-input-affix-wrapper'] input {
background: none;
color: #90AAFF;
}
.search_params___HMYQH .search___nzx2s [class~='ant-input-affix-wrapper'] input::-webkit-input-placeholder {
color: #90AAFF;
}
.search_params___HMYQH .search___nzx2s [class~='ant-input-affix-wrapper'] {
outline: none !important;
border: none !important;
box-shadow: none !important;
}
.search_params___HMYQH .search___nzx2s span[class~="ant-select-arrow"] {
color: rgba(255, 255, 255, 0.6) !important;
}
.search_params___HMYQH .search___nzx2s span[class~='ant-input-group-addon'] {
display: none;
}
.search_params___HMYQH .search___nzx2s .searchIcon___ylZqz {
margin-right: 0px;
cursor: pointer;
color: rgba(255, 255, 255, 0.6);
}
.search_params___HMYQH .search___nzx2s input {
background-color: #f6f7f9;
}
.search_params___HMYQH [class~='ant-form-item'] [class~='ant-form-item-label'] {
text-align: right !important;
}
.search_params___HMYQH [class~='ant-form-item'] [class~='ant-form-item-label'] label {
color: #90AAFF !important;
display: block !important;
height: 36px !important;
line-height: 36px !important;
}
.search_params___HMYQH [class~='ant-select-selector'] {
height: 36px !important;
}
.search_params___HMYQH [class~='ant-picker'] {
height: 36px !important;
}
.search_params___HMYQH [class~='ant-select-selection-item'] {
line-height: 34px !important;
}
.search_params___HMYQH [class~="ant-select-selector"] {
background: #17378A !important;
box-shadow: inset 0px 1px 3px 0px rgba(29, 29, 29, 0.5) !important;
border-radius: 4px !important;
border: none !important;
color: #90AAFF;
}
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Materials/Procure/ViewModal/index.less?modules ***!

@ -411,7 +411,7 @@ var _react_17_0_2_react = __webpack_require__(59301);
var _umi_production_exports = __webpack_require__(88271);
;// CONCATENATED MODULE: ./src/pages/Materials/Receive/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var Receivemodules = ({"header_div":"header_div___TOAuG","header_title":"header_title___F8Sfr","search":"search___O4Fzu","searchIcon":"searchIcon___TKYCf","search_params":"search_params___Y4euP","clear_Data":"clear_Data___J551Y","content_list":"content_list___ECJV2","content":"content___yWTqD","content_img":"content_img___rNbMV","content_name":"content_name___t7yID","content_title":"content_title___vYgzf","content_params":"content_params___fykDl","redRow":"redRow___wuTvA","warehousing_add":"warehousing_add___haNAS","titleWrap":"titleWrap___f_KoQ"});
/* harmony default export */ var Receivemodules = ({"header_div":"header_div___TOAuG","header_title":"header_title___F8Sfr","search":"search___O4Fzu","searchIcon":"searchIcon___TKYCf","search_params":"search_params___Y4euP","search_params_left":"search_params_left___Xl4Vf","search_params_right":"search_params_right___X61pD","clear_Data":"clear_Data___J551Y","content_list":"content_list___ECJV2","content":"content___yWTqD","content_img":"content_img___rNbMV","content_name":"content_name___t7yID","content_title":"content_title___vYgzf","content_params":"content_params___fykDl","redRow":"redRow___wuTvA","warehousing_add":"warehousing_add___haNAS","titleWrap":"titleWrap___f_KoQ"});
// 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/message/index.js + 4 modules
@ -420,10 +420,10 @@ var message = __webpack_require__(8591);
var es_form = __webpack_require__(78241);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/modal/index.js + 16 modules
var modal = __webpack_require__(43418);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/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/input/index.js + 3 modules
var input = __webpack_require__(92832);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/table/index.js + 85 modules
var table = __webpack_require__(36546);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/pagination/index.js + 10 modules
@ -831,34 +831,34 @@ var Navigation = function Navigation(_ref) {
});
}
}, {
title: '角色',
dataIndex: 'user_role',
title: 'IP地址',
dataIndex: 'ip',
ellipsis: true,
render: function render(text) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
placement: "bottomLeft",
title: text == 'teacher' ? '教员' : '学员',
title: text,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: text == 'teacher' ? '教员' : '学员'
children: text || '--'
})
});
}
}, {
title: '手机号',
dataIndex: 'phone',
title: '人员类别',
dataIndex: 'user_role',
ellipsis: true,
render: function render(text) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
placement: "bottomLeft",
title: text,
title: text == 'teacher' ? '教员' : '学员',
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: text || '--'
children: text == 'teacher' ? '教员' : '学员'
})
});
}
}, {
title: '申请原因',
dataIndex: 'reason',
title: '手机号',
dataIndex: 'phone',
ellipsis: true,
render: function render(text) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
@ -870,19 +870,32 @@ var Navigation = function Navigation(_ref) {
});
}
}, {
title: '申请实验室',
dataIndex: 'classroom_title',
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
children: text || '--'
})
});
}
}, {
},
// {
// title: '申请实验室',
// dataIndex: 'classroom_title',
// ellipsis: true,
// render: (text: string) => {
// return (
// <Tooltip placement="bottomLeft" title={text}>
// <span>{text}</span>
// </Tooltip>
// );
// },
// },
{
title: '状态',
dataIndex: 'status',
ellipsis: true,
@ -896,9 +909,10 @@ var Navigation = function Navigation(_ref) {
});
}
}, {
title: '使用时间',
title: '预约时间',
dataIndex: 'apply_time',
ellipsis: true,
width: 130,
render: function render(text, record) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
placement: "bottomLeft",
@ -920,14 +934,17 @@ var Navigation = function Navigation(_ref) {
})
});
}
}, {
title: '使用实验室',
dataIndex: 'classroom_place_title',
ellipsis: true
}, {
title: '使用实验室房间',
},
// {
// title: '使用实验室',
// dataIndex: 'classroom_place_title',
// ellipsis: true,
// },
{
title: '使用实验室分室',
dataIndex: 'place_title',
ellipsis: true,
width: 140,
render: function render(text) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
placement: "bottomLeft",
@ -938,22 +955,22 @@ var Navigation = function Navigation(_ref) {
});
}
}, {
title: '申请时间',
dataIndex: 'apply_time',
title: '审核人',
dataIndex: 'review_user_name',
ellipsis: true,
render: function render(text) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
placement: "bottomLeft",
title: text ? dayjs_min_default()(text).format('YYYY-MM-DD HH:mm') : '--',
title: text ? text : '--',
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: text ? dayjs_min_default()(text).format('YYYY-MM-DD HH:mm') : '--'
children: text ? text : '--'
})
});
}
}, {
title: '操作',
ellipsis: true,
width: 300,
width: 200,
render: function render(text, record) {
return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
@ -1344,16 +1361,95 @@ var Navigation = function Navigation(_ref) {
};
}();
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: "mt20",
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Receivemodules.header_div,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Receivemodules.header_title,
children: "\u9886\u7528\u7533\u8BF7\u7BA1\u7406"
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
display: 'flex'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z.Search, {
className: Receivemodules.search_params,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Receivemodules.search_params_left,
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: 120
},
defaultValue: laboratorySq,
value: laboratorySq,
onChange: function onChange(e) {
setLaboratorySq(e);
},
children: laboratorys === null || laboratorys === void 0 ? void 0 : laboratorys.map(function (item, index) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"].Option, {
value: item === null || item === void 0 ? void 0 : item.id,
children: item === null || item === void 0 ? void 0 : item.title
}, index);
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
colon: false,
label: "\u72B6\u6001",
style: {
marginLeft: '20px'
},
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_select["default"], {
style: {
width: 120
},
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_select["default"].Option, {
value: "6",
children: "\u5F85\u51FA\u5E93"
})]
})
}), /*#__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: 120
},
defaultValue: overdue,
value: overdue,
onChange: function onChange(e) {
setOverdue(e);
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"].Option, {
value: "",
children: "\u5168\u90E8"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"].Option, {
value: "1",
children: "\u662F"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"].Option, {
value: "0",
children: "\u5426"
})]
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z.Search, {
placeholder: "\u8BF7\u8F93\u5165\u7533\u8BF7\u4EBA/\u624B\u673A\u53F7\u8FDB\u884C\u641C\u7D22",
size: "large",
className: Receivemodules.search,
@ -1371,114 +1467,32 @@ var Navigation = function Navigation(_ref) {
getData(true);
}
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Receivemodules.clear_Data,
style: {
width: '116px',
marginLeft: '20px'
},
onClick: function onClick() {
_umi_production_exports.history.push("/materials/itemAssets/AddReceiveScene/null?backUrl=/materials/receive");
},
children: "\u73B0\u573A\u7533\u9886"
})]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Receivemodules.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: 120
},
defaultValue: laboratorySq,
value: laboratorySq,
onChange: function onChange(e) {
setLaboratorySq(e);
},
children: laboratorys === null || laboratorys === void 0 ? void 0 : laboratorys.map(function (item, index) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"].Option, {
value: item === null || item === void 0 ? void 0 : item.id,
children: item === null || item === void 0 ? void 0 : item.title
}, index);
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
colon: false,
label: "\u72B6\u6001",
style: {
marginLeft: 'auto'
},
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_select["default"], {
style: {
width: 120
},
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_select["default"].Option, {
value: "6",
children: "\u5F85\u51FA\u5E93"
})]
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
colon: false,
label: "\u662F\u5426\u903E\u671F\u5F52\u8FD8",
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "text-wrapper_4 ",
style: {
width: '116px',
marginLeft: '20px'
},
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_select["default"], {
style: {
width: 120
},
defaultValue: overdue,
value: overdue,
onChange: function onChange(e) {
setOverdue(e);
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"].Option, {
value: "",
children: "\u5168\u90E8"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"].Option, {
value: "1",
children: "\u662F"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"].Option, {
value: "0",
children: "\u5426"
})]
})
onClick: function onClick() {
_umi_production_exports.history.push("/materials/itemAssets/AddReceiveScene/null?backUrl=/materials/receive");
},
children: "\u73B0\u573A\u7533\u9886"
})]
}), (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
}
}) : /*#__PURE__*/(0,jsx_runtime.jsx)(NoData/* default */.Z, {
customText: "\u6682\u65E0\u6570\u636E"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "materials-table-wrp",
children: (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 }}
,
className: "materials-table"
}) : /*#__PURE__*/(0,jsx_runtime.jsx)(NoData/* default */.Z, {
customText: "\u6682\u65E0\u6570\u636E"
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("aside", {
className: "mr20",
children: total > 0 ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
display: 'flex',
@ -1489,7 +1503,7 @@ var Navigation = function Navigation(_ref) {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
style: {
color: '#656F87'
color: '#c5d3f4'
},
children: ["\u5171", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "c-light-primary",

@ -50,12 +50,65 @@
}
.search_params___Y4euP {
display: flex;
margin-top: 5px;
margin-right: 20px;
justify-content: space-between;
}
.search_params___Y4euP .search_params_left___Xl4Vf {
display: flex;
}
.search_params___Y4euP .search_params_right___X61pD {
display: flex;
}
.search_params___Y4euP .search___O4Fzu {
margin-left: 20px;
display: flex;
align-items: center;
overflow: hidden;
height: 38px;
width: 300px !important;
border: none;
}
.search_params___Y4euP .search___O4Fzu span[class~='ant-input-search-icon'] {
display: none;
}
.search_params___Y4euP .search___O4Fzu [class~='ant-input-affix-wrapper'] {
background: #17378A;
box-shadow: inset 0px 1px 3px 0px rgba(29, 29, 29, 0.5);
border-radius: 4px;
border: none;
}
.search_params___Y4euP .search___O4Fzu [class~='ant-input-affix-wrapper'] input {
background: none;
color: #90AAFF;
}
.search_params___Y4euP .search___O4Fzu [class~='ant-input-affix-wrapper'] input::-webkit-input-placeholder {
color: #90AAFF;
}
.search_params___Y4euP .search___O4Fzu [class~='ant-input-affix-wrapper'] {
outline: none !important;
border: none !important;
box-shadow: none !important;
}
.search_params___Y4euP .search___O4Fzu span[class~="ant-select-arrow"] {
color: rgba(255, 255, 255, 0.6) !important;
}
.search_params___Y4euP .search___O4Fzu span[class~='ant-input-group-addon'] {
display: none;
}
.search_params___Y4euP .search___O4Fzu .searchIcon___TKYCf {
margin-right: 0px;
cursor: pointer;
color: rgba(255, 255, 255, 0.6);
}
.search_params___Y4euP .search___O4Fzu input {
background-color: #f6f7f9;
}
.search_params___Y4euP [class~='ant-form-item'] [class~='ant-form-item-label'] {
text-align: right !important;
}
.search_params___Y4euP [class~='ant-form-item'] [class~='ant-form-item-label'] label {
color: #666 !important;
color: #90AAFF !important;
display: block !important;
height: 36px !important;
line-height: 36px !important;
@ -69,6 +122,13 @@
.search_params___Y4euP [class~='ant-select-selection-item'] {
line-height: 34px !important;
}
.search_params___Y4euP [class~="ant-select-selector"] {
background: #17378A !important;
box-shadow: inset 0px 1px 3px 0px rgba(29, 29, 29, 0.5) !important;
border-radius: 4px !important;
border: none !important;
color: #90AAFF;
}
.clear_Data___J551Y {
width: 102px;
height: 32px;

@ -12926,6 +12926,52 @@ p {
-webkit-padding-end: 24px;
padding-inline-end: 24px;
}
.materials-table-wrp {
background: #B2BDF9;
border-radius: 4px;
padding: 20px;
margin-right: 20px;
}
.materials-table .ant-table {
background: none !important;
}
.materials-table .ant-table-thead {
background: linear-gradient(180deg, #355EBB 0%, #2737A7 100%) !important;
border: 1px solid !important;
border-image: linear-gradient(360deg, #4695e6, #5f9ae8) 1 1 !important;
height: 48px !important;
}
.materials-table .ant-table-thead th {
background: linear-gradient(180deg, #355EBB 0%, #2737A7 100%) !important;
border: 1px solid !important;
border-right: none !important;
border-left: none !important;
border-image: linear-gradient(360deg, rgba(70, 149, 230, 0.3), rgba(95, 154, 232, 0.3)) 1 1 !important;
height: 48px !important;
margin-left: -1px;
color: #FFF !important;
}
.materials-table .ant-table-thead th::before {
display: none;
}
.materials-table .ant-table-thead th:nth-child(1) {
border-left: 1px solid !important;
border-image: linear-gradient(360deg, rgba(70, 149, 230, 0.3), rgba(95, 154, 232, 0.3)) 1 1 !important;
}
.materials-table .ant-table-thead th:nth-last-child(1) {
border-right: 1px solid !important;
border-image: linear-gradient(360deg, rgba(70, 149, 230, 0.3), rgba(95, 154, 232, 0.3)) 1 1 !important;
}
.materials-table .ant-table-tbody tr {
background: #FFF;
}
.materials-table .ant-table-tbody tr:nth-child(1) td {
border-top: 10px #B2BDF9 solid !important;
}
.materials-table .ant-table-tbody tr td {
border-bottom: 10px #B2BDF9 solid !important;
color: #17265F !important;
}
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/styles/base.less ***!

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