@zgfe/modules-settings 2.0.0-zhongyuan.33 → 2.0.0-zhongyuan.34
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.
|
@@ -1082,7 +1082,14 @@ var CreateDemand = function CreateDemand(props) {
|
|
|
1082
1082
|
status: 0
|
|
1083
1083
|
});
|
|
1084
1084
|
}));
|
|
1085
|
-
onCreate('save'
|
|
1085
|
+
onCreate('save', {
|
|
1086
|
+
pointEventIds: val.map(function (res) {
|
|
1087
|
+
return res.id;
|
|
1088
|
+
}),
|
|
1089
|
+
pointEventStatus: val.map(function (res) {
|
|
1090
|
+
return 0;
|
|
1091
|
+
})
|
|
1092
|
+
});
|
|
1086
1093
|
}, pointEventInfo);
|
|
1087
1094
|
}
|
|
1088
1095
|
}, "\u57CB\u70B9\u8BBE\u8BA1")), /*#__PURE__*/React.createElement("div", {
|
|
@@ -1097,10 +1104,8 @@ var CreateDemand = function CreateDemand(props) {
|
|
|
1097
1104
|
}, getLableValue(demandStatus, 'buttonName'))), isRead ? null : demandStatus == 2 && (/*#__PURE__*/React.createElement(Button, {
|
|
1098
1105
|
className: "".concat(classPrefix, "-info-right-button forbiddenColor"),
|
|
1099
1106
|
onClick: function onClick() {
|
|
1100
|
-
var list = pointEventInfo === null || pointEventInfo === void 0 ? void 0 : pointEventInfo.
|
|
1101
|
-
|
|
1102
|
-
pointEventInfo.slice(selectedRowKeys.indexOf(item.id));
|
|
1103
|
-
}
|
|
1107
|
+
var list = pointEventInfo === null || pointEventInfo === void 0 ? void 0 : pointEventInfo.filter(function (item) {
|
|
1108
|
+
return selectedRowKeys.indexOf(item.id) == -1;
|
|
1104
1109
|
});
|
|
1105
1110
|
setPointEventInfo(list);
|
|
1106
1111
|
onCreate('save', {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zgfe/modules-settings",
|
|
3
|
-
"version": "2.0.0-zhongyuan.
|
|
3
|
+
"version": "2.0.0-zhongyuan.34",
|
|
4
4
|
"private": false,
|
|
5
5
|
"module": "es/index.js",
|
|
6
6
|
"typings": "es/index.d.ts",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"publishConfig": {
|
|
68
68
|
"access": "public"
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "69b4fe9e9a54f976bcafe6bcaa7be9076260f66a",
|
|
71
71
|
"gitHooks": {
|
|
72
72
|
"pre-commit": "lint-staged"
|
|
73
73
|
}
|