@kmkf-fe-packages/kmkf-work-order-service-component 0.19.4-alpha.0 → 0.19.4-alpha.2
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.
- package/dist/esm/FlowTemplateDetail/components/ActionList/index.js +1 -1
- package/dist/esm/FlowTemplateDetail/components/SubmitRemindModal/index.d.ts +1 -0
- package/dist/esm/FlowTemplateDetail/components/SubmitRemindModal/index.js +5 -3
- package/dist/esm/FlowTemplateDetail/index.js +3 -0
- package/package.json +2 -2
|
@@ -8,7 +8,8 @@ import React, { useState } from 'react';
|
|
|
8
8
|
import { Modal, Checkbox } from 'antd';
|
|
9
9
|
import cache from "../../../common/cache";
|
|
10
10
|
export default (function (props) {
|
|
11
|
-
var onCallback = props.onCallback
|
|
11
|
+
var onCallback = props.onCallback,
|
|
12
|
+
onClose = props.onClose;
|
|
12
13
|
var _useState = useState(false),
|
|
13
14
|
_useState2 = _slicedToArray(_useState, 2),
|
|
14
15
|
remind = _useState2[0],
|
|
@@ -20,9 +21,10 @@ export default (function (props) {
|
|
|
20
21
|
return /*#__PURE__*/React.createElement(Modal, {
|
|
21
22
|
visible: true,
|
|
22
23
|
title: "\u63D0\u9192",
|
|
23
|
-
okText: "\u786E\
|
|
24
|
+
okText: "\u786E\u5B9A",
|
|
24
25
|
cancelText: "\u53D6\u6D88",
|
|
25
|
-
onOk: onOk
|
|
26
|
+
onOk: onOk,
|
|
27
|
+
onCancel: onClose
|
|
26
28
|
}, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("p", null, "\u786E\u8BA4\u5B8C\u7ED3\u5DE5\u5355\u5417?\u5B8C\u7ED3\u540E\u5DE5\u5355\u5185\u5BB9\u4E0D\u53EF\u53D8\u66F4"), /*#__PURE__*/React.createElement(Checkbox, {
|
|
27
29
|
onChange: function onChange(e) {
|
|
28
30
|
return setRemind(e.target.checked);
|
|
@@ -1018,6 +1018,9 @@ var FlowTemplateDetail = function FlowTemplateDetail(props) {
|
|
|
1018
1018
|
onCallback: function onCallback() {
|
|
1019
1019
|
handleSubmit();
|
|
1020
1020
|
setRemindVisible(false);
|
|
1021
|
+
},
|
|
1022
|
+
onClose: function onClose() {
|
|
1023
|
+
return setRemindVisible(false);
|
|
1021
1024
|
}
|
|
1022
1025
|
})));
|
|
1023
1026
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/kmkf-work-order-service-component",
|
|
3
|
-
"version": "0.19.4-alpha.
|
|
3
|
+
"version": "0.19.4-alpha.2",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"publishConfig": {
|
|
75
75
|
"access": "public"
|
|
76
76
|
},
|
|
77
|
-
"gitHead": "
|
|
77
|
+
"gitHead": "a8530cce41622b90a7437296f31cb78122766f1d",
|
|
78
78
|
"gitHooks": {
|
|
79
79
|
"pre-commit": "lint-staged"
|
|
80
80
|
}
|