diff --git a/15342.f95be659.async.js b/15342.39eda959.async.js
similarity index 96%
rename from 15342.f95be659.async.js
rename to 15342.39eda959.async.js
index 581655793f..7c83865cce 100644
--- a/15342.f95be659.async.js
+++ b/15342.39eda959.async.js
@@ -358,7 +358,6 @@ var _excluded = ["user", "account", "globalSetting", "shixunHomeworks", "loading
-
var Option = es_select["default"].Option;
var TextArea = input/* default */.Z.TextArea;
var identityMap = {
@@ -1408,12 +1407,6 @@ var Edit = function Edit(_ref) {
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
label: "\u4E3B\u8BB2\u8BFE\u7A0B",
name: "subject_name",
- rules: [{
- // required: true,
- message: '请输入您的主讲课程'
- }, {
- validator: util/* handleValidatorNickName */.G7
- }],
validateTrigger: "onSubmit",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z
// size="large"
@@ -1468,11 +1461,12 @@ var Edit = function Edit(_ref) {
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(space/* default */.Z, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
label: "\u51FA\u751F\u5E74\u6708",
- name: "year",
- rules: [{
- required: true,
- message: '请先选择年份'
- }],
+ name: "year"
+ // rules={[{
+ // required: true,
+ // message: '请先选择年份',
+ // }]}
+ ,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"], {
style: {
width: 160
@@ -1490,11 +1484,11 @@ var Edit = function Edit(_ref) {
initialValue: formValue.jobTitle,
name: "month"
// label="月"
+ // rules={[{
+ // required: true,
+ // message: '请先选择月份',
+ // }]}
,
- rules: [{
- required: true,
- message: '请先选择月份'
- }],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"], {
style: {
width: 200
@@ -1512,59 +1506,6 @@ var Edit = function Edit(_ref) {
})]
})
})]
- }), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
- labelCol: {
- span: 3
- },
- label: studentName === '学号' ? '班级' : '负责班级',
- children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
- style: {
- width: '100%',
- display: 'flex',
- flexWrap: 'wrap'
- },
- children: function () {
- var style = {
- background: '#FAFAFA',
- borderRadius: '2px',
- border: '1px solid #E1E1E1',
- marginRight: '10px',
- lineHeight: '28px',
- padding: '0 10px 0 10px',
- color: '#999999'
- };
- if ((basicInfo === null || basicInfo === void 0 ? void 0 : basicInfo.student_group_name) === null || (basicInfo === null || basicInfo === void 0 ? void 0 : basicInfo.student_group_name) === undefined || (basicInfo === null || basicInfo === void 0 ? void 0 : basicInfo.student_group_name.length) === 0) {
- if (studentName === '学号') {
- return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
- children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
- style: style,
- children: "未分班"
- }), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
- style: {
- color: '#FA6400'
- },
- children: "\uFF08\u8BF7\u8054\u7CFB\u4E0A\u8BFE\u8001\u5E08\u6DFB\u52A0\u73ED\u7EA7\uFF09"
- })]
- });
- }
- return null;
- } else if (Array.isArray(basicInfo === null || basicInfo === void 0 ? void 0 : basicInfo.student_group_name)) {
- var _basicInfo$student_gr;
- //只有教师身份会返回数组
- return basicInfo === null || basicInfo === void 0 || (_basicInfo$student_gr = basicInfo.student_group_name) === null || _basicInfo$student_gr === void 0 ? void 0 : _basicInfo$student_gr.map(function (res, index) {
- return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
- style: style,
- children: res
- }, index);
- });
- } else {
- return studentName === '学号' ? /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
- style: style,
- children: basicInfo === null || basicInfo === void 0 ? void 0 : basicInfo.student_group_name
- }) : null;
- }
- }()
- })
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
position: 'relative'
diff --git a/index.html b/index.html
index 3fd6a903ea..c8a929efd9 100644
--- a/index.html
+++ b/index.html
@@ -25,7 +25,7 @@
display: block !important;
}
-
+