@kmkf-fe-packages/kmkf-work-order-service-component 2.2.5-beta.24 → 2.2.5-beta.26
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.
|
@@ -141,7 +141,7 @@ var ShareLinkModal = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
141
141
|
}, "\u590D\u5236")), info.platform === 'pc' && /*#__PURE__*/React.createElement(Button, {
|
|
142
142
|
type: "primary",
|
|
143
143
|
onClick: function onClick() {
|
|
144
|
-
window.open(shortUrl);
|
|
144
|
+
window.open("https://".concat(shortUrl));
|
|
145
145
|
}
|
|
146
146
|
}, "\u6253\u5F00"))), /*#__PURE__*/React.createElement(Text, null, shortUrl))), /*#__PURE__*/React.createElement("li", {
|
|
147
147
|
className: styles.shareLi
|
|
@@ -1129,12 +1129,11 @@ var FlowTemplateDetail = function FlowTemplateDetail(props) {
|
|
|
1129
1129
|
dispatch(fetchShareNodeConfig({
|
|
1130
1130
|
companyKey: plat.companyKey,
|
|
1131
1131
|
flowTemplateKey: flowTemplateKey,
|
|
1132
|
-
flowNodeId: currentNodeDetail === null || currentNodeDetail === void 0 ? void 0 : (_currentNodeDetail$no13 = currentNodeDetail.nodeInfo) === null || _currentNodeDetail$no13 === void 0 ? void 0 : _currentNodeDetail$no13.id
|
|
1133
|
-
userKey: plat.userKey
|
|
1132
|
+
flowNodeId: currentNodeDetail === null || currentNodeDetail === void 0 ? void 0 : (_currentNodeDetail$no13 = currentNodeDetail.nodeInfo) === null || _currentNodeDetail$no13 === void 0 ? void 0 : _currentNodeDetail$no13.id
|
|
1134
1133
|
}));
|
|
1135
1134
|
dispatch(fetchH5SharePermission());
|
|
1136
1135
|
}
|
|
1137
|
-
}, [
|
|
1136
|
+
}, [flowTemplateKey, currentNodeDetail === null || currentNodeDetail === void 0 ? void 0 : (_currentNodeDetail$no14 = currentNodeDetail.nodeInfo) === null || _currentNodeDetail$no14 === void 0 ? void 0 : _currentNodeDetail$no14.id, privilege]);
|
|
1138
1137
|
useEffect(function () {
|
|
1139
1138
|
if (flowTemplateId && flowWorkOrderIdState && !autoSubmit) {
|
|
1140
1139
|
dispatch(fetchAllFlowOperateRecord({
|
|
@@ -1400,7 +1399,7 @@ var FlowTemplateDetail = function FlowTemplateDetail(props) {
|
|
|
1400
1399
|
handleAction: handleAction,
|
|
1401
1400
|
hasPreNode: (flowRecordList === null || flowRecordList === void 0 ? void 0 : flowRecordList.length) > 0,
|
|
1402
1401
|
privilege: privilege,
|
|
1403
|
-
showShareButton: showShareButton && hasShareAuth
|
|
1402
|
+
showShareButton: showShareButton && hasShareAuth && !!flowWorkOrderId
|
|
1404
1403
|
})), isShowRemark && !['created', 'edit'].includes(privilege) && /*#__PURE__*/React.createElement(OrderRemark, {
|
|
1405
1404
|
shopUniqueKey: shopUniqueKey,
|
|
1406
1405
|
shopSourceStr: shopSourceStr,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/kmkf-work-order-service-component",
|
|
3
|
-
"version": "2.2.5-beta.
|
|
3
|
+
"version": "2.2.5-beta.26",
|
|
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": "2.2.5-beta.
|
|
35
|
+
"@kmkf-fe-packages/basic-components": "2.2.5-beta.25",
|
|
36
36
|
"@kmkf-fe-packages/kmkf-utils": "2.2.5-beta.24",
|
|
37
|
-
"@kmkf-fe-packages/services-components": "2.2.5-beta.
|
|
37
|
+
"@kmkf-fe-packages/services-components": "2.2.5-beta.25",
|
|
38
38
|
"@reduxjs/toolkit": "^1.8.5",
|
|
39
39
|
"ahooks": "^3.7.4",
|
|
40
40
|
"copy-to-clipboard": "^3.3.3",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"publishConfig": {
|
|
75
75
|
"access": "public"
|
|
76
76
|
},
|
|
77
|
-
"gitHead": "
|
|
77
|
+
"gitHead": "f4c7dd77ef9bd39fe2908cbd32b70c30e7b7b071",
|
|
78
78
|
"gitHooks": {
|
|
79
79
|
"pre-commit": "lint-staged"
|
|
80
80
|
}
|