@zgfe/modules-dm 1.0.57-zhongyuan.65 → 1.0.57-zhongyuan.66

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.
@@ -993,8 +993,8 @@ var CollectionAttributeList = function CollectionAttributeList(props) {
993
993
  removeAttrData = _useState34[0],
994
994
  setRemoveAttrData = _useState34[1];
995
995
  var saveRemoveAttrData = function saveRemoveAttrData(record) {
996
- // 新加逻辑--在数据清洗自定义规则中绑定有此原事件不可删除。canDel:false 不允许删除
997
- if (!record.canDel) {
996
+ // // 新加逻辑--在数据清洗自定义规则中绑定有此原事件不可删除。canDel:false 不允许删除
997
+ if (source == 'event' && !record.canUpdate) {
998
998
  UseModal({
999
999
  onOk: function onOk() {},
1000
1000
  okText: '确定',
@@ -577,7 +577,8 @@ var CollectionEventList = function CollectionEventList(props) {
577
577
  request(apis.createExport, {
578
578
  method: 'get',
579
579
  params: {
580
- demandId: values === null || values === void 0 ? void 0 : values.demandId
580
+ demandId: values === null || values === void 0 ? void 0 : values.demandId,
581
+ appId: getAppID(currentApp)
581
582
  },
582
583
  responseType: 'blob',
583
584
  fileName: "\u6D4B\u8BD5\u62A5\u544A_".concat(moment().format('YYYYMMDD'))
@@ -624,7 +625,8 @@ var CollectionEventList = function CollectionEventList(props) {
624
625
  request(apis.exportData, {
625
626
  method: 'get',
626
627
  params: {
627
- demandId: values === null || values === void 0 ? void 0 : values.demandId
628
+ demandId: values === null || values === void 0 ? void 0 : values.demandId,
629
+ appId: getAppID(currentApp)
628
630
  },
629
631
  responseType: 'blob',
630
632
  fileName: "\u6570\u636E\u5305_".concat(moment().format('YYYYMMDD'))
@@ -20,6 +20,7 @@ import { mapContext } from '../../CutsModal';
20
20
  import { ValuesList, BizGlobalDataContext } from '@zgfe/business-lib';
21
21
  import apis from '../../../constants/api';
22
22
  import request from '../../../utils/ajax';
23
+ var DirectoryTree = Tree.DirectoryTree;
23
24
  var pageClassName = 'leftTreePage';
24
25
  var LeftTree = function LeftTree(props) {
25
26
  var _mapData$, _mapData$2;
@@ -232,16 +233,18 @@ var LeftTree = function LeftTree(props) {
232
233
  }
233
234
  }, /*#__PURE__*/React.createElement(Spin, {
234
235
  tip: "\u67E5\u8BE2\u4E2D"
235
- }))) : (/*#__PURE__*/React.createElement(Tree, {
236
+ }))) : (/*#__PURE__*/React.createElement(DirectoryTree, {
236
237
  blockNode: true,
237
- showLine: true,
238
+ // showLine={{showLeafIcon:false}}
239
+ showLine: false,
240
+ showIcon: false,
238
241
  switcherIcon: /*#__PURE__*/React.createElement(CaretDownOutlined, {
239
242
  onPointerEnterCapture: undefined,
240
243
  onPointerLeaveCapture: undefined
241
244
  }),
242
245
  autoExpandParent: true,
243
246
  selectedKeys: [(currentTree === null || currentTree === void 0 ? void 0 : currentTree.key) || ''],
244
- defaultExpandedKeys: [(currentTree === null || currentTree === void 0 ? void 0 : currentTree.key) || ''],
247
+ multiple: true,
245
248
  onSelect: onSelect,
246
249
  fieldNames: {
247
250
  title: 'pageAttrName'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/modules-dm",
3
- "version": "1.0.57-zhongyuan.65",
3
+ "version": "1.0.57-zhongyuan.66",
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": "dd0f9305428fbb1d2391e1ed4ca733ef420e5853",
60
+ "gitHead": "d8374986d034d8bc9129dc2b6be6598e7d3ff0f7",
61
61
  "gitHooks": {
62
62
  "pre-commit": "lint-staged"
63
63
  }