|
|
|
|
@ -38,12 +38,12 @@ var _umi_production_exports = __webpack_require__(88271);
|
|
|
|
|
var divider = __webpack_require__(28103);
|
|
|
|
|
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/button/index.js
|
|
|
|
|
var es_button = __webpack_require__(3113);
|
|
|
|
|
// 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/dropdown/index.js + 1 modules
|
|
|
|
|
var dropdown = __webpack_require__(38854);
|
|
|
|
|
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/menu/index.js + 11 modules
|
|
|
|
|
var menu = __webpack_require__(20834);
|
|
|
|
|
// 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/modal/index.js + 16 modules
|
|
|
|
|
var modal = __webpack_require__(43418);
|
|
|
|
|
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/pagination/index.js + 10 modules
|
|
|
|
|
@ -1057,74 +1057,74 @@ var Detail_Message = function Message(_ref) {
|
|
|
|
|
},
|
|
|
|
|
data: treeData[0].children
|
|
|
|
|
})]
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(spin/* default */.Z, {
|
|
|
|
|
spinning: loading,
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
style: {
|
|
|
|
|
width: '897px',
|
|
|
|
|
padding: '20px'
|
|
|
|
|
},
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
style: {
|
|
|
|
|
width: '897px',
|
|
|
|
|
padding: '20px'
|
|
|
|
|
width: '100%'
|
|
|
|
|
},
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
style: {
|
|
|
|
|
width: '100%'
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* CustomTags */.qp, {
|
|
|
|
|
title: "\u8D44\u6E90\u7C7B\u578B"
|
|
|
|
|
// className='mt20'
|
|
|
|
|
,
|
|
|
|
|
value: params.category,
|
|
|
|
|
onChange: handleChangeStatus,
|
|
|
|
|
dataSource: [{
|
|
|
|
|
id: null,
|
|
|
|
|
name: "全部"
|
|
|
|
|
}, {
|
|
|
|
|
id: 1,
|
|
|
|
|
name: "视频"
|
|
|
|
|
}, {
|
|
|
|
|
id: 2,
|
|
|
|
|
name: "资料"
|
|
|
|
|
}],
|
|
|
|
|
titleWidth: 80
|
|
|
|
|
})
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
style: {
|
|
|
|
|
width: '100%',
|
|
|
|
|
display: 'flex',
|
|
|
|
|
justifyContent: 'space-between',
|
|
|
|
|
alignItems: 'center'
|
|
|
|
|
},
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(dropdown/* default */.Z, {
|
|
|
|
|
dropdownRender: function dropdownRender() {
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z, {
|
|
|
|
|
selectedKeys: [SortMenuName],
|
|
|
|
|
children: SortMenus === null || SortMenus === void 0 ? void 0 : SortMenus.map(function (item, index) {
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z.Item, {
|
|
|
|
|
onClick: function onClick() {
|
|
|
|
|
params.sort_by = item.type;
|
|
|
|
|
params.sort_direction = item.direction;
|
|
|
|
|
params.page = 1;
|
|
|
|
|
setSortMenuName(item.name);
|
|
|
|
|
},
|
|
|
|
|
children: item.name
|
|
|
|
|
}, item.name);
|
|
|
|
|
})
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* CustomTags */.qp, {
|
|
|
|
|
title: "\u8D44\u6E90\u7C7B\u578B"
|
|
|
|
|
// className='mt20'
|
|
|
|
|
,
|
|
|
|
|
value: params.category,
|
|
|
|
|
onChange: handleChangeStatus,
|
|
|
|
|
dataSource: [{
|
|
|
|
|
id: null,
|
|
|
|
|
name: "全部"
|
|
|
|
|
}, {
|
|
|
|
|
id: 1,
|
|
|
|
|
name: "视频"
|
|
|
|
|
}, {
|
|
|
|
|
id: 2,
|
|
|
|
|
name: "资料"
|
|
|
|
|
}],
|
|
|
|
|
titleWidth: 80
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
|
|
|
|
|
className: "".concat(Detailmodules.btn, " ").concat(isDefault ? Detailmodules.btnSort : ''),
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
|
|
|
|
|
className: "iconfont icon-paixu font14 mr5"
|
|
|
|
|
}), SortMenuName]
|
|
|
|
|
})
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* CustomInput */.t7, {
|
|
|
|
|
style: {
|
|
|
|
|
width: '100%',
|
|
|
|
|
display: 'flex',
|
|
|
|
|
justifyContent: 'space-between',
|
|
|
|
|
alignItems: 'center'
|
|
|
|
|
width: 260
|
|
|
|
|
},
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(dropdown/* default */.Z, {
|
|
|
|
|
dropdownRender: function dropdownRender() {
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z, {
|
|
|
|
|
selectedKeys: [SortMenuName],
|
|
|
|
|
children: SortMenus === null || SortMenus === void 0 ? void 0 : SortMenus.map(function (item, index) {
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsx)(menu/* default */.Z.Item, {
|
|
|
|
|
onClick: function onClick() {
|
|
|
|
|
params.sort_by = item.type;
|
|
|
|
|
params.sort_direction = item.direction;
|
|
|
|
|
params.page = 1;
|
|
|
|
|
setSortMenuName(item.name);
|
|
|
|
|
},
|
|
|
|
|
children: item.name
|
|
|
|
|
}, item.name);
|
|
|
|
|
})
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
|
|
|
|
|
className: "".concat(Detailmodules.btn, " ").concat(isDefault ? Detailmodules.btnSort : ''),
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("i", {
|
|
|
|
|
className: "iconfont icon-paixu font14 mr5"
|
|
|
|
|
}), SortMenuName]
|
|
|
|
|
})
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(ui_customization/* CustomInput */.t7, {
|
|
|
|
|
style: {
|
|
|
|
|
width: 260
|
|
|
|
|
},
|
|
|
|
|
placeholder: "\u641C\u7D22\u77E5\u8BC6\u5E93\u540D\u79F0",
|
|
|
|
|
value: params.keyword,
|
|
|
|
|
onChange: handleSearch
|
|
|
|
|
})]
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
placeholder: "\u641C\u7D22\u77E5\u8BC6\u5E93\u540D\u79F0",
|
|
|
|
|
value: params.keyword,
|
|
|
|
|
onChange: handleSearch
|
|
|
|
|
})]
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(spin/* default */.Z, {
|
|
|
|
|
spinning: loading,
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: Detailmodules.knowWrap,
|
|
|
|
|
children: inforList.map(function (item, index) {
|
|
|
|
|
var _item$attachments;
|
|
|
|
|
@ -1228,39 +1228,40 @@ var Detail_Message = function Message(_ref) {
|
|
|
|
|
})]
|
|
|
|
|
});
|
|
|
|
|
})
|
|
|
|
|
})]
|
|
|
|
|
})
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("aside", {
|
|
|
|
|
children: total > 0 ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
style: {
|
|
|
|
|
display: 'flex',
|
|
|
|
|
alignItems: 'center',
|
|
|
|
|
justifyContent: 'space-between',
|
|
|
|
|
padding: '10px 7px 20px 7px',
|
|
|
|
|
marginTop: '10px'
|
|
|
|
|
},
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
|
|
|
|
|
style: {
|
|
|
|
|
color: '#656F87'
|
|
|
|
|
},
|
|
|
|
|
children: ["\u5171", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
className: "c-light-primary",
|
|
|
|
|
children: total
|
|
|
|
|
}), "\u6761\u6570\u636E"]
|
|
|
|
|
})
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(pagination/* default */.Z, {
|
|
|
|
|
showSizeChanger: true,
|
|
|
|
|
showQuickJumper: true,
|
|
|
|
|
onChange: onShowSizeChange,
|
|
|
|
|
defaultCurrent: 1,
|
|
|
|
|
pageSizeOptions: ['10', '20', '50', '100'],
|
|
|
|
|
current: (params === null || params === void 0 ? void 0 : params.page) || 1,
|
|
|
|
|
pageSize: (params === null || params === void 0 ? void 0 : params.limit) || 10,
|
|
|
|
|
defaultPageSize: 10,
|
|
|
|
|
total: total
|
|
|
|
|
})]
|
|
|
|
|
}) : ''
|
|
|
|
|
})
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
children: total > 0 ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
style: {
|
|
|
|
|
width: '100%',
|
|
|
|
|
display: 'flex',
|
|
|
|
|
alignItems: 'center',
|
|
|
|
|
justifyContent: 'space-between',
|
|
|
|
|
padding: '10px 7px 20px 7px',
|
|
|
|
|
marginTop: '10px'
|
|
|
|
|
},
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
|
|
|
|
|
style: {
|
|
|
|
|
color: '#656F87'
|
|
|
|
|
},
|
|
|
|
|
children: ["\u5171", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
className: "c-light-primary",
|
|
|
|
|
children: total
|
|
|
|
|
}), "\u6761\u6570\u636E"]
|
|
|
|
|
})
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(pagination/* default */.Z, {
|
|
|
|
|
showSizeChanger: true,
|
|
|
|
|
showQuickJumper: true,
|
|
|
|
|
onChange: onShowSizeChange,
|
|
|
|
|
defaultCurrent: 1,
|
|
|
|
|
pageSizeOptions: ['10', '20', '50', '100'],
|
|
|
|
|
current: (params === null || params === void 0 ? void 0 : params.page) || 1,
|
|
|
|
|
pageSize: (params === null || params === void 0 ? void 0 : params.limit) || 10,
|
|
|
|
|
defaultPageSize: 10,
|
|
|
|
|
total: total
|
|
|
|
|
})]
|
|
|
|
|
}) : ''
|
|
|
|
|
})]
|
|
|
|
|
})]
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(EditModal/* default */.Z, {
|
|
|
|
|
visible: showEdit,
|