|
|
|
|
@ -77,6 +77,8 @@ var _umi_production_exports = __webpack_require__(58228);
|
|
|
|
|
var spin = __webpack_require__(71418);
|
|
|
|
|
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/breadcrumb/index.js + 6 modules
|
|
|
|
|
var breadcrumb = __webpack_require__(66104);
|
|
|
|
|
// 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/modal/index.js + 16 modules
|
|
|
|
|
var modal = __webpack_require__(43418);
|
|
|
|
|
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/message/index.js + 4 modules
|
|
|
|
|
@ -107,8 +109,6 @@ var RenderHtml = __webpack_require__(78458);
|
|
|
|
|
var row = __webpack_require__(95237);
|
|
|
|
|
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/col/index.js
|
|
|
|
|
var col = __webpack_require__(43604);
|
|
|
|
|
// 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/button/index.js
|
|
|
|
|
var es_button = __webpack_require__(3113);
|
|
|
|
|
;// CONCATENATED MODULE: ./src/pages/Broadcast/Detail/Comment/index.less?modules
|
|
|
|
|
@ -767,7 +767,7 @@ var tabsName = {
|
|
|
|
|
'mine': '我的广播'
|
|
|
|
|
};
|
|
|
|
|
var PollDetail = function PollDetail(_ref) {
|
|
|
|
|
var _dataSetInfo$user_inf, _dataSetInfo$user_inf2;
|
|
|
|
|
var _dataSetInfo$user_inf, _dataSetInfo$user_inf2, _dataSetInfo$user_inf3, _dataSetInfo$attachme;
|
|
|
|
|
var polls = _ref.polls,
|
|
|
|
|
globalSetting = _ref.globalSetting,
|
|
|
|
|
loading = _ref.loading,
|
|
|
|
|
@ -835,9 +835,12 @@ var PollDetail = function PollDetail(_ref) {
|
|
|
|
|
className: Detailmodules.wrap,
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: Detailmodules.topContent,
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: Detailmodules.title,
|
|
|
|
|
children: dataSetInfo === null || dataSetInfo === void 0 ? void 0 : dataSetInfo.name
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(tooltip/* default */.Z, {
|
|
|
|
|
title: dataSetInfo === null || dataSetInfo === void 0 ? void 0 : dataSetInfo.name,
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: Detailmodules.title,
|
|
|
|
|
children: dataSetInfo === null || dataSetInfo === void 0 ? void 0 : dataSetInfo.name
|
|
|
|
|
})
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
style: {
|
|
|
|
|
display: "flex",
|
|
|
|
|
@ -953,7 +956,7 @@ var PollDetail = function PollDetail(_ref) {
|
|
|
|
|
src: "".concat(env/* default */.Z.IMG_SERVER, "/images/").concat(dataSetInfo === null || dataSetInfo === void 0 || (_dataSetInfo$user_inf2 = dataSetInfo.user_info) === null || _dataSetInfo$user_inf2 === void 0 ? void 0 : _dataSetInfo$user_inf2.image_url)
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: Detailmodules.user_name,
|
|
|
|
|
children: dataSetInfo === null || dataSetInfo === void 0 ? void 0 : dataSetInfo.name
|
|
|
|
|
children: dataSetInfo === null || dataSetInfo === void 0 || (_dataSetInfo$user_inf3 = dataSetInfo.user_info) === null || _dataSetInfo$user_inf3 === void 0 ? void 0 : _dataSetInfo$user_inf3.name
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: Detailmodules.time,
|
|
|
|
|
children: dataSetInfo !== null && dataSetInfo !== void 0 && dataSetInfo.created_at ? dayjs_min_default()(dataSetInfo === null || dataSetInfo === void 0 ? void 0 : dataSetInfo.created_at).format('YYYY-MM-DD HH:mm:ss') : ''
|
|
|
|
|
@ -971,73 +974,75 @@ var PollDetail = function PollDetail(_ref) {
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, {
|
|
|
|
|
value: dataSetInfo === null || dataSetInfo === void 0 ? void 0 : dataSetInfo.content
|
|
|
|
|
})
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: Detailmodules.table_name,
|
|
|
|
|
children: "\u8D44\u6E90"
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, {
|
|
|
|
|
dataSource: dataSetInfo === null || dataSetInfo === void 0 ? void 0 : dataSetInfo.attachments,
|
|
|
|
|
pagination: false,
|
|
|
|
|
className: Detailmodules.table_style,
|
|
|
|
|
scroll: {
|
|
|
|
|
y: 300
|
|
|
|
|
},
|
|
|
|
|
columns: [{
|
|
|
|
|
title: '文件',
|
|
|
|
|
align: 'left',
|
|
|
|
|
dataIndex: 'title',
|
|
|
|
|
ellipsis: true,
|
|
|
|
|
render: function render(text) {
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
style: {
|
|
|
|
|
color: '#3061D0',
|
|
|
|
|
cursor: 'pointer'
|
|
|
|
|
},
|
|
|
|
|
children: text || '--'
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}, {
|
|
|
|
|
title: '文件大小',
|
|
|
|
|
align: 'left',
|
|
|
|
|
width: 150,
|
|
|
|
|
dataIndex: 'filesize',
|
|
|
|
|
ellipsis: true,
|
|
|
|
|
render: function render(text) {
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
style: {
|
|
|
|
|
color: '#232B40'
|
|
|
|
|
},
|
|
|
|
|
children: text || '--'
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}, {
|
|
|
|
|
title: '操作',
|
|
|
|
|
align: 'right',
|
|
|
|
|
width: 150,
|
|
|
|
|
render: function render(text, items, index) {
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
|
|
|
|
|
style: {
|
|
|
|
|
color: '#165DFF'
|
|
|
|
|
},
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("a", {
|
|
|
|
|
}), (dataSetInfo === null || dataSetInfo === void 0 || (_dataSetInfo$attachme = dataSetInfo.attachments) === null || _dataSetInfo$attachme === void 0 ? void 0 : _dataSetInfo$attachme.length) > 0 && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: Detailmodules.table_name,
|
|
|
|
|
children: "\u8D44\u6E90"
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, {
|
|
|
|
|
dataSource: dataSetInfo === null || dataSetInfo === void 0 ? void 0 : dataSetInfo.attachments,
|
|
|
|
|
pagination: false,
|
|
|
|
|
className: Detailmodules.table_style,
|
|
|
|
|
scroll: {
|
|
|
|
|
y: 300
|
|
|
|
|
},
|
|
|
|
|
columns: [{
|
|
|
|
|
title: '文件',
|
|
|
|
|
align: 'left',
|
|
|
|
|
dataIndex: 'title',
|
|
|
|
|
ellipsis: true,
|
|
|
|
|
render: function render(text) {
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
style: {
|
|
|
|
|
marginRight: 20
|
|
|
|
|
color: '#3061D0',
|
|
|
|
|
cursor: 'pointer'
|
|
|
|
|
},
|
|
|
|
|
onClick: function onClick() {
|
|
|
|
|
setData({
|
|
|
|
|
type: items === null || items === void 0 ? void 0 : items.file_type,
|
|
|
|
|
content: env/* default */.Z.API_SERVER + (items === null || items === void 0 ? void 0 : items.url)
|
|
|
|
|
});
|
|
|
|
|
children: text || '--'
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}, {
|
|
|
|
|
title: '文件大小',
|
|
|
|
|
align: 'left',
|
|
|
|
|
width: 150,
|
|
|
|
|
dataIndex: 'filesize',
|
|
|
|
|
ellipsis: true,
|
|
|
|
|
render: function render(text) {
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
style: {
|
|
|
|
|
color: '#232B40'
|
|
|
|
|
},
|
|
|
|
|
children: "\u9884\u89C8"
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("a", {
|
|
|
|
|
onClick: function onClick() {
|
|
|
|
|
return (0,util/* downLoadLink */.Nd)(items === null || items === void 0 ? void 0 : items.name, env/* default */.Z.API_SERVER + (items === null || items === void 0 ? void 0 : items.url));
|
|
|
|
|
children: text || '--'
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}, {
|
|
|
|
|
title: '操作',
|
|
|
|
|
align: 'right',
|
|
|
|
|
width: 150,
|
|
|
|
|
render: function render(text, items, index) {
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
|
|
|
|
|
style: {
|
|
|
|
|
color: '#165DFF'
|
|
|
|
|
},
|
|
|
|
|
children: "\u4E0B\u8F7D"
|
|
|
|
|
})]
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}]
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("a", {
|
|
|
|
|
style: {
|
|
|
|
|
marginRight: 20
|
|
|
|
|
},
|
|
|
|
|
onClick: function onClick() {
|
|
|
|
|
setData({
|
|
|
|
|
type: items === null || items === void 0 ? void 0 : items.file_type,
|
|
|
|
|
content: env/* default */.Z.API_SERVER + (items === null || items === void 0 ? void 0 : items.url)
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
children: "\u9884\u89C8"
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("a", {
|
|
|
|
|
onClick: function onClick() {
|
|
|
|
|
return (0,util/* downLoadLink */.Nd)(items === null || items === void 0 ? void 0 : items.name, env/* default */.Z.API_SERVER + (items === null || items === void 0 ? void 0 : items.url));
|
|
|
|
|
},
|
|
|
|
|
children: "\u4E0B\u8F7D"
|
|
|
|
|
})]
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}]
|
|
|
|
|
})]
|
|
|
|
|
})]
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: Detailmodules.content,
|