autoUpdataFile

dev_local_v9_zzxy
eduauto 1 year ago
parent 76e5e47bb4
commit 561fd50008

@ -1,5 +1,5 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[50721],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[69913],{
/***/ 20103:
/*!**********************************!*\
@ -563,33 +563,6 @@ function _delMagazine() {
/***/ }),
/***/ 8378:
/*!*******************************************************************!*\
!*** ./node_modules/_antd@5.9.0@antd/es/style/motion/collapse.js ***!
\*******************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__) {
const genCollapseMotion = token => ({
[token.componentCls]: {
// For common/openAnimation
[`${token.antCls}-motion-collapse-legacy`]: {
overflow: 'hidden',
'&-active': {
transition: `height ${token.motionDurationMid} ${token.motionEaseInOut},
opacity ${token.motionDurationMid} ${token.motionEaseInOut} !important`
}
},
[`${token.antCls}-motion-collapse`]: {
overflow: 'hidden',
transition: `height ${token.motionDurationMid} ${token.motionEaseInOut},
opacity ${token.motionDurationMid} ${token.motionEaseInOut} !important`
}
}
});
/* harmony default export */ __webpack_exports__.Z = (genCollapseMotion);
/***/ }),
/***/ 24362:
/*!***************************************************!*\
!*** ./src/pages/Magazinejor/img/defaultpage.png ***!

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

@ -1893,10 +1893,13 @@ var progress = __webpack_require__(93948);
var containerType = {
'Receive': '物资申请',
'DeviceType': '设备类型',
'Device': '设备监控',
'Reservation': '实验室预约'
// 'ApplyReceive': '物资申请',
// 'ApplyPurchase': '物资采购',
// 'DeviceMessage': '设备异常',
'HomeworkCommon': '课堂作业发布',
'Reservation': '预约',
'DeviceType': '设备类型'
// 'Device': '设备',
};
var NewHomeEntrance = function NewHomeEntrance(_ref) {
var _ref2, _ref3, _ref4, _homewordlist$statis;
@ -2648,7 +2651,7 @@ var NewHomeEntrance = function NewHomeEntrance(_ref) {
color: '#fff'
},
className: Statisticsmodules.textmu,
children: ["\u3010", containerType[item === null || item === void 0 ? void 0 : item.container_type], "\u3011 ", item === null || item === void 0 ? void 0 : item.content]
children: ["\u3010", containerType[item === null || item === void 0 ? void 0 : item.container_type] || '设备', "\u3011 ", item === null || item === void 0 ? void 0 : item.content]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
style: {
color: '#fff'

@ -143,5 +143,8 @@ button:active {
display: -webkit-box;
-webkit-line-clamp: 1;
overflow: hidden;
font-weight: 600;
font-size: 16px;
color: #434D6C;
}

@ -291,7 +291,7 @@ var Navigation = function Navigation(_ref) {
padding: 20
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(row/* default */.Z, {
gutter: 16,
gutter: [16, 24],
children: list === null || list === void 0 || (_list$list = list.list) === null || _list$list === void 0 ? void 0 : _list$list.map(function (item) {
var _item$cover_imgae;
return /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
@ -303,13 +303,34 @@ var Navigation = function Navigation(_ref) {
_umi_production_exports.history.push("/laboratory/regulations/".concat(item === null || item === void 0 ? void 0 : item.id, "/info"));
},
style: {
width: 280
width: 320
},
cover: /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
cover: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
height: 200
height: 220,
position: 'relative'
},
src: item === null || item === void 0 || (_item$cover_imgae = item.cover_imgae) === null || _item$cover_imgae === void 0 ? void 0 : _item$cover_imgae.url
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
style: {
height: 220,
width: '100%'
},
src: item === null || item === void 0 || (_item$cover_imgae = item.cover_imgae) === null || _item$cover_imgae === void 0 ? void 0 : _item$cover_imgae.url
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
position: 'absolute',
textAlign: 'center',
width: '100%',
fontSize: 30,
color: '#fff',
top: 0,
height: 220,
display: 'flex',
alignItems: 'center',
justifyContent: 'center'
},
children: [" ", item === null || item === void 0 ? void 0 : item.name]
})]
}),
children: item === null || item === void 0 ? void 0 : item.name
})

@ -1192,7 +1192,7 @@ var Navigation = function Navigation(_ref) {
colon: false,
name: "container_id",
rules: [{
required: true,
required: false,
message: '请选择关联教学'
}],
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_select["default"], {

@ -53,7 +53,7 @@ var Search = input/* default */.Z.Search;
var Engineering = function Engineering(_ref) {
var _user$userInfo;
var _user$userInfo, _user$userInfo2;
var user = _ref.user,
globalSetting = _ref.globalSetting,
engineering = _ref.engineering,
@ -161,7 +161,7 @@ var Engineering = function Engineering(_ref) {
children: "\u671F\u520A\u8BE6\u60C5"
})]
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
}), ((magazineCommentParams === null || magazineCommentParams === void 0 ? void 0 : magazineCommentParams.can_reviewed) || (user === null || user === void 0 || (_user$userInfo = user.userInfo) === null || _user$userInfo === void 0 ? void 0 : _user$userInfo.is_magazine_authors)) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "".concat(isSelected("/magazinever/monthlydetails") ? "section_7" : "section_8", " flex-row"),
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(_umi_production_exports.Link, {
to: "/magazinever/monthlydetails",
@ -205,7 +205,7 @@ var Engineering = function Engineering(_ref) {
children: "\u5176\u4ED6\u671F\u520A"
})]
})
}), ((magazineCommentParams === null || magazineCommentParams === void 0 ? void 0 : magazineCommentParams.can_reviewed) || (user === null || user === void 0 || (_user$userInfo = user.userInfo) === null || _user$userInfo === void 0 ? void 0 : _user$userInfo.is_magazine_authors)) && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
}), ((magazineCommentParams === null || magazineCommentParams === void 0 ? void 0 : magazineCommentParams.can_reviewed) || (user === null || user === void 0 || (_user$userInfo2 = user.userInfo) === null || _user$userInfo2 === void 0 ? void 0 : _user$userInfo2.is_magazine_authors)) && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
margin: '40px 10px 0px 10px',
@ -223,6 +223,17 @@ var Engineering = function Engineering(_ref) {
children: "\u6295\u7A3F\u5BA1\u6838"
})]
})
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "".concat(isSelected("/magazinever/monthlyadmins") ? "section_7" : "section_8", " flex-row"),
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(_umi_production_exports.Link, {
to: "/magazinever/monthlyadmins",
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "icon-zzxy-yuekanguanli"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "text_5",
children: "\u6708\u520A\u7BA1\u7406"
})]
})
})]
})]
})

@ -1557,6 +1557,33 @@ if (false) {}
/***/ }),
/***/ 8378:
/*!*******************************************************************!*\
!*** ./node_modules/_antd@5.9.0@antd/es/style/motion/collapse.js ***!
\*******************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__) {
const genCollapseMotion = token => ({
[token.componentCls]: {
// For common/openAnimation
[`${token.antCls}-motion-collapse-legacy`]: {
overflow: 'hidden',
'&-active': {
transition: `height ${token.motionDurationMid} ${token.motionEaseInOut},
opacity ${token.motionDurationMid} ${token.motionEaseInOut} !important`
}
},
[`${token.antCls}-motion-collapse`]: {
overflow: 'hidden',
transition: `height ${token.motionDurationMid} ${token.motionEaseInOut},
opacity ${token.motionDurationMid} ${token.motionEaseInOut} !important`
}
}
});
/* harmony default export */ __webpack_exports__.Z = (genCollapseMotion);
/***/ }),
/***/ 60028:
/*!**********************************************************!*\
!*** ./node_modules/_antd@5.9.0@antd/es/upload/index.js ***!

@ -1,6 +1,142 @@
/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Magazinejor/component/MonthlyDetail/index.less?modules ***!
\************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___XV6rk {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___TIck0 {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___U36lR {
align-items: center;
box-align: center;
}
.flex_box_center_end___zAwgB {
justify-content: flex-end;
align-items: center;
-webkit-justify-content: flex-end;
-webkit-align-items: center;
-webkit-box-align: center;
-webkit-box-pack: end;
box-align: center;
box-pack: end;
}
.flex_box_column___YiqYt {
flex-direction: column;
box-orient: block-axis;
}
button {
margin: 0;
padding: 0;
border: 1px solid transparent;
outline: none;
background-color: transparent;
}
button:active {
opacity: 0.6;
}
.flex-col___bziKA {
display: flex;
flex-direction: column;
}
.flex-row___MkOb2 {
display: flex;
flex-direction: row;
}
.justify-start___OhdDW {
display: flex;
justify-content: flex-start;
}
.justify-center___vBwGn {
display: flex;
justify-content: center;
}
.justify-end___VbsJc {
display: flex;
justify-content: flex-end;
}
.justify-evenly___XtI5b {
display: flex;
justify-content: space-evenly;
}
.justify-around___UHK4b {
display: flex;
justify-content: space-around;
}
.justify-between___CoGml {
display: flex;
justify-content: space-between;
}
.align-start___SQk5k {
display: flex;
align-items: flex-start;
}
.align-center___rOnRc {
display: flex;
align-items: center;
}
.align-end___wDDq7 {
display: flex;
align-items: flex-end;
}
button {
margin: 0;
padding: 0;
border: 1px solid transparent;
outline: none;
background-color: transparent;
}
button:active {
opacity: 0.6;
}
.flex-col___bziKA {
display: flex;
flex-direction: column;
}
.flex-row___MkOb2 {
display: flex;
flex-direction: row;
}
.justify-start___OhdDW {
display: flex;
justify-content: flex-start;
}
.justify-center___vBwGn {
display: flex;
justify-content: center;
}
.justify-end___VbsJc {
display: flex;
justify-content: flex-end;
}
.justify-evenly___XtI5b {
display: flex;
justify-content: space-evenly;
}
.justify-around___UHK4b {
display: flex;
justify-content: space-around;
}
.justify-between___CoGml {
display: flex;
justify-content: space-between;
}
.align-start___SQk5k {
display: flex;
align-items: flex-start;
}
.align-center___rOnRc {
display: flex;
align-items: center;
}
.align-end___wDDq7 {
display: flex;
align-items: flex-end;
}
.Onerow___lxAe1 {
word-break: break-all;
overflow: hidden;
@ -125,171 +261,18 @@
margin-top: 30px;
height: calc(100vh - 400px);
min-height: 605px;
}
.detailWrap___WBknt .detailCon___WVkej .leftWrap____Bdww {
width: 400px;
height: 100%;
background: linear-gradient(180deg, #0D2A6D 0%, #4B5DCD 100%);
box-shadow: inset 0px 1px 6px 0px #051E55;
border-radius: 4px;
padding: 18px;
margin-right: 20px;
}
.detailWrap___WBknt .detailCon___WVkej .leftWrap____Bdww [class~='ant-collapse-content-box'] {
width: 360px;
height: 112px;
background: rgba(178, 189, 249, 0.18);
border-radius: 4px;
padding: 20px;
border: 1px solid rgba(255, 255, 255, 0.21);
}
.detailWrap___WBknt .detailCon___WVkej .leftWrap____Bdww [class~='ant-collapse-header'] {
padding: 12px 0px !important;
}
.detailWrap___WBknt .detailCon___WVkej .leftWrap____Bdww [class~='ant-collapse-item-active'] {
border: none;
}
.detailWrap___WBknt .detailCon___WVkej .leftWrap____Bdww [class~='ant-collapse-header-text'] {
font-family: PingFangSC, PingFang SC;
font-weight: 600;
font-size: 16px;
color: #fff;
}
.detailWrap___WBknt .detailCon___WVkej .leftWrap____Bdww .commonMonth___SgHtH {
display: inline-block;
width: 26px;
height: 26px;
text-align: center;
line-height: 26px;
border-radius: 2px;
font-weight: 600;
font-size: 14px;
margin-right: 30px;
background: #B2BDF9;
color: #585858;
cursor: pointer;
}
.detailWrap___WBknt .detailCon___WVkej .leftWrap____Bdww .activeMonth___C4WOf {
color: #fff;
background: linear-gradient(270deg, #0E62FF 0%, #17CFDF 100%);
}
.detailWrap___WBknt .detailCon___WVkej .leftWrap____Bdww .disMonth___UFVou {
cursor: not-allowed;
color: #708192;
background-color: #e4e4e4;
}
.detailWrap___WBknt .detailCon___WVkej .rightWrap___WExRj {
flex: 1 1;
background: linear-gradient(180deg, #0D2A6D 0%, #4356C0 100%);
box-shadow: inset 0px 1px 6px 0px #051E55;
border-radius: 4px;
padding-bottom: 20px;
height: 100%;
}
.detailWrap___WBknt .detailCon___WVkej .rightWrap___WExRj .rightconbox___S2MCV {
width: 100%;
height: calc(100% - 60px);
overflow-y: auto;
padding: 0px 20px;
}
.detailWrap___WBknt .detailCon___WVkej .rightWrap___WExRj .rightconbox___S2MCV .itemWrap___qXoU4 {
width: 100%;
background: linear-gradient(180deg, #91A4FB 0%, #9EAAE8 100%);
border-radius: 4px;
border: 1px solid rgba(255, 255, 255, 0.21);
padding: 20px;
position: relative;
min-height: 122px;
}
.detailWrap___WBknt .detailCon___WVkej .rightWrap___WExRj .rightconbox___S2MCV .itemWrap___qXoU4 .bgimg___c8zwq {
position: absolute;
top: 2px;
right: 10px;
}
.detailWrap___WBknt .detailCon___WVkej .rightWrap___WExRj .rightconbox___S2MCV .itemWrap___qXoU4 .itemName___VUkPV {
padding: 8px 10px;
margin-bottom: 30px;
width: -webkit-max-content;
width: -moz-max-content;
width: max-content;
height: 32px;
box-shadow: inset 0px 5px 17px 3px rgba(104, 126, 241, 0.5);
border-radius: 4px;
border: 1px solid;
background: linear-gradient(0deg, #2E81FF 0%, #725BFF 99%);
border-image: linear-gradient(180deg, #6f88e1, #d2d9ff) 1 1;
font-family: AlibabaPuHuiTi_2_85_Bold;
font-size: 16px;
color: #35D7E8;
line-height: 16px;
text-shadow: 0px 1px 2px rgba(193, 220, 255, 0.5), inset 0px 1px 3px #1E0B5F;
text-align: center;
font-style: normal;
}
.detailWrap___WBknt .detailCon___WVkej .rightWrap___WExRj .rightconbox___S2MCV .itemWrap___qXoU4 .arcWrap___RBjHW {
display: flex;
column-gap: 20px;
row-gap: 20px;
flex-wrap: wrap;
}
.detailWrap___WBknt .detailCon___WVkej .rightWrap___WExRj .rightconbox___S2MCV .itemWrap___qXoU4 .arcWrap___RBjHW .artItem___fncme {
width: 315px;
height: 121px;
background: #CEDEFF;
border-radius: 6px;
border: 1px solid #D0F5FF;
-webkit-backdrop-filter: blur(10px);
backdrop-filter: blur(10px);
display: flex;
padding: 8px;
cursor: pointer;
}
.detailWrap___WBknt .detailCon___WVkej .rightWrap___WExRj .rightconbox___S2MCV .itemWrap___qXoU4 .arcWrap___RBjHW .artItem___fncme:hover {
box-shadow: 0px 1px 32px 0px rgba(35, 20, 255, 0.56);
}
.detailWrap___WBknt .detailCon___WVkej .rightWrap___WExRj .rightconbox___S2MCV .itemWrap___qXoU4 .arcWrap___RBjHW .artItem___fncme:hover .detailsWrap___ZXVQK .deltop___QSWQi .icon___YjDks {
display: inline;
color: #5980FC;
font-size: 14px;
}
.detailWrap___WBknt .detailCon___WVkej .rightWrap___WExRj .rightconbox___S2MCV .itemWrap___qXoU4 .arcWrap___RBjHW .artItem___fncme .detailsWrap___ZXVQK {
margin-left: 23px;
display: flex;
flex-direction: column;
justify-content: space-between;
width: 155px;
}
.detailWrap___WBknt .detailCon___WVkej .rightWrap___WExRj .rightconbox___S2MCV .itemWrap___qXoU4 .arcWrap___RBjHW .artItem___fncme .detailsWrap___ZXVQK .deltop___QSWQi {
display: flex;
align-items: center;
justify-content: space-between;
}
.detailWrap___WBknt .detailCon___WVkej .rightWrap___WExRj .rightconbox___S2MCV .itemWrap___qXoU4 .arcWrap___RBjHW .artItem___fncme .detailsWrap___ZXVQK .deltop___QSWQi .title___S_r3y {
word-break: break-all;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
max-width: 90px;
font-family: PingFangSC, PingFang SC;
font-weight: 600;
font-size: 14px;
color: #434D6C;
margin-top: 6px;
}
.detailWrap___WBknt .detailCon___WVkej .rightWrap___WExRj .rightconbox___S2MCV .itemWrap___qXoU4 .arcWrap___RBjHW .artItem___fncme .detailsWrap___ZXVQK .deltop___QSWQi .icon___YjDks {
display: none;
}
.detailWrap___WBknt .detailCon___WVkej .rightWrap___WExRj .rightconbox___S2MCV .itemWrap___qXoU4 .arcWrap___RBjHW .artItem___fncme .detailsWrap___ZXVQK .delbottom___viSpJ {
display: flex;
align-items: center;
justify-content: space-between;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 12px;
color: #333333;
margin-bottom: 3px;
}
.my_modal___vwP5A [class~='ant-form-item-label'] {
margin-right: 10px;
}
.cardname___F5pmg div[class~='ant-card-body'] {
padding: 10px !important;
-webkit-box-orient: vertical;
display: -webkit-box;
-webkit-line-clamp: 1;
overflow: hidden;
}

@ -1,10 +1,10 @@
"use strict";
(self["webpackChunk"] = self["webpackChunk"] || []).push([[91958],{
(self["webpackChunk"] = self["webpackChunk"] || []).push([[2507],{
/***/ 43467:
/*!*****************************************************************************!*\
!*** ./src/pages/Magazinejor/component/MonthlyDetail/index.tsx + 1 modules ***!
\*****************************************************************************/
/***/ 67140:
/*!**********************************************************************************!*\
!*** ./src/pages/Magazinejor/component/MonthlyDetailamins/index.tsx + 1 modules ***!
\**********************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// ESM COMPAT FLAG
@ -12,7 +12,7 @@ __webpack_require__.r(__webpack_exports__);
// EXPORTS
__webpack_require__.d(__webpack_exports__, {
"default": function() { return /* binding */ MonthlyDetail; }
"default": function() { return /* binding */ MonthlyDetailamins; }
});
// EXTERNAL MODULE: ./node_modules/_@babel_runtime@7.23.6@@babel/runtime/helpers/objectSpread2.js
@ -31,27 +31,27 @@ var slicedToArray_default = /*#__PURE__*/__webpack_require__.n(slicedToArray);
var _react_17_0_2_react = __webpack_require__(59301);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/form/index.js + 19 modules
var es_form = __webpack_require__(78241);
// 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/tooltip/index.js + 3 modules
var tooltip = __webpack_require__(6848);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/spin/index.js + 1 modules
var spin = __webpack_require__(71418);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/table/index.js + 85 modules
var table = __webpack_require__(1710);
// EXTERNAL MODULE: ./src/.umi-production/exports.ts
var _umi_production_exports = __webpack_require__(88271);
;// CONCATENATED MODULE: ./src/pages/Magazinejor/component/MonthlyDetail/index.less?modules
;// CONCATENATED MODULE: ./src/pages/Magazinejor/component/MonthlyDetailamins/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var MonthlyDetailmodules = ({"Onerow":"Onerow___lxAe1","MultiLine":"MultiLine___anFa7","detailWrap":"detailWrap___WBknt","detailTop":"detailTop___Inv9X","topLeft":"topLeft___XTJ2B","imgCover":"imgCover___pCsrk","coverimg":"coverimg___C9J1k","imgDes":"imgDes___kEb1A","d1":"d1___qdeEG","d2":"d2___plF4G","label":"label___kTtCF","info":"info___EibxE","d3":"d3___YNxfS","d4":"d4___LZRvd","btn":"btn___PO7DH","topbg":"topbg___Cm5XV","detailCon":"detailCon___WVkej","leftWrap":"leftWrap____Bdww","commonMonth":"commonMonth___SgHtH","activeMonth":"activeMonth___C4WOf","disMonth":"disMonth___UFVou","rightWrap":"rightWrap___WExRj","rightconbox":"rightconbox___S2MCV","itemWrap":"itemWrap___qXoU4","bgimg":"bgimg___c8zwq","itemName":"itemName___VUkPV","arcWrap":"arcWrap___RBjHW","artItem":"artItem___fncme","detailsWrap":"detailsWrap___ZXVQK","deltop":"deltop___QSWQi","icon":"icon___YjDks","title":"title___S_r3y","delbottom":"delbottom___viSpJ","my_modal":"my_modal___vwP5A"});
/* harmony default export */ var MonthlyDetailaminsmodules = ({"flex_box_center":"flex_box_center___tmuif","flex_space_between":"flex_space_between___b0JZ3","flex_box_vertical_center":"flex_box_vertical_center___t8QRH","flex_box_center_end":"flex_box_center_end___priyO","flex_box_column":"flex_box_column___NKHpX","flex-col":"flex-col___PWdRw","flex-row":"flex-row___e9YpP","justify-start":"justify-start___FHw2N","justify-center":"justify-center___SX_jS","justify-end":"justify-end___mwNxD","justify-evenly":"justify-evenly___DfE1Y","justify-around":"justify-around___JM4Hu","justify-between":"justify-between___NY2JB","align-start":"align-start___jR_jF","align-center":"align-center___gdsWi","align-end":"align-end___mlEL_","Onerow":"Onerow___RWoml","MultiLine":"MultiLine___dl4vx","detailWrap":"detailWrap___xSbqp","detailTop":"detailTop___B7yfC","topLeft":"topLeft___Cee6L","imgCover":"imgCover___L3JeS","coverimg":"coverimg____PpsR","imgDes":"imgDes___yQ0OU","d1":"d1___qxOFu","d2":"d2___dHawy","label":"label___df6yT","info":"info___kpXvE","d3":"d3___DKCTm","d4":"d4___qyhbt","btn":"btn___MUsEW","topbg":"topbg___JcYSB","detailCon":"detailCon___cmarH","my_modal":"my_modal___Z5YCB","cardname":"cardname___RpYGT"});
// EXTERNAL MODULE: ./node_modules/_dayjs@1.11.13@dayjs/dayjs.min.js
var dayjs_min = __webpack_require__(61186);
var dayjs_min_default = /*#__PURE__*/__webpack_require__.n(dayjs_min);
// EXTERNAL MODULE: ./src/service/magazine.tsx
var magazine = __webpack_require__(20103);
// EXTERNAL MODULE: ./src/utils/fetch.ts
var fetch = __webpack_require__(82710);
// EXTERNAL MODULE: ./src/pages/Magazinejor/img/defaultpage.png
var defaultpage = __webpack_require__(24362);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
var jsx_runtime = __webpack_require__(37712);
;// CONCATENATED MODULE: ./src/pages/Magazinejor/component/MonthlyDetail/index.tsx
;// CONCATENATED MODULE: ./src/pages/Magazinejor/component/MonthlyDetailamins/index.tsx
@ -118,122 +118,95 @@ var Journal = function Journal() {
_useState20 = slicedToArray_default()(_useState19, 2),
columnList = _useState20[0],
setColumnList = _useState20[1];
var preview = /*#__PURE__*/function () {
var _ref = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee(item) {
var columns = [{
title: '月刊',
dataIndex: 'name',
ellipsis: true,
render: function render(text, record) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
placement: "bottomLeft",
title: text,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
color: '#165DFF',
cursor: 'pointer'
},
onClick: function onClick() {},
children: text || '--'
})
});
}
}, {
title: '文章',
dataIndex: 'user_name',
ellipsis: true,
render: function render(text) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
placement: "bottomLeft",
title: text,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: text || '--'
})
});
}
}, {
title: '创建时间',
dataIndex: 'created_at',
ellipsis: true,
render: function render(text) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
placement: "bottomLeft",
title: dayjs_min_default()(text).format('YYYY-MM-DD HH:mm'),
children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
color: '#666666'
},
children: dayjs_min_default()(text).format('YYYY-MM-DD HH:mm') || '--'
})
});
}
}, {
title: '操作',
dataIndex: 'student_number9',
ellipsis: true,
width: 180,
render: function render(text, record) {
return /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, {});
}
}];
var getColumn = /*#__PURE__*/function () {
var _ref = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee() {
var res;
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
if (!((item === null || item === void 0 ? void 0 : item.file_type) === "txt")) {
_context.next = 5;
break;
}
_context.next = 3;
return (0,fetch/* default */.ZP)(item === null || item === void 0 ? void 0 : item.url, {
method: "get",
headers: {
"Content-Type": "application/xml"
}
});
case 3:
res = _context.sent;
monacoValueRef.current = res;
case 5:
setPreviewData({
type: item === null || item === void 0 ? void 0 : item.file_type,
content: item === null || item === void 0 ? void 0 : item.url
});
case 6:
case "end":
return _context.stop();
}
}, _callee);
}));
return function preview(_x) {
return _ref.apply(this, arguments);
};
}();
var handleModifyFinish = /*#__PURE__*/function () {
var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2(values) {
var _values$attachment_id, res;
return regeneratorRuntime_default()().wrap(function _callee2$(_context2) {
while (1) switch (_context2.prev = _context2.next) {
case 0:
setModifyBtnLoading(true);
if (values.attachment_id) {
values.attachment_id = values === null || values === void 0 || (_values$attachment_id = values.attachment_id) === null || _values$attachment_id === void 0 ? void 0 : _values$attachment_id.map(function (v) {
return v.response.id;
});
}
if (!(modifyVis == 1)) {
_context2.next = 8;
break;
}
_context2.next = 5;
return (0,magazine/* postMagazin */.QM)(objectSpread2_default()({}, values));
case 5:
_context2.t0 = _context2.sent;
_context2.next = 11;
break;
case 8:
_context2.next = 10;
return (0,magazine/* editArticle */.OD)(objectSpread2_default()(objectSpread2_default()({}, values), {}, {
article_id: editId,
id: 1
}));
case 10:
_context2.t0 = _context2.sent;
case 11:
res = _context2.t0;
if ((res === null || res === void 0 ? void 0 : res.status) === 0) {
message/* default */.ZP.success('操作成功');
setModify(0);
getData();
}
setModifyBtnLoading(false);
case 14:
case "end":
return _context2.stop();
}
}, _callee2);
}));
return function handleModifyFinish(_x2) {
return _ref2.apply(this, arguments);
};
}();
var getColumn = /*#__PURE__*/function () {
var _ref3 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee3() {
var res;
return regeneratorRuntime_default()().wrap(function _callee3$(_context3) {
while (1) switch (_context3.prev = _context3.next) {
case 0:
setLoading(true);
_context3.next = 3;
_context.next = 3;
return (0,magazine/* getMonthlyDetail */.Wx)({});
case 3:
res = _context3.sent;
res = _context.sent;
if ((res === null || res === void 0 ? void 0 : res.status) === 0) {
setColumnList(res === null || res === void 0 ? void 0 : res.data);
}
setLoading(false);
case 6:
case "end":
return _context3.stop();
return _context.stop();
}
}, _callee3);
}, _callee);
}));
return function getColumn() {
return _ref3.apply(this, arguments);
return _ref.apply(this, arguments);
};
}();
var getData = /*#__PURE__*/function () {
var _ref4 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee4() {
var _ref2 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee2() {
var res;
return regeneratorRuntime_default()().wrap(function _callee4$(_context4) {
while (1) switch (_context4.prev = _context4.next) {
return regeneratorRuntime_default()().wrap(function _callee2$(_context2) {
while (1) switch (_context2.prev = _context2.next) {
case 0:
setLoading(true);
_context4.next = 3;
_context2.next = 3;
return (0,magazine/* getMagazinDetail */.lR)({
// id: urlParams?.id,
id: 1,
@ -241,19 +214,19 @@ var Journal = function Journal() {
end_time: params.year && params.month ? dayjs_min_default()(params.year + '-' + params.month, 'YYYY-MM').endOf('month').format('YYYY-MM-DD') : ''
});
case 3:
res = _context4.sent;
res = _context2.sent;
if ((res === null || res === void 0 ? void 0 : res.status) === 0) {
setData(res === null || res === void 0 ? void 0 : res.data);
}
setLoading(false);
case 6:
case "end":
return _context4.stop();
return _context2.stop();
}
}, _callee4);
}, _callee2);
}));
return function getData() {
return _ref4.apply(this, arguments);
return _ref2.apply(this, arguments);
};
}();
(0,_react_17_0_2_react.useEffect)(function () {
@ -281,7 +254,7 @@ var Journal = function Journal() {
}).map(function (item, jndex) {
var isDisabled = Number(currentYear) <= Number(params.year) && Number(currentMonth) < 12 - jndex;
return /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "\n ".concat(MonthlyDetailmodules.commonMonth, " ").concat(params.month == 12 - jndex ? MonthlyDetailmodules.activeMonth : '', " \n ").concat(isDisabled ? MonthlyDetailmodules.disMonth : ''),
className: "\n ".concat(MonthlyDetailaminsmodules.commonMonth, " ").concat(params.month == 12 - jndex ? MonthlyDetailaminsmodules.activeMonth : '', " \n ").concat(isDisabled ? MonthlyDetailaminsmodules.disMonth : ''),
style: {
marginTop: jndex >= 6 ? '16px' : '0px',
marginRight: [5, 11].includes(jndex) ? '0px' : '30px'
@ -305,45 +278,45 @@ var Journal = function Journal() {
return /*#__PURE__*/(0,jsx_runtime.jsx)(spin/* default */.Z, {
spinning: loading,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: MonthlyDetailmodules.detailWrap,
className: MonthlyDetailaminsmodules.detailWrap,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: MonthlyDetailmodules.detailTop,
className: MonthlyDetailaminsmodules.detailTop,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: MonthlyDetailmodules.topLeft,
className: MonthlyDetailaminsmodules.topLeft,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: MonthlyDetailmodules.imgCover,
className: MonthlyDetailaminsmodules.imgCover,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("img", {
src: (data === null || data === void 0 ? void 0 : data.cover_url) || defaultpage,
className: MonthlyDetailmodules.coverimg
className: MonthlyDetailaminsmodules.coverimg
}), /*#__PURE__*/(0,jsx_runtime.jsx)("img", {
src: __webpack_require__(/*! ../../img/imgcover.png */ 93828),
width: 158
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: MonthlyDetailmodules.imgDes,
className: MonthlyDetailaminsmodules.imgDes,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: MonthlyDetailmodules.d1,
className: MonthlyDetailaminsmodules.d1,
children: (data === null || data === void 0 ? void 0 : data.name) || '--'
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: MonthlyDetailmodules.d2,
className: MonthlyDetailaminsmodules.d2,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: MonthlyDetailmodules.label,
className: MonthlyDetailaminsmodules.label,
children: "\u4E3B\u7F16"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: MonthlyDetailmodules.info,
className: MonthlyDetailaminsmodules.info,
children: (data === null || data === void 0 ? void 0 : data.author_names) || '--'
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: MonthlyDetailmodules.label,
className: MonthlyDetailaminsmodules.label,
style: {
marginLeft: '100px',
marginRight: "10px"
},
children: "\u5206\u7C7B"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: MonthlyDetailmodules.info,
className: MonthlyDetailaminsmodules.info,
style: {
marginRight: '100px'
},
@ -351,35 +324,46 @@ var Journal = function Journal() {
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: MonthlyDetailmodules.label,
className: MonthlyDetailaminsmodules.label,
children: "\u6587\u7AE0\u6570"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: MonthlyDetailmodules.info,
className: MonthlyDetailaminsmodules.info,
children: (data === null || data === void 0 ? void 0 : data.articles_count) || '--'
})]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: MonthlyDetailmodules.d3,
className: MonthlyDetailaminsmodules.d3,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: MonthlyDetailmodules.label,
className: MonthlyDetailaminsmodules.label,
children: "\u7B80\u4ECB"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: MonthlyDetailmodules.info,
className: MonthlyDetailaminsmodules.info,
children: (data === null || data === void 0 ? void 0 : data.description) || '--'
})]
})]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: MonthlyDetailmodules.topbg
className: MonthlyDetailaminsmodules.topbg
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: MonthlyDetailmodules.detailCon,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {})
className: MonthlyDetailaminsmodules.detailCon,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: "materials-table-wrp",
style: {
marginRight: 0
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, {
pagination: false,
dataSource: columnList === null || columnList === void 0 ? void 0 : columnList.list,
className: "materials-table",
columns: columns
})
})
})]
})
});
};
/* harmony default export */ var MonthlyDetail = (Journal);
/* harmony default export */ var MonthlyDetailamins = (Journal);
/***/ })

@ -0,0 +1,278 @@
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.4.4@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Magazinejor/component/MonthlyDetailamins/index.less?modules ***!
\*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___tmuif {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___b0JZ3 {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___t8QRH {
align-items: center;
box-align: center;
}
.flex_box_center_end___priyO {
justify-content: flex-end;
align-items: center;
-webkit-justify-content: flex-end;
-webkit-align-items: center;
-webkit-box-align: center;
-webkit-box-pack: end;
box-align: center;
box-pack: end;
}
.flex_box_column___NKHpX {
flex-direction: column;
box-orient: block-axis;
}
button {
margin: 0;
padding: 0;
border: 1px solid transparent;
outline: none;
background-color: transparent;
}
button:active {
opacity: 0.6;
}
.flex-col___PWdRw {
display: flex;
flex-direction: column;
}
.flex-row___e9YpP {
display: flex;
flex-direction: row;
}
.justify-start___FHw2N {
display: flex;
justify-content: flex-start;
}
.justify-center___SX_jS {
display: flex;
justify-content: center;
}
.justify-end___mwNxD {
display: flex;
justify-content: flex-end;
}
.justify-evenly___DfE1Y {
display: flex;
justify-content: space-evenly;
}
.justify-around___JM4Hu {
display: flex;
justify-content: space-around;
}
.justify-between___NY2JB {
display: flex;
justify-content: space-between;
}
.align-start___jR_jF {
display: flex;
align-items: flex-start;
}
.align-center___gdsWi {
display: flex;
align-items: center;
}
.align-end___mlEL_ {
display: flex;
align-items: flex-end;
}
button {
margin: 0;
padding: 0;
border: 1px solid transparent;
outline: none;
background-color: transparent;
}
button:active {
opacity: 0.6;
}
.flex-col___PWdRw {
display: flex;
flex-direction: column;
}
.flex-row___e9YpP {
display: flex;
flex-direction: row;
}
.justify-start___FHw2N {
display: flex;
justify-content: flex-start;
}
.justify-center___SX_jS {
display: flex;
justify-content: center;
}
.justify-end___mwNxD {
display: flex;
justify-content: flex-end;
}
.justify-evenly___DfE1Y {
display: flex;
justify-content: space-evenly;
}
.justify-around___JM4Hu {
display: flex;
justify-content: space-around;
}
.justify-between___NY2JB {
display: flex;
justify-content: space-between;
}
.align-start___jR_jF {
display: flex;
align-items: flex-start;
}
.align-center___gdsWi {
display: flex;
align-items: center;
}
.align-end___mlEL_ {
display: flex;
align-items: flex-end;
}
.Onerow___RWoml {
word-break: break-all;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.MultiLine___dl4vx {
word-break: break-all;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.detailWrap___xSbqp {
width: 100%;
padding: 20px 20px 20px 0px;
}
.detailWrap___xSbqp .detailTop___B7yfC {
width: 100%;
height: 305px;
background: linear-gradient(180deg, #2351B5 0%, #1F3B89 100%);
border-radius: 6px;
padding-left: 50px;
display: flex;
align-items: center;
justify-content: space-between;
}
.detailWrap___xSbqp .detailTop___B7yfC .topLeft___Cee6L {
display: flex;
}
.detailWrap___xSbqp .detailTop___B7yfC .topLeft___Cee6L .imgCover___L3JeS {
position: relative;
margin-right: 70px;
}
.detailWrap___xSbqp .detailTop___B7yfC .topLeft___Cee6L .imgCover___L3JeS .coverimg____PpsR {
position: absolute;
width: 126px;
height: 168px;
top: 5px;
left: 18px;
}
.detailWrap___xSbqp .detailTop___B7yfC .topLeft___Cee6L .imgDes___yQ0OU {
display: flex;
flex-direction: column;
}
.detailWrap___xSbqp .detailTop___B7yfC .topLeft___Cee6L .imgDes___yQ0OU .d1___qxOFu {
font-family: AlibabaPuHuiTi_2_65_Medium;
font-size: 32px;
color: #FFFFFF;
}
.detailWrap___xSbqp .detailTop___B7yfC .topLeft___Cee6L .imgDes___yQ0OU .d2___dHawy {
display: flex;
margin-top: 20px;
}
.detailWrap___xSbqp .detailTop___B7yfC .topLeft___Cee6L .imgDes___yQ0OU .d2___dHawy .label___df6yT {
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 16px;
color: rgba(255, 255, 255, 0.6);
margin-right: 10px;
}
.detailWrap___xSbqp .detailTop___B7yfC .topLeft___Cee6L .imgDes___yQ0OU .d2___dHawy .info___kpXvE {
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 16px;
color: #FFFFFF;
}
.detailWrap___xSbqp .detailTop___B7yfC .topLeft___Cee6L .imgDes___yQ0OU .d3___DKCTm {
display: flex;
margin-top: 10px;
}
.detailWrap___xSbqp .detailTop___B7yfC .topLeft___Cee6L .imgDes___yQ0OU .d3___DKCTm .label___df6yT {
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 16px;
color: rgba(255, 255, 255, 0.6);
min-width: 40px;
}
.detailWrap___xSbqp .detailTop___B7yfC .topLeft___Cee6L .imgDes___yQ0OU .d3___DKCTm .info___kpXvE {
word-break: break-all;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
display: inline-block;
max-width: 530px;
font-family: PingFangSC, PingFang SC;
font-weight: 400;
font-size: 16px;
color: #FFFFFF;
}
.detailWrap___xSbqp .detailTop___B7yfC .topLeft___Cee6L .imgDes___yQ0OU .d4___qyhbt {
display: flex;
margin-top: 40px;
}
.detailWrap___xSbqp .detailTop___B7yfC .topLeft___Cee6L .imgDes___yQ0OU .d4___qyhbt .btn___MUsEW {
background: linear-gradient(90deg, #667FDF 0%, #3649BB 100%);
box-shadow: 0px 5px 10px 0px #174FD2, inset 0px 1px 6px 0px #FFFFFF;
border-radius: 25px;
padding: 17px 40px;
font-family: AlibabaPuHuiTi_2_85_Bold;
font-size: 16px;
color: #DBF3FF;
line-height: 16px;
width: -webkit-max-content;
width: -moz-max-content;
width: max-content;
cursor: pointer;
}
.detailWrap___xSbqp .detailTop___B7yfC .topbg___JcYSB {
flex: 1 1;
height: 100%;
background-image: url(./static/detailbg.6460233e.png);
background-size: cover;
background-position: center;
background-repeat: no-repeat;
position: relative;
}
.detailWrap___xSbqp .detailCon___cmarH {
width: 100%;
display: flex;
margin-top: 30px;
height: calc(100vh - 400px);
min-height: 605px;
background: #B2BDF9;
box-shadow: inset 0px 1px 6px 0px #051E55;
border-radius: 4px;
}
.my_modal___Z5YCB [class~='ant-form-item-label'] {
margin-right: 10px;
}
.cardname___RpYGT div[class~='ant-card-body'] {
padding: 10px !important;
-webkit-box-orient: vertical;
display: -webkit-box;
-webkit-line-clamp: 1;
overflow: hidden;
}

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