@kmkf-fe-packages/kmkf-work-order-service-component 0.17.0 → 0.17.1-alpha.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.
|
@@ -30,7 +30,9 @@ function Reminder(props) {
|
|
|
30
30
|
className: styles.color_F40500
|
|
31
31
|
}, "\u6388\u6743\u5931\u6548"), "\u6216", /*#__PURE__*/React.createElement("span", {
|
|
32
32
|
className: styles.color_F40500
|
|
33
|
-
}, "\u6CA1\u6709\u5E97\u94FA\u6743\u9650")
|
|
33
|
+
}, "\u6CA1\u6709\u5E97\u94FA\u6743\u9650"), "\u6216", /*#__PURE__*/React.createElement("span", {
|
|
34
|
+
className: styles.color_F40500
|
|
35
|
+
}, "\u5E97\u94FA\u5DF2\u505C\u7528")), /*#__PURE__*/React.createElement("div", {
|
|
34
36
|
className: styles.title
|
|
35
37
|
}, "\u672A\u6388\u6743\u6D41\u7A0B"), /*#__PURE__*/React.createElement("div", {
|
|
36
38
|
className: styles.mb_8
|
|
@@ -38,7 +40,9 @@ function Reminder(props) {
|
|
|
38
40
|
className: styles.title
|
|
39
41
|
}, "\u6388\u6743\u5931\u6548\u6D41\u7A0B"), /*#__PURE__*/React.createElement("div", null, "1.\u767B\u5F55\u4F01\u4E1A\u5DE5\u5355", /*#__PURE__*/React.createElement("br", null), "2.\u8FDB\u5165\u7CFB\u7EDF\u8BBE\u7F6E-\u5E97\u94FA\u7BA1\u7406-\u627E\u5230\u5BF9\u5E94\u7684\u5E97\u94FA-\u70B9\u51FB\u3010\u91CD\u65B0\u6388\u6743\u3011"), /*#__PURE__*/React.createElement("br", null), /*#__PURE__*/React.createElement("div", {
|
|
40
42
|
className: styles.title
|
|
41
|
-
}, "\u6CA1\u6709\u5E97\u94FA\u6743\u9650\u6D41\u7A0B"), /*#__PURE__*/React.createElement("div", null, "1.\u767B\u5F55\u4F01\u4E1A\u5DE5\u5355", /*#__PURE__*/React.createElement("br", null), "2.\u8FDB\u5165\u7CFB\u7EDF\u8BBE\u7F6E-\u5458\u5DE5\u6743\u9650-\u3010\u7F16\u8F91\u3011-\u4FEE\u6539\u5E97\u94FA\u6743\u9650"), /*#__PURE__*/React.createElement("div", {
|
|
43
|
+
}, "\u6CA1\u6709\u5E97\u94FA\u6743\u9650\u6D41\u7A0B"), /*#__PURE__*/React.createElement("div", null, "1.\u767B\u5F55\u4F01\u4E1A\u5DE5\u5355", /*#__PURE__*/React.createElement("br", null), "2.\u8FDB\u5165\u7CFB\u7EDF\u8BBE\u7F6E-\u5458\u5DE5\u6743\u9650-\u3010\u7F16\u8F91\u3011-\u4FEE\u6539\u5E97\u94FA\u6743\u9650"), /*#__PURE__*/React.createElement("br", null), /*#__PURE__*/React.createElement("div", {
|
|
44
|
+
className: styles.title
|
|
45
|
+
}, "\u5E97\u94FA\u5DF2\u505C\u7528"), /*#__PURE__*/React.createElement("div", null, "1.\u767B\u5F55\u4F01\u4E1A\u5DE5\u5355", /*#__PURE__*/React.createElement("br", null), "2.\u8FDB\u5165\u7CFB\u7EDF\u8BBE\u7F6E-\u5E97\u94FA\u7BA1\u7406-\u627E\u5230\u5BF9\u5E94\u7684\u5E97\u94FA-\u70B9\u51FB\u3010\u5DF2\u505C\u7528\uFF0C\u70B9\u51FB\u6FC0\u6D3B\u3011"), /*#__PURE__*/React.createElement("div", {
|
|
42
46
|
className: styles.reminder_footer
|
|
43
47
|
}, /*#__PURE__*/React.createElement(Button, {
|
|
44
48
|
type: "primary",
|
|
@@ -13,11 +13,13 @@
|
|
|
13
13
|
|
|
14
14
|
.reminder_box {
|
|
15
15
|
width: 320px;
|
|
16
|
-
|
|
16
|
+
height: 80%;
|
|
17
|
+
padding: 12px 24px;
|
|
17
18
|
color: rgba(86, 89, 96, 0.65);
|
|
18
19
|
font-size: 14px;
|
|
19
20
|
background-color: #fff;
|
|
20
21
|
border-radius: 4px;
|
|
22
|
+
overflow-y: auto;
|
|
21
23
|
}
|
|
22
24
|
|
|
23
25
|
.tip_error {
|
|
@@ -118,10 +118,11 @@ var WorkOrder = function WorkOrder(props) {
|
|
|
118
118
|
//判断是否店铺是否授权
|
|
119
119
|
useEffect(function () {
|
|
120
120
|
if (shopList !== null && shopList !== void 0 && shopList.length) {
|
|
121
|
-
var
|
|
122
|
-
var _isEmpower = !!((_find = (shopList || []).find(function (item) {
|
|
121
|
+
var shopItem = (shopList || []).find(function (item) {
|
|
123
122
|
return item.shopId == shopId;
|
|
124
|
-
})
|
|
123
|
+
});
|
|
124
|
+
//店铺授权失效或停用
|
|
125
|
+
var _isEmpower = !!(shopItem !== null && shopItem !== void 0 && shopItem.auditStatus) && !!(shopItem !== null && shopItem !== void 0 && shopItem.useStatus);
|
|
125
126
|
setIsEmpower(_isEmpower);
|
|
126
127
|
}
|
|
127
128
|
}, [shopList]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/kmkf-work-order-service-component",
|
|
3
|
-
"version": "0.17.0",
|
|
3
|
+
"version": "0.17.1-alpha.0",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -32,13 +32,14 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@ant-design/icons": "^4.7.0",
|
|
35
|
-
"@kmkf-fe-packages/basic-components": "^0.17.0",
|
|
36
|
-
"@kmkf-fe-packages/kmkf-utils": "^0.17.0",
|
|
37
|
-
"@kmkf-fe-packages/services-components": "^0.17.0",
|
|
35
|
+
"@kmkf-fe-packages/basic-components": "^0.17.1-alpha.0",
|
|
36
|
+
"@kmkf-fe-packages/kmkf-utils": "^0.17.1-alpha.0",
|
|
37
|
+
"@kmkf-fe-packages/services-components": "^0.17.1-alpha.0",
|
|
38
38
|
"@reduxjs/toolkit": "^1.8.5",
|
|
39
39
|
"ahooks": "^3.7.4",
|
|
40
40
|
"copy-to-clipboard": "^3.3.3",
|
|
41
41
|
"js-md5": "^0.7.3",
|
|
42
|
+
"kmkf-monitor": "^0.8.4",
|
|
42
43
|
"react-redux": "^7.2.8",
|
|
43
44
|
"store2": "^2.14.2",
|
|
44
45
|
"voca": "^1.4.0"
|
|
@@ -65,7 +66,6 @@
|
|
|
65
66
|
},
|
|
66
67
|
"peerDependencies": {
|
|
67
68
|
"antd": "^4.23.0",
|
|
68
|
-
"kmkf-monitor": "^0.7.0",
|
|
69
69
|
"lodash": "^4.17.21",
|
|
70
70
|
"react": "^17.0.2",
|
|
71
71
|
"react-dom": "^17.0.2"
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"publishConfig": {
|
|
74
74
|
"access": "public"
|
|
75
75
|
},
|
|
76
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "79f503177621aea8db55bddc55e665366b6bbc1a",
|
|
77
77
|
"gitHooks": {
|
|
78
78
|
"pre-commit": "lint-staged"
|
|
79
79
|
}
|