@kmkf-fe-packages/kmkf-work-order-service-component 0.28.0-alpha.1 → 0.28.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.
|
@@ -10,7 +10,9 @@ var RemarkShow = function RemarkShow(props) {
|
|
|
10
10
|
operatorType = props.operatorType,
|
|
11
11
|
handleOpenRemarkList = props.handleOpenRemarkList,
|
|
12
12
|
handleOpenAddRemark = props.handleOpenAddRemark,
|
|
13
|
-
imgList = props.imgList
|
|
13
|
+
imgList = props.imgList,
|
|
14
|
+
_props$readonly = props.readonly,
|
|
15
|
+
readonly = _props$readonly === void 0 ? false : _props$readonly;
|
|
14
16
|
return /*#__PURE__*/React.createElement("div", {
|
|
15
17
|
className: styles.remarkContext
|
|
16
18
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -21,7 +23,7 @@ var RemarkShow = function RemarkShow(props) {
|
|
|
21
23
|
className: styles.operator
|
|
22
24
|
}, operator), operatorType && /*#__PURE__*/React.createElement("span", {
|
|
23
25
|
className: styles.tag
|
|
24
|
-
}, getFlowOperate === null || getFlowOperate === void 0 ? void 0 : getFlowOperate[operatorType])), /*#__PURE__*/React.createElement("span", null, /*#__PURE__*/React.createElement("span", {
|
|
26
|
+
}, getFlowOperate === null || getFlowOperate === void 0 ? void 0 : getFlowOperate[operatorType])), /*#__PURE__*/React.createElement("span", null, !readonly && /*#__PURE__*/React.createElement("span", {
|
|
25
27
|
className: styles.contextBtn,
|
|
26
28
|
onClick: handleOpenAddRemark
|
|
27
29
|
}, "\u5907\u6CE8"), /*#__PURE__*/React.createElement("span", {
|
|
@@ -980,7 +980,8 @@ var FlowTemplateDetail = function FlowTemplateDetail(props) {
|
|
|
980
980
|
onUpdateRemark: onUpdateRemark,
|
|
981
981
|
onReminder: handleReminder,
|
|
982
982
|
queryRemarkList: queryRemarkList
|
|
983
|
-
}))), (remarkList === null || remarkList === void 0 ? void 0 : remarkList.length) > 0 &&
|
|
983
|
+
}))), (remarkList === null || remarkList === void 0 ? void 0 : remarkList.length) > 0 && /*#__PURE__*/React.createElement(RemarkShow, _extends({}, remarkList[0], {
|
|
984
|
+
readonly: true,
|
|
984
985
|
handleOpenRemarkList: handleOpenRemarkList,
|
|
985
986
|
handleOpenAddRemark: handleOpenAddRemark
|
|
986
987
|
}))), getTag({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/kmkf-work-order-service-component",
|
|
3
|
-
"version": "0.28.0
|
|
3
|
+
"version": "0.28.0",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@ant-design/icons": "^4.7.0",
|
|
35
|
-
"@kmkf-fe-packages/basic-components": "^0.28.0
|
|
36
|
-
"@kmkf-fe-packages/kmkf-utils": "^0.28.0
|
|
37
|
-
"@kmkf-fe-packages/services-components": "^0.28.0
|
|
35
|
+
"@kmkf-fe-packages/basic-components": "^0.28.0",
|
|
36
|
+
"@kmkf-fe-packages/kmkf-utils": "^0.28.0",
|
|
37
|
+
"@kmkf-fe-packages/services-components": "^0.28.0",
|
|
38
38
|
"@reduxjs/toolkit": "^1.8.5",
|
|
39
39
|
"ahooks": "^3.7.4",
|
|
40
40
|
"copy-to-clipboard": "^3.3.3",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"publishConfig": {
|
|
74
74
|
"access": "public"
|
|
75
75
|
},
|
|
76
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "56c756a3502dc4ded475a21c761b03bab33ea410",
|
|
77
77
|
"gitHooks": {
|
|
78
78
|
"pre-commit": "lint-staged"
|
|
79
79
|
}
|