Auto Submit

dev_local_v9_test4
autosubmit 1 year ago
parent ca00264b93
commit 0c725dd89f

@ -344,8 +344,6 @@ var Join = __webpack_require__(79687);
var User = __webpack_require__(15278);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/dropdown/index.js + 1 modules
var dropdown = __webpack_require__(38854);
// EXTERNAL MODULE: ./src/utils/authority.ts
var authority = __webpack_require__(64118);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
var jsx_runtime = __webpack_require__(37712);
;// CONCATENATED MODULE: ./src/components/HeaderInfo/index.tsx
@ -362,9 +360,8 @@ var jsx_runtime = __webpack_require__(37712);
var headerInfo = function headerInfo(_ref) {
var _user$userInfo, _user$navigationInfo;
var _user$userInfo2, _user$navigationInfo;
var user = _ref.user,
dispatch = _ref.dispatch,
title = _ref.title,
@ -398,9 +395,10 @@ var headerInfo = function headerInfo(_ref) {
className: HeaderInfomodules.nav_left,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(dropdown/* default */.Z, {
dropdownRender: function dropdownRender() {
var _user$userInfo;
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: HeaderInfomodules.menu_style,
children: [(0,authority/* isLogin */.bg)() && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: [(user === null || user === void 0 || (_user$userInfo = user.userInfo) === null || _user$userInfo === void 0 ? void 0 : _user$userInfo.student_type) == 'internal_student' && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: HeaderInfomodules.menu_item,
onClick: function onClick() {
_umi_production_exports.history.push('/laboratoryOverview');
@ -453,7 +451,7 @@ var headerInfo = function headerInfo(_ref) {
className: HeaderInfomodules.nav_right,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(Join/* default */.Z, {
moreIcon: jia
}), !!(user !== null && user !== void 0 && (_user$userInfo = user.userInfo) !== null && _user$userInfo !== void 0 && _user$userInfo.login) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
}), !!(user !== null && user !== void 0 && (_user$userInfo2 = user.userInfo) !== null && _user$userInfo2 !== void 0 && _user$userInfo2.login) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: HeaderInfomodules.message_warp,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
src: xiaoxi,
@ -462,8 +460,8 @@ var headerInfo = function headerInfo(_ref) {
height: '2vh'
},
onClick: function onClick() {
var _user$userInfo2;
_umi_production_exports.history.push("/messages/".concat(user === null || user === void 0 || (_user$userInfo2 = user.userInfo) === null || _user$userInfo2 === void 0 ? void 0 : _user$userInfo2.login, "/user_tidings"));
var _user$userInfo3;
_umi_production_exports.history.push("/messages/".concat(user === null || user === void 0 || (_user$userInfo3 = user.userInfo) === null || _user$userInfo3 === void 0 ? void 0 : _user$userInfo3.login, "/user_tidings"));
}
}), (user === null || user === void 0 || (_user$navigationInfo = user.navigationInfo) === null || _user$navigationInfo === void 0 || (_user$navigationInfo = _user$navigationInfo.top) === null || _user$navigationInfo === void 0 ? void 0 : _user$navigationInfo.new_message) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: HeaderInfomodules.new_message

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

@ -180,7 +180,7 @@ var week = {
'7': '七'
};
var dataInfo = function dataInfo(_ref) {
var _magazinInfo$info, _magazinInfo$info2, _magazinInfo$info3, _magazinInfo$data, _user$userInfo3, _ref2, _dutyData$my_duty, _dutyData$specialists, _user$userInfo4, _questionsData$specia, _user$userInfo5;
var _magazinInfo$info, _magazinInfo$info2, _magazinInfo$info3, _magazinInfo$data, _user$userInfo3, _ref2, _dutyData$my_duty, _dutyData$specialists, _user$userInfo5, _questionsData$specia, _user$userInfo7;
var user = _ref.user,
dispatch = _ref.dispatch,
dataSorce = _ref.dataSorce;
@ -412,6 +412,14 @@ var dataInfo = function dataInfo(_ref) {
children: user !== null && user !== void 0 && (_user$userInfo3 = user.userInfo) !== null && _user$userInfo3 !== void 0 && _user$userInfo3.specialist_id ? '本周的值班日期' : '今日值班专家'
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: dataInfomodules.title_more,
onClick: function onClick() {
var _user$userInfo4;
if (user !== null && user !== void 0 && (_user$userInfo4 = user.userInfo) !== null && _user$userInfo4 !== void 0 && _user$userInfo4.specialist_id) {
_umi_production_exports.history.push('/counselling/myAnswer');
} else {
_umi_production_exports.history.push('/counselling/expertList');
}
},
children: ["\u67E5\u770B\u66F4\u591A ", /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-xiaojiantou",
style: {
@ -493,9 +501,17 @@ var dataInfo = function dataInfo(_ref) {
}
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: dataInfomodules.title_name,
children: user !== null && user !== void 0 && (_user$userInfo4 = user.userInfo) !== null && _user$userInfo4 !== void 0 && _user$userInfo4.specialist_id ? '我的解答' : '我的提问'
children: user !== null && user !== void 0 && (_user$userInfo5 = user.userInfo) !== null && _user$userInfo5 !== void 0 && _user$userInfo5.specialist_id ? '我的解答' : '我的提问'
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: dataInfomodules.title_more,
onClick: function onClick() {
var _user$userInfo6;
if (user !== null && user !== void 0 && (_user$userInfo6 = user.userInfo) !== null && _user$userInfo6 !== void 0 && _user$userInfo6.specialist_id) {
_umi_production_exports.history.push("/counselling/myAnswer");
} else {
_umi_production_exports.history.push('/counselling/myConsultation');
}
},
children: ["\u67E5\u770B\u66F4\u591A ", /*#__PURE__*/(0,jsx_runtime.jsx)("i", {
className: "iconfont icon-xiaojiantou",
style: {
@ -595,12 +611,12 @@ var dataInfo = function dataInfo(_ref) {
}
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: dataInfomodules.title_name,
children: user !== null && user !== void 0 && (_user$userInfo5 = user.userInfo) !== null && _user$userInfo5 !== void 0 && _user$userInfo5.is_magazine_authors ? '投稿审核' : '我的投稿'
children: user !== null && user !== void 0 && (_user$userInfo7 = user.userInfo) !== null && _user$userInfo7 !== void 0 && _user$userInfo7.is_magazine_authors ? '投稿审核' : '我的投稿'
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: dataInfomodules.title_more,
onClick: function onClick() {
var _user$userInfo6;
if (user !== null && user !== void 0 && (_user$userInfo6 = user.userInfo) !== null && _user$userInfo6 !== void 0 && _user$userInfo6.is_magazine_authors) {
var _user$userInfo8;
if (user !== null && user !== void 0 && (_user$userInfo8 = user.userInfo) !== null && _user$userInfo8 !== void 0 && _user$userInfo8.is_magazine_authors) {
_umi_production_exports.history.push('/magazinever/review');
} else {
_umi_production_exports.history.push('/magazinever/submission');

@ -50,7 +50,7 @@
}
.officialNotice___U4fbC .content___LX49u .yaowen___iN8Xr .yaowen_left___wZVcF .yaowen_left_img___sWIOc {
width: 23vw;
max-height: 26vh;
height: 26vh;
}
.officialNotice___U4fbC .content___LX49u .yaowen___iN8Xr .yaowen_left___wZVcF .yaowen_left_text___Zo8bf {
margin-top: 0.8vw;

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