|
|
|
|
@ -222,7 +222,7 @@ var tuijianzixue_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUg
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var _excluded = ["globalSetting", "dispatch", "user", "homePage"];
|
|
|
|
|
var _excluded = ["globalSetting", "dispatch", "user"];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -242,11 +242,10 @@ var _excluded = ["globalSetting", "dispatch", "user", "homePage"];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var Page = function Page(_ref) {
|
|
|
|
|
var _user$userInfo3, _globalSetting$settin, _user$userInfo4, _globalSetting$settin2;
|
|
|
|
|
var _user$userInfo3, _globalSetting$settin, _user$userInfo4, _user$userInfo5, _globalSetting$settin2;
|
|
|
|
|
var globalSetting = _ref.globalSetting,
|
|
|
|
|
dispatch = _ref.dispatch,
|
|
|
|
|
user = _ref.user,
|
|
|
|
|
homePage = _ref.homePage,
|
|
|
|
|
props = objectWithoutProperties_default()(_ref, _excluded);
|
|
|
|
|
var _useSearchParams = (0,_umi_production_exports.useSearchParams)(),
|
|
|
|
|
_useSearchParams2 = slicedToArray_default()(_useSearchParams, 2),
|
|
|
|
|
@ -575,7 +574,7 @@ var Page = function Page(_ref) {
|
|
|
|
|
click: function click() {
|
|
|
|
|
(0,util/* openNewWindow */.xg)('/pathsoverview');
|
|
|
|
|
},
|
|
|
|
|
isShow: homePage === null || homePage === void 0 ? void 0 : homePage.is_show_btn
|
|
|
|
|
isShow: user === null || user === void 0 || (_user$userInfo4 = user.userInfo) === null || _user$userInfo4 === void 0 ? void 0 : _user$userInfo4.is_show_btn
|
|
|
|
|
}].filter(function (item) {
|
|
|
|
|
return item.isShow;
|
|
|
|
|
});
|
|
|
|
|
@ -602,7 +601,7 @@ var Page = function Page(_ref) {
|
|
|
|
|
value: (params === null || params === void 0 ? void 0 : params.sub_discipline_id) === 'all' ? params === null || params === void 0 ? void 0 : params.sub_discipline_id : Number(params === null || params === void 0 ? void 0 : params.sub_discipline_id),
|
|
|
|
|
onChange: handleSubclass,
|
|
|
|
|
fontColor: "#000000"
|
|
|
|
|
}), ((_user$userInfo4 = user.userInfo) === null || _user$userInfo4 === void 0 ? void 0 : _user$userInfo4.user_id) !== 2 && (0,authority/* isCommonStudent */.JA)() && (globalSetting === null || globalSetting === void 0 || (_globalSetting$settin2 = globalSetting.setting) === null || _globalSetting$settin2 === void 0 ? void 0 : _globalSetting$settin2.main_site) && !!(recommendData !== null && recommendData !== void 0 && recommendData.length) && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
|
|
|
|
|
}), ((_user$userInfo5 = user.userInfo) === null || _user$userInfo5 === void 0 ? void 0 : _user$userInfo5.user_id) !== 2 && (0,authority/* isCommonStudent */.JA)() && (globalSetting === null || globalSetting === void 0 || (_globalSetting$settin2 = globalSetting.setting) === null || _globalSetting$settin2 === void 0 ? void 0 : _globalSetting$settin2.main_site) && !!(recommendData !== null && recommendData !== void 0 && recommendData.length) && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
|
|
|
|
|
src: tuijianzixue_namespaceObject,
|
|
|
|
|
alt: "",
|
|
|
|
|
@ -653,12 +652,10 @@ var Page = function Page(_ref) {
|
|
|
|
|
};
|
|
|
|
|
/* harmony default export */ var Index = ((0,_umi_production_exports.connect)(function (_ref4) {
|
|
|
|
|
var user = _ref4.user,
|
|
|
|
|
globalSetting = _ref4.globalSetting,
|
|
|
|
|
homePage = _ref4.homePage;
|
|
|
|
|
globalSetting = _ref4.globalSetting;
|
|
|
|
|
return {
|
|
|
|
|
user: user,
|
|
|
|
|
globalSetting: globalSetting,
|
|
|
|
|
homePage: homePage
|
|
|
|
|
globalSetting: globalSetting
|
|
|
|
|
};
|
|
|
|
|
})(Page));
|
|
|
|
|
|