@zgfe/modules-settings 2.0.0-zhongyuan.38 → 2.0.0-zhongyuan.39

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.
@@ -1087,11 +1087,11 @@ var CreateDemand = function CreateDemand(props) {
1087
1087
  className: "button",
1088
1088
  onClick: function onClick() {
1089
1089
  props.setIsShowSelectList && props.setIsShowSelectList(function (val) {
1090
- setPointEventInfo([].concat(_toConsumableArray(pointEventInfo || []), _toConsumableArray(val.map(function (val) {
1090
+ setPointEventInfo(_toConsumableArray(val.map(function (val) {
1091
1091
  return _objectSpread(_objectSpread({}, val), {}, {
1092
1092
  status: 0
1093
1093
  });
1094
- }))));
1094
+ })));
1095
1095
  onCreate('save', {
1096
1096
  pointEventIds: val.map(function (res) {
1097
1097
  return res.id;
@@ -80,7 +80,7 @@ var PageInfo = function PageInfo(props) {
80
80
  isChange = _useState18[0],
81
81
  setIsChange = _useState18[1];
82
82
  // props.isSelect
83
- var _useState19 = useState(props.isSelect),
83
+ var _useState19 = useState(false),
84
84
  _useState20 = _slicedToArray(_useState19, 1),
85
85
  isSelect = _useState20[0];
86
86
  var _useState21 = useState(),
@@ -623,49 +623,16 @@ var PageInfo = function PageInfo(props) {
623
623
  size: 16
624
624
  }), "\u5708\u9009")));
625
625
  }
626
- },
627
- // {
628
- // title: '访问量',
629
- // dataIndex: 'pv',
630
- // key: 'pv',
631
- // width: 92,
632
- // render: (pv) => {
633
- // return <div className={`${classPrefix}-content-select`}>{pv || pv === 0 ? pv : '-'}</div>;
634
- // },
635
- // },
636
- {
637
- title: '数据量',
638
- children: [{
639
- title: '昨日',
640
- dataIndex: 'time1',
641
- key: 'time1',
642
- width: 80,
643
- render: function render(value) {
644
- return /*#__PURE__*/React.createElement("div", {
645
- className: "".concat(classPrefix, "-content-select")
646
- }, value || value === 0 ? value : '-');
647
- }
648
- }, {
649
- title: '近7天',
650
- dataIndex: 'time1',
651
- key: 'time1',
652
- width: 80,
653
- render: function render(value) {
654
- return /*#__PURE__*/React.createElement("div", {
655
- className: "".concat(classPrefix, "-content-select")
656
- }, value || value === 0 ? value : '-');
657
- }
658
- }, {
659
- title: '近30天',
660
- dataIndex: 'time1',
661
- key: 'time1',
662
- width: 80,
663
- render: function render(value) {
664
- return /*#__PURE__*/React.createElement("div", {
665
- className: "".concat(classPrefix, "-content-select")
666
- }, value || value === 0 ? value : '-');
667
- }
668
- }]
626
+ }, {
627
+ title: '访问量',
628
+ dataIndex: 'pv',
629
+ key: 'pv',
630
+ width: 92,
631
+ render: function render(pv) {
632
+ return /*#__PURE__*/React.createElement("div", {
633
+ className: "".concat(classPrefix, "-content-select")
634
+ }, pv || pv === 0 ? pv : '-');
635
+ }
669
636
  }], _toConsumableArray(isEdit || isSelect ? [{
670
637
  title: '操作',
671
638
  dataIndex: 'set',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/modules-settings",
3
- "version": "2.0.0-zhongyuan.38",
3
+ "version": "2.0.0-zhongyuan.39",
4
4
  "private": false,
5
5
  "module": "es/index.js",
6
6
  "typings": "es/index.d.ts",
@@ -67,7 +67,7 @@
67
67
  "publishConfig": {
68
68
  "access": "public"
69
69
  },
70
- "gitHead": "318b607984cc23edfa0b881ba5116de2d0d1cabb",
70
+ "gitHead": "e488c012eedb30482fbc67ed376e8f425b28231c",
71
71
  "gitHooks": {
72
72
  "pre-commit": "lint-staged"
73
73
  }