@zgfe/modules-dm 1.0.2-dm.0 → 1.0.2-dm.2
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.
|
@@ -150,6 +150,11 @@ var CollectionEventList = function CollectionEventList(props) {
|
|
|
150
150
|
|
|
151
151
|
|
|
152
152
|
var createEventGroup = function createEventGroup() {
|
|
153
|
+
if (eventNameInput == '') {
|
|
154
|
+
message.error('请输入分组名称');
|
|
155
|
+
return;
|
|
156
|
+
}
|
|
157
|
+
|
|
153
158
|
if (eventNameInput.length > 20) {
|
|
154
159
|
message.error('名称不可超过20字符');
|
|
155
160
|
return;
|
|
@@ -82,6 +82,7 @@
|
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
.alias_name {
|
|
85
|
+
background: #fff !important;
|
|
85
86
|
border: none;
|
|
86
87
|
}
|
|
87
88
|
.ant-input:focus,
|
|
@@ -163,6 +164,7 @@
|
|
|
163
164
|
display: none;
|
|
164
165
|
margin-left: 10px;
|
|
165
166
|
font-size: 16px !important;
|
|
167
|
+
cursor: pointer;
|
|
166
168
|
}
|
|
167
169
|
.copy-text:hover {
|
|
168
170
|
color: @primary-color;
|
|
@@ -171,6 +173,7 @@
|
|
|
171
173
|
.collect-icon-active {
|
|
172
174
|
margin: 0 4px;
|
|
173
175
|
font-size: 16px !important;
|
|
176
|
+
cursor: pointer;
|
|
174
177
|
}
|
|
175
178
|
.collect-icon {
|
|
176
179
|
color: #999;
|
|
@@ -220,9 +223,22 @@
|
|
|
220
223
|
&:hover {
|
|
221
224
|
.fuzhi {
|
|
222
225
|
display: inline-block;
|
|
226
|
+
cursor: pointer;
|
|
223
227
|
}
|
|
224
228
|
}
|
|
225
229
|
}
|
|
230
|
+
.alias_name {
|
|
231
|
+
background: #fff !important;
|
|
232
|
+
border: none;
|
|
233
|
+
cursor: pointer;
|
|
234
|
+
}
|
|
235
|
+
.ant-input:focus,
|
|
236
|
+
.ant-input-focused {
|
|
237
|
+
background-color: #fff !important;
|
|
238
|
+
border-bottom: 1px solid @primary-color;
|
|
239
|
+
border-radius: 0 !important;
|
|
240
|
+
box-shadow: none !important;
|
|
241
|
+
}
|
|
226
242
|
.attr_alias_name {
|
|
227
243
|
cursor: pointer;
|
|
228
244
|
user-select: none;
|
|
@@ -66,7 +66,7 @@ var TablePlus = function TablePlus(props) {
|
|
|
66
66
|
}; // 表格class处理
|
|
67
67
|
|
|
68
68
|
|
|
69
|
-
var rowClassNameHandle = function rowClassNameHandle(record
|
|
69
|
+
var rowClassNameHandle = function rowClassNameHandle(record) {
|
|
70
70
|
if (record.groupId != undefined) {
|
|
71
71
|
return 'group-row';
|
|
72
72
|
} else {
|
|
@@ -427,7 +427,7 @@ var TablePlus = function TablePlus(props) {
|
|
|
427
427
|
key: 'last_insert_time',
|
|
428
428
|
width: 187,
|
|
429
429
|
render: function render(text, record, index) {
|
|
430
|
-
return /*#__PURE__*/React.createElement("div", null, record.
|
|
430
|
+
return /*#__PURE__*/React.createElement("div", null, record.last_insert_time);
|
|
431
431
|
}
|
|
432
432
|
}, {
|
|
433
433
|
title: /*#__PURE__*/React.createElement(Select, {
|
|
@@ -462,6 +462,7 @@ var TablePlus = function TablePlus(props) {
|
|
|
462
462
|
style: {
|
|
463
463
|
width: 150
|
|
464
464
|
},
|
|
465
|
+
disabled: rowClassNameHandle(record) == 'error-row' ? true : false,
|
|
465
466
|
onChange: function onChange(e) {
|
|
466
467
|
return eventHiddenChange(e, 'event_hidden', record.event_id);
|
|
467
468
|
},
|
|
@@ -507,6 +508,7 @@ var TablePlus = function TablePlus(props) {
|
|
|
507
508
|
style: {
|
|
508
509
|
width: 150
|
|
509
510
|
},
|
|
511
|
+
disabled: rowClassNameHandle(record) == 'error-row' ? true : false,
|
|
510
512
|
onChange: function onChange(e) {
|
|
511
513
|
return eventHiddenChange(e, 'is_stop', record.event_id);
|
|
512
514
|
},
|
|
@@ -579,7 +581,7 @@ var TablePlus = function TablePlus(props) {
|
|
|
579
581
|
loading: props.loading,
|
|
580
582
|
dataSource: tableHandleData,
|
|
581
583
|
rowClassName: function rowClassName(record, index) {
|
|
582
|
-
return rowClassNameHandle(record
|
|
584
|
+
return rowClassNameHandle(record);
|
|
583
585
|
},
|
|
584
586
|
scroll: {
|
|
585
587
|
x: 1300,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zgfe/modules-dm",
|
|
3
|
-
"version": "1.0.2-dm.
|
|
3
|
+
"version": "1.0.2-dm.2",
|
|
4
4
|
"module": "es/index.js",
|
|
5
5
|
"typings": "es/index.d.ts",
|
|
6
6
|
"license": "ISC",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"umi-request": "^1.4.0",
|
|
54
54
|
"yorkie": "^2.0.0"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "21b241c8db6f499daff43a19cbea9bdae598bd2f",
|
|
57
57
|
"gitHooks": {
|
|
58
58
|
"pre-commit": "lint-staged"
|
|
59
59
|
}
|