@zgfe/modules-dm 1.0.57-zhongyuan.72 → 1.0.57-zhongyuan.75
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -93,7 +93,7 @@ var panelList = function panelList(props) {
|
|
|
93
93
|
onClick: function onClick() {
|
|
94
94
|
routerPanel(text);
|
|
95
95
|
}
|
|
96
|
-
},
|
|
96
|
+
}, "\u94FE\u63A5");
|
|
97
97
|
}
|
|
98
98
|
}];
|
|
99
99
|
// 用户属性列表
|
|
@@ -120,7 +120,9 @@ var panelList = function panelList(props) {
|
|
|
120
120
|
pie: '饼图',
|
|
121
121
|
number: '数值',
|
|
122
122
|
grid: '表格',
|
|
123
|
-
funnelBar: '漏斗图'
|
|
123
|
+
funnelBar: '漏斗图',
|
|
124
|
+
map: '地图',
|
|
125
|
+
boxplot: '盒须图'
|
|
124
126
|
};
|
|
125
127
|
//查询看板列表
|
|
126
128
|
var eventCiteEvent = function eventCiteEvent() {
|
|
@@ -407,7 +407,7 @@ var RightDetail = function RightDetail(props) {
|
|
|
407
407
|
}, [currentTreeData]);
|
|
408
408
|
var xunapi = /*#__PURE__*/function () {
|
|
409
409
|
var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
|
|
410
|
-
var haveEventName, attrListApi, haveModuleAttr, havePageAttr, obj, xifenList, attrFilterJsonList, objConditions, b1, b7, b30;
|
|
410
|
+
var haveEventName, attrListApi, haveModuleAttr, havePageAttr, filterJsonList, obj, xifenList, attrFilterJsonList, objConditions, b1, b7, b30;
|
|
411
411
|
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
412
412
|
while (1) switch (_context4.prev = _context4.next) {
|
|
413
413
|
case 0:
|
|
@@ -437,7 +437,7 @@ var RightDetail = function RightDetail(props) {
|
|
|
437
437
|
message.warning("".concat(currentMap === null || currentMap === void 0 ? void 0 : currentMap.moduleAttrName, "\u4E0B\u7684").concat(currentMap === null || currentMap === void 0 ? void 0 : currentMap.pageAttrName, "\u6CA1\u6709"));
|
|
438
438
|
return _context4.abrupt("return");
|
|
439
439
|
case 11:
|
|
440
|
-
// 搜索的值 细分的值
|
|
440
|
+
filterJsonList = (currentMap === null || currentMap === void 0 ? void 0 : currentMap.filterJson) ? JSON.parse(currentMap === null || currentMap === void 0 ? void 0 : currentMap.filterJson).conditions : []; // 搜索的值 细分的值
|
|
441
441
|
obj = _objectSpread({}, props.filterValue); // 查询是的值
|
|
442
442
|
xifenList = (currentMap === null || currentMap === void 0 ? void 0 : currentMap.attributeJson) && JSON.parse(currentMap === null || currentMap === void 0 ? void 0 : currentMap.attributeJson);
|
|
443
443
|
attrFilterJsonList = [];
|
|
@@ -476,19 +476,19 @@ var RightDetail = function RightDetail(props) {
|
|
|
476
476
|
dimensionSub: 'event_attr',
|
|
477
477
|
label: havePageAttr === null || havePageAttr === void 0 ? void 0 : havePageAttr.label,
|
|
478
478
|
attrName: havePageAttr === null || havePageAttr === void 0 ? void 0 : havePageAttr.label
|
|
479
|
-
}].concat(attrFilterJsonList); // console.log(objConditions, 'kkk');
|
|
479
|
+
}].concat(attrFilterJsonList, _toConsumableArray(filterJsonList)); // console.log(objConditions, 'kkk');
|
|
480
480
|
setInterviewLoading(true);
|
|
481
|
-
_context4.next =
|
|
481
|
+
_context4.next = 20;
|
|
482
482
|
return dayValues(objConditions, moment().subtract(1, 'days').format('YYYY-MM-DD'), moment().format('YYYY-MM-DD'), [1, 0]);
|
|
483
|
-
case
|
|
483
|
+
case 20:
|
|
484
484
|
b1 = _context4.sent;
|
|
485
|
-
_context4.next =
|
|
485
|
+
_context4.next = 23;
|
|
486
486
|
return dayValues(objConditions, moment().subtract(7, 'days').format('YYYY-MM-DD'), moment().format('YYYY-MM-DD'), [7, 0]);
|
|
487
|
-
case
|
|
487
|
+
case 23:
|
|
488
488
|
b7 = _context4.sent;
|
|
489
|
-
_context4.next =
|
|
489
|
+
_context4.next = 26;
|
|
490
490
|
return dayValues(objConditions, moment().subtract(30, 'days').format('YYYY-MM-DD'), moment().format('YYYY-MM-DD'), [30, 0]);
|
|
491
|
-
case
|
|
491
|
+
case 26:
|
|
492
492
|
b30 = _context4.sent;
|
|
493
493
|
setInterviewLoading(false);
|
|
494
494
|
setData([{
|
|
@@ -498,7 +498,7 @@ var RightDetail = function RightDetail(props) {
|
|
|
498
498
|
nearlyDays: b7,
|
|
499
499
|
nearlyDays1: b30
|
|
500
500
|
}]);
|
|
501
|
-
case
|
|
501
|
+
case 29:
|
|
502
502
|
case "end":
|
|
503
503
|
return _context4.stop();
|
|
504
504
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zgfe/modules-dm",
|
|
3
|
-
"version": "1.0.57-zhongyuan.
|
|
3
|
+
"version": "1.0.57-zhongyuan.75",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"module": "es/index.js",
|
|
6
6
|
"typings": "es/index.d.ts",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"umi-request": "^1.4.0",
|
|
58
58
|
"yorkie": "^2.0.0"
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "67ac2dd8f528efaad2c5eb0fb16732c28401c536",
|
|
61
61
|
"gitHooks": {
|
|
62
62
|
"pre-commit": "lint-staged"
|
|
63
63
|
}
|