Auto Submit

dev_local_v9_haijunshiguan_net
autosubmit 2 years ago
parent 22da503183
commit c27d4b036e

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

@ -301,35 +301,37 @@ var Page = function Page(_ref) {
className: LegalDocItemmodules.Bot,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
flex: 1
flex: 1,
display: "flex",
alignItems: "center"
},
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: LegalDocItemmodules.BotTip,
children: ["\u6240\u5C5E\u76EE\u5F55", /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: data === null || data === void 0 ? void 0 : data.directory_name,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "Onerow c-black",
style: {
marginLeft: 8,
maxWidth: 231
},
children: data === null || data === void 0 ? void 0 : data.directory_name
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: "\u6240\u5C5E\u76EE\u5F55"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: data === null || data === void 0 ? void 0 : data.directory_name,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "Onerow c-black",
style: {
marginLeft: 8,
maxWidth: 231
},
children: data === null || data === void 0 ? void 0 : data.directory_name
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "".concat(LegalDocItemmodules.BotTip, " ml30"),
children: ["\u521B\u5EFA\u8005", /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: data === null || data === void 0 || (_data$user = data.user) === null || _data$user === void 0 ? void 0 : _data$user.name,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "Onerow c-black",
style: {
marginLeft: 8,
maxWidth: 96
},
children: data === null || data === void 0 || (_data$user2 = data.user) === null || _data$user2 === void 0 ? void 0 : _data$user2.name
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: "\u521B\u5EFA\u8005"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: data === null || data === void 0 || (_data$user = data.user) === null || _data$user === void 0 ? void 0 : _data$user.name,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "Onerow c-black",
style: {
marginLeft: 8,
maxWidth: 96
},
children: data === null || data === void 0 || (_data$user2 = data.user) === null || _data$user2 === void 0 ? void 0 : _data$user2.name
})
}), !(data !== null && data !== void 0 && data.is_link) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: "".concat(LegalDocItemmodules.BotTip, " ml30"),
children: ["\u8D44\u6599\u5927\u5C0F", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "c-black",
@ -676,9 +678,14 @@ var AddOrEditDir = function AddOrEditDir(_ref) {
setExpandedKeys = _useState6[1];
var TreeSelectDom = (0,_react_17_0_2_react.useRef)();
var uploadProps = {
multiple: true,
maxCount: (activeModal === null || activeModal === void 0 ? void 0 : activeModal.title) == "编辑资源" ? 1 : 10,
beforeUpload: function beforeUpload(file) {
beforeUpload: function beforeUpload(file, fileList) {
var fileSize = file.size / 1024 / 1024 / 1024;
// if (fileList.length > (activeModal?.title == "编辑资源" ? 1 : 10)) {
// message.warning("已经到达单次上传的做多文件")
// return Upload.LIST_IGNORE
// }
if (fileSize == 0 || fileSize > 1) {
message/* default */.ZP.error("".concat(file.name, " \u6587\u4EF6\u65E0\u6CD5\u4E0A\u4F20\u3002").concat(fileSize == 0 ? "文件内容不能为空" : '超过文件大小限制(1G)'));
return upload/* default */.Z.LIST_IGNORE;
@ -1440,7 +1447,7 @@ var PreviewFile = __webpack_require__(84362);
var Detail_Page = function Page(_ref) {
var _LegalDocList$list;
var _LegalDocList$list, _LegalDocList$list2;
var legalResources = _ref.legalResources,
dispatch = _ref.dispatch,
loading = _ref.loading;
@ -1781,6 +1788,7 @@ var Detail_Page = function Page(_ref) {
justify: "space-between",
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(es_checkbox/* default */.Z, {
checked: (valuesId === null || valuesId === void 0 ? void 0 : valuesId.length) == (LegalDocList === null || LegalDocList === void 0 || (_LegalDocList$list2 = LegalDocList.list) === null || _LegalDocList$list2 === void 0 ? void 0 : _LegalDocList$list2.length),
onChange: function onChange(e) {
if (e.target.checked) {
setValueId(LegalDocList === null || LegalDocList === void 0 ? void 0 : LegalDocList.list.map(function (item) {
@ -1826,7 +1834,7 @@ var Detail_Page = function Page(_ref) {
title: "批量发送资源至课程"
}, dispatch);
},
children: "\u6279\u91CF\u53D1\u9001\u81F3\u8BFE\u5802"
children: "\u6279\u91CF\u53D1\u9001\u81F3\u8BFE\u7A0B"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
className: "ml20 current-primary",
icon: /*#__PURE__*/(0,jsx_runtime.jsx)("i", {

@ -524,14 +524,14 @@ var Page = function Page(_ref) {
width: 140,
ellipsis: true,
render: function render(text) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
return text ? /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
placement: "topLeft",
title: text,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "c-grey-666",
children: dayjs_min_default()(text).format("YYYY-MM-DD HH:mm")
})
});
}) : "--";
}
}, {
title: "状态",
@ -568,8 +568,7 @@ var Page = function Page(_ref) {
setFormValue(values);
setPage(1);
body = objectSpread2_default()({
legalId: params.legalId,
user_type: menuType
legalId: params.legalId
}, values);
_context2.next = 12;
return (0,legalresources/* getMemberSearch */.cw)(body);
@ -616,8 +615,7 @@ var Page = function Page(_ref) {
setPage(page + 1);
body = objectSpread2_default()({
page: page + 1,
legalId: params.legalId,
user_type: menuType
legalId: params.legalId
}, formValue);
_context3.next = 10;
return (0,legalresources/* getMemberSearch */.cw)(body);
@ -1590,6 +1588,10 @@ var Managements_Page = function Page(_ref) {
rules: [{
required: true,
message: "请输入分班名称"
}, {
type: "string",
whitespace: true,
message: '输入名称不能全为空格'
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
placeholder: "\u8BF7\u8F93\u5165\u5206\u73ED\u540D\u79F0"

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