|
|
|
|
@ -309,6 +309,7 @@ var jsx_runtime = __webpack_require__(85893);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var TabPane = tabs/* default.TabPane */.Z.TabPane;
|
|
|
|
|
var AddTeacher = function AddTeacher(_ref) {
|
|
|
|
|
var _actionTabs$selectArr, _actionTabs$selectArr2;
|
|
|
|
|
@ -833,6 +834,10 @@ var AddTeacher = function AddTeacher(_ref) {
|
|
|
|
|
type: 'classroomList/setActionTabs',
|
|
|
|
|
payload: {}
|
|
|
|
|
});
|
|
|
|
|
form.setFieldsValue({
|
|
|
|
|
keyword: '',
|
|
|
|
|
search_type: '1'
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(tabs/* default */.Z, {
|
|
|
|
|
activeKey: activeKey,
|
|
|
|
|
@ -842,55 +847,57 @@ var AddTeacher = function AddTeacher(_ref) {
|
|
|
|
|
className: AddStudentmodules.addStudentContainer,
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(TabPane, {
|
|
|
|
|
tab: "\u624B\u52A8\u6DFB\u52A0",
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: AddStudentmodules.listItem,
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, {
|
|
|
|
|
layout: "inline",
|
|
|
|
|
form: form,
|
|
|
|
|
initialValues: {
|
|
|
|
|
keyword: '',
|
|
|
|
|
search_type: '1'
|
|
|
|
|
},
|
|
|
|
|
className: "mt10"
|
|
|
|
|
// onFinish={onFinish}
|
|
|
|
|
,
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
|
|
|
|
|
name: "search_type",
|
|
|
|
|
label: "\u641C\u7D22\u7C7B\u578B",
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_select/* default */.Z, {
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_select/* default.Option */.Z.Option, {
|
|
|
|
|
value: "1",
|
|
|
|
|
children: "\u59D3\u540D"
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_select/* default.Option */.Z.Option, {
|
|
|
|
|
value: "2",
|
|
|
|
|
children: "\u624B\u673A\u53F7"
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_select/* default.Option */.Z.Option, {
|
|
|
|
|
value: "3",
|
|
|
|
|
children: "\u90AE\u7BB1"
|
|
|
|
|
})]
|
|
|
|
|
})
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
|
|
|
|
|
name: "keyword",
|
|
|
|
|
label: "\u641C\u7D22\u5185\u5BB9",
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
|
|
|
|
|
allowClear: true,
|
|
|
|
|
style: {
|
|
|
|
|
width: 240
|
|
|
|
|
},
|
|
|
|
|
size: "middle",
|
|
|
|
|
defaultValue: ((_actionTabs$selectArr = actionTabs.selectArrs) === null || _actionTabs$selectArr === void 0 ? void 0 : _actionTabs$selectArr.category_name) || ((_actionTabs$selectArr2 = actionTabs.selectArrs) === null || _actionTabs$selectArr2 === void 0 ? void 0 : _actionTabs$selectArr2.name)
|
|
|
|
|
})
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
|
|
|
|
|
htmlType: "submit",
|
|
|
|
|
type: "primary",
|
|
|
|
|
size: "middle",
|
|
|
|
|
onClick: function onClick() {
|
|
|
|
|
return onFinish();
|
|
|
|
|
},
|
|
|
|
|
children: "\u641C\u7D22"
|
|
|
|
|
})
|
|
|
|
|
})]
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: AddStudentmodules.listItem,
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, {
|
|
|
|
|
layout: "inline",
|
|
|
|
|
form: form,
|
|
|
|
|
initialValues: {
|
|
|
|
|
keyword: '',
|
|
|
|
|
search_type: '1'
|
|
|
|
|
},
|
|
|
|
|
className: "mt10"
|
|
|
|
|
// onFinish={onFinish}
|
|
|
|
|
,
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
|
|
|
|
|
name: "search_type",
|
|
|
|
|
label: "\u641C\u7D22\u7C7B\u578B",
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(es_select/* default */.Z, {
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(es_select/* default.Option */.Z.Option, {
|
|
|
|
|
value: "1",
|
|
|
|
|
children: "\u59D3\u540D"
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_select/* default.Option */.Z.Option, {
|
|
|
|
|
value: "2",
|
|
|
|
|
children: "\u624B\u673A\u53F7"
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_select/* default.Option */.Z.Option, {
|
|
|
|
|
value: "3",
|
|
|
|
|
children: "\u90AE\u7BB1"
|
|
|
|
|
})]
|
|
|
|
|
})
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
|
|
|
|
|
name: "keyword",
|
|
|
|
|
label: "\u641C\u7D22\u5185\u5BB9",
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z, {
|
|
|
|
|
allowClear: true,
|
|
|
|
|
style: {
|
|
|
|
|
width: 240
|
|
|
|
|
},
|
|
|
|
|
size: "middle",
|
|
|
|
|
defaultValue: ((_actionTabs$selectArr = actionTabs.selectArrs) === null || _actionTabs$selectArr === void 0 ? void 0 : _actionTabs$selectArr.category_name) || ((_actionTabs$selectArr2 = actionTabs.selectArrs) === null || _actionTabs$selectArr2 === void 0 ? void 0 : _actionTabs$selectArr2.name)
|
|
|
|
|
})
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default.Item */.Z.Item, {
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_button/* default */.ZP, {
|
|
|
|
|
htmlType: "submit",
|
|
|
|
|
type: "primary",
|
|
|
|
|
size: "middle",
|
|
|
|
|
onClick: function onClick() {
|
|
|
|
|
return onFinish();
|
|
|
|
|
},
|
|
|
|
|
children: "\u641C\u7D22"
|
|
|
|
|
})
|
|
|
|
|
})]
|
|
|
|
|
})
|
|
|
|
|
}), notSearch && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: "tc font16 c-light-black mt40 pb30",
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
|
|
|
|
|
@ -957,6 +964,9 @@ var AddTeacher = function AddTeacher(_ref) {
|
|
|
|
|
className: AddStudentmodules.listItem,
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: "mt20",
|
|
|
|
|
style: {
|
|
|
|
|
marginLeft: 86
|
|
|
|
|
},
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: "mb20",
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
|