Auto Submit

dev_local_v9_test2
autosubmit 2 years ago
parent 271f29f103
commit 29273d274a

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

@ -617,6 +617,11 @@ var Navigation = function Navigation(_ref) {
onCancel: function onCancel() {
return setViewVisible(false);
},
cancelButtonProps: {
style: {
display: 'none'
}
},
width: 600,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {

@ -438,6 +438,7 @@ var Navigation = function Navigation(_ref) {
}) : ''
}), /*#__PURE__*/(0,jsx_runtime.jsx)(ViewModal/* default */.Z, {
openViewModal: openViewModal,
showButton: true,
viewInfo: viewData,
onCancel: function onCancel() {
return setOpenViewModal(false);
@ -525,7 +526,8 @@ var ViewModal = function ViewModal(_ref) {
var openViewModal = _ref.openViewModal,
viewInfo = _ref.viewInfo,
_onCancel = _ref.onCancel,
onReject = _ref.onReject;
onReject = _ref.onReject,
showButton = _ref.showButton;
var _useState = (0,_react_17_0_2_react.useState)({
content: "",
type: ""
@ -534,7 +536,7 @@ var ViewModal = function ViewModal(_ref) {
data = _useState2[0],
setData = _useState2[1];
var columns = [{
title: '编号',
title: '资编号',
dataIndex: 'number',
ellipsis: true
}, {
@ -576,7 +578,7 @@ var ViewModal = function ViewModal(_ref) {
open: openViewModal,
title: "\u7533\u8D2D\u7EC6\u5219",
width: "810px",
footer: (viewInfo === null || viewInfo === void 0 ? void 0 : viewInfo.status) == 'pending' && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
footer: (viewInfo === null || viewInfo === void 0 ? void 0 : viewInfo.status) == 'pending' && !showButton && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: ViewModalmodules.footer,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
type: "default",
@ -609,10 +611,10 @@ var ViewModal = function ViewModal(_ref) {
},
children: "\u7533\u8D2D\u539F\u56E0"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: (viewInfo === null || viewInfo === void 0 ? void 0 : viewInfo.classroom_title) || '--',
title: (viewInfo === null || viewInfo === void 0 ? void 0 : viewInfo.reason) || '--',
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: ViewModalmodules.header_content_text,
title: viewInfo === null || viewInfo === void 0 ? void 0 : viewInfo.classroom_title,
title: viewInfo === null || viewInfo === void 0 ? void 0 : viewInfo.reason,
style: {
color: '#000',
display: 'inline-block',
@ -621,7 +623,7 @@ var ViewModal = function ViewModal(_ref) {
position: 'relative',
top: 0
},
children: (viewInfo === null || viewInfo === void 0 ? void 0 : viewInfo.classroom_title) || '--'
children: (viewInfo === null || viewInfo === void 0 ? void 0 : viewInfo.reason) || '--'
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
@ -795,7 +797,7 @@ var ViewModal = function ViewModal(_ref) {
color: '#999999',
margin: '15px 0 10px 0 '
},
children: "\u7533\u8BF7\u7269\u8D44"
children: "\u7533\u8D2D\u7269\u8D44"
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
style: {

@ -49,6 +49,7 @@ var unitType = {
7: '毫升'
};
var ViewModal = function ViewModal(_ref) {
var _viewInfo$classroom_d, _viewInfo$classroom_d2, _viewInfo$classroom_d3, _viewInfo$classroom_d4;
var openViewModal = _ref.openViewModal,
viewInfo = _ref.viewInfo,
_onCancel = _ref.onCancel,
@ -140,19 +141,31 @@ var ViewModal = function ViewModal(_ref) {
},
children: "\u6240\u5728\u5B9E\u9A8C\u5BA4"
}), viewInfo === null || viewInfo === void 0 ? void 0 : viewInfo.classroom_title]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
maxWidth: "400px",
marginLeft: '40px'
},
className: ViewModalmodules.content_div,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
}), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: (viewInfo === null || viewInfo === void 0 || (_viewInfo$classroom_d = viewInfo.classroom_directors) === null || _viewInfo$classroom_d === void 0 ? void 0 : _viewInfo$classroom_d.length) > 0 ? viewInfo === null || viewInfo === void 0 || (_viewInfo$classroom_d2 = viewInfo.classroom_directors) === null || _viewInfo$classroom_d2 === void 0 ? void 0 : _viewInfo$classroom_d2.map(function (item, key) {
return /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: [item === null || item === void 0 ? void 0 : item.name, "(", item === null || item === void 0 ? void 0 : item.phone, ")\u3001"]
});
}) : '--',
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
color: '#666',
marginRight: '10px'
maxWidth: "400px",
marginLeft: '40px'
},
children: "\u5B9E\u9A8C\u5BA4\u8D1F\u8D23\u4EBA"
}), viewInfo === null || viewInfo === void 0 ? void 0 : viewInfo.user_name, "(", viewInfo === null || viewInfo === void 0 ? void 0 : viewInfo.phone, ")"]
className: ViewModalmodules.content_div,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
color: '#666',
marginRight: '10px'
},
children: "\u5B9E\u9A8C\u5BA4\u8D1F\u8D23\u4EBA"
}), (viewInfo === null || viewInfo === void 0 || (_viewInfo$classroom_d3 = viewInfo.classroom_directors) === null || _viewInfo$classroom_d3 === void 0 ? void 0 : _viewInfo$classroom_d3.length) > 0 ? viewInfo === null || viewInfo === void 0 || (_viewInfo$classroom_d4 = viewInfo.classroom_directors) === null || _viewInfo$classroom_d4 === void 0 ? void 0 : _viewInfo$classroom_d4.map(function (item, key) {
var _viewInfo$classroom_d5;
return /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: [item === null || item === void 0 ? void 0 : item.name, "(", item === null || item === void 0 ? void 0 : item.phone, ")", key == (viewInfo === null || viewInfo === void 0 || (_viewInfo$classroom_d5 = viewInfo.classroom_directors) === null || _viewInfo$classroom_d5 === void 0 ? void 0 : _viewInfo$classroom_d5.length) - 1 ? '' : '、']
}, key);
}) : '--']
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
style: {

@ -64,7 +64,8 @@ var ViewModal = function ViewModal(_ref) {
var openViewModal = _ref.openViewModal,
viewInfo = _ref.viewInfo,
_onCancel = _ref.onCancel,
onReject = _ref.onReject;
onReject = _ref.onReject,
showButton = _ref.showButton;
var _useState = (0,_react_17_0_2_react.useState)({
content: "",
type: ""
@ -73,7 +74,7 @@ var ViewModal = function ViewModal(_ref) {
data = _useState2[0],
setData = _useState2[1];
var columns = [{
title: '编号',
title: '资编号',
dataIndex: 'number',
ellipsis: true
}, {
@ -115,7 +116,7 @@ var ViewModal = function ViewModal(_ref) {
open: openViewModal,
title: "\u7533\u8D2D\u7EC6\u5219",
width: "810px",
footer: (viewInfo === null || viewInfo === void 0 ? void 0 : viewInfo.status) == 'pending' && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
footer: (viewInfo === null || viewInfo === void 0 ? void 0 : viewInfo.status) == 'pending' && !showButton && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: ViewModalmodules.footer,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
type: "default",
@ -148,10 +149,10 @@ var ViewModal = function ViewModal(_ref) {
},
children: "\u7533\u8D2D\u539F\u56E0"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: (viewInfo === null || viewInfo === void 0 ? void 0 : viewInfo.classroom_title) || '--',
title: (viewInfo === null || viewInfo === void 0 ? void 0 : viewInfo.reason) || '--',
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: ViewModalmodules.header_content_text,
title: viewInfo === null || viewInfo === void 0 ? void 0 : viewInfo.classroom_title,
title: viewInfo === null || viewInfo === void 0 ? void 0 : viewInfo.reason,
style: {
color: '#000',
display: 'inline-block',
@ -160,7 +161,7 @@ var ViewModal = function ViewModal(_ref) {
position: 'relative',
top: 0
},
children: (viewInfo === null || viewInfo === void 0 ? void 0 : viewInfo.classroom_title) || '--'
children: (viewInfo === null || viewInfo === void 0 ? void 0 : viewInfo.reason) || '--'
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
@ -334,7 +335,7 @@ var ViewModal = function ViewModal(_ref) {
color: '#999999',
margin: '15px 0 10px 0 '
},
children: "\u7533\u8BF7\u7269\u8D44"
children: "\u7533\u8D2D\u7269\u8D44"
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
style: {

@ -49,6 +49,7 @@ var unitType = {
7: '毫升'
};
var ViewModal = function ViewModal(_ref) {
var _viewInfo$classroom_d, _viewInfo$classroom_d2, _viewInfo$classroom_d3, _viewInfo$classroom_d4;
var openViewModal = _ref.openViewModal,
viewInfo = _ref.viewInfo,
_onCancel = _ref.onCancel,
@ -140,19 +141,31 @@ var ViewModal = function ViewModal(_ref) {
},
children: "\u6240\u5728\u5B9E\u9A8C\u5BA4"
}), viewInfo === null || viewInfo === void 0 ? void 0 : viewInfo.classroom_title]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
maxWidth: "400px",
marginLeft: '40px'
},
className: ViewModalmodules.content_div,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
}), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: (viewInfo === null || viewInfo === void 0 || (_viewInfo$classroom_d = viewInfo.classroom_directors) === null || _viewInfo$classroom_d === void 0 ? void 0 : _viewInfo$classroom_d.length) > 0 ? viewInfo === null || viewInfo === void 0 || (_viewInfo$classroom_d2 = viewInfo.classroom_directors) === null || _viewInfo$classroom_d2 === void 0 ? void 0 : _viewInfo$classroom_d2.map(function (item, key) {
return /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: [item === null || item === void 0 ? void 0 : item.name, "(", item === null || item === void 0 ? void 0 : item.phone, ")\u3001"]
});
}) : '--',
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
color: '#666',
marginRight: '10px'
maxWidth: "400px",
marginLeft: '40px'
},
children: "\u5B9E\u9A8C\u5BA4\u8D1F\u8D23\u4EBA"
}), viewInfo === null || viewInfo === void 0 ? void 0 : viewInfo.user_name, "(", viewInfo === null || viewInfo === void 0 ? void 0 : viewInfo.phone, ")"]
className: ViewModalmodules.content_div,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
color: '#666',
marginRight: '10px'
},
children: "\u5B9E\u9A8C\u5BA4\u8D1F\u8D23\u4EBA"
}), (viewInfo === null || viewInfo === void 0 || (_viewInfo$classroom_d3 = viewInfo.classroom_directors) === null || _viewInfo$classroom_d3 === void 0 ? void 0 : _viewInfo$classroom_d3.length) > 0 ? viewInfo === null || viewInfo === void 0 || (_viewInfo$classroom_d4 = viewInfo.classroom_directors) === null || _viewInfo$classroom_d4 === void 0 ? void 0 : _viewInfo$classroom_d4.map(function (item, key) {
var _viewInfo$classroom_d5;
return /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: [item === null || item === void 0 ? void 0 : item.name, "(", item === null || item === void 0 ? void 0 : item.phone, ")", key == (viewInfo === null || viewInfo === void 0 || (_viewInfo$classroom_d5 = viewInfo.classroom_directors) === null || _viewInfo$classroom_d5 === void 0 ? void 0 : _viewInfo$classroom_d5.length) - 1 ? '' : '、']
}, key);
}) : '--']
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
style: {
@ -206,7 +219,7 @@ var _react_17_0_2_react = __webpack_require__(59301);
var _umi_production_exports = __webpack_require__(19086);
;// 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"});
/* 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"});
// 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
@ -681,8 +694,10 @@ var Navigation = function Navigation(_ref) {
title: text,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: record !== null && record !== void 0 && record.overdue ? Receivemodules.redRow : '',
children: record !== null && record !== void 0 && record.start_time ? dayjs_min_default()(record === null || record === void 0 ? void 0 : record.start_time).format('YYYY-MM-DD HH:mm') : '--'
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: record !== null && record !== void 0 && record.overdue ? Receivemodules.redRow : '',
children: record !== null && record !== void 0 && record.end_time ? dayjs_min_default()(record === null || record === void 0 ? void 0 : record.end_time).format('YYYY-MM-DD HH:mm') : '--'
})]
})

@ -142,6 +142,9 @@
overflow: hidden;
font-size: 12px;
}
.redRow___wuTvA {
color: #E30000;
}
/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.1.5@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.1.5@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Materials/MyReceive/ViewModal/index.less?modules ***!

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