diff --git a/layouts__ShixunDetail__index.async.js b/layouts__ShixunDetail__index.async.js index 817f9beb3b..0f4db01ce9 100644 --- a/layouts__ShixunDetail__index.async.js +++ b/layouts__ShixunDetail__index.async.js @@ -3054,6 +3054,7 @@ var skeleton = __webpack_require__(555); var react_beautiful_dnd_esm = __webpack_require__(47927); ;// CONCATENATED MODULE: ./src/layouts/ShixunDetail/index.d.ts var SubmenuIcons = { + "course_schedule": "iconfont icon-ketangkebiao", "shixun_homework": 'iconfont icon-shixunzuoye1', "graduation": 'iconfont icon-biyezhuanhuan', "exercise": 'iconfont font17 icon-kaoshishijuan1', diff --git a/p__Classrooms__Lists__ClassSchedule__index.async.js b/p__Classrooms__Lists__ClassSchedule__index.async.js index bfae65186f..77ac364e96 100644 --- a/p__Classrooms__Lists__ClassSchedule__index.async.js +++ b/p__Classrooms__Lists__ClassSchedule__index.async.js @@ -150,17 +150,12 @@ var UploadSchdule = function UploadSchdule(_ref) { _useState2 = slicedToArray_default()(_useState, 2), fileList = _useState2[0], setFileList = _useState2[1]; - var _useState3 = (0,_react_17_0_2_react.useState)(''), + var _useState3 = (0,_react_17_0_2_react.useState)(false), _useState4 = slicedToArray_default()(_useState3, 2), - startTime = _useState4[0], - setStartTime = _useState4[1]; - var _useState5 = (0,_react_17_0_2_react.useState)(false), - _useState6 = slicedToArray_default()(_useState5, 2), - okBtnLoading = _useState6[0], - setOkBtnLoading = _useState6[1]; + okBtnLoading = _useState4[0], + setOkBtnLoading = _useState4[1]; var reset = function reset() { setFileList([]); - setStartTime(''); }; var handleOk = /*#__PURE__*/function () { var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() { @@ -188,10 +183,9 @@ var UploadSchdule = function UploadSchdule(_ref) { }, true); case 8: res = _context.sent; - // uploadCourseList(formData); setOkBtnLoading(false); if (res.status === 0) { - message/* default */.ZP.success(res.message); + // message.success("上传成功"); downloadDate = { total: (res === null || res === void 0 ? void 0 : res.count) || 0, success_count: (res === null || res === void 0 ? void 0 : res.success_count) || 0, @@ -274,7 +268,6 @@ var xlsx = __webpack_require__(60015); -var DownloadSchedule_Text = typography/* default */.Z.Text; var transJSONToExcel = { name: '课程名称', date: '日期', @@ -285,8 +278,6 @@ var DownloadSchdule = function DownloadSchdule(_ref) { setModalVisible = _ref.setModalVisible, getData = _ref.getData, downloadCount = _ref.downloadCount; - // const [fileList, setFileList] = useState([]); - // const [startTime, setStartTime] = useState(''); var _useState = (0,_react_17_0_2_react.useState)(false), _useState2 = slicedToArray_default()(_useState, 2), okBtnLoading = _useState2[0], @@ -311,15 +302,6 @@ var DownloadSchdule = function DownloadSchdule(_ref) { Sheets: defineProperty_default()({}, 'sheet1', xlsx/* utils */.P6.json_to_sheet(excelData)) }; xlsx/* writeFile */.NC(xlsxObj, '失败数据.xlsx'); - // setOkBtnLoading(true); - // const res = await uploadCourseList(formData); - // setOkBtnLoading(false); - // if (res.status === 0) { - // message.success(res.message); - // getData(); - // setModalVisible(false); - // reset(); - // } case 4: case "end": return _context.stop(); @@ -384,7 +366,6 @@ var _umi_production_exports = __webpack_require__(51649); -// import ENV from '@/utils/env'; @@ -494,22 +475,18 @@ var ClassSchedule = function ClassSchedule() { _useState12 = slicedToArray_default()(_useState11, 2), currentDate = _useState12[0], setCurrentDate = _useState12[1]; - var _useState13 = (0,_react_17_0_2_react.useState)(true), - _useState14 = slicedToArray_default()(_useState13, 2), - isOpen = _useState14[0], - setIsOpen = _useState14[1]; - var _useState15 = (0,_react_17_0_2_react.useState)(objectSpread2_default()({}, (0,_umi_production_exports.useParams)())), - _useState16 = slicedToArray_default()(_useState15, 1), - params = _useState16[0]; + var _useState13 = (0,_react_17_0_2_react.useState)(objectSpread2_default()({}, (0,_umi_production_exports.useParams)())), + _useState14 = slicedToArray_default()(_useState13, 1), + params = _useState14[0]; params["coursesId"] = params["coursesId"]; - var _useState17 = (0,_react_17_0_2_react.useState)({}), + var _useState15 = (0,_react_17_0_2_react.useState)({}), + _useState16 = slicedToArray_default()(_useState15, 2), + errData = _useState16[0], + setErrDate = _useState16[1]; + var _useState17 = (0,_react_17_0_2_react.useState)([]), _useState18 = slicedToArray_default()(_useState17, 2), - errData = _useState18[0], - setErrDate = _useState18[1]; - var _useState19 = (0,_react_17_0_2_react.useState)([]), - _useState20 = slicedToArray_default()(_useState19, 2), - columnTitle = _useState20[0], - setColumnTitle = _useState20[1]; + columnTitle = _useState18[0], + setColumnTitle = _useState18[1]; var columns = [{ title: '', dataIndex: 'courseIndex', @@ -678,7 +655,6 @@ var ClassSchedule = function ClassSchedule() { }); case 4: res = _context.sent; - // getCourseSchedules(params); setTableLoading(false); if (res.status == 0) { _ref2 = res || {}, list = _ref2.list; @@ -825,10 +801,6 @@ var ClassSchedule = function ClassSchedule() { children: "\u4E0B\u4E00\u5468" })] }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", { - style: { - display: isOpen ? 'block' : 'none', - transition: '.3s' - }, children: noDataFlag ? /*#__PURE__*/(0,jsx_runtime.jsx)(NoData/* default */.Z, { styles: { height: 100 diff --git a/static/iconfont.5ac5f779.ttf b/static/iconfont.1747ec62.ttf similarity index 90% rename from static/iconfont.5ac5f779.ttf rename to static/iconfont.1747ec62.ttf index e429db1d82..e64f2eeed6 100644 Binary files a/static/iconfont.5ac5f779.ttf and b/static/iconfont.1747ec62.ttf differ diff --git a/static/iconfont.53d451ad.woff b/static/iconfont.53d451ad.woff new file mode 100644 index 0000000000..9b679193b6 Binary files /dev/null and b/static/iconfont.53d451ad.woff differ diff --git a/static/iconfont.d4898757.woff2 b/static/iconfont.d4898757.woff2 new file mode 100644 index 0000000000..faf9770f0e Binary files /dev/null and b/static/iconfont.d4898757.woff2 differ diff --git a/static/iconfont.de7bf788.woff2 b/static/iconfont.de7bf788.woff2 deleted file mode 100644 index a6bf6156ab..0000000000 Binary files a/static/iconfont.de7bf788.woff2 and /dev/null differ diff --git a/static/iconfont.df7da3a4.svg b/static/iconfont.df7da3a4.svg deleted file mode 100644 index 1888d68368..0000000000 --- a/static/iconfont.df7da3a4.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/static/iconfont.f9c02bd2.woff b/static/iconfont.f9c02bd2.woff deleted file mode 100644 index add553c0bf..0000000000 Binary files a/static/iconfont.f9c02bd2.woff and /dev/null differ diff --git a/static/iconfont.fbda0e54.svg b/static/iconfont.fbda0e54.svg new file mode 100644 index 0000000000..e20c0c4183 --- /dev/null +++ b/static/iconfont.fbda0e54.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/umi.css b/umi.css index 815b1fbe83..d114285297 100644 --- a/umi.css +++ b/umi.css @@ -292,10 +292,10 @@ mark { \**************************************************************************************************************************************************************************************************************************************************************************************/ @font-face { font-family: "iconfont"; /* Project id 653600 */ - src: url(./static/iconfont.de7bf788.woff2) format('woff2'), - url(./static/iconfont.f9c02bd2.woff) format('woff'), - url(./static/iconfont.5ac5f779.ttf) format('truetype'), - url(./static/iconfont.df7da3a4.svg#iconfont) format('svg'); + src: url(./static/iconfont.d4898757.woff2) format('woff2'), + url(./static/iconfont.53d451ad.woff) format('woff'), + url(./static/iconfont.1747ec62.ttf) format('truetype'), + url(./static/iconfont.fbda0e54.svg#iconfont) format('svg'); } .iconfont { @@ -306,6 +306,134 @@ mark { -moz-osx-font-smoothing: grayscale; } +.icon-ketangkebiao:before { + content: "\ec03"; +} + +.icon-anlifenxiang:before { + content: "\ec00"; +} + +.icon-haokezhanshi:before { + content: "\ec01"; +} + +.icon-jiaoliuyantao:before { + content: "\ec02"; +} + +.icon-goumai:before { + content: "\ebff"; +} + +.icon-lishijilu:before { + content: "\ebfe"; +} + +.icon-shebei-xiao:before { + content: "\ebfd"; +} + +.icon-yuyuexiangqing1:before { + content: "\ebfb"; +} + +.icon-fanhui4:before { + content: "\ebfc"; +} + +.icon-zhangjieceshibeifen:before { + content: "\ebef"; +} + +.icon-biaoqing:before { + content: "\ebfa"; +} + +.icon-qukuailian1:before { + content: "\ebf9"; +} + +.icon-suanfasheji1:before { + content: "\ebf6"; +} + +.icon-jingjiguanli:before { + content: "\ebf7"; +} + +.icon-dianzixinxi1:before { + content: "\ebf8"; +} + +.icon-jingpeikecheng:before { + content: "\ebf1"; +} + +.icon-yunjisuan:before { + content: "\ebf2"; +} + +.icon-shuxueyutongji:before { + content: "\ebf3"; +} + +.icon-qiyekecheng:before { + content: "\ebf4"; +} + +.icon-xunifangzhen:before { + content: "\ebf5"; +} + +.icon-wulianwang:before { + content: "\ebf0"; +} + +.icon-jiesuo1:before { + content: "\ebed"; +} + +.icon-suoding:before { + content: "\ebee"; +} + +.icon-xiaoxitongzhi:before { + content: "\ebec"; +} + +.icon-xuanzhong11:before { + content: "\ebea"; +} + +.icon-yiwancheng6:before { + content: "\ebeb"; +} + +.icon-shangbianxiantiao:before { + content: "\ebe9"; +} + +.icon-xiebianjiantou:before { + content: "\ebe8"; +} + +.icon-panduanhujiu:before { + content: "\ebe6"; +} + +.icon-shiyongaed:before { + content: "\ebe7"; +} + +.icon-a-302:before { + content: "\ebe5"; +} + +.icon-xianchangqueren:before { + content: "\ebe1"; +} + .icon-duohangtiankongxiang:before { content: "\ebe4"; } diff --git a/umi.js b/umi.js index e75609116c..37c0d9c31a 100644 --- a/umi.js +++ b/umi.js @@ -49624,10 +49624,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.130', + PROXY_SERVER: 'http://172.16.100.199', API_SERVER: '', REPORT_SERVER: 'http://192.168.1.57:3001', - IMG_SERVER: 'http://172.16.100.130', + IMG_SERVER: 'http://172.16.100.199', FORGE: 'https://code.educoder.net/', SSH_SERVER: 'wss://webssh.educoder.net', SSH_Slice: 'https://testfu.educoder.net',