@kmkf-fe-packages/services-components 0.28.2-rc.9 → 0.29.0-beta.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.
- package/README.md +2 -0
- package/dist/esm/commonComponents/CopyText/index.d.ts +7 -0
- package/dist/esm/commonComponents/CopyText/index.js +14 -0
- package/dist/esm/commonComponents/GlobalContext/index.d.ts +1 -1
- package/dist/esm/commonComponents/GlobalContext/index.js +8 -5
- package/dist/esm/commonComponents/PlatBuyer/index.d.ts +1 -1
- package/dist/esm/commonComponents/PlatBuyer/index.js +4 -17
- package/dist/esm/commonComponents/QueryLogisticsTrack/index.d.ts +1 -1
- package/dist/esm/commonComponents/QueryLogisticsTrack/index.js +21 -15
- package/dist/esm/components/BS/BsLogistics/index.js +12 -7
- package/dist/esm/components/BS/BsReissue/index.js +7 -7
- package/dist/esm/components/BS/common/BsMemo.js +2 -1
- package/dist/esm/components/BS/common/BsType.js +2 -1
- package/dist/esm/components/BS/common/SystemOrderNo.d.ts +26 -0
- package/dist/esm/components/BS/common/SystemOrderNo.js +94 -0
- package/dist/esm/components/BS/common/expressCompany.d.ts +4 -1
- package/dist/esm/components/BS/common/expressCompany.js +5 -2
- package/dist/esm/components/BS/common/index.d.ts +1 -0
- package/dist/esm/components/BS/common/index.js +2 -1
- package/dist/esm/components/Common/index.d.ts +2 -2
- package/dist/esm/components/Common/index.js +353 -177
- package/dist/esm/components/CommonHeaderGood/index.js +168 -0
- package/dist/esm/components/CommonTradeId/index.d.ts +5 -6
- package/dist/esm/components/CommonTradeId/index.js +15 -26
- package/dist/esm/components/ErpTradeId/components/OrderNum/index.d.ts +1 -0
- package/dist/esm/components/ErpTradeId/components/OrderNum/index.js +7 -7
- package/dist/esm/components/ErpTradeId/components/OrderNum/{index.module.scss → index.less} +2 -2
- package/dist/esm/components/ExpressCode/index.d.ts +2 -2
- package/dist/esm/components/ExpressCode/index.js +9 -5
- package/dist/esm/components/FlowWorkOrderId/index.d.ts +2 -3
- package/dist/esm/components/FlowWorkOrderId/index.js +4 -18
- package/dist/esm/components/JST/JstLogistics/index.js +16 -11
- package/dist/esm/components/JST/JstSendGood/index.js +8 -5
- package/dist/esm/components/LogisticsInterception/index.d.ts +16 -4
- package/dist/esm/components/LogisticsInterception/index.js +6 -11
- package/dist/esm/components/LogisticsMoreInterception/index.d.ts +13 -13
- package/dist/esm/components/LogisticsMoreInterception/index.js +17 -14
- package/dist/esm/components/LogisticsMoreInterception/{interceptItem.d.ts → interceptCode.d.ts} +2 -2
- package/dist/esm/components/LogisticsMoreInterception/{interceptItem.js → interceptCode.js} +7 -4
- package/dist/esm/components/LogisticsMoreTrajectory/index.d.ts +3 -3
- package/dist/esm/components/LogisticsMoreTrajectory/index.js +16 -7
- package/dist/esm/components/LogisticsMoreTrajectory/trajectoryLastLogisticsInfo.d.ts +30 -0
- package/dist/esm/components/{LogisticsInterception/InterceptState.js → LogisticsMoreTrajectory/trajectoryLastLogisticsInfo.js} +37 -46
- package/dist/esm/components/LogisticsMoreTrajectory/trajectoryLastUpdateTime.d.ts +29 -0
- package/dist/esm/components/LogisticsMoreTrajectory/trajectoryLastUpdateTime.js +77 -0
- package/dist/esm/components/LogisticsMoreTrajectory/trajectoryStatus.d.ts +32 -0
- package/dist/esm/components/LogisticsMoreTrajectory/trajectoryStatus.js +96 -0
- package/dist/esm/components/LogisticsTrajectory/index.js +2 -1
- package/dist/esm/components/LogisticsTrajectory/trajectoryStatus.d.ts +3 -1
- package/dist/esm/components/LogisticsTrajectory/trajectoryStatus.js +4 -4
- package/dist/esm/components/Payment/PaymentTid.d.ts +2 -2
- package/dist/esm/components/Payment/PaymentTid.js +14 -3
- package/dist/esm/components/TradeId/index.d.ts +0 -1
- package/dist/esm/components/TradeId/index.js +7 -19
- package/dist/esm/components/WDT/WdtExchange/index.d.ts +35 -0
- package/dist/esm/components/WDT/WdtExchange/index.js +183 -0
- package/dist/esm/components/WDT/WdtRessuie/index.d.ts +58 -0
- package/dist/esm/components/WDT/WdtRessuie/index.js +185 -0
- package/dist/esm/components/WDT/WdtReturn/index.d.ts +54 -0
- package/dist/esm/components/WDT/WdtReturn/index.js +150 -0
- package/dist/esm/components/WorkOrderId/index.d.ts +2 -3
- package/dist/esm/components/WorkOrderId/index.js +4 -18
- package/dist/esm/factory.d.ts +2 -2
- package/dist/esm/factory.js +10 -2
- package/dist/esm/index.d.ts +6 -3
- package/dist/esm/index.js +3 -0
- package/dist/esm/service/api.d.ts +2 -0
- package/dist/esm/service/api.js +13 -1
- package/dist/esm/type.d.ts +4 -2
- package/package.json +4 -4
- package/dist/esm/components/LogisticsInterception/InterceptState.d.ts +0 -37
|
@@ -6,7 +6,6 @@ import InterceptSnapshot from "./interceptSnapshot";
|
|
|
6
6
|
import InterceptAddress from "./InterceptAddress";
|
|
7
7
|
import InterceptType from "./InterceptType";
|
|
8
8
|
import InterceptStatus from "./InterceptStatus";
|
|
9
|
-
import InterceptState from "./InterceptState";
|
|
10
9
|
import Express from "../Express";
|
|
11
10
|
import ExpressCode from "../ExpressCode";
|
|
12
11
|
declare class Logistics implements ComponentInterface {
|
|
@@ -22,7 +21,6 @@ declare class Logistics implements ComponentInterface {
|
|
|
22
21
|
interceptLogisticsStatus: InterceptStatus;
|
|
23
22
|
interceptSenderMobile: InterceptSenderMobile;
|
|
24
23
|
interceptSnapshot: InterceptSnapshot;
|
|
25
|
-
interceptState: InterceptState;
|
|
26
24
|
isCombinationComponent: boolean;
|
|
27
25
|
formField: string;
|
|
28
26
|
canSort: boolean;
|
|
@@ -52,12 +50,21 @@ declare class Logistics implements ComponentInterface {
|
|
|
52
50
|
mobile: any;
|
|
53
51
|
};
|
|
54
52
|
interceptSnapshot: any;
|
|
55
|
-
interceptState: any;
|
|
56
53
|
};
|
|
57
54
|
renderPc: () => null;
|
|
58
55
|
renderExport: () => null;
|
|
59
56
|
editRender: (p: any) => React.JSX.Element;
|
|
60
57
|
filterConfig: (item: ColumnConfig) => ({
|
|
58
|
+
searchDefaultConditions: "in";
|
|
59
|
+
type: string;
|
|
60
|
+
id: string;
|
|
61
|
+
name: string;
|
|
62
|
+
filterComponentType: "MultipleSelect";
|
|
63
|
+
props: {
|
|
64
|
+
options: any[];
|
|
65
|
+
};
|
|
66
|
+
filterFn: (value: string) => (i: Record) => boolean;
|
|
67
|
+
} | {
|
|
61
68
|
searchDefaultConditions: "like";
|
|
62
69
|
type: string;
|
|
63
70
|
id: string;
|
|
@@ -71,8 +78,13 @@ declare class Logistics implements ComponentInterface {
|
|
|
71
78
|
name: string;
|
|
72
79
|
filterComponentType: "MultipleSelect";
|
|
73
80
|
props: {
|
|
74
|
-
options:
|
|
81
|
+
options: {
|
|
82
|
+
label: string;
|
|
83
|
+
value: string;
|
|
84
|
+
}[];
|
|
75
85
|
};
|
|
86
|
+
formatFilterValue: (value: string[]) => string[];
|
|
87
|
+
filterFn: (value: string[]) => (i: Record) => boolean;
|
|
76
88
|
})[];
|
|
77
89
|
}
|
|
78
90
|
export default Logistics;
|
|
@@ -17,7 +17,6 @@ import InterceptSnapshot from "./interceptSnapshot";
|
|
|
17
17
|
import InterceptAddress from "./InterceptAddress";
|
|
18
18
|
import InterceptType from "./InterceptType";
|
|
19
19
|
import InterceptStatus from "./InterceptStatus";
|
|
20
|
-
import InterceptState from "./InterceptState";
|
|
21
20
|
import Express from "../Express";
|
|
22
21
|
import ExpressCode from "../ExpressCode";
|
|
23
22
|
import ColumnHeader from "./columnHeader";
|
|
@@ -36,7 +35,6 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
36
35
|
_defineProperty(this, "interceptLogisticsStatus", void 0);
|
|
37
36
|
_defineProperty(this, "interceptSenderMobile", void 0);
|
|
38
37
|
_defineProperty(this, "interceptSnapshot", void 0);
|
|
39
|
-
_defineProperty(this, "interceptState", void 0);
|
|
40
38
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
41
39
|
_defineProperty(this, "formField", void 0);
|
|
42
40
|
_defineProperty(this, "canSort", void 0);
|
|
@@ -49,10 +47,10 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
49
47
|
_defineProperty(this, "effects", void 0);
|
|
50
48
|
_defineProperty(this, "dataType", void 0);
|
|
51
49
|
_defineProperty(this, "renderClient", function (record) {
|
|
52
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, _this.express.renderClient(record), _this.expressCode.renderClient(record), _this.interceptSenderMobile.renderClient(record), _this.interceptType.renderClient(record), _this.interceptAddress.renderClient(record), _this.interceptLogisticsStatus.renderClient(record), _this.interceptSnapshot.renderClient(record)
|
|
50
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, _this.express.renderClient(record), _this.expressCode.renderClient(record), _this.interceptSenderMobile.renderClient(record), _this.interceptType.renderClient(record), _this.interceptAddress.renderClient(record), _this.interceptLogisticsStatus.renderClient(record), _this.interceptSnapshot.renderClient(record));
|
|
53
51
|
});
|
|
54
52
|
_defineProperty(this, "renderLog", function (record) {
|
|
55
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", null, !isNull(_this.express.getComponentValue(record)) && /*#__PURE__*/React.createElement(React.Fragment, null, _this.express.name, ": ", _this.express.renderLog(record))), /*#__PURE__*/React.createElement("div", null, !isNull(_this.expressCode.getComponentValue(record)) && /*#__PURE__*/React.createElement(React.Fragment, null, _this.expressCode.name, ": ", _this.expressCode.renderLog(record))), /*#__PURE__*/React.createElement("div", null, !isNull(_this.interceptSenderMobile.getComponentValue(record)) && /*#__PURE__*/React.createElement(React.Fragment, null, _this.interceptSenderMobile.name, ":", " ", _this.interceptSenderMobile.renderLog(record))), /*#__PURE__*/React.createElement("div", null, !isNull(_this.interceptType.getComponentValue(record)) && /*#__PURE__*/React.createElement(React.Fragment, null, _this.interceptType.name, ": ", _this.interceptType.renderLog(record))), /*#__PURE__*/React.createElement("div", null, !isNull(_this.interceptAddress.getComponentValue(record)) && /*#__PURE__*/React.createElement(React.Fragment, null, _this.interceptAddress.name, ":", " ", _this.interceptAddress.renderLog(record))), /*#__PURE__*/React.createElement("div", null, !isNull(_this.interceptLogisticsStatus.getComponentValue(record)) && /*#__PURE__*/React.createElement(React.Fragment, null, _this.interceptLogisticsStatus.name, ":", " ", _this.interceptLogisticsStatus.renderLog(record))), /*#__PURE__*/React.createElement("div", null, !isNull(_this.interceptSnapshot.getComponentValue(record)) && /*#__PURE__*/React.createElement(React.Fragment, null, _this.interceptSnapshot.name, ":", " ", _this.interceptSnapshot.renderLog(record)))
|
|
53
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", null, !isNull(_this.express.getComponentValue(record)) && /*#__PURE__*/React.createElement(React.Fragment, null, _this.express.name, ": ", _this.express.renderLog(record))), /*#__PURE__*/React.createElement("div", null, !isNull(_this.expressCode.getComponentValue(record)) && /*#__PURE__*/React.createElement(React.Fragment, null, _this.expressCode.name, ": ", _this.expressCode.renderLog(record))), /*#__PURE__*/React.createElement("div", null, !isNull(_this.interceptSenderMobile.getComponentValue(record)) && /*#__PURE__*/React.createElement(React.Fragment, null, _this.interceptSenderMobile.name, ":", " ", _this.interceptSenderMobile.renderLog(record))), /*#__PURE__*/React.createElement("div", null, !isNull(_this.interceptType.getComponentValue(record)) && /*#__PURE__*/React.createElement(React.Fragment, null, _this.interceptType.name, ": ", _this.interceptType.renderLog(record))), /*#__PURE__*/React.createElement("div", null, !isNull(_this.interceptAddress.getComponentValue(record)) && /*#__PURE__*/React.createElement(React.Fragment, null, _this.interceptAddress.name, ":", " ", _this.interceptAddress.renderLog(record))), /*#__PURE__*/React.createElement("div", null, !isNull(_this.interceptLogisticsStatus.getComponentValue(record)) && /*#__PURE__*/React.createElement(React.Fragment, null, _this.interceptLogisticsStatus.name, ":", " ", _this.interceptLogisticsStatus.renderLog(record))), /*#__PURE__*/React.createElement("div", null, !isNull(_this.interceptSnapshot.getComponentValue(record)) && /*#__PURE__*/React.createElement(React.Fragment, null, _this.interceptSnapshot.name, ":", " ", _this.interceptSnapshot.renderLog(record))));
|
|
56
54
|
});
|
|
57
55
|
_defineProperty(this, "getComponentValue", function (r) {
|
|
58
56
|
return {
|
|
@@ -62,8 +60,7 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
62
60
|
interceptType: _this.interceptType.getComponentValue(r),
|
|
63
61
|
interceptLogisticsStatus: _this.interceptLogisticsStatus.getComponentValue(r),
|
|
64
62
|
interceptRedirectTo: _this.interceptAddress.getComponentValue(r),
|
|
65
|
-
interceptSnapshot: _this.interceptSnapshot.getComponentValue(r)
|
|
66
|
-
interceptState: _this.interceptState.getComponentValue(r)
|
|
63
|
+
interceptSnapshot: _this.interceptSnapshot.getComponentValue(r)
|
|
67
64
|
};
|
|
68
65
|
});
|
|
69
66
|
_defineProperty(this, "renderPc", function () {
|
|
@@ -85,8 +82,7 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
85
82
|
logisticsOptions: _this.expressDateInstance.getExpressData(),
|
|
86
83
|
expressInterceptData: _this.expressInterceptData.getExpressData(),
|
|
87
84
|
logisticsAddressData: _this.logisticsAddressData.getAddressData(),
|
|
88
|
-
isEditing: (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.isEditing
|
|
89
|
-
showState: true
|
|
85
|
+
isEditing: (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.isEditing
|
|
90
86
|
}))
|
|
91
87
|
});
|
|
92
88
|
});
|
|
@@ -95,7 +91,7 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
95
91
|
subKey: "interceptCompany"
|
|
96
92
|
})), _this.expressCode.filterConfig(_objectSpread(_objectSpread({}, item), {}, {
|
|
97
93
|
subKey: "interceptCode"
|
|
98
|
-
})), _this.interceptSenderMobile.filterConfig(item), _this.interceptLogisticsStatus.filterConfig(item), _this.interceptType.filterConfig(item), _this.interceptSnapshot.filterConfig(item)
|
|
94
|
+
})), _this.interceptSenderMobile.filterConfig(item), _this.interceptLogisticsStatus.filterConfig(item), _this.interceptType.filterConfig(item), _this.interceptSnapshot.filterConfig(item)];
|
|
99
95
|
});
|
|
100
96
|
this.name = options.name;
|
|
101
97
|
this.columnHeader = /*#__PURE__*/React.createElement(ColumnHeader, {
|
|
@@ -115,7 +111,6 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
115
111
|
this.interceptLogisticsStatus = new InterceptStatus(options);
|
|
116
112
|
this.interceptSenderMobile = new InterceptSenderMobile(options);
|
|
117
113
|
this.interceptSnapshot = new InterceptSnapshot(options);
|
|
118
|
-
this.interceptState = new InterceptState(options);
|
|
119
114
|
this.express = new Express(_objectSpread(_objectSpread({}, options), {}, {
|
|
120
115
|
id: "".concat(options.id, "_interceptCompany"),
|
|
121
116
|
name: "物流信息"
|
|
@@ -127,7 +122,7 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
127
122
|
this.isCombinationComponent = true;
|
|
128
123
|
this.canSort = false;
|
|
129
124
|
this.dataType = "object";
|
|
130
|
-
this.children = [this.express, this.expressCode, this.interceptType, this.interceptAddress, this.interceptLogisticsStatus, this.interceptSnapshot
|
|
125
|
+
this.children = [this.express, this.expressCode, this.interceptType, this.interceptAddress, this.interceptLogisticsStatus, this.interceptSnapshot];
|
|
131
126
|
this.rules = [{
|
|
132
127
|
validator: function validator(_, value) {
|
|
133
128
|
var _this$componentConfig3, _this$componentConfig4, _value$interceptAddre, _value$interceptSende;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { ComponentInterface, PickOption, ColumnConfig, Record } from
|
|
2
|
-
import React from
|
|
3
|
-
import { ExpressData, ExpressInterceptData, LogisticsAddressData, AddressData } from
|
|
4
|
-
import InterceptSenderMobile from
|
|
5
|
-
import InterceptSnapshot from
|
|
6
|
-
import InterceptAddress from
|
|
7
|
-
import InterceptType from
|
|
8
|
-
import InterceptStatus from
|
|
9
|
-
import InterceptCode from
|
|
10
|
-
import Express from
|
|
1
|
+
import { ComponentInterface, PickOption, ColumnConfig, Record } from '../../type';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { ExpressData, ExpressInterceptData, LogisticsAddressData, AddressData } from '@kmkf-fe-packages/kmkf-utils';
|
|
4
|
+
import InterceptSenderMobile from './interceptSenderMobile';
|
|
5
|
+
import InterceptSnapshot from './interceptSnapshot';
|
|
6
|
+
import InterceptAddress from './InterceptAddress';
|
|
7
|
+
import InterceptType from './InterceptType';
|
|
8
|
+
import InterceptStatus from './InterceptStatus';
|
|
9
|
+
import InterceptCode from './interceptCode';
|
|
10
|
+
import Express from './interceptCompany';
|
|
11
11
|
declare class Logistics implements ComponentInterface {
|
|
12
12
|
name: string;
|
|
13
13
|
columnHeader: string | JSX.Element;
|
|
@@ -15,7 +15,7 @@ declare class Logistics implements ComponentInterface {
|
|
|
15
15
|
sortField: string;
|
|
16
16
|
type: string;
|
|
17
17
|
rules: any[];
|
|
18
|
-
componentConfig: ComponentInterface[
|
|
18
|
+
componentConfig: ComponentInterface['componentConfig'];
|
|
19
19
|
interceptAddress: InterceptAddress;
|
|
20
20
|
interceptType: InterceptType;
|
|
21
21
|
interceptLogisticsStatus: InterceptStatus;
|
|
@@ -32,8 +32,8 @@ declare class Logistics implements ComponentInterface {
|
|
|
32
32
|
logisticsAddressData: InstanceType<typeof LogisticsAddressData>;
|
|
33
33
|
addressDateInstance: InstanceType<typeof AddressData>;
|
|
34
34
|
expressInterceptInstance: InstanceType<typeof ExpressInterceptData>;
|
|
35
|
-
effects: ComponentInterface[
|
|
36
|
-
dataType: ComponentInterface[
|
|
35
|
+
effects: ComponentInterface['effects'];
|
|
36
|
+
dataType: ComponentInterface['dataType'];
|
|
37
37
|
constructor(options: PickOption);
|
|
38
38
|
renderInfo: (list?: any[]) => React.JSX.Element;
|
|
39
39
|
renderClient: (record: any) => React.JSX.Element | null;
|
|
@@ -8,10 +8,10 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
8
8
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
9
9
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
10
10
|
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
11
|
-
import React from
|
|
12
|
-
import { Space } from
|
|
13
|
-
import { LogisticsMoreInterception } from
|
|
14
|
-
import { ExpressData, ExpressInterceptData, LogisticsAddressData, isNull, AddressData } from
|
|
11
|
+
import React from 'react';
|
|
12
|
+
import { Space } from 'antd';
|
|
13
|
+
import { LogisticsMoreInterception } from '@kmkf-fe-packages/basic-components';
|
|
14
|
+
import { ExpressData, ExpressInterceptData, LogisticsAddressData, isNull, AddressData } from '@kmkf-fe-packages/kmkf-utils';
|
|
15
15
|
import ItemView from "../../commonComponents/ItemView";
|
|
16
16
|
import GetFormItem from "../GetFormItem";
|
|
17
17
|
import InterceptSenderMobile from "./interceptSenderMobile";
|
|
@@ -19,10 +19,11 @@ import InterceptSnapshot from "./interceptSnapshot";
|
|
|
19
19
|
import InterceptAddress from "./InterceptAddress";
|
|
20
20
|
import InterceptType from "./InterceptType";
|
|
21
21
|
import InterceptStatus from "./InterceptStatus";
|
|
22
|
-
import InterceptCode from "./
|
|
22
|
+
import InterceptCode from "./interceptCode";
|
|
23
23
|
import Express from "./interceptCompany";
|
|
24
24
|
import ColumnHeader from "./columnHeader";
|
|
25
25
|
import QueryLogisticsTrack from "../../commonComponents/QueryLogisticsTrack";
|
|
26
|
+
import CopyText from "../../commonComponents/CopyText";
|
|
26
27
|
var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
27
28
|
var _this = this,
|
|
28
29
|
_this$componentConfig3;
|
|
@@ -60,8 +61,10 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
60
61
|
var _ref, _this$expressIntercep;
|
|
61
62
|
var addressText = (_ref = item.interceptAddress || []) === null || _ref === void 0 ? void 0 : _ref.map(function (suffix) {
|
|
62
63
|
return _this.addressDateInstance.getNameByCode(suffix);
|
|
63
|
-
}).join(
|
|
64
|
-
return /*#__PURE__*/React.createElement("div", null, list.length > 1 ? "\u5305\u88F9".concat(index + 1, ":") :
|
|
64
|
+
}).join('');
|
|
65
|
+
return /*#__PURE__*/React.createElement("div", null, list.length > 1 ? "\u5305\u88F9".concat(index + 1, ":") : '', item.interceptCompany ? /*#__PURE__*/React.createElement("div", null, "\u7269\u6D41\u516C\u53F8\uFF1A", _this.expressDateInstance.getExpressNameByCode(item.interceptCompany) || item.interceptCompany) : null, item.interceptCode ? /*#__PURE__*/React.createElement("div", null, "\u7269\u6D41\u5355\u53F7\uFF1A", /*#__PURE__*/React.createElement(CopyText, {
|
|
66
|
+
text: item.interceptCode
|
|
67
|
+
})) : null, item.interceptAddress.length || item.interceptDetail || item.interceptReceiverName || item.interceptReceiverMobile ? /*#__PURE__*/React.createElement("div", null, "\u6D3E\u4EF6\u4FE1\u606F\uFF1A", addressText, item.interceptDetail, " ", item.interceptReceiverName, ' ', item.interceptReceiverMobile) : null, item.interceptType ? /*#__PURE__*/React.createElement("div", null, "\u62E6\u622A\u7C7B\u578B\uFF1A", _this.expressInterceptInstance.getTypeNameMap()[item.interceptType]) : null, item.interceptLogisticsStatus ? /*#__PURE__*/React.createElement("div", null, "\u7269\u6D41\u72B6\u6001\uFF1A", (_this$expressIntercep = _this.expressInterceptInstance.getStatusNameMap()) === null || _this$expressIntercep === void 0 ? void 0 : _this$expressIntercep[item.interceptLogisticsStatus], /*#__PURE__*/React.createElement(QueryLogisticsTrack, {
|
|
65
68
|
modelWidth: 500,
|
|
66
69
|
interceptCompany: item.interceptCompany,
|
|
67
70
|
interceptCode: item.interceptCode,
|
|
@@ -104,9 +107,9 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
104
107
|
});
|
|
105
108
|
_defineProperty(this, "filterConfig", function (item) {
|
|
106
109
|
return [_this.express.filterConfig(_objectSpread(_objectSpread({}, item), {}, {
|
|
107
|
-
subKey:
|
|
110
|
+
subKey: 'logisticsInterceptCompanyList'
|
|
108
111
|
})), _this.expressCode.filterConfig(_objectSpread(_objectSpread({}, item), {}, {
|
|
109
|
-
subKey:
|
|
112
|
+
subKey: 'logisticsInterceptCodeList'
|
|
110
113
|
})), _this.interceptSenderMobile.filterConfig(item), _this.interceptLogisticsStatus.filterConfig(item), _this.interceptType.filterConfig(item), _this.interceptSnapshot.filterConfig(item)];
|
|
111
114
|
});
|
|
112
115
|
this.name = options.name;
|
|
@@ -130,15 +133,15 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
130
133
|
this.interceptSnapshot = new InterceptSnapshot(options);
|
|
131
134
|
this.express = new Express(_objectSpread(_objectSpread({}, options), {}, {
|
|
132
135
|
id: "".concat(options.id, "_logisticsInterceptCompanyList"),
|
|
133
|
-
name:
|
|
136
|
+
name: '物流信息'
|
|
134
137
|
}));
|
|
135
138
|
this.expressCode = new InterceptCode(_objectSpread(_objectSpread({}, options), {}, {
|
|
136
139
|
id: "".concat(options.id, "_logisticsInterceptCodeList"),
|
|
137
|
-
name:
|
|
140
|
+
name: '物流单号'
|
|
138
141
|
}));
|
|
139
142
|
this.isCombinationComponent = true;
|
|
140
143
|
this.canSort = false;
|
|
141
|
-
this.dataType =
|
|
144
|
+
this.dataType = 'object';
|
|
142
145
|
this.children = [this.express, this.expressCode, this.interceptType, this.interceptAddress, this.interceptLogisticsStatus, this.interceptSnapshot];
|
|
143
146
|
this.rules = [{
|
|
144
147
|
required: (_this$componentConfig3 = this.componentConfig) === null || _this$componentConfig3 === void 0 ? void 0 : _this$componentConfig3.required,
|
|
@@ -146,12 +149,12 @@ var Logistics = /*#__PURE__*/_createClass(function Logistics(options) {
|
|
|
146
149
|
if (value.some(function (t) {
|
|
147
150
|
return !(t !== null && t !== void 0 && t.interceptCompany) || !(t !== null && t !== void 0 && t.interceptCode);
|
|
148
151
|
})) {
|
|
149
|
-
return Promise.reject(new Error(
|
|
152
|
+
return Promise.reject(new Error('请填写物流信息'));
|
|
150
153
|
}
|
|
151
154
|
if (value.some(function (t) {
|
|
152
155
|
return !(t !== null && t !== void 0 && t.interceptType);
|
|
153
156
|
})) {
|
|
154
|
-
return Promise.reject(new Error(
|
|
157
|
+
return Promise.reject(new Error('请选择拦截类型'));
|
|
155
158
|
}
|
|
156
159
|
var hasNoAddress = value.some(function (t) {
|
|
157
160
|
var _t$interceptAddress;
|
package/dist/esm/components/LogisticsMoreInterception/{interceptItem.d.ts → interceptCode.d.ts}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentInterface, PickOption, ColumnConfig, ALignType, Record } from '../../type';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
declare class
|
|
3
|
+
declare class InterceptCode implements ComponentInterface {
|
|
4
4
|
name: string;
|
|
5
5
|
id: string;
|
|
6
6
|
sortField: string;
|
|
@@ -31,4 +31,4 @@ declare class InterceptItem implements ComponentInterface {
|
|
|
31
31
|
formatFilterValue: (input: string) => string | string[];
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
|
-
export default
|
|
34
|
+
export default InterceptCode;
|
|
@@ -8,9 +8,10 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
8
8
|
import React from 'react';
|
|
9
9
|
import { isNull } from '@kmkf-fe-packages/kmkf-utils';
|
|
10
10
|
import { SYMBOL, batchInput } from "../../constant";
|
|
11
|
-
|
|
11
|
+
import CopyText from "../../commonComponents/CopyText";
|
|
12
|
+
var InterceptCode = /*#__PURE__*/_createClass(function InterceptCode(options) {
|
|
12
13
|
var _this = this;
|
|
13
|
-
_classCallCheck(this,
|
|
14
|
+
_classCallCheck(this, InterceptCode);
|
|
14
15
|
_defineProperty(this, "name", void 0);
|
|
15
16
|
_defineProperty(this, "id", void 0);
|
|
16
17
|
_defineProperty(this, "sortField", void 0);
|
|
@@ -28,7 +29,9 @@ var InterceptItem = /*#__PURE__*/_createClass(function InterceptItem(options) {
|
|
|
28
29
|
var list = record[_this.id] || [];
|
|
29
30
|
if (isNull(list)) return '--';
|
|
30
31
|
return /*#__PURE__*/React.createElement(React.Fragment, null, list.map(function (item, index) {
|
|
31
|
-
return /*#__PURE__*/React.createElement("div", null, "\u5305\u88F9".concat(index + 1, ":"),
|
|
32
|
+
return /*#__PURE__*/React.createElement("div", null, "\u5305\u88F9".concat(index + 1, ":"), /*#__PURE__*/React.createElement(CopyText, {
|
|
33
|
+
text: item
|
|
34
|
+
}));
|
|
32
35
|
}));
|
|
33
36
|
});
|
|
34
37
|
_defineProperty(this, "renderClient", function () {
|
|
@@ -78,4 +81,4 @@ var InterceptItem = /*#__PURE__*/_createClass(function InterceptItem(options) {
|
|
|
78
81
|
this.dataType = 'object';
|
|
79
82
|
this.children = [];
|
|
80
83
|
});
|
|
81
|
-
export default
|
|
84
|
+
export default InterceptCode;
|
|
@@ -4,9 +4,9 @@ import { ExpressData } from "@kmkf-fe-packages/kmkf-utils";
|
|
|
4
4
|
import TrajectoryCompany from "./trajectoryCompany";
|
|
5
5
|
import TrajectoryCode from "./trajectoryCode";
|
|
6
6
|
import TrajectorySnapshot from "./trajectorySnapshot";
|
|
7
|
-
import TrajectoryStatus from '
|
|
8
|
-
import TrajectoryLastLogisticsInfo from '
|
|
9
|
-
import TrajectoryLastUpdateTime from '
|
|
7
|
+
import TrajectoryStatus from './trajectoryStatus';
|
|
8
|
+
import TrajectoryLastLogisticsInfo from './trajectoryLastLogisticsInfo';
|
|
9
|
+
import TrajectoryLastUpdateTime from './trajectoryLastUpdateTime';
|
|
10
10
|
import { ExpressInterceptData } from "@kmkf-fe-packages/kmkf-utils";
|
|
11
11
|
declare class LogisticsMoreTrajectory implements ComponentInterface {
|
|
12
12
|
name: string;
|
|
@@ -13,13 +13,14 @@ import { LogisticsMoreTrajectory as MoreTrajectory } from "@kmkf-fe-packages/bas
|
|
|
13
13
|
import TrajectoryCompany from "./trajectoryCompany";
|
|
14
14
|
import TrajectoryCode from "./trajectoryCode";
|
|
15
15
|
import TrajectorySnapshot from "./trajectorySnapshot";
|
|
16
|
-
import TrajectoryStatus from "
|
|
17
|
-
import TrajectoryLastLogisticsInfo from "
|
|
18
|
-
import TrajectoryLastUpdateTime from "
|
|
16
|
+
import TrajectoryStatus from "./trajectoryStatus";
|
|
17
|
+
import TrajectoryLastLogisticsInfo from "./trajectoryLastLogisticsInfo";
|
|
18
|
+
import TrajectoryLastUpdateTime from "./trajectoryLastUpdateTime";
|
|
19
19
|
import QueryLogisticsTrack from "../../commonComponents/QueryLogisticsTrack";
|
|
20
20
|
import GetFormItem from "../GetFormItem";
|
|
21
21
|
import ItemView from "../../commonComponents/ItemView";
|
|
22
22
|
import { isNull, ExpressInterceptData } from "@kmkf-fe-packages/kmkf-utils";
|
|
23
|
+
import CopyText from "../../commonComponents/CopyText";
|
|
23
24
|
var LogisticsMoreTrajectory = /*#__PURE__*/_createClass(function LogisticsMoreTrajectory(options) {
|
|
24
25
|
var _this = this,
|
|
25
26
|
_this$componentConfig3;
|
|
@@ -60,7 +61,12 @@ var LogisticsMoreTrajectory = /*#__PURE__*/_createClass(function LogisticsMoreTr
|
|
|
60
61
|
id: _this.id,
|
|
61
62
|
label: _this.name,
|
|
62
63
|
value: record === null || record === void 0 ? void 0 : record[_this.id].map(function (item, index) {
|
|
63
|
-
return /*#__PURE__*/React.createElement("div", null, (record === null || record === void 0 ? void 0 : record[_this.id].length) > 1 ? "\u5305\u88F9".concat(index + 1, ":") : "", _this.expressDateInstance.getExpressNameByCode(item.trajectoryCompany) || item.trajectoryCompany, "/
|
|
64
|
+
return /*#__PURE__*/React.createElement("div", null, (record === null || record === void 0 ? void 0 : record[_this.id].length) > 1 ? "\u5305\u88F9".concat(index + 1, ":") : "", _this.expressDateInstance.getExpressNameByCode(item.trajectoryCompany) || item.trajectoryCompany, "/ ", /*#__PURE__*/React.createElement(CopyText, {
|
|
65
|
+
text: item.trajectoryCode,
|
|
66
|
+
style: {
|
|
67
|
+
display: 'inline-block'
|
|
68
|
+
}
|
|
69
|
+
}), "/", item.trajectorySnapshot, "/", /*#__PURE__*/React.createElement("span", {
|
|
64
70
|
style: {
|
|
65
71
|
display: 'inline-block'
|
|
66
72
|
}
|
|
@@ -128,15 +134,18 @@ var LogisticsMoreTrajectory = /*#__PURE__*/_createClass(function LogisticsMoreTr
|
|
|
128
134
|
}));
|
|
129
135
|
this.trajectoryStatus = new TrajectoryStatus(_objectSpread(_objectSpread({}, options), {}, {
|
|
130
136
|
name: "".concat(this.name, "-\u7269\u6D41\u72B6\u6001"),
|
|
131
|
-
id: "".concat(this.id)
|
|
137
|
+
id: "".concat(this.id, "_trajectoryMoreStatus"),
|
|
138
|
+
parentId: "".concat(this.id)
|
|
132
139
|
}));
|
|
133
140
|
this.trajectoryLastLogisticsInfo = new TrajectoryLastLogisticsInfo(_objectSpread(_objectSpread({}, options), {}, {
|
|
134
141
|
name: "".concat(this.name, "-\u6700\u540E\u7269\u6D41\u4FE1\u606F"),
|
|
135
|
-
id: "".concat(this.id, "
|
|
142
|
+
id: "".concat(this.id, "_trajectoryMoreLastLogisticsInfo"),
|
|
143
|
+
parentId: "".concat(this.id)
|
|
136
144
|
}));
|
|
137
145
|
this.trajectoryLastUpdateTime = new TrajectoryLastUpdateTime(_objectSpread(_objectSpread({}, options), {}, {
|
|
138
146
|
name: "".concat(this.name, "-\u6700\u540E\u66F4\u65B0\u65F6\u95F4"),
|
|
139
|
-
id: "".concat(this.id, "
|
|
147
|
+
id: "".concat(this.id, "_trajectoryMoreLastUpdateTime"),
|
|
148
|
+
parentId: "".concat(this.id)
|
|
140
149
|
}));
|
|
141
150
|
this.isCombinationComponent = true;
|
|
142
151
|
this.canSort = false;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ComponentInterface, PickOption, ColumnConfig, ALignType, Record } from "../../type";
|
|
2
|
+
import React from "react";
|
|
3
|
+
declare class TrajectoryLastLogisticsInfo implements ComponentInterface {
|
|
4
|
+
name: string;
|
|
5
|
+
id: string;
|
|
6
|
+
parentId: string;
|
|
7
|
+
sortField: string;
|
|
8
|
+
type: string;
|
|
9
|
+
rules: any[];
|
|
10
|
+
componentConfig: ComponentInterface["componentConfig"];
|
|
11
|
+
align: ALignType;
|
|
12
|
+
width: number;
|
|
13
|
+
isCombinationComponent: boolean;
|
|
14
|
+
formField: string;
|
|
15
|
+
canSort: boolean;
|
|
16
|
+
children: ComponentInterface[];
|
|
17
|
+
dataType: ComponentInterface["dataType"];
|
|
18
|
+
constructor(options: PickOption & {
|
|
19
|
+
parentId: string;
|
|
20
|
+
});
|
|
21
|
+
renderCode: (record: any, w?: number) => React.JSX.Element;
|
|
22
|
+
renderClient: () => null;
|
|
23
|
+
renderPc: (value: unknown, record: Record) => React.JSX.Element;
|
|
24
|
+
renderLog: (r: Record) => React.JSX.Element | null;
|
|
25
|
+
getComponentValue: (r: Record) => any;
|
|
26
|
+
renderExport: (value: string, record: Record) => any;
|
|
27
|
+
editRender: () => null;
|
|
28
|
+
filterConfig: (item: ColumnConfig) => never[];
|
|
29
|
+
}
|
|
30
|
+
export default TrajectoryLastLogisticsInfo;
|
|
@@ -6,19 +6,17 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
|
|
|
6
6
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
7
7
|
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
8
8
|
import React from "react";
|
|
9
|
-
import ItemView from "../../commonComponents/ItemView";
|
|
10
9
|
import { isNull } from "@kmkf-fe-packages/kmkf-utils";
|
|
11
|
-
|
|
12
|
-
var InterceptState = /*#__PURE__*/_createClass(function InterceptState(options) {
|
|
10
|
+
var TrajectoryLastLogisticsInfo = /*#__PURE__*/_createClass(function TrajectoryLastLogisticsInfo(options) {
|
|
13
11
|
var _this = this;
|
|
14
|
-
_classCallCheck(this,
|
|
12
|
+
_classCallCheck(this, TrajectoryLastLogisticsInfo);
|
|
15
13
|
_defineProperty(this, "name", void 0);
|
|
16
14
|
_defineProperty(this, "id", void 0);
|
|
15
|
+
_defineProperty(this, "parentId", void 0);
|
|
17
16
|
_defineProperty(this, "sortField", void 0);
|
|
18
17
|
_defineProperty(this, "type", void 0);
|
|
19
18
|
_defineProperty(this, "rules", void 0);
|
|
20
19
|
_defineProperty(this, "componentConfig", void 0);
|
|
21
|
-
_defineProperty(this, "effects", void 0);
|
|
22
20
|
_defineProperty(this, "align", void 0);
|
|
23
21
|
_defineProperty(this, "width", void 0);
|
|
24
22
|
_defineProperty(this, "isCombinationComponent", void 0);
|
|
@@ -26,64 +24,57 @@ var InterceptState = /*#__PURE__*/_createClass(function InterceptState(options)
|
|
|
26
24
|
_defineProperty(this, "canSort", void 0);
|
|
27
25
|
_defineProperty(this, "children", void 0);
|
|
28
26
|
_defineProperty(this, "dataType", void 0);
|
|
29
|
-
_defineProperty(this, "
|
|
30
|
-
|
|
31
|
-
|
|
27
|
+
_defineProperty(this, "renderCode", function (record) {
|
|
28
|
+
var w = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 500;
|
|
29
|
+
var list = (record === null || record === void 0 ? void 0 : record["".concat(_this.parentId, "_trajectoryList")]) || [];
|
|
30
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
31
|
+
onClick: function onClick(e) {
|
|
32
|
+
return e.stopPropagation();
|
|
33
|
+
}
|
|
34
|
+
}, list.length ? list.map(function (item, index) {
|
|
35
|
+
return /*#__PURE__*/React.createElement("div", null, list.length > 1 ? "\u5305\u88F9".concat(index + 1, ":") : "", item.trajectoryLastLogisticsInfo);
|
|
36
|
+
}) : "--");
|
|
32
37
|
});
|
|
33
|
-
_defineProperty(this, "renderClient", function (
|
|
34
|
-
return
|
|
35
|
-
id: _this.id,
|
|
36
|
-
label: _this.name,
|
|
37
|
-
value: record === null || record === void 0 ? void 0 : record[_this.id]
|
|
38
|
-
}) : null;
|
|
38
|
+
_defineProperty(this, "renderClient", function () {
|
|
39
|
+
return null;
|
|
39
40
|
});
|
|
40
41
|
_defineProperty(this, "renderPc", function (value, record) {
|
|
41
|
-
|
|
42
|
-
return (_record$_this$id = record === null || record === void 0 ? void 0 : record[_this.id]) !== null && _record$_this$id !== void 0 ? _record$_this$id : "--";
|
|
42
|
+
return _this.renderCode(record || [], 700);
|
|
43
43
|
});
|
|
44
44
|
_defineProperty(this, "renderLog", function (r) {
|
|
45
|
-
if (isNull(r === null || r === void 0 ? void 0 : r[
|
|
46
|
-
return
|
|
45
|
+
if (isNull(r === null || r === void 0 ? void 0 : r[_this.id])) return null;
|
|
46
|
+
return _this.renderPc(undefined, r);
|
|
47
|
+
});
|
|
48
|
+
_defineProperty(this, "getComponentValue", function (r) {
|
|
49
|
+
return ((r === null || r === void 0 ? void 0 : r[_this.id]) || []).join();
|
|
47
50
|
});
|
|
48
51
|
_defineProperty(this, "renderExport", function (value, record) {
|
|
49
|
-
var
|
|
50
|
-
|
|
52
|
+
var _list$map;
|
|
53
|
+
var list = record === null || record === void 0 ? void 0 : record[_this.id];
|
|
54
|
+
if ((list === null || list === void 0 ? void 0 : list.length) === 0) return '--';
|
|
55
|
+
return list === null || list === void 0 ? void 0 : (_list$map = list.map(function (item, index) {
|
|
56
|
+
return "\u5305\u88F9".concat(index + 1, ": ").concat(item !== null && item !== void 0 ? item : '--');
|
|
57
|
+
})) === null || _list$map === void 0 ? void 0 : _list$map.join('/');
|
|
51
58
|
});
|
|
52
59
|
_defineProperty(this, "editRender", function () {
|
|
53
60
|
return null;
|
|
54
61
|
});
|
|
55
62
|
_defineProperty(this, "filterConfig", function (item) {
|
|
56
|
-
return
|
|
57
|
-
searchDefaultConditions: SYMBOL.in,
|
|
58
|
-
type: item.type,
|
|
59
|
-
id: "".concat(item.id, "_qySelfInterceptStatus"),
|
|
60
|
-
name: "".concat(item.name, "-\u62E6\u622A\u72B6\u6001"),
|
|
61
|
-
filterComponentType: "MultipleSelect",
|
|
62
|
-
props: {
|
|
63
|
-
options: _this.options || []
|
|
64
|
-
}
|
|
65
|
-
};
|
|
63
|
+
return [];
|
|
66
64
|
});
|
|
67
|
-
this.name =
|
|
68
|
-
this.id =
|
|
69
|
-
this.
|
|
70
|
-
this.
|
|
65
|
+
this.name = options.name;
|
|
66
|
+
this.id = options.id;
|
|
67
|
+
this.parentId = options.parentId;
|
|
68
|
+
this.sortField = options.id;
|
|
69
|
+
this.formField = options.id;
|
|
71
70
|
this.type = options.type;
|
|
72
71
|
this.componentConfig = options.componentConfig;
|
|
73
|
-
this.rules = [];
|
|
74
72
|
this.align = "left";
|
|
75
73
|
this.width = 200;
|
|
76
74
|
this.isCombinationComponent = false;
|
|
77
|
-
this.canSort =
|
|
78
|
-
this.children = [];
|
|
79
|
-
this.effects = options === null || options === void 0 ? void 0 : options.effects;
|
|
75
|
+
this.canSort = false;
|
|
80
76
|
this.dataType = "string";
|
|
81
|
-
this.
|
|
82
|
-
|
|
83
|
-
value: "拦截成功"
|
|
84
|
-
}, {
|
|
85
|
-
label: "拦截失败",
|
|
86
|
-
value: "拦截失败"
|
|
87
|
-
}];
|
|
77
|
+
this.children = [];
|
|
78
|
+
this.rules = [];
|
|
88
79
|
});
|
|
89
|
-
export default
|
|
80
|
+
export default TrajectoryLastLogisticsInfo;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ComponentInterface, PickOption, ColumnConfig, ALignType, Record } from "../../type";
|
|
2
|
+
import React from "react";
|
|
3
|
+
declare class TrajectoryLastUpdateTime implements ComponentInterface {
|
|
4
|
+
name: string;
|
|
5
|
+
id: string;
|
|
6
|
+
parentId: string;
|
|
7
|
+
sortField: string;
|
|
8
|
+
type: string;
|
|
9
|
+
rules: any[];
|
|
10
|
+
componentConfig: ComponentInterface["componentConfig"];
|
|
11
|
+
align: ALignType;
|
|
12
|
+
width: number;
|
|
13
|
+
isCombinationComponent: boolean;
|
|
14
|
+
formField: string;
|
|
15
|
+
canSort: boolean;
|
|
16
|
+
children: ComponentInterface[];
|
|
17
|
+
dataType: ComponentInterface["dataType"];
|
|
18
|
+
constructor(options: PickOption & {
|
|
19
|
+
parentId: string;
|
|
20
|
+
});
|
|
21
|
+
renderCode: (record: any, w?: number) => React.JSX.Element;
|
|
22
|
+
renderClient: () => null;
|
|
23
|
+
renderPc: (value: unknown, record: Record) => React.JSX.Element;
|
|
24
|
+
renderLog: (r: Record) => React.JSX.Element | null;
|
|
25
|
+
renderExport: (value: string, record: Record) => any;
|
|
26
|
+
editRender: () => null;
|
|
27
|
+
filterConfig: (item: ColumnConfig) => never[];
|
|
28
|
+
}
|
|
29
|
+
export default TrajectoryLastUpdateTime;
|