Auto Submit

pull/1/head
autosubmit 2 years ago
parent 7f0cfb5294
commit 8a7382d06d

@ -1356,7 +1356,7 @@ var SearchSortController = function SearchSortController(_ref) {
batchStatus = _ref.batchStatus,
SortMenuName = _ref.SortMenuName,
setSortMenuName = _ref.setSortMenuName,
onSearch = _ref.onSearch,
_onSearch = _ref.onSearch,
onSort = _ref.onSort,
onBatch = _ref.onBatch;
// const [SortMenuName, setSortMenuName] = useState<any>('默认排序');
@ -1466,7 +1466,9 @@ var SearchSortController = function SearchSortController(_ref) {
}), /*#__PURE__*/(0,jsx_runtime.jsx)(input/* default */.Z.Search, {
allowClear: true,
placeholder: "\u8BF7\u8F93\u5165\u540D\u79F0\u8FDB\u884C\u641C\u7D22",
onSearch: onSearch,
onSearch: function onSearch(e) {
return _onSearch(e.trim());
},
style: {
width: 220,
marginLeft: 'auto'

@ -8353,7 +8353,7 @@ var WorkList = function WorkList(_ref) {
placeholder: "\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22",
onSearch: function onSearch(value) {
params.page = 1;
params.search = value;
params.search = value.trim();
getData();
},
style: {

@ -35,6 +35,8 @@ var env = __webpack_require__(78130);
var tooltip = __webpack_require__(6848);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/skeleton/index.js + 12 modules
var skeleton = __webpack_require__(59981);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/spin/index.js + 1 modules
var spin = __webpack_require__(71418);
// EXTERNAL MODULE: ./src/components/NoData/index.tsx
var NoData = __webpack_require__(73208);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
@ -250,7 +252,9 @@ var BehavioralAnalysis = function BehavioralAnalysis(_ref3) {
data = _ref3$data === void 0 ? [] : _ref3$data,
title = _ref3.title,
_ref3$hideBar = _ref3.hideBar,
hideBar = _ref3$hideBar === void 0 ? false : _ref3$hideBar;
hideBar = _ref3$hideBar === void 0 ? false : _ref3$hideBar,
_ref3$loading = _ref3.loading,
loading = _ref3$loading === void 0 ? false : _ref3$loading;
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: _classnames_2_3_2_classnames_default()(BehavioralAnalysismodules.analysis, className),
style: style,
@ -259,63 +263,66 @@ var BehavioralAnalysis = function BehavioralAnalysis(_ref3) {
children: [!hideBar && /*#__PURE__*/(0,jsx_runtime.jsx)("b", {}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: title
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: BehavioralAnalysismodules.itemWrap,
children: data === null || data === void 0 ? void 0 : data.map(function (v, k) {
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: BehavioralAnalysismodules.item,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(lib/* default */.Z, {
option: {
tooltip: {
trigger: "item",
formatter: "{a} <br/>{b}: {c}%"
},
title: {
left: 'center',
bottom: 15,
text: v === null || v === void 0 ? void 0 : v.title
},
legend: {
top: 10,
right: 10,
orient: 'vertical',
show: true,
align: 'left',
icon: 'circle',
itemWidth: 10,
itemHeight: 10,
formatter: function formatter(name) {
for (var i in v === null || v === void 0 ? void 0 : v.data) {
if (name == (v === null || v === void 0 ? void 0 : v.data[i].name)) {
return name + ' ' + (v === null || v === void 0 ? void 0 : v.data[i].value) + '%';
}), /*#__PURE__*/(0,jsx_runtime.jsx)(spin/* default */.Z, {
spinning: loading,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: BehavioralAnalysismodules.itemWrap,
children: data === null || data === void 0 ? void 0 : data.map(function (v, k) {
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: BehavioralAnalysismodules.item,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(lib/* default */.Z, {
option: {
tooltip: {
trigger: "item",
formatter: "{a} <br/>{b}: {c}%"
},
title: {
left: 'center',
bottom: 15,
text: v === null || v === void 0 ? void 0 : v.title
},
legend: {
top: 10,
right: 10,
orient: 'vertical',
show: true,
align: 'left',
icon: 'circle',
itemWidth: 10,
itemHeight: 10,
formatter: function formatter(name) {
for (var i in v === null || v === void 0 ? void 0 : v.data) {
if (name == (v === null || v === void 0 ? void 0 : v.data[i].name)) {
return name + ' ' + (v === null || v === void 0 ? void 0 : v.data[i].value) + '%';
}
}
},
textStyle: {
color: '#767676',
fontSize: 12
}
},
textStyle: {
color: '#767676',
fontSize: 12
}
color: v === null || v === void 0 ? void 0 : v.color,
series: [{
type: 'pie',
radius: ['20%', '35%'],
center: ['20%', '40%'],
avoidLabelOverlap: false,
label: {
show: false
},
labelLine: {
show: false
},
data: v === null || v === void 0 ? void 0 : v.data
}]
},
color: v === null || v === void 0 ? void 0 : v.color,
series: [{
type: 'pie',
radius: ['20%', '35%'],
center: ['20%', '40%'],
avoidLabelOverlap: false,
label: {
show: false
},
labelLine: {
show: false
},
data: v === null || v === void 0 ? void 0 : v.data
}]
},
style: {
height: 145
}
})
}, k);
style: {
height: 145
}
})
}, k);
})
})
})]
});
@ -1124,7 +1131,7 @@ var Delayed_DelShixun = function DelShixun(_ref) {
};
return /*#__PURE__*/(0,jsx_runtime.jsx)(jsx_runtime.Fragment, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(es_modal/* default */.Z, {
width: 600,
width: 640,
centered: true,
title: "\u5EF6\u65F6\u8BBE\u7F6E",
open: exercise.actionTabs.key === '延时' ? true : false,
@ -2937,7 +2944,7 @@ var WorkList = function WorkList(_ref) {
allowClear: true,
placeholder: "\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22",
onSearch: function onSearch(value) {
params['search'] = value;
params['search'] = value.trim();
dispatch({
type: 'exercise/getExerciseList',
payload: objectSpread2_default()(objectSpread2_default()({}, params), {}, {
@ -16593,7 +16600,7 @@ var subjectiveType = {
4: '未批'
};
var StatisticsResult_WorkList = function WorkList(_ref) {
var _ref3, _statisticsList$commi;
var _ref3, _workSetting$exercise, _statisticsList$commi;
var exercise = _ref.exercise,
loading = _ref.loading,
dispatch = _ref.dispatch;
@ -16607,7 +16614,8 @@ var StatisticsResult_WorkList = function WorkList(_ref) {
params = _useState2[0],
setParams = _useState2[1];
var location = (0,_umi_production_exports.useLocation)();
var statisticsList = exercise.statisticsList;
var statisticsList = exercise.statisticsList,
workSetting = exercise.workSetting;
var _useState3 = (0,_react_17_0_2_react.useState)({}),
_useState4 = slicedToArray_default()(_useState3, 2),
filterSelect = _useState4[0],
@ -16627,10 +16635,10 @@ var StatisticsResult_WorkList = function WorkList(_ref) {
var _Form$useForm = es_form/* default */.Z.useForm(),
_Form$useForm2 = slicedToArray_default()(_Form$useForm, 1),
form = _Form$useForm2[0];
var _useState11 = (0,_react_17_0_2_react.useState)(true),
var _useState11 = (0,_react_17_0_2_react.useState)(false),
_useState12 = slicedToArray_default()(_useState11, 2),
isShowBehavioralAnalysis = _useState12[0],
setIsShowBehavioralAnalysis = _useState12[1];
behavioralAnalysisLoading = _useState12[0],
setBehavioralAnalysisLoading = _useState12[1];
var onHandleChange = function onHandleChange() {
var formValue = Object.assign({}, form.getFieldValue());
Object.keys(formValue).map(function (v) {
@ -16736,18 +16744,19 @@ var StatisticsResult_WorkList = function WorkList(_ref) {
return regeneratorRuntime_default()().wrap(function _callee$(_context) {
while (1) switch (_context.prev = _context.next) {
case 0:
_context.next = 2;
setBehavioralAnalysisLoading(true);
_context.next = 3;
return dispatch({
type: 'exercise/getExerciseStatistics',
payload: objectSpread2_default()({}, params)
});
case 2:
case 3:
res = _context.sent;
setBehavioralAnalysisLoading(false);
if (res !== null && res !== void 0 && res.exercise_counts) {
setIsShowBehavioralAnalysis(res === null || res === void 0 ? void 0 : res.open_camera);
setDataSource([res.exercise_counts]);
}
case 4:
case 6:
case "end":
return _context.stop();
}
@ -16801,9 +16810,10 @@ var StatisticsResult_WorkList = function WorkList(_ref) {
})
})
})
}), isShowBehavioralAnalysis && /*#__PURE__*/(0,jsx_runtime.jsx)(BehavioralAnalysis/* default */.ZP, {
}), (workSetting === null || workSetting === void 0 || (_workSetting$exercise = workSetting.exercise) === null || _workSetting$exercise === void 0 ? void 0 : _workSetting$exercise.open_camera) && /*#__PURE__*/(0,jsx_runtime.jsx)(BehavioralAnalysis/* default */.ZP, {
title: "\u8003\u8BD5\u884C\u4E3A\u5206\u6790\u7EDF\u8BA1",
data: (0,BehavioralAnalysis/* dealOncFnc */.Uf)(statisticsList)
data: (0,BehavioralAnalysis/* dealOncFnc */.Uf)(statisticsList),
loading: behavioralAnalysisLoading
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: StatisticsResultmodules.name,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("b", {}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {

@ -109,6 +109,8 @@ var env = __webpack_require__(78130);
var tooltip = __webpack_require__(6848);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/skeleton/index.js + 12 modules
var skeleton = __webpack_require__(59981);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/spin/index.js + 1 modules
var spin = __webpack_require__(71418);
// EXTERNAL MODULE: ./src/components/NoData/index.tsx
var NoData = __webpack_require__(73208);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
@ -324,7 +326,9 @@ var BehavioralAnalysis = function BehavioralAnalysis(_ref3) {
data = _ref3$data === void 0 ? [] : _ref3$data,
title = _ref3.title,
_ref3$hideBar = _ref3.hideBar,
hideBar = _ref3$hideBar === void 0 ? false : _ref3$hideBar;
hideBar = _ref3$hideBar === void 0 ? false : _ref3$hideBar,
_ref3$loading = _ref3.loading,
loading = _ref3$loading === void 0 ? false : _ref3$loading;
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: _classnames_2_3_2_classnames_default()(BehavioralAnalysismodules.analysis, className),
style: style,
@ -333,63 +337,66 @@ var BehavioralAnalysis = function BehavioralAnalysis(_ref3) {
children: [!hideBar && /*#__PURE__*/(0,jsx_runtime.jsx)("b", {}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: title
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: BehavioralAnalysismodules.itemWrap,
children: data === null || data === void 0 ? void 0 : data.map(function (v, k) {
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: BehavioralAnalysismodules.item,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(lib/* default */.Z, {
option: {
tooltip: {
trigger: "item",
formatter: "{a} <br/>{b}: {c}%"
},
title: {
left: 'center',
bottom: 15,
text: v === null || v === void 0 ? void 0 : v.title
},
legend: {
top: 10,
right: 10,
orient: 'vertical',
show: true,
align: 'left',
icon: 'circle',
itemWidth: 10,
itemHeight: 10,
formatter: function formatter(name) {
for (var i in v === null || v === void 0 ? void 0 : v.data) {
if (name == (v === null || v === void 0 ? void 0 : v.data[i].name)) {
return name + ' ' + (v === null || v === void 0 ? void 0 : v.data[i].value) + '%';
}), /*#__PURE__*/(0,jsx_runtime.jsx)(spin/* default */.Z, {
spinning: loading,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: BehavioralAnalysismodules.itemWrap,
children: data === null || data === void 0 ? void 0 : data.map(function (v, k) {
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: BehavioralAnalysismodules.item,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(lib/* default */.Z, {
option: {
tooltip: {
trigger: "item",
formatter: "{a} <br/>{b}: {c}%"
},
title: {
left: 'center',
bottom: 15,
text: v === null || v === void 0 ? void 0 : v.title
},
legend: {
top: 10,
right: 10,
orient: 'vertical',
show: true,
align: 'left',
icon: 'circle',
itemWidth: 10,
itemHeight: 10,
formatter: function formatter(name) {
for (var i in v === null || v === void 0 ? void 0 : v.data) {
if (name == (v === null || v === void 0 ? void 0 : v.data[i].name)) {
return name + ' ' + (v === null || v === void 0 ? void 0 : v.data[i].value) + '%';
}
}
},
textStyle: {
color: '#767676',
fontSize: 12
}
},
textStyle: {
color: '#767676',
fontSize: 12
}
color: v === null || v === void 0 ? void 0 : v.color,
series: [{
type: 'pie',
radius: ['20%', '35%'],
center: ['20%', '40%'],
avoidLabelOverlap: false,
label: {
show: false
},
labelLine: {
show: false
},
data: v === null || v === void 0 ? void 0 : v.data
}]
},
color: v === null || v === void 0 ? void 0 : v.color,
series: [{
type: 'pie',
radius: ['20%', '35%'],
center: ['20%', '40%'],
avoidLabelOverlap: false,
label: {
show: false
},
labelLine: {
show: false
},
data: v === null || v === void 0 ? void 0 : v.data
}]
},
style: {
height: 145
}
})
}, k);
style: {
height: 145
}
})
}, k);
})
})
})]
});

@ -3078,7 +3078,7 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
setSortMenuName: setSortMenuName,
SortMenus: SortMenus,
onSearch: function onSearch(value) {
params.search = value;
params.search = value.trim();
params.page = 1;
dispatch({
type: 'classroomList/getClassroomExercisesList',

@ -9421,7 +9421,7 @@ var WorkList = function WorkList(_ref) {
placeholder: "\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22",
onSearch: function onSearch(value) {
params.page = 1;
params.search = value;
params.search = value.trim();
dispatch({
type: 'shixunHomeworks/getWorkList',
payload: objectSpread2_default()({}, params)

@ -3255,7 +3255,7 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
SortMenuName: SortMenuName,
setSortMenuName: setSortMenuName,
onSearch: function onSearch(value) {
params.search = value;
params.search = value.trim();
params.page = 1;
getData();
},

@ -2784,7 +2784,6 @@ var Stage = function Stage(_ref) {
})) === null || _item$children2 === void 0 ? void 0 : _item$children2.length) > 0;
})) === null || _item$children === void 0 ? void 0 : _item$children.length) > 0);
});
console.log('---', val, kdata);
return keywords && !!(kdata !== null && kdata !== void 0 && kdata.length) || !keywords ? /*#__PURE__*/(0,jsx_runtime.jsxs)("section", {
className: "bg-white pt30 mb20 pb20 pl10 pr10",
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("aside", {

@ -600,7 +600,7 @@ var WorkList = function WorkList(_ref) {
allowClear: true,
placeholder: "\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22",
onSearch: function onSearch(value) {
params['search'] = value;
params['search'] = value.trim();
params.page = 1;
dispatch({
type: 'polls/getPollsList',

@ -2217,7 +2217,7 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
isAdmin: (0,authority/* isAdmin */.GJ)(),
batchStatus: batchStatus,
onSearch: function onSearch(value) {
params.search = value;
params.search = value.trim();
params.page = 1;
dispatch({
type: 'classroomList/getClassroomPollsList',

@ -6607,7 +6607,7 @@ var WorkList = function WorkList(_ref) {
allowClear: true,
placeholder: "\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22",
onSearch: function onSearch(value) {
params.search = value;
params.search = value.trim();
params.page = 1;
getData();
},

@ -4322,7 +4322,7 @@ var ShixunsListPage = function ShixunsListPage(_ref) {
SortMenuName: SortMenuName,
setSortMenuName: setSortMenuName,
onSearch: function onSearch(value) {
params.search = value;
params.search = value.trim();
params.page = 1;
getData();
},

@ -289,6 +289,8 @@ var env = __webpack_require__(78130);
var tooltip = __webpack_require__(6848);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/skeleton/index.js + 12 modules
var skeleton = __webpack_require__(59981);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/spin/index.js + 1 modules
var spin = __webpack_require__(71418);
// EXTERNAL MODULE: ./src/components/NoData/index.tsx
var NoData = __webpack_require__(73208);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
@ -504,7 +506,9 @@ var BehavioralAnalysis = function BehavioralAnalysis(_ref3) {
data = _ref3$data === void 0 ? [] : _ref3$data,
title = _ref3.title,
_ref3$hideBar = _ref3.hideBar,
hideBar = _ref3$hideBar === void 0 ? false : _ref3$hideBar;
hideBar = _ref3$hideBar === void 0 ? false : _ref3$hideBar,
_ref3$loading = _ref3.loading,
loading = _ref3$loading === void 0 ? false : _ref3$loading;
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: _classnames_2_3_2_classnames_default()(BehavioralAnalysismodules.analysis, className),
style: style,
@ -513,63 +517,66 @@ var BehavioralAnalysis = function BehavioralAnalysis(_ref3) {
children: [!hideBar && /*#__PURE__*/(0,jsx_runtime.jsx)("b", {}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: title
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: BehavioralAnalysismodules.itemWrap,
children: data === null || data === void 0 ? void 0 : data.map(function (v, k) {
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: BehavioralAnalysismodules.item,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(lib/* default */.Z, {
option: {
tooltip: {
trigger: "item",
formatter: "{a} <br/>{b}: {c}%"
},
title: {
left: 'center',
bottom: 15,
text: v === null || v === void 0 ? void 0 : v.title
},
legend: {
top: 10,
right: 10,
orient: 'vertical',
show: true,
align: 'left',
icon: 'circle',
itemWidth: 10,
itemHeight: 10,
formatter: function formatter(name) {
for (var i in v === null || v === void 0 ? void 0 : v.data) {
if (name == (v === null || v === void 0 ? void 0 : v.data[i].name)) {
return name + ' ' + (v === null || v === void 0 ? void 0 : v.data[i].value) + '%';
}), /*#__PURE__*/(0,jsx_runtime.jsx)(spin/* default */.Z, {
spinning: loading,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: BehavioralAnalysismodules.itemWrap,
children: data === null || data === void 0 ? void 0 : data.map(function (v, k) {
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: BehavioralAnalysismodules.item,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(lib/* default */.Z, {
option: {
tooltip: {
trigger: "item",
formatter: "{a} <br/>{b}: {c}%"
},
title: {
left: 'center',
bottom: 15,
text: v === null || v === void 0 ? void 0 : v.title
},
legend: {
top: 10,
right: 10,
orient: 'vertical',
show: true,
align: 'left',
icon: 'circle',
itemWidth: 10,
itemHeight: 10,
formatter: function formatter(name) {
for (var i in v === null || v === void 0 ? void 0 : v.data) {
if (name == (v === null || v === void 0 ? void 0 : v.data[i].name)) {
return name + ' ' + (v === null || v === void 0 ? void 0 : v.data[i].value) + '%';
}
}
},
textStyle: {
color: '#767676',
fontSize: 12
}
},
textStyle: {
color: '#767676',
fontSize: 12
}
color: v === null || v === void 0 ? void 0 : v.color,
series: [{
type: 'pie',
radius: ['20%', '35%'],
center: ['20%', '40%'],
avoidLabelOverlap: false,
label: {
show: false
},
labelLine: {
show: false
},
data: v === null || v === void 0 ? void 0 : v.data
}]
},
color: v === null || v === void 0 ? void 0 : v.color,
series: [{
type: 'pie',
radius: ['20%', '35%'],
center: ['20%', '40%'],
avoidLabelOverlap: false,
label: {
show: false
},
labelLine: {
show: false
},
data: v === null || v === void 0 ? void 0 : v.data
}]
},
style: {
height: 145
}
})
}, k);
style: {
height: 145
}
})
}, k);
})
})
})]
});

@ -676,6 +676,8 @@ var env = __webpack_require__(78130);
var tooltip = __webpack_require__(6848);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/skeleton/index.js + 12 modules
var skeleton = __webpack_require__(59981);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/spin/index.js + 1 modules
var spin = __webpack_require__(71418);
// EXTERNAL MODULE: ./src/components/NoData/index.tsx
var NoData = __webpack_require__(73208);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
@ -891,7 +893,9 @@ var BehavioralAnalysis = function BehavioralAnalysis(_ref3) {
data = _ref3$data === void 0 ? [] : _ref3$data,
title = _ref3.title,
_ref3$hideBar = _ref3.hideBar,
hideBar = _ref3$hideBar === void 0 ? false : _ref3$hideBar;
hideBar = _ref3$hideBar === void 0 ? false : _ref3$hideBar,
_ref3$loading = _ref3.loading,
loading = _ref3$loading === void 0 ? false : _ref3$loading;
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: _classnames_2_3_2_classnames_default()(BehavioralAnalysismodules.analysis, className),
style: style,
@ -900,63 +904,66 @@ var BehavioralAnalysis = function BehavioralAnalysis(_ref3) {
children: [!hideBar && /*#__PURE__*/(0,jsx_runtime.jsx)("b", {}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: title
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: BehavioralAnalysismodules.itemWrap,
children: data === null || data === void 0 ? void 0 : data.map(function (v, k) {
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: BehavioralAnalysismodules.item,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(lib/* default */.Z, {
option: {
tooltip: {
trigger: "item",
formatter: "{a} <br/>{b}: {c}%"
},
title: {
left: 'center',
bottom: 15,
text: v === null || v === void 0 ? void 0 : v.title
},
legend: {
top: 10,
right: 10,
orient: 'vertical',
show: true,
align: 'left',
icon: 'circle',
itemWidth: 10,
itemHeight: 10,
formatter: function formatter(name) {
for (var i in v === null || v === void 0 ? void 0 : v.data) {
if (name == (v === null || v === void 0 ? void 0 : v.data[i].name)) {
return name + ' ' + (v === null || v === void 0 ? void 0 : v.data[i].value) + '%';
}), /*#__PURE__*/(0,jsx_runtime.jsx)(spin/* default */.Z, {
spinning: loading,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: BehavioralAnalysismodules.itemWrap,
children: data === null || data === void 0 ? void 0 : data.map(function (v, k) {
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: BehavioralAnalysismodules.item,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(lib/* default */.Z, {
option: {
tooltip: {
trigger: "item",
formatter: "{a} <br/>{b}: {c}%"
},
title: {
left: 'center',
bottom: 15,
text: v === null || v === void 0 ? void 0 : v.title
},
legend: {
top: 10,
right: 10,
orient: 'vertical',
show: true,
align: 'left',
icon: 'circle',
itemWidth: 10,
itemHeight: 10,
formatter: function formatter(name) {
for (var i in v === null || v === void 0 ? void 0 : v.data) {
if (name == (v === null || v === void 0 ? void 0 : v.data[i].name)) {
return name + ' ' + (v === null || v === void 0 ? void 0 : v.data[i].value) + '%';
}
}
},
textStyle: {
color: '#767676',
fontSize: 12
}
},
textStyle: {
color: '#767676',
fontSize: 12
}
color: v === null || v === void 0 ? void 0 : v.color,
series: [{
type: 'pie',
radius: ['20%', '35%'],
center: ['20%', '40%'],
avoidLabelOverlap: false,
label: {
show: false
},
labelLine: {
show: false
},
data: v === null || v === void 0 ? void 0 : v.data
}]
},
color: v === null || v === void 0 ? void 0 : v.color,
series: [{
type: 'pie',
radius: ['20%', '35%'],
center: ['20%', '40%'],
avoidLabelOverlap: false,
label: {
show: false
},
labelLine: {
show: false
},
data: v === null || v === void 0 ? void 0 : v.data
}]
},
style: {
height: 145
}
})
}, k);
style: {
height: 145
}
})
}, k);
})
})
})]
});

@ -35,6 +35,8 @@ var env = __webpack_require__(78130);
var tooltip = __webpack_require__(6848);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/skeleton/index.js + 12 modules
var skeleton = __webpack_require__(59981);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/spin/index.js + 1 modules
var spin = __webpack_require__(71418);
// EXTERNAL MODULE: ./src/components/NoData/index.tsx
var NoData = __webpack_require__(73208);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
@ -250,7 +252,9 @@ var BehavioralAnalysis = function BehavioralAnalysis(_ref3) {
data = _ref3$data === void 0 ? [] : _ref3$data,
title = _ref3.title,
_ref3$hideBar = _ref3.hideBar,
hideBar = _ref3$hideBar === void 0 ? false : _ref3$hideBar;
hideBar = _ref3$hideBar === void 0 ? false : _ref3$hideBar,
_ref3$loading = _ref3.loading,
loading = _ref3$loading === void 0 ? false : _ref3$loading;
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: _classnames_2_3_2_classnames_default()(BehavioralAnalysismodules.analysis, className),
style: style,
@ -259,63 +263,66 @@ var BehavioralAnalysis = function BehavioralAnalysis(_ref3) {
children: [!hideBar && /*#__PURE__*/(0,jsx_runtime.jsx)("b", {}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: title
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: BehavioralAnalysismodules.itemWrap,
children: data === null || data === void 0 ? void 0 : data.map(function (v, k) {
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: BehavioralAnalysismodules.item,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(lib/* default */.Z, {
option: {
tooltip: {
trigger: "item",
formatter: "{a} <br/>{b}: {c}%"
},
title: {
left: 'center',
bottom: 15,
text: v === null || v === void 0 ? void 0 : v.title
},
legend: {
top: 10,
right: 10,
orient: 'vertical',
show: true,
align: 'left',
icon: 'circle',
itemWidth: 10,
itemHeight: 10,
formatter: function formatter(name) {
for (var i in v === null || v === void 0 ? void 0 : v.data) {
if (name == (v === null || v === void 0 ? void 0 : v.data[i].name)) {
return name + ' ' + (v === null || v === void 0 ? void 0 : v.data[i].value) + '%';
}), /*#__PURE__*/(0,jsx_runtime.jsx)(spin/* default */.Z, {
spinning: loading,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: BehavioralAnalysismodules.itemWrap,
children: data === null || data === void 0 ? void 0 : data.map(function (v, k) {
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: BehavioralAnalysismodules.item,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(lib/* default */.Z, {
option: {
tooltip: {
trigger: "item",
formatter: "{a} <br/>{b}: {c}%"
},
title: {
left: 'center',
bottom: 15,
text: v === null || v === void 0 ? void 0 : v.title
},
legend: {
top: 10,
right: 10,
orient: 'vertical',
show: true,
align: 'left',
icon: 'circle',
itemWidth: 10,
itemHeight: 10,
formatter: function formatter(name) {
for (var i in v === null || v === void 0 ? void 0 : v.data) {
if (name == (v === null || v === void 0 ? void 0 : v.data[i].name)) {
return name + ' ' + (v === null || v === void 0 ? void 0 : v.data[i].value) + '%';
}
}
},
textStyle: {
color: '#767676',
fontSize: 12
}
},
textStyle: {
color: '#767676',
fontSize: 12
}
color: v === null || v === void 0 ? void 0 : v.color,
series: [{
type: 'pie',
radius: ['20%', '35%'],
center: ['20%', '40%'],
avoidLabelOverlap: false,
label: {
show: false
},
labelLine: {
show: false
},
data: v === null || v === void 0 ? void 0 : v.data
}]
},
color: v === null || v === void 0 ? void 0 : v.color,
series: [{
type: 'pie',
radius: ['20%', '35%'],
center: ['20%', '40%'],
avoidLabelOverlap: false,
label: {
show: false
},
labelLine: {
show: false
},
data: v === null || v === void 0 ? void 0 : v.data
}]
},
style: {
height: 145
}
})
}, k);
style: {
height: 145
}
})
}, k);
})
})
})]
});

@ -77,6 +77,8 @@ var env = __webpack_require__(78130);
var tooltip = __webpack_require__(6848);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/skeleton/index.js + 12 modules
var skeleton = __webpack_require__(59981);
// EXTERNAL MODULE: ./node_modules/_antd@5.9.0@antd/es/spin/index.js + 1 modules
var spin = __webpack_require__(71418);
// EXTERNAL MODULE: ./src/components/NoData/index.tsx
var NoData = __webpack_require__(73208);
// EXTERNAL MODULE: ./node_modules/_react@17.0.2@react/jsx-runtime.js
@ -292,7 +294,9 @@ var BehavioralAnalysis = function BehavioralAnalysis(_ref3) {
data = _ref3$data === void 0 ? [] : _ref3$data,
title = _ref3.title,
_ref3$hideBar = _ref3.hideBar,
hideBar = _ref3$hideBar === void 0 ? false : _ref3$hideBar;
hideBar = _ref3$hideBar === void 0 ? false : _ref3$hideBar,
_ref3$loading = _ref3.loading,
loading = _ref3$loading === void 0 ? false : _ref3$loading;
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: _classnames_2_3_2_classnames_default()(BehavioralAnalysismodules.analysis, className),
style: style,
@ -301,63 +305,66 @@ var BehavioralAnalysis = function BehavioralAnalysis(_ref3) {
children: [!hideBar && /*#__PURE__*/(0,jsx_runtime.jsx)("b", {}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: title
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: BehavioralAnalysismodules.itemWrap,
children: data === null || data === void 0 ? void 0 : data.map(function (v, k) {
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: BehavioralAnalysismodules.item,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(lib/* default */.Z, {
option: {
tooltip: {
trigger: "item",
formatter: "{a} <br/>{b}: {c}%"
},
title: {
left: 'center',
bottom: 15,
text: v === null || v === void 0 ? void 0 : v.title
},
legend: {
top: 10,
right: 10,
orient: 'vertical',
show: true,
align: 'left',
icon: 'circle',
itemWidth: 10,
itemHeight: 10,
formatter: function formatter(name) {
for (var i in v === null || v === void 0 ? void 0 : v.data) {
if (name == (v === null || v === void 0 ? void 0 : v.data[i].name)) {
return name + ' ' + (v === null || v === void 0 ? void 0 : v.data[i].value) + '%';
}), /*#__PURE__*/(0,jsx_runtime.jsx)(spin/* default */.Z, {
spinning: loading,
children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: BehavioralAnalysismodules.itemWrap,
children: data === null || data === void 0 ? void 0 : data.map(function (v, k) {
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: BehavioralAnalysismodules.item,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(lib/* default */.Z, {
option: {
tooltip: {
trigger: "item",
formatter: "{a} <br/>{b}: {c}%"
},
title: {
left: 'center',
bottom: 15,
text: v === null || v === void 0 ? void 0 : v.title
},
legend: {
top: 10,
right: 10,
orient: 'vertical',
show: true,
align: 'left',
icon: 'circle',
itemWidth: 10,
itemHeight: 10,
formatter: function formatter(name) {
for (var i in v === null || v === void 0 ? void 0 : v.data) {
if (name == (v === null || v === void 0 ? void 0 : v.data[i].name)) {
return name + ' ' + (v === null || v === void 0 ? void 0 : v.data[i].value) + '%';
}
}
},
textStyle: {
color: '#767676',
fontSize: 12
}
},
textStyle: {
color: '#767676',
fontSize: 12
}
color: v === null || v === void 0 ? void 0 : v.color,
series: [{
type: 'pie',
radius: ['20%', '35%'],
center: ['20%', '40%'],
avoidLabelOverlap: false,
label: {
show: false
},
labelLine: {
show: false
},
data: v === null || v === void 0 ? void 0 : v.data
}]
},
color: v === null || v === void 0 ? void 0 : v.color,
series: [{
type: 'pie',
radius: ['20%', '35%'],
center: ['20%', '40%'],
avoidLabelOverlap: false,
label: {
show: false
},
labelLine: {
show: false
},
data: v === null || v === void 0 ? void 0 : v.data
}]
},
style: {
height: 145
}
})
}, k);
style: {
height: 145
}
})
}, k);
})
})
})]
});

Loading…
Cancel
Save