parent
d58c26c1c8
commit
9c7939d548
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,244 +0,0 @@
|
||||
"use strict";
|
||||
(self["webpackChunk"] = self["webpackChunk"] || []).push([[83105],{
|
||||
|
||||
/***/ 92455:
|
||||
/*!***************************************************************!*\
|
||||
!*** ./src/pages/Laboratory/RuleManage/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 */ RuleManage; }
|
||||
});
|
||||
|
||||
// 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: ./src/.umi-production/exports.ts
|
||||
var _umi_production_exports = __webpack_require__(44742);
|
||||
;// CONCATENATED MODULE: ./src/pages/Laboratory/RuleManage/index.less?modules
|
||||
// extracted by mini-css-extract-plugin
|
||||
/* harmony default export */ var RuleManagemodules = ({"header_div":"header_div___XOym1","header_title":"header_title___b7ULG","search":"search___Jidug","searchIcon":"searchIcon___xYf0U","search_params":"search_params___JYYl3","clear_Data":"clear_Data___v1Ycl"});
|
||||
// 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 + 5 modules
|
||||
var input = __webpack_require__(60231);
|
||||
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/table/index.js + 85 modules
|
||||
var table = __webpack_require__(17341);
|
||||
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/pagination/index.js + 10 modules
|
||||
var pagination = __webpack_require__(42288);
|
||||
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
|
||||
var jsx_runtime = __webpack_require__(37712);
|
||||
;// CONCATENATED MODULE: ./src/pages/Laboratory/RuleManage/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),
|
||||
inputValue = _useState2[0],
|
||||
setInputValue = _useState2[1];
|
||||
var _useState3 = (0,_react_17_0_2_react.useState)(),
|
||||
_useState4 = slicedToArray_default()(_useState3, 2),
|
||||
keyword = _useState4[0],
|
||||
setkeyword = _useState4[1];
|
||||
|
||||
//预约数据
|
||||
var _useState5 = (0,_react_17_0_2_react.useState)([{}]),
|
||||
_useState6 = slicedToArray_default()(_useState5, 2),
|
||||
tableData = _useState6[0],
|
||||
setTableData = _useState6[1];
|
||||
var columns = [{
|
||||
title: '规则名称',
|
||||
dataIndex: 'student_number1',
|
||||
ellipsis: true,
|
||||
render: function render(text) {
|
||||
return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
|
||||
placement: "bottom",
|
||||
title: text,
|
||||
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
||||
children: text || '--'
|
||||
})
|
||||
});
|
||||
}
|
||||
}, {
|
||||
title: '创建人',
|
||||
dataIndex: 'student_number2',
|
||||
ellipsis: true,
|
||||
render: function render(text) {
|
||||
return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
|
||||
placement: "bottom",
|
||||
title: text,
|
||||
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
||||
children: text || '--'
|
||||
})
|
||||
});
|
||||
}
|
||||
}, {
|
||||
title: '状态',
|
||||
dataIndex: 'student_number4',
|
||||
ellipsis: true,
|
||||
render: function render(text) {
|
||||
return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
|
||||
placement: "bottom",
|
||||
title: text,
|
||||
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
||||
children: text || '--'
|
||||
})
|
||||
});
|
||||
}
|
||||
}, {
|
||||
title: '操作',
|
||||
dataIndex: 'student_number9',
|
||||
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"
|
||||
},
|
||||
children: "\u7F16\u8F91"
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
||||
style: {
|
||||
color: "#165DFF",
|
||||
marginLeft: "10px",
|
||||
cursor: "pointer"
|
||||
},
|
||||
children: "\u5220\u9664"
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
||||
style: {
|
||||
color: "#165DFF",
|
||||
marginLeft: "10px",
|
||||
cursor: "pointer"
|
||||
},
|
||||
children: "\u516C\u5F00"
|
||||
})]
|
||||
});
|
||||
}
|
||||
}];
|
||||
|
||||
//分页
|
||||
var _useState7 = (0,_react_17_0_2_react.useState)(100),
|
||||
_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)(false),
|
||||
_useState14 = slicedToArray_default()(_useState13, 2),
|
||||
isLoading = _useState14[0],
|
||||
setIsLoading = _useState14[1];
|
||||
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: RuleManagemodules.header_div,
|
||||
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
||||
className: RuleManagemodules.header_title,
|
||||
children: "\u9884\u7EA6\u89C4\u5219"
|
||||
})
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
||||
className: RuleManagemodules.search_params,
|
||||
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z.Search, {
|
||||
placeholder: "\u8BF7\u8F93\u5165\u5B9E\u9A8C\u5BA4\u4E2D\u5FC3\u540D\u79F0/\u8D1F\u8D23\u4EBA\u59D3\u540D\u641C\u7D22",
|
||||
size: "large",
|
||||
className: RuleManagemodules.search,
|
||||
value: inputValue,
|
||||
onChange: function onChange(e) {
|
||||
if (e.target.value) {
|
||||
setInputValue(e.target.value);
|
||||
} else {
|
||||
setkeyword(e.target.value);
|
||||
setInputValue(e.target.value);
|
||||
}
|
||||
},
|
||||
onSearch: function onSearch(value) {
|
||||
setkeyword(value);
|
||||
},
|
||||
suffix: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
|
||||
className: "iconfont icon-sousuo9 font14 ".concat(RuleManagemodules.searchIcon),
|
||||
onClick: function onClick() {
|
||||
return setkeyword(inputValue);
|
||||
}
|
||||
})
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
||||
className: RuleManagemodules.clear_Data,
|
||||
style: {
|
||||
marginLeft: "auto"
|
||||
},
|
||||
children: "\u65B0\u5EFA\u89C4\u5219"
|
||||
})]
|
||||
}), /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, {
|
||||
loading: isLoading,
|
||||
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
|
||||
})]
|
||||
}) : ''
|
||||
})]
|
||||
});
|
||||
};
|
||||
/* harmony default export */ var RuleManage = ((0,_umi_production_exports.connect)(function (_ref2) {
|
||||
var loading = _ref2.loading,
|
||||
engineeringNavigtion = _ref2.engineeringNavigtion;
|
||||
return objectSpread2_default()({
|
||||
loading: loading
|
||||
}, engineeringNavigtion);
|
||||
})(Navigation));
|
||||
|
||||
/***/ })
|
||||
|
||||
}]);
|
||||
@ -0,0 +1,145 @@
|
||||
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** 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.1.2@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.1.2@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Laboratory/RuleManage/index.less?modules ***!
|
||||
\**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
.header_div___XOym1 {
|
||||
display: flex;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
.header_div___XOym1 .header_title___b7ULG {
|
||||
height: 38px;
|
||||
font-size: 16px;
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 500;
|
||||
color: #000000;
|
||||
line-height: 38px;
|
||||
}
|
||||
.search___Jidug {
|
||||
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;
|
||||
}
|
||||
.search___Jidug span[class~='ant-input-search-icon'] {
|
||||
display: none;
|
||||
}
|
||||
.search___Jidug [class~='ant-input-affix-wrapper'] {
|
||||
background-color: #f6f7f9;
|
||||
border: none;
|
||||
}
|
||||
.search___Jidug [class~='ant-input-affix-wrapper'] {
|
||||
outline: none !important;
|
||||
border: none !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
.search___Jidug span[class~='ant-input-group-addon'] {
|
||||
display: none;
|
||||
}
|
||||
.search___Jidug .searchIcon___xYf0U {
|
||||
margin-right: 14px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.search___Jidug input {
|
||||
background-color: #f6f7f9;
|
||||
}
|
||||
.clear_Data___v1Ycl {
|
||||
width: 114px;
|
||||
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;
|
||||
}
|
||||
|
||||
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** 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.1.2@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.1.2@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Laboratory/RuleManage/components/CustomRules/index.less?modules ***!
|
||||
\*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
.weekDay___onEh4 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
height: 30px;
|
||||
border: 1px solid #F1F1F1;
|
||||
background: #F6F7F9;
|
||||
color: #333;
|
||||
}
|
||||
.weekDay___onEh4 .weekDay1___WZ6Yt {
|
||||
position: relative;
|
||||
width: 150px;
|
||||
height: 100%;
|
||||
}
|
||||
.weekDay___onEh4 .weekDay2___Ut93V {
|
||||
height: 100%;
|
||||
width: 100px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.timeSlotWarp___yAtp8 {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
height: 360px;
|
||||
overflow-y: auto;
|
||||
border-bottom: 1px solid #F1F1F1;
|
||||
}
|
||||
.timeSlot___mTtgk {
|
||||
width: 151px;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.timeSlot___mTtgk .timeSlotItem___QDnMC {
|
||||
width: 151px;
|
||||
height: 30px;
|
||||
border: 1px solid #F1F1F1;
|
||||
border-top: 0px;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-content: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.timeSlot___mTtgk .timeSlotItem___QDnMC :nth-child(1) {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
color: #333;
|
||||
font-size: 14px;
|
||||
}
|
||||
.timeSlot___mTtgk .timeSlotItem___QDnMC :nth-child(2) {
|
||||
color: #999999;
|
||||
font-size: 12px;
|
||||
}
|
||||
.timeSlotItem2___Htzy2 {
|
||||
width: 99px;
|
||||
height: 30px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border: 1px solid #F1F1F1;
|
||||
border-top: 0px;
|
||||
border-left: 0px;
|
||||
}
|
||||
.checked___mNl4N {
|
||||
background: rgba(22, 93, 255, 0.3);
|
||||
width: 99px;
|
||||
height: 30px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.unchecked___kMlEe {
|
||||
width: 99px;
|
||||
height: 30px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
@ -1,69 +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.1.2@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.1.2@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Laboratory/RuleManage/index.less?modules ***!
|
||||
\**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
.header_div___XOym1 {
|
||||
display: flex;
|
||||
}
|
||||
.header_div___XOym1 .header_title___b7ULG {
|
||||
height: 38px;
|
||||
font-size: 16px;
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 500;
|
||||
color: #000000;
|
||||
line-height: 38px;
|
||||
}
|
||||
.search___Jidug {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
overflow: hidden;
|
||||
border-radius: 19px;
|
||||
height: 38px;
|
||||
width: 418px;
|
||||
padding-left: 8px;
|
||||
background-color: #f6f7f9;
|
||||
border: none;
|
||||
}
|
||||
.search___Jidug span[class~='ant-input-search-icon'] {
|
||||
display: none;
|
||||
}
|
||||
.search___Jidug [class~='ant-input-affix-wrapper'] {
|
||||
background-color: #f6f7f9;
|
||||
border: none;
|
||||
}
|
||||
.search___Jidug [class~='ant-input-affix-wrapper'] {
|
||||
outline: none !important;
|
||||
border: none !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
.search___Jidug span[class~='ant-input-group-addon'] {
|
||||
display: none;
|
||||
}
|
||||
.search___Jidug .searchIcon___xYf0U {
|
||||
margin-right: 14px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.search___Jidug input {
|
||||
background-color: #f6f7f9;
|
||||
}
|
||||
.search_params___JYYl3 {
|
||||
display: flex;
|
||||
margin: 15px 0;
|
||||
}
|
||||
.search_params___JYYl3 .clear_Data___v1Ycl {
|
||||
padding: 0px 10px;
|
||||
height: 32px;
|
||||
background: #F6F7F9 linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%);
|
||||
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-size: 14px;
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
color: #3061D0;
|
||||
line-height: 30px;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
margin-top: 3px;
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 1.5 MiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 1.5 MiB |
File diff suppressed because one or more lines are too long
Loading…
Reference in new issue