autoUpdataFile

dev_local_v9_xingongda
eduauto 2 years ago
parent 77476b4bb0
commit 3a224e0d36

@ -519,7 +519,8 @@ var Page = function Page(_ref) {
var _useState = (0,_react_17_0_2_react.useState)({
page: 1,
limit: 16,
order: 'created_at'
order: 'created_at',
search: ''
}),
_useState2 = slicedToArray_default()(_useState, 2),
params = _useState2[0],
@ -685,6 +686,12 @@ var Page = function Page(_ref) {
}].filter(function (e) {
return e.isShow;
});
var handleFilter = function handleFilter(v) {
params.page = 1;
params.search = v;
setParams(objectSpread2_default()({}, params));
getList(params);
};
return /*#__PURE__*/(0,jsx_runtime.jsx)("section", {
className: Indexmodules.page,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
@ -695,14 +702,24 @@ var Page = function Page(_ref) {
sunTitle: "\u652F\u6301SPOC\uFF0C\u8BA9\u6559\u5B66\u7BA1\u7406\u66F4\u7B80\u5355",
img: illustration_namespaceObject,
imgWidth: 258
}), /*#__PURE__*/(0,jsx_runtime.jsx)(row/* default */.Z, {
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
align: "middle",
className: "mt30 mb30",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* SuperiorTabs */.tp, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* SuperiorTabs */.tp, {
dataSource: tabsMenu,
value: params === null || params === void 0 ? void 0 : params.order,
onChange: handleTabs
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* CustomInput */.t7, {
style: {
width: 407,
marginLeft: 'auto'
},
value: {
value: params.search
},
onChange: handleFilter,
placeholder: "\u8BF7\u8F93\u5165\u8BFE\u5802\u540D\u79F0\u6216\u8BFE\u5802\u7BA1\u7406\u5458\u59D3\u540D"
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* ClassroomList */.w9, {
dataSource: list,
right: 23,

File diff suppressed because one or more lines are too long

@ -51306,10 +51306,10 @@ __webpack_require__.d(__webpack_exports__, {
;// CONCATENATED MODULE: ./src/utils/env/dev.ts
var DEV = {
// PROXY_SERVER: 'https://data.educoder.net',
PROXY_SERVER: 'http://172.16.100.239',
PROXY_SERVER: 'http://172.16.100.222',
API_SERVER: '',
REPORT_SERVER: 'http://192.168.1.57:3001',
IMG_SERVER: 'http://172.16.100.130',
IMG_SERVER: 'http://172.16.100.222',
FORGE: 'https://code.educoder.net/',
SSH_SERVER: 'wss://webssh.educoder.net',
SSH_Slice: 'https://testfu.educoder.net',

Loading…
Cancel
Save