autoUpdataFile

dev_local_v9_zzxy
eduauto 1 year ago
parent 4587fbd1da
commit 66924d16b3

@ -78,7 +78,7 @@ var RealNameAuthModal = function RealNameAuthModal(_ref) {
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z, {
centered: true,
open: account.actionTabs.key === '发布公告',
title: "\u53D1\u5E03\u516C\u544A",
title: "\u53D1\u5E03\u544A\u793A",
width: "1000px",
onCancel: handleClose,
className: "".concat(_pages_Equipment_Index_index_less_modules__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Z.my_modal, " modalXazy"),
@ -167,7 +167,7 @@ var RealNameAuthModal = function RealNameAuthModal(_ref) {
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_11__.jsx)(antd__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z.Item, {
colon: false,
name: "category",
label: "\u516C\u544A\u7C7B\u578B",
label: "\u544A\u793A\u7C7B\u578B",
rules: [{
required: true,
message: "必填项"

@ -29,7 +29,7 @@
display: block !important;
}
</style><script>if(document.domain !== "www.educoder.net") document.title = '';</script>
<script src="/react/build/umi.4c1c1a52.js"></script>
<script src="/react/build/umi.abc5129e.js"></script>
<script src="/react/build/js/public.js"></script>
</body>
</html>

@ -6277,6 +6277,7 @@ var informationPage = function informationPage(_ref) {
}
}, []);
var changetime = function changetime(e, type) {
var now = dayjs_min_default()();
if (type == '报名开始时间') {
//报名开始时间
if (form.getFieldValue('enroll_end_time')) {
@ -6299,6 +6300,20 @@ var informationPage = function informationPage(_ref) {
}
} else if (type == '竞赛开始时间') {
//竞赛开始时间
// Check if start time is after current time
if (e < now) {
message/* default */.ZP.error('竞赛开始时间必须大于当前时间');
form.setFieldValue('start_time', '');
return;
}
// Check if start time is after enrollment end time (if set)
var enrollEndTime = form.getFieldValue('enroll_end_time');
if (enrollEndTime && e <= enrollEndTime) {
message/* default */.ZP.error('竞赛开始时间不能早于报名截止时间');
form.setFieldValue('start_time', '');
return;
}
if (form.getFieldValue('end_time')) {
if (e >= form.getFieldValue('end_time')) {
message/* default */.ZP.error('竞赛开始时间必须小于竞赛结束时间');

@ -84,8 +84,6 @@ var spin = __webpack_require__(71418);
var modal = __webpack_require__(43418);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/message/index.js + 4 modules
var message = __webpack_require__(8591);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input-number/index.js + 14 modules
var input_number = __webpack_require__(5871);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/input/index.js + 3 modules
var input = __webpack_require__(92832);
;// CONCATENATED MODULE: ./src/pages/Counselling/ExpertList/Detail/index.less?modules
@ -838,7 +836,7 @@ var HeaderNav = __webpack_require__(79624);
var logo = __webpack_require__(/*! @/../public/images/cloudHotLine/logo.png */ 62110);
var PollDetail = function PollDetail(_ref) {
var _questionInfo$special, _questionInfo$special2, _questionInfo$special3, _questionInfo$special4, _questionInfo$special5, _questionInfo$special6, _user$userInfo, _questionInfo$special7, _user$userInfo2, _user$userInfo3, _questionInfo$special8, _user$userInfo4, _questionInfo$special9, _user$userInfo5, _questionInfo$special10, _user$userInfo6, _questionInfo$special11, _user$userInfo7, _questionInfo$special12;
var _questionInfo$special, _questionInfo$special2, _questionInfo$special3, _questionInfo$special4, _questionInfo$special5, _questionInfo$special6, _user$userInfo, _questionInfo$special7, _user$userInfo2, _user$userInfo3, _questionInfo$special8, _user$userInfo4, _questionInfo$special9, _user$userInfo5, _questionInfo$special10, _user$userInfo6, _questionInfo$special11;
var polls = _ref.polls,
globalSetting = _ref.globalSetting,
loading = _ref.loading,
@ -1171,75 +1169,6 @@ var PollDetail = function PollDetail(_ref) {
fontSize: '16rem'
}
}), questionInfo !== null && questionInfo !== void 0 && questionInfo.is_public ? '取消公开' : '公开']
}), !(questionInfo !== null && questionInfo !== void 0 && questionInfo.is_scoring) && ((0,authority/* isSuperAdmins */.Ny)() || (user === null || user === void 0 || (_user$userInfo7 = user.userInfo) === null || _user$userInfo7 === void 0 ? void 0 : _user$userInfo7.user_id) == (questionInfo === null || questionInfo === void 0 || (_questionInfo$special12 = questionInfo.specialist) === null || _questionInfo$special12 === void 0 ? void 0 : _questionInfo$special12.id)) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: Detailmodules.publicStyle,
onClick: function onClick() {
modal/* default */.Z.confirm({
centered: true,
okText: '确定',
icon: null,
cancelText: '取消',
title: '提示',
content: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: "\u5982\u679C\u60A8\u89C9\u5F97\u8BE5\u5B66\u5458\u7684\u63D0\u95EE\u5F88\u6709\u6C34\u5E73\u53EF\u4EE5\u5956\u52B1\u4E00\u5B9A\u7684\u79EF\u5206"
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
height: '40rem',
display: "flex",
alignItems: 'center',
marginTop: '10rem'
},
children: ["\u5956\u52B1\u79EF\u5206", /*#__PURE__*/(0,jsx_runtime.jsx)(input_number/* default */.Z, {
size: "large",
precision: 0,
min: 0,
max: 100,
style: {
marginLeft: '10rem',
width: '270rem'
},
onChange: function onChange(e) {
score.current = e;
}
})]
})]
}),
onOk: function () {
var _onOk4 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4() {
return regeneratorRuntime_default()().wrap(function _callee4$(_context4) {
while (1) switch (_context4.prev = _context4.next) {
case 0:
(0,counselling/* specialist_scoring */.yK)({
score: score.current,
specialist_question_id: params === null || params === void 0 ? void 0 : params.questionId
}).then(function (res) {
if ((res === null || res === void 0 ? void 0 : res.status) == 0) {
message/* default */.ZP.success('给分成功');
getInfo();
}
});
case 1:
case "end":
return _context4.stop();
}
}, _callee4);
}));
function onOk() {
return _onOk4.apply(this, arguments);
}
return onOk;
}()
});
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "icon-zzxy-geifen",
style: {
marginTop: '2rem',
marginRight: '10rem',
fontSize: '16rem'
}
}), "\u7ED9\u5206"]
})]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
@ -1282,11 +1211,11 @@ var PollDetail = function PollDetail(_ref) {
visible: visible,
okText: "\u786E\u5B9A",
cancelText: "\u53D6\u6D88",
onOk: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee5() {
return regeneratorRuntime_default()().wrap(function _callee5$(_context5) {
while (1) switch (_context5.prev = _context5.next) {
onOk: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4() {
return regeneratorRuntime_default()().wrap(function _callee4$(_context4) {
while (1) switch (_context4.prev = _context4.next) {
case 0:
_context5.next = 2;
_context4.next = 2;
return form.validateFields();
case 2:
(0,counselling/* edit_specialist_question */.UO)(objectSpread2_default()({
@ -1301,9 +1230,9 @@ var PollDetail = function PollDetail(_ref) {
});
case 3:
case "end":
return _context5.stop();
return _context4.stop();
}
}, _callee5);
}, _callee4);
})),
onCancel: function onCancel() {
setVisible(false);

@ -210,6 +210,7 @@ var ExpertManage = function ExpertManage(_ref) {
bodyStyle: {
minHeight: 200
},
footer: null,
onOk: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() {
return regeneratorRuntime_default()().wrap(function _callee2$(_context2) {
while (1) switch (_context2.prev = _context2.next) {
@ -227,6 +228,7 @@ var ExpertManage = function ExpertManage(_ref) {
})),
onCancel: function onCancel() {
setSelectArrs([]);
classroomList.actionTabs.fn();
dispatch({
type: 'classroomList/setActionTabs',
payload: {}
@ -857,7 +859,11 @@ var ExpertSchedule = function ExpertSchedule(_ref) {
dispatch({
type: 'classroomList/setActionTabs',
payload: {
key: '专家排班编辑'
key: '专家排班编辑',
fn: function fn() {
getData(false);
getData1(false);
}
}
});
},

@ -249,7 +249,7 @@ var MyAnswer = function MyAnswer(_ref) {
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: MyAnswermodules.messageInfo,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: ["\u89E3\u7B54\u4E13\u5BB6", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: ["\u63D0\u95EE\u4EBA\u5458", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: MyAnswermodules.text,
children: item.specialist || '--'
})]

@ -177,7 +177,7 @@ var Navigation = function Navigation(_ref) {
setLimit(size);
};
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: [(zjlist === null || zjlist === void 0 ? void 0 : zjlist.length) > 0 && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: MyConsultationmodules.cardlist,
style: {
padding: 30,

@ -476,6 +476,7 @@ var InfoList = function InfoList(_ref) {
form: addOrEidtForm,
onFinish: function () {
var _onFinish = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2(allValue) {
var _addOrEidtOpen$dataIn;
var res;
return regeneratorRuntime_default()().wrap(function _callee2$(_context2) {
while (1) switch (_context2.prev = _context2.next) {
@ -485,7 +486,7 @@ var InfoList = function InfoList(_ref) {
}));
_context2.next = 3;
return addOrEidtOpen !== null && addOrEidtOpen !== void 0 && addOrEidtOpen.isEdit ? (0,onlinedevice/* device_fault_update */.zZ)({
id: allValue.device_id,
id: addOrEidtOpen === null || addOrEidtOpen === void 0 || (_addOrEidtOpen$dataIn = addOrEidtOpen.dataInfo) === null || _addOrEidtOpen$dataIn === void 0 ? void 0 : _addOrEidtOpen$dataIn.id,
device_fault_info: allValue
}) : (0,onlinedevice/* device_fault_add */.hO)({
device_fault_info: allValue

@ -135,12 +135,12 @@ var EditCommonHomework = function EditCommonHomework(_ref) {
children: "\u667A\u4E91\u544A\u793A"
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(breadcrumb/* default */.Z.Item, {
children: (params === null || params === void 0 ? void 0 : params.id) != 'null' ? '编辑广播' : '发布广播'
children: (params === null || params === void 0 ? void 0 : params.id) != 'null' ? '编辑告示' : '发布告示'
})]
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: EditPagemodules.index_name,
children: (params === null || params === void 0 ? void 0 : params.id) != 'null' ? '编辑广播' : '发布广播'
children: (params === null || params === void 0 ? void 0 : params.id) != 'null' ? '编辑告示' : '发布告示'
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(es_form/* default */.Z, {
form: form,
style: {
@ -179,7 +179,7 @@ var EditCommonHomework = function EditCommonHomework(_ref) {
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
name: "category",
label: "\u516C\u544A\u7C7B\u578B",
label: "\u544A\u793A\u7C7B\u578B",
rules: [{
required: true,
message: "必填项"

@ -220,30 +220,15 @@ var BriefingModal = function BriefingModal(_ref) {
var timeType = {
1: '第1节(00:00-00:50)',
2: '第2节(01:00-01:50)',
3: '第3节(02:00-02:50)',
4: '第4节(03:00-03:50)',
5: '第5节(04:00-04:50)',
6: '第6节(05:00-05:50)',
7: '第7节(06:00-06:50)',
8: '第8节(07:00-07:50)',
9: '第9节(08:00-08:50)',
10: '第10节(09:00-09:50)',
11: '第11节(10:00-10:50)',
12: '第12节(11:00-11:50)',
13: '第13节(12:00-12:50)',
14: '第14节(13:00-13:50)',
15: '第15节(14:00-14:50)',
16: '第16节(15:00-15:50)',
17: '第17节(16:00-16:50)',
18: '第18节(17:00-17:50)',
19: '第19节(18:00-18:50)',
20: '第20节(19:00-19:50)',
21: '第21节(20:00-20:50)',
22: '第22节(21:00-21:50)',
23: '第23节(22:00-22:50)',
24: '第24节(23:00-23:50)'
1: '第1节(8:00-9:00)',
2: '第2节(9:00-10:00)',
3: '第3节(10:10-11:00)',
4: '第4节(11:00-12:00)',
5: '第5节(14:00-15:00)',
6: '第6节(15:00-16:00)',
7: '第7节(16:00-17:00)',
8: '第8节(19:00-20:00)',
9: '第9节(20:00-21:00)'
};
var statusType = {
'reviewing': '待审核',

@ -366,30 +366,15 @@ var fetch = __webpack_require__(58181);
var timeType = {
1: '第1节(00:00-00:50)',
2: '第2节(01:00-01:50)',
3: '第3节(02:00-02:50)',
4: '第4节(03:00-03:50)',
5: '第5节(04:00-04:50)',
6: '第6节(05:00-05:50)',
7: '第7节(06:00-06:50)',
8: '第8节(07:00-07:50)',
9: '第9节(08:00-08:50)',
10: '第10节(09:00-09:50)',
11: '第11节(10:00-10:50)',
12: '第12节(11:00-11:50)',
13: '第13节(12:00-12:50)',
14: '第14节(13:00-13:50)',
15: '第15节(14:00-14:50)',
16: '第16节(15:00-15:50)',
17: '第17节(16:00-16:50)',
18: '第18节(17:00-17:50)',
19: '第19节(18:00-18:50)',
20: '第20节(19:00-19:50)',
21: '第21节(20:00-20:50)',
22: '第22节(21:00-21:50)',
23: '第23节(22:00-22:50)',
24: '第24节(23:00-23:50)'
1: '第1节(8:00-9:00)',
2: '第2节(9:00-10:00)',
3: '第3节(10:10-11:00)',
4: '第4节(11:00-12:00)',
5: '第5节(14:00-15:00)',
6: '第6节(15:00-16:00)',
7: '第7节(16:00-17:00)',
8: '第8节(19:00-20:00)',
9: '第9节(20:00-21:00)'
};
var statusType = {
'reviewing': '待审核',

@ -845,12 +845,6 @@ var Navigation = function Navigation(_ref) {
_umi_production_exports.history.push("/materials/itemAssetsList/createItemAssets/null");
},
children: "\u6DFB\u52A0"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "text-wrapper_4",
onClick: function onClick() {
setOpenUpload(true);
},
children: "\u5BFC\u5165"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "text-wrapper_4",
onClick: function onClick() {

@ -488,7 +488,7 @@ var OfficialNotice = function OfficialNotice(_ref) {
fontSize: '1.4vh',
color: '#fff'
},
children: "\u53D1\u5E03\u516C\u544A"
children: "\u53D1\u5E03\u544A\u793A"
})]
});
};

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save