@zgfe/modules-dm 1.0.35-dadi.0 → 1.0.35-zhongbang.0
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.
|
@@ -573,23 +573,16 @@ var TablePlus = function TablePlus(props) {
|
|
|
573
573
|
type: "shanchu"
|
|
574
574
|
}));
|
|
575
575
|
} else {
|
|
576
|
-
return /*#__PURE__*/React.createElement(
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
// ? eventItemDel(record.event_id)
|
|
587
|
-
// : message.error('内置事件无法删除');
|
|
588
|
-
// }}
|
|
589
|
-
// >
|
|
590
|
-
// 删除
|
|
591
|
-
// </div>
|
|
592
|
-
// );
|
|
576
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
577
|
+
className: "set ".concat(record.owner == 'zg_abp' ? 'set-error' : ''),
|
|
578
|
+
onClick: function onClick() {
|
|
579
|
+
if (!authority[1000005]) {
|
|
580
|
+
message.error('无修改权限');
|
|
581
|
+
return;
|
|
582
|
+
}
|
|
583
|
+
record.owner != 'zg_abp' ? eventItemDel(record.event_id) : message.error('内置事件无法删除');
|
|
584
|
+
}
|
|
585
|
+
}, "\u5220\u9664");
|
|
593
586
|
}
|
|
594
587
|
}
|
|
595
588
|
}];
|
|
@@ -418,10 +418,9 @@ var AddPlan = function AddPlan(props) {
|
|
|
418
418
|
method: 'post',
|
|
419
419
|
data: _objectSpread({}, ManagementPlan)
|
|
420
420
|
}).then(function (res) {
|
|
421
|
-
if (res
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
}
|
|
421
|
+
if (!res) return;
|
|
422
|
+
message.success('保存成功');
|
|
423
|
+
closeDrawer('save');
|
|
425
424
|
}).catch(function (err) {});
|
|
426
425
|
};
|
|
427
426
|
// 存储选中的keys
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zgfe/modules-dm",
|
|
3
|
-
"version": "1.0.35-
|
|
3
|
+
"version": "1.0.35-zhongbang.0",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"module": "es/index.js",
|
|
6
6
|
"typings": "es/index.d.ts",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"umi-request": "^1.4.0",
|
|
50
50
|
"yorkie": "^2.0.0"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "31b757dec75375568adbc8043d3db763980d96b7",
|
|
53
53
|
"gitHooks": {
|
|
54
54
|
"pre-commit": "lint-staged"
|
|
55
55
|
}
|