Auto Submit

dev_local_v9_test4
autosubmit 1 year ago
parent 91bf67ba11
commit ec5ca9158a

@ -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.de45c758.css">
<link rel="stylesheet" href="/react/build/umi.1e8f1436.css">
<script src="/react/build/js/polyfill.min.js"></script>
<script src="/react/build/js/jquery.js"></script>
<script src="/react/build/js/turn.js"></script>
@ -29,7 +29,7 @@
display: block !important;
}
</style><script>if(document.domain !== "www.educoder.net") document.title = '';</script>
<script src="/react/build/umi.abf8dd3f.js"></script>
<script src="/react/build/umi.0a249eb7.js"></script>
<script src="/react/build/js/public.js"></script>
</body>
</html>

@ -326,7 +326,7 @@ var NewCoursePage = function NewCoursePage(_ref) {
})
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
}), form.getFieldValue("start_group") && /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
gutter: [20, 20],
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
flex: "230px",
@ -364,11 +364,6 @@ var NewCoursePage = function NewCoursePage(_ref) {
placeholder: "\u8BF7\u586B\u5199\u6BCF\u7EC4\u6700\u5927\u4EBA\u6570"
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "mt30",
children: "\uFF08\u5B66\u5458\u63D0\u4EA4\u4F5C\u54C1\u65F6\u9700\u8981\u5173\u8054\u540C\u7EC4\u6210\u5458\uFF0C\u7EC4\u5185\u6210\u5458\u4F5C\u54C1\u5171\u4EAB\uFF09"
})
})]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
@ -383,7 +378,9 @@ var NewCoursePage = function NewCoursePage(_ref) {
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
name: "reference_attachment_ids",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(MultiUpload/* default */.Z, {})
children: /*#__PURE__*/(0,jsx_runtime.jsx)(MultiUpload/* default */.Z, {
title: "\u4E0B\u53D1\u6587\u4E66"
})
})
})]
})]

@ -10855,7 +10855,7 @@ var CommonHomeworkDetail = function CommonHomeworkDetail(_ref) {
});
};
var tabsArr = [{
name: (0,authority/* isAdmin */.GJ)() ? '作业列表' : '作品列表',
name: (0,authority/* isAdmin */.GJ)() ? '学员详情' : '提交情况',
id: '0',
component: /*#__PURE__*/(0,jsx_runtime.jsx)(components_WorkList, {
zip: zip,
@ -10863,7 +10863,7 @@ var CommonHomeworkDetail = function CommonHomeworkDetail(_ref) {
setBtnLoading: setBtnLoading
})
}, {
name: '作业描述',
name: (0,authority/* isAdmin */.GJ)() ? '任务详情' : '任务描述',
id: '1',
component: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "minH500",
@ -10981,7 +10981,7 @@ var CommonHomeworkDetail = function CommonHomeworkDetail(_ref) {
}
_umi_production_exports.history.push("/classrooms/".concat(params.coursesId, "/common_homework/").concat(params.categoryId, "/edit"));
},
children: "\u7F16\u8F91\u4F5C\u4E1A"
children: "\u7F16\u8F91\u5B9E\u9A8C"
})
})]
}), (workList !== null && workList !== void 0 && workList.is_jupyter_lab || workList !== null && workList !== void 0 && workList.is_jupyter) && (0,authority/* isStudent */.dE)() ? /*#__PURE__*/(0,jsx_runtime.jsxs)(es_button/* default */.ZP, {

@ -285,9 +285,11 @@ var EditCommonHomework = function EditCommonHomework(_ref) {
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
name: "attachment_ids",
children: isShow && /*#__PURE__*/(0,jsx_runtime.jsx)(MultiUpload/* default */.Z, {})
children: isShow && /*#__PURE__*/(0,jsx_runtime.jsx)(MultiUpload/* default */.Z, {
title: "\u4E0B\u53D1\u6587\u4E66"
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(row/* default */.Z, {
}), form.getFieldValue("start_group") && /*#__PURE__*/(0,jsx_runtime.jsx)(row/* default */.Z, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
name: "start_group",
@ -336,11 +338,6 @@ var EditCommonHomework = function EditCommonHomework(_ref) {
placeholder: "\u8BF7\u586B\u5199\u6BCF\u7EC4\u6700\u5927\u4EBA\u6570"
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "mt30",
children: "\uFF08\u5B66\u5458\u63D0\u4EA4\u4F5C\u54C1\u65F6\u9700\u8981\u5173\u8054\u540C\u7EC4\u6210\u5458\uFF0C\u7EC4\u5185\u6210\u5458\u4F5C\u54C1\u5171\u4EAB\uFF09"
})
})]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {

@ -3882,10 +3882,8 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
var dropdownMenu = [{
name: '新建图文作业',
id: '1'
}, {
name: '选用资源',
id: '2'
}
// { name: '选用资源', id: '2' },
// { name: '选用他人创建作业', id: '3' },
];

@ -384,6 +384,8 @@ var es_button = __webpack_require__(3113);
var auto_complete = __webpack_require__(88522);
// 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/date-picker/index.js + 12 modules
var date_picker = __webpack_require__(47119);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/checkbox/index.js + 3 modules
@ -440,6 +442,19 @@ var jsx_runtime = __webpack_require__(37712);
var disabledDate = function disabledDate(current) {
return current && current < dayjs_min_default()().endOf('day').subtract(1, 'days');
};
var datatype = [{
name: '单项训练',
type: 'single_training'
}, {
name: '综合训练',
type: 'comprehensive_training'
}, {
name: '专项训练',
type: 'special_training'
}, {
name: '综合演练',
type: 'comprehensive_drill'
}];
var NewClassroomPage = function NewClassroomPage(_ref) {
var _user$userInfo, _user$userInfo2, _formValue$course, _form$getFieldValue, _formValue$period, _formValue$credit, _editData$course_modu, _LetData$course_modul, _newClassroom$schoolL, _newClassroom$schoolL2;
var user = _ref.user,
@ -942,6 +957,29 @@ var NewClassroomPage = function NewClassroomPage(_ref) {
})]
})]
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Newmodules.fieldWrap,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Newmodules.flexRow,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
className: Newmodules.width655,
name: "category",
label: "\u8BFE\u5802\u7C7B\u578B",
rules: [{
required: true,
message: '不能为空'
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"], {
placeholder: "\u8BF7\u9009\u62E9\u8BFE\u5802\u7C7B\u578B",
children: datatype === null || datatype === void 0 ? void 0 : datatype.map(function (item) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"].Option, {
value: item === null || item === void 0 ? void 0 : item.type,
children: item === null || item === void 0 ? void 0 : item.name
});
})
})
})
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: Newmodules.fieldWrap,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {

@ -145,15 +145,30 @@ var Workbench = function Workbench(_ref) {
imgWidth: '130rem',
show: true,
children: [{
name: '我的课堂',
img: __webpack_require__(/*! ./img/b1.png */ 41999),
url: "/users/".concat(userInfo === null || userInfo === void 0 ? void 0 : userInfo.login, "/classrooms"),
name: '单项训练',
img: __webpack_require__(/*! ./img/b2.png */ 67006),
url: '/classrooms',
show: true
}, {
name: '综合训练',
img: __webpack_require__(/*! ./img/b2.png */ 67006),
url: '/classrooms',
show: true
}, {
name: '全部课堂',
name: '专项精炼',
img: __webpack_require__(/*! ./img/b2.png */ 67006),
url: '/classrooms',
show: true
}, {
name: '综合演练',
img: __webpack_require__(/*! ./img/b2.png */ 67006),
url: '/classrooms',
show: true
}, {
name: '我的实训场',
img: __webpack_require__(/*! ./img/b1.png */ 41999),
url: "/users/".concat(userInfo === null || userInfo === void 0 ? void 0 : userInfo.login, "/classrooms"),
show: true
}]
}, {
title: '物资领用',
@ -2145,7 +2160,6 @@ var NewHomeEntrance = function NewHomeEntrance(_ref) {
})]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: "materials-table-wrp",
style: {
marginRight: 0,
marginTop: 20
@ -2153,7 +2167,7 @@ var NewHomeEntrance = function NewHomeEntrance(_ref) {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, {
pagination: false,
dataSource: tableData,
className: "materials-table",
className: 'tablesstyle',
columns: columns,
scroll: {
x: 1500

File diff suppressed because one or more lines are too long

@ -13138,6 +13138,51 @@ p {
border-bottom: 10px #B2BDF9 solid !important;
color: #17265F !important;
}
.tablesstyle .ant-table {
background: transparent !important;
}
.tablesstyle .ant-table-thead {
background: #394F81 !important;
border: 1px solid !important;
height: 48px !important;
}
.tablesstyle .ant-table-thead th {
background: #394F81 !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;
}
.tablesstyle .ant-table-thead th::before {
display: none;
}
.tablesstyle .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;
}
.tablesstyle .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;
}
.tablesstyle .ant-table-tbody tr {
background: transparent !important;
}
.tablesstyle .ant-table-tbody tr:nth-child(1) td {
border-top: 10px transparent solid !important;
}
.tablesstyle .ant-table-tbody tr td {
border-bottom: 10px transparent solid !important;
color: #17265F !important;
}
.tablesstyle .ant-table-placeholder:hover {
background: transparent !important;
}
.tablesstyle .ant-table-placeholder .ant-table-cell {
background: transparent !important;
}
.barcode {
width: 80px;
height: auto;
Loading…
Cancel
Save