@zgfe/modules-dm 1.0.56-zhongyuan.33 → 1.0.56-zhongyuan.35
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.
|
@@ -287,7 +287,9 @@ var CollectionAttributeList = function CollectionAttributeList(props) {
|
|
|
287
287
|
// record.isIdMappingProp ||
|
|
288
288
|
// record.category === 'fixed'
|
|
289
289
|
// }
|
|
290
|
-
disabled: isDemo ||
|
|
290
|
+
disabled: isDemo ||
|
|
291
|
+
// !authority[1000004] ||
|
|
292
|
+
record.category === 'fixed' || record.owner == 'zg_abp',
|
|
291
293
|
defaultValue: record.alias_name,
|
|
292
294
|
onFocus: aliasFocus,
|
|
293
295
|
onBlur: function onBlur(e) {
|
|
@@ -323,22 +325,22 @@ var CollectionAttributeList = function CollectionAttributeList(props) {
|
|
|
323
325
|
}
|
|
324
326
|
}
|
|
325
327
|
}, {
|
|
326
|
-
title: '
|
|
328
|
+
title: '数据上报',
|
|
327
329
|
dataIndex: 'lastInsertTime',
|
|
328
|
-
width:
|
|
330
|
+
width: 100,
|
|
329
331
|
render: function render(text, record, index) {
|
|
330
332
|
return /*#__PURE__*/React.createElement("div", {
|
|
331
333
|
className: "attr-name"
|
|
332
|
-
}, text);
|
|
334
|
+
}, text ? '有' : '无');
|
|
333
335
|
}
|
|
334
336
|
}, {
|
|
335
|
-
title: '
|
|
337
|
+
title: '最后上报时间',
|
|
336
338
|
dataIndex: 'lastInsertTime',
|
|
337
|
-
width:
|
|
339
|
+
width: 180,
|
|
338
340
|
render: function render(text, record, index) {
|
|
339
341
|
return /*#__PURE__*/React.createElement("div", {
|
|
340
342
|
className: "attr-name"
|
|
341
|
-
}, text
|
|
343
|
+
}, text);
|
|
342
344
|
}
|
|
343
345
|
}].concat(_toConsumableArray(source == 'event' ? [{
|
|
344
346
|
title: '属性值别名',
|
|
@@ -986,7 +986,12 @@ var TablePlus = function TablePlus(props) {
|
|
|
986
986
|
onClick: function onClick() {
|
|
987
987
|
eventTextHandle(record);
|
|
988
988
|
}
|
|
989
|
-
}, "\u6D4B\u8BD5")) : null, /*#__PURE__*/React.createElement(
|
|
989
|
+
}, "\u6D4B\u8BD5")) : null, /*#__PURE__*/React.createElement(Button, {
|
|
990
|
+
type: "link",
|
|
991
|
+
style: {
|
|
992
|
+
padding: 0
|
|
993
|
+
},
|
|
994
|
+
disabled: isDemo || !authority[1000004],
|
|
990
995
|
className: "set ".concat(record.owner == 'zg_abp' ? 'set-error' : ''),
|
|
991
996
|
onClick: function onClick() {
|
|
992
997
|
if (isDemo || !authority[1000004]) {
|
|
@@ -995,7 +1000,7 @@ var TablePlus = function TablePlus(props) {
|
|
|
995
1000
|
}
|
|
996
1001
|
eventItemDel(record);
|
|
997
1002
|
}
|
|
998
|
-
}, "\u5220\u9664")));
|
|
1003
|
+
}, ' ', "\u5220\u9664")));
|
|
999
1004
|
}
|
|
1000
1005
|
}
|
|
1001
1006
|
}];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zgfe/modules-dm",
|
|
3
|
-
"version": "1.0.56-zhongyuan.
|
|
3
|
+
"version": "1.0.56-zhongyuan.35",
|
|
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": "060cbb2a2f6604fda7ca284cdf54678a2d6a4699",
|
|
61
61
|
"gitHooks": {
|
|
62
62
|
"pre-commit": "lint-staged"
|
|
63
63
|
}
|