@kmkf-fe-packages/kmkf-work-order-service-component 2.0.54-beta.13 → 2.0.54-beta.14
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.
|
@@ -12,6 +12,8 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
12
12
|
* @LastEditTime: 2022-11-08 13:58:05
|
|
13
13
|
*/
|
|
14
14
|
import request from "./request";
|
|
15
|
+
import { tradeStatusMap } from '@kmkf-fe-packages/kmkf-utils';
|
|
16
|
+
|
|
15
17
|
//获取灰度白名
|
|
16
18
|
export var grayWhiteList = function grayWhiteList() {
|
|
17
19
|
return request({
|
|
@@ -416,8 +418,9 @@ export var wdtOrderDetail = function wdtOrderDetail(data) {
|
|
|
416
418
|
var _res$data, _res$data$trades;
|
|
417
419
|
if (res !== null && res !== void 0 && (_res$data = res.data) !== null && _res$data !== void 0 && (_res$data$trades = _res$data.trades) !== null && _res$data$trades !== void 0 && _res$data$trades.length) {
|
|
418
420
|
res.data.trades = res.data.trades.map(function (item) {
|
|
421
|
+
var _tradeStatusMap$res$d;
|
|
419
422
|
return _objectSpread(_objectSpread({}, item), {}, {
|
|
420
|
-
|
|
423
|
+
tradeStatusValue: tradeStatusMap === null || tradeStatusMap === void 0 ? void 0 : (_tradeStatusMap$res$d = tradeStatusMap[res.data.version]) === null || _tradeStatusMap$res$d === void 0 ? void 0 : _tradeStatusMap$res$d[item.tradeStatus]
|
|
421
424
|
});
|
|
422
425
|
});
|
|
423
426
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/kmkf-work-order-service-component",
|
|
3
|
-
"version": "2.0.54-beta.
|
|
3
|
+
"version": "2.0.54-beta.14",
|
|
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.0.54-beta.
|
|
36
|
-
"@kmkf-fe-packages/kmkf-utils": "2.0.54-beta.
|
|
37
|
-
"@kmkf-fe-packages/services-components": "2.0.54-beta.
|
|
35
|
+
"@kmkf-fe-packages/basic-components": "2.0.54-beta.14",
|
|
36
|
+
"@kmkf-fe-packages/kmkf-utils": "2.0.54-beta.14",
|
|
37
|
+
"@kmkf-fe-packages/services-components": "2.0.54-beta.14",
|
|
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": "b98b4e20a07614178824f0610091942dde6580c5",
|
|
77
77
|
"gitHooks": {
|
|
78
78
|
"pre-commit": "lint-staged"
|
|
79
79
|
}
|