@kmkf-fe-packages/kmkf-work-order-service-component 2.2.31-beta.81 → 2.2.31-beta.82
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.
|
@@ -6,6 +6,7 @@ function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefine
|
|
|
6
6
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
7
7
|
import React from 'react';
|
|
8
8
|
import { Table, message, Image } from 'antd';
|
|
9
|
+
import { ApaasImage } from '@kmkf-fe-packages/basic-components';
|
|
9
10
|
import moment from 'moment';
|
|
10
11
|
import styles from "./index.module.less";
|
|
11
12
|
import { queryInstallationRepairDetail } from "./services";
|
|
@@ -22,12 +23,15 @@ export var renderImages = function renderImages(value) {
|
|
|
22
23
|
flexWrap: 'wrap'
|
|
23
24
|
}
|
|
24
25
|
}, list.map(function (url, index) {
|
|
25
|
-
return /*#__PURE__*/React.createElement(
|
|
26
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
26
27
|
key: "".concat(url, "-").concat(index),
|
|
28
|
+
style: {
|
|
29
|
+
marginRight: 4
|
|
30
|
+
}
|
|
31
|
+
}, /*#__PURE__*/React.createElement(ApaasImage, {
|
|
27
32
|
src: url,
|
|
28
|
-
width: 24
|
|
29
|
-
|
|
30
|
-
});
|
|
33
|
+
width: 24
|
|
34
|
+
}));
|
|
31
35
|
})));
|
|
32
36
|
};
|
|
33
37
|
export var renderTable = function renderTable(value, record, item, effects, key) {
|
|
@@ -361,7 +361,15 @@ var serviceProgressDetailConfig = {
|
|
|
361
361
|
title: '图片证明',
|
|
362
362
|
dataIndex: 'image',
|
|
363
363
|
render: renderImages
|
|
364
|
-
}]
|
|
364
|
+
}],
|
|
365
|
+
22: [[{
|
|
366
|
+
title: '师傅姓名',
|
|
367
|
+
dataIndex: 'workerName'
|
|
368
|
+
}, {
|
|
369
|
+
title: '关单时间',
|
|
370
|
+
dataIndex: 'time',
|
|
371
|
+
render: renderTime
|
|
372
|
+
}]]
|
|
365
373
|
};
|
|
366
374
|
var getServiceProgressList = function getServiceProgressList(serviceProgress, singleColumn) {
|
|
367
375
|
var _serviceProgressDetai;
|
|
@@ -352,6 +352,12 @@ declare type ServiceProgressDataType = {
|
|
|
352
352
|
workerRemark: string;
|
|
353
353
|
processRemark: string;
|
|
354
354
|
};
|
|
355
|
+
} | {
|
|
356
|
+
serviceProgress: 22;
|
|
357
|
+
data: {
|
|
358
|
+
time: string;
|
|
359
|
+
workerName: string;
|
|
360
|
+
};
|
|
355
361
|
};
|
|
356
362
|
export declare type ServiceProgressListType = ({
|
|
357
363
|
operateTime: string;
|
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.31-beta.
|
|
3
|
+
"version": "2.2.31-beta.82",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"publishConfig": {
|
|
76
76
|
"access": "public"
|
|
77
77
|
},
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "ed885b27f708fe5de45dfbc20dfe7f36b1457c0d",
|
|
79
79
|
"gitHooks": {
|
|
80
80
|
"pre-commit": "lint-staged"
|
|
81
81
|
}
|