@zgfe/modules-dm 1.0.56-zhongyuan.34 → 1.0.56-zhongyuan.36

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 || !authority[1000004] || record.category === 'fixed' || record.owner == 'zg_abp',
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) {
@@ -885,7 +885,7 @@ var TablePlus = function TablePlus(props) {
885
885
  color: '#5f6085'
886
886
  }
887
887
  }),
888
- disabled: rowClassNameHandle(record) == 'error-row' || isDemo ? true : false,
888
+ disabled: rowClassNameHandle(record) == 'error-row' || isDemo || !authority[10000017],
889
889
  onChange: function onChange(e) {
890
890
  return eventHiddenChange(e, 'is_stop', record);
891
891
  },
@@ -986,8 +986,13 @@ var TablePlus = function TablePlus(props) {
986
986
  onClick: function onClick() {
987
987
  eventTextHandle(record);
988
988
  }
989
- }, "\u6D4B\u8BD5")) : null, /*#__PURE__*/React.createElement("span", {
990
- className: "set ".concat(record.owner == 'zg_abp' ? 'set-error' : ''),
989
+ }, "\u6D4B\u8BD5")) : null, /*#__PURE__*/React.createElement(Button, {
990
+ type: "link",
991
+ style: {
992
+ padding: 0
993
+ },
994
+ disabled: isDemo || !authority[1000004],
995
+ // className={`set ${record.owner == 'zg_abp' ? 'set-error' : ''}`}
991
996
  onClick: function onClick() {
992
997
  if (isDemo || !authority[1000004]) {
993
998
  message.error('无修改权限');
@@ -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.34",
3
+ "version": "1.0.56-zhongyuan.36",
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": "5c6a99e025d1fe86cf7afe9711035bef74ee9af8",
60
+ "gitHead": "146fe18d6f86573e6fa4184b470d2f4fceb5881c",
61
61
  "gitHooks": {
62
62
  "pre-commit": "lint-staged"
63
63
  }