@zgfe/modules-dm 1.0.34-heyh.28 → 1.0.34-heyh.30

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.
@@ -190,6 +190,7 @@ var CreateVirtualDrawer = function CreateVirtualDrawer(props) {
190
190
  message: '仅能输入英文、符号、数字'
191
191
  }]
192
192
  }, /*#__PURE__*/React.createElement(Input, {
193
+ placeholder: "\u8BF7\u8F93\u5165\u865A\u62DF\u4E8B\u4EF6\u540D\u79F0",
193
194
  maxLength: 20,
194
195
  disabled: virtualDrawerType === 'edit'
195
196
  })), /*#__PURE__*/React.createElement(Form.Item, {
@@ -200,6 +201,7 @@ var CreateVirtualDrawer = function CreateVirtualDrawer(props) {
200
201
  message: '请输入虚拟事件别名'
201
202
  }]
202
203
  }, /*#__PURE__*/React.createElement(Input, {
204
+ placeholder: "\u8BF7\u8F93\u5165\u865A\u62DF\u4E8B\u4EF6\u522B\u540D",
203
205
  maxLength: 20
204
206
  })), /*#__PURE__*/React.createElement(Form.Item, {
205
207
  label: "\u5206\u7EC4",
@@ -110,6 +110,7 @@ var EventGroupingDrawer = function EventGroupingDrawer(props) {
110
110
  return;
111
111
  }
112
112
  Modal.confirm({
113
+ wrapClassName: 'dm-modal-confirm',
113
114
  centered: true,
114
115
  title: '提示',
115
116
  content: '是否确认删除?',
@@ -190,7 +191,6 @@ var EventGroupingDrawer = function EventGroupingDrawer(props) {
190
191
  };
191
192
  var eventMoveChange = function eventMoveChange() {
192
193
  if (requestMove) {
193
- console.log(11111111);
194
194
  return;
195
195
  }
196
196
  requestMove = true;
@@ -315,7 +315,10 @@ var EventGroupingDrawer = function EventGroupingDrawer(props) {
315
315
  className: "".concat(classPrefix, "-top-box")
316
316
  }, /*#__PURE__*/React.createElement(Input, {
317
317
  placeholder: "\u8BF7\u8F93\u5165\u4E8B\u4EF6\u540D\u79F0\u6216\u522B\u540D",
318
- onChange: onSearchChange
318
+ onChange: onSearchChange,
319
+ prefix: /*#__PURE__*/React.createElement(IconFont, {
320
+ type: "sousuo"
321
+ })
319
322
  }), /*#__PURE__*/React.createElement(Button, {
320
323
  type: "primary",
321
324
  size: "small",
@@ -122,6 +122,7 @@ var TablePlus = function TablePlus(props) {
122
122
  });
123
123
  if (!deteleFlag) return message.error('分组内存在事件,无法删除');
124
124
  Modal.confirm({
125
+ wrapClassName: 'dm-modal-confirm',
125
126
  centered: true,
126
127
  title: '是否确认删除?',
127
128
  okText: '确认',
@@ -171,6 +172,7 @@ var TablePlus = function TablePlus(props) {
171
172
  };
172
173
  var eventDelModal = function eventDelModal(eventId, text) {
173
174
  Modal.confirm({
175
+ wrapClassName: 'dm-modal-confirm',
174
176
  centered: true,
175
177
  title: '是否确认删除?',
176
178
  content: text,
@@ -215,7 +217,7 @@ var TablePlus = function TablePlus(props) {
215
217
  }
216
218
  request(apis.updateEventInfo, {
217
219
  method: 'post',
218
- params: _objectSpread({
220
+ data: _objectSpread({
219
221
  appId: getAppID(currentApp),
220
222
  eventId: record.event_id
221
223
  }, _temp)
@@ -62,6 +62,7 @@ var VirtualTablePlus = function VirtualTablePlus(props) {
62
62
  // 删除分组
63
63
  var eventNameDel = function eventNameDel(eventGroupId) {
64
64
  Modal.confirm({
65
+ wrapClassName: 'dm-modal-confirm',
65
66
  centered: true,
66
67
  title: '是否确认删除?',
67
68
  okText: '确认',
@@ -87,6 +88,7 @@ var VirtualTablePlus = function VirtualTablePlus(props) {
87
88
  // 删除事件
88
89
  var eventItemDel = function eventItemDel(name) {
89
90
  Modal.confirm({
91
+ wrapClassName: 'dm-modal-confirm',
90
92
  centered: true,
91
93
  title: '是否确认删除?',
92
94
  content: '删除后,将停止采集该事件数据,也将不在分析平台中显示!',
@@ -404,6 +404,7 @@
404
404
  }
405
405
  &-add {
406
406
  color: #165dff;
407
+ cursor: pointer;
407
408
  &-icon {
408
409
  margin-right: 8px;
409
410
  font-weight: 900;
@@ -435,8 +436,8 @@
435
436
  &-eventDataBox {
436
437
  margin-top: 24px;
437
438
  padding-bottom: 24px;
438
- > :nth-child(2) {
439
- margin-top: 8px;
439
+ > :nth-child(1) {
440
+ color: #5f6085;
440
441
  }
441
442
  > :nth-child(1)::before {
442
443
  display: inline-block;
@@ -447,6 +448,10 @@
447
448
  line-height: 1;
448
449
  content: '*';
449
450
  }
451
+ > :nth-child(2) {
452
+ margin-top: 8px;
453
+ color: #67727f;
454
+ }
450
455
  }
451
456
  &-eventDataBox.see {
452
457
  > :nth-child(1) {
@@ -457,10 +462,11 @@
457
462
  }
458
463
  }
459
464
  &-formList {
460
- margin-top: 24px;
465
+ margin-top: 16px;
461
466
  .ant-form-item {
462
467
  width: 100%;
463
468
  max-width: 100%;
469
+ margin-bottom: 16px !important;
464
470
  .ant-col {
465
471
  width: 100%;
466
472
  max-width: 100%;
@@ -509,6 +515,9 @@
509
515
  gap: 8px;
510
516
  align-items: center;
511
517
  justify-content: start;
518
+ > :nth-child(1) {
519
+ color: #9AA1A9;
520
+ }
512
521
  > :nth-child(2) {
513
522
  font-weight: 500;
514
523
  }
@@ -574,10 +583,16 @@
574
583
  display: flex;
575
584
  align-items: center;
576
585
  justify-content: space-between;
577
- .ant-input {
586
+ .ant-btn {
587
+ height: 32px;
588
+ }
589
+ .ant-input-affix-wrapper {
578
590
  width: 374px;
579
591
  border: none;
580
592
  }
593
+ .ant-input-prefix {
594
+ margin-right: 10px;
595
+ }
581
596
  }
582
597
  .ant-drawer-content,
583
598
  .ant-drawer-wrapper-body {
@@ -761,3 +776,13 @@
761
776
  cursor: not-allowed !important;
762
777
  user-select: none;
763
778
  }
779
+
780
+ // dm项目中modal-confirm公用的样式
781
+ .dm-modal-confirm {
782
+ .ant-modal-confirm-btns {
783
+ .ant-btn-primary {
784
+ margin-left: 16px !important;
785
+ background: #165dff;
786
+ }
787
+ }
788
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/modules-dm",
3
- "version": "1.0.34-heyh.28",
3
+ "version": "1.0.34-heyh.30",
4
4
  "license": "ISC",
5
5
  "module": "es/index.js",
6
6
  "typings": "es/index.d.ts",
@@ -52,7 +52,7 @@
52
52
  "umi-request": "^1.4.0",
53
53
  "yorkie": "^2.0.0"
54
54
  },
55
- "gitHead": "8e420eed07c0b2c21a18d58d78d864d26f0c1efc",
55
+ "gitHead": "a392cf77313b4c7a22c4e52c3dbb4c967353a53d",
56
56
  "gitHooks": {
57
57
  "pre-commit": "lint-staged"
58
58
  }