Auto Submit

pull/1/head
autosubmit 2 years ago
parent 71cf1277d2
commit c9244a9470

@ -3941,7 +3941,7 @@ var ConfigWorks_WorkList = function WorkList(_ref) {
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
className: "ml5",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
title: (pollSetting === null || pollSetting === void 0 || (_pollSetting$poll = pollSetting.poll) === null || _pollSetting$poll === void 0 ? void 0 : _pollSetting$poll.polls_status) > 1 && '发布时间已过,不能再修改',
title: ![1, 5].includes(pollSetting === null || pollSetting === void 0 || (_pollSetting$poll = pollSetting.poll) === null || _pollSetting$poll === void 0 ? void 0 : _pollSetting$poll.polls_status) && '发布时间已过,不能再修改',
children: /*#__PURE__*/(0,jsx_runtime.jsx)(date_picker["default"], {
style: {
width: 170
@ -3953,7 +3953,7 @@ var ConfigWorks_WorkList = function WorkList(_ref) {
},
format: "YYYY-MM-DD HH:mm",
disabledDate: disabledDate,
disabled: disabled || (pollSetting === null || pollSetting === void 0 || (_pollSetting$poll2 = pollSetting.poll) === null || _pollSetting$poll2 === void 0 ? void 0 : _pollSetting$poll2.polls_status) > 1,
disabled: disabled || ![1, 5].includes(pollSetting === null || pollSetting === void 0 || (_pollSetting$poll2 = pollSetting.poll) === null || _pollSetting$poll2 === void 0 ? void 0 : _pollSetting$poll2.polls_status),
value: data.publish_time ? dayjs_min_default()(data.publish_time) : '',
allowClear: false,
onChange: function onChange(value, time) {

@ -736,7 +736,7 @@ var tooltip = __webpack_require__(6848);
var es_button = __webpack_require__(3113);
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Polls/QuestionnaireInfo/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var QuestionnaireInfomodules = ({"flex_box_center":"flex_box_center___tqZ7e","flex_space_between":"flex_space_between___YGpCP","flex_box_vertical_center":"flex_box_vertical_center___Wmc_H","flex_box_center_end":"flex_box_center_end___l9uLj","flex_box_column":"flex_box_column___lreJD","bg":"bg___pULYP","title":"title___CjRMT","description":"description___al0Mz","heji":"heji___p7O5o","heji_count":"heji_count___HQtue","answerWrap":"answerWrap___x_ft0","answerSubjective":"answerSubjective___r3Y8p","questionItem":"questionItem___BPWS5","title_timu":"title_timu___qwfEo","header_title":"header_title___ZnddW","user_info":"user_info___de4hX","user_img":"user_img___QZ_H_","header_content":"header_content___FrUxK","header_content_name":"header_content_name___IsldV","header_img":"header_img___J2UF5","footer":"footer___r3KRR","footer_button":"footer_button___nylsw","button_style":"button_style___NqMF2"});
/* harmony default export */ var QuestionnaireInfomodules = ({"flex_box_center":"flex_box_center___tqZ7e","flex_space_between":"flex_space_between___YGpCP","flex_box_vertical_center":"flex_box_vertical_center___Wmc_H","flex_box_center_end":"flex_box_center_end___l9uLj","flex_box_column":"flex_box_column___lreJD","bg":"bg___pULYP","title":"title___CjRMT","description":"description___al0Mz","heji":"heji___p7O5o","heji_count":"heji_count___HQtue","answerWrap":"answerWrap___x_ft0","answerSubjective":"answerSubjective___r3Y8p","questionItem":"questionItem___BPWS5","title_timu":"title_timu___qwfEo","header_title":"header_title___ZnddW","user_info":"user_info___de4hX","user_img":"user_img___QZ_H_","header_content":"header_content___FrUxK","header_content_name":"header_content_name___IsldV","header_img":"header_img___J2UF5","footer_before":"footer_before___nGCbx","footer":"footer___r3KRR","footer_button":"footer_button___nylsw","button_style":"button_style___NqMF2"});
// EXTERNAL MODULE: ./src/service/classrooms.ts
var classrooms = __webpack_require__(97894);
// EXTERNAL MODULE: ./src/utils/authority.ts
@ -1307,6 +1307,8 @@ var Answer = function Answer(_ref) {
})
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: QuestionnaireInfomodules.footer_before
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: QuestionnaireInfomodules.footer,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {

@ -141,6 +141,9 @@
height: 135px;
margin: 14px 15px 0 auto;
}
.footer_before___nGCbx {
height: 50px;
}
.footer___r3KRR {
width: 100%;
background: #ffffff;

@ -2260,7 +2260,7 @@ var List = function List(_ref) {
})]
}), (0,authority/* isAdmin */.GJ)() && v.polls_status == 5 && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "ml20",
children: ["\u5F00\u59CB\u65F6\u95F4 ", dayjs_min_default()(v.created_at).format('YYYY-MM-DD HH:mm')]
children: ["\u5F00\u59CB\u65F6\u95F4 ", dayjs_min_default()(v.publish_time).format('YYYY-MM-DD HH:mm')]
}), v.polls_status != 1 && v.publish_time && v.end_time && (0,authority/* isAdmin */.GJ)() && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "ml20",
children: ["\u622A\u6B62\u65F6\u95F4 ", dayjs_min_default()(v.end_time).format('YYYY-MM-DD HH:mm')]

Loading…
Cancel
Save