@zgfe/modules-settings 2.0.0-zhongyuan.2 → 2.0.0-zhongyuan.4

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.
@@ -401,12 +401,12 @@ var User = function User(props) {
401
401
  render: function render(data) {
402
402
  return /*#__PURE__*/React.createElement("div", {
403
403
  className: "operate"
404
- }, /*#__PURE__*/React.createElement("a", {
404
+ }, authority[1000921] && (/*#__PURE__*/React.createElement("a", {
405
405
  onClick: function onClick() {
406
406
  setMoveWorkModal(true);
407
407
  setCurrentRowData(data);
408
408
  }
409
- }, "\u8F6C\u4EA4\u5DE5\u4F5C"), authority[10090] && /*#__PURE__*/React.createElement("a", {
409
+ }, "\u8F6C\u4EA4\u5DE5\u4F5C")), authority[10090] && /*#__PURE__*/React.createElement("a", {
410
410
  onClick: function onClick() {
411
411
  return showUserEditAuthEvent(data);
412
412
  }
@@ -644,7 +644,7 @@ var User = function User(props) {
644
644
  color: '#1890ff',
645
645
  marginRight: '6px'
646
646
  }
647
- }), "\u6539\u529F\u80FD\u53EA\u4F1A\u8F6C\u4EA4\u8D44\u6E90\u7684\u6240\u5C5E\u5173\u7CFB\uFF0C\u4E0D\u4F1A\u8F6C\u4EA4\u8D26\u53F7\u7684\u6743\u9650"), /*#__PURE__*/React.createElement(Form, {
647
+ }), "\u8BE5\u529F\u80FD\u53EA\u4F1A\u8F6C\u4EA4\u8D44\u6E90\u7684\u6240\u5C5E\u5173\u7CFB\uFF0C\u4E0D\u4F1A\u8F6C\u4EA4\u8D26\u53F7\u7684\u6743\u9650"), /*#__PURE__*/React.createElement(Form, {
648
648
  form: form,
649
649
  labelCol: {
650
650
  span: 6
@@ -73,8 +73,8 @@ var CreateProcess = function CreateProcess(props) {
73
73
  console.log(err);
74
74
  });
75
75
  };
76
- var gotoPage = function gotoPage(businessId) {
77
- var pageNmae = businessId === -1 ? '/webapp/app/' + (currentApp === null || currentApp === void 0 ? void 0 : currentApp.appId) + '/plat/0/analytics/dataCollectManage' : '/webapp/app/' + (currentApp === null || currentApp === void 0 ? void 0 : currentApp.appId) + '/plat/0/analytics/setting/systemSetting/createDemand?id=' + businessId;
76
+ var gotoPage = function gotoPage(businessId, content) {
77
+ var pageNmae = businessId === -1 ? '/webapp/app/' + (currentApp === null || currentApp === void 0 ? void 0 : currentApp.appId) + '/plat/0/analytics/dataCollectManage' : content.includes('埋点待测试') ? '/webapp/app/' + (currentApp === null || currentApp === void 0 ? void 0 : currentApp.appId) + '/plat/0/analytics/dataCollectManage' : '/webapp/app/' + (currentApp === null || currentApp === void 0 ? void 0 : currentApp.appId) + '/plat/0/analytics/setting/systemSetting/createDemand?id=' + businessId;
78
78
  window.open(pageNmae, '_blank');
79
79
  // const pageNmae = businessId === -1 ? routes.dataAccess.manage : routes.createDemand;
80
80
  // const currentPage =
@@ -166,7 +166,7 @@ var CreateProcess = function CreateProcess(props) {
166
166
  color: '#67727F'
167
167
  },
168
168
  onClick: function onClick() {
169
- gotoPage(v.businessId);
169
+ gotoPage(v.businessId, v.content);
170
170
  props.onClose();
171
171
  // changeAllRead(v.id);
172
172
  }
@@ -189,7 +189,7 @@ var CreateProcess = function CreateProcess(props) {
189
189
  }, /*#__PURE__*/React.createElement("div", {
190
190
  className: "".concat(classPrefix, "-content-list-item-title"),
191
191
  onClick: function onClick() {
192
- gotoPage(v.businessId);
192
+ gotoPage(v.businessId, v.content);
193
193
  props.onClose();
194
194
  changeAllRead(v.id);
195
195
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/modules-settings",
3
- "version": "2.0.0-zhongyuan.2",
3
+ "version": "2.0.0-zhongyuan.4",
4
4
  "private": false,
5
5
  "module": "es/index.js",
6
6
  "typings": "es/index.d.ts",