@kmkf-fe-packages/services-components 2.2.20-rc.3 → 2.2.20-rc.5

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.
@@ -19,8 +19,8 @@ declare class CommonDataTime implements ComponentInterface {
19
19
  constructor(options: PickOption);
20
20
  getValues: (value: string) => string;
21
21
  renderClient: (record: any) => React.JSX.Element | null;
22
- renderPc: (value: any, record: Record) => any;
23
- renderLog: (r: Record) => any;
22
+ renderPc: (value: any, record: Record) => string;
23
+ renderLog: (r: Record) => string | null;
24
24
  getComponentValue: (r: Record) => any;
25
25
  renderExport: (value: any, record: Record) => string;
26
26
  editRender: () => null;
@@ -40,8 +40,8 @@ var CommonDataTime = /*#__PURE__*/_createClass(function CommonDataTime(options)
40
40
  }) : null;
41
41
  });
42
42
  _defineProperty(this, "renderPc", function (value, record) {
43
- var _record;
44
- return (_record = record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) !== null && _record !== void 0 ? _record : "--";
43
+ var time = record === null || record === void 0 ? void 0 : record["".concat(_this.id)];
44
+ return time ? moment(time).format("YYYY-MM-DD HH:mm:ss") : "--";
45
45
  // if (record?.[`${this.id}`] === undefined) {
46
46
  // return <span>--</span>;
47
47
  // }
@@ -0,0 +1,40 @@
1
+ import { ComponentInterface, PickOption, ColumnConfig, Record } from "../../type";
2
+ import React from "react";
3
+ declare class FlowOverallStatusSelect implements ComponentInterface {
4
+ name: string;
5
+ id: string;
6
+ sortField: string;
7
+ type: string;
8
+ rules: any[];
9
+ componentConfig: ComponentInterface["componentConfig"];
10
+ effects: ComponentInterface["effects"];
11
+ workOrderStatus: any;
12
+ isCombinationComponent: boolean;
13
+ formField: string;
14
+ canSort: boolean;
15
+ children: ComponentInterface[];
16
+ dataType: ComponentInterface["dataType"];
17
+ options: ComponentInterface["options"];
18
+ constructor(options: PickOption);
19
+ renderPc: (value: any, record: Record) => React.JSX.Element;
20
+ renderLog: (r: Record) => React.JSX.Element | null;
21
+ getComponentValue: (r: Record) => any;
22
+ renderExport: (value: any, record: Record) => any;
23
+ renderClient: () => null;
24
+ editRender: (p: any) => React.JSX.Element;
25
+ filterConfig: (item: ColumnConfig) => {
26
+ searchDefaultConditions: "in";
27
+ type: string;
28
+ id: string;
29
+ name: string;
30
+ filterComponentType: "MultipleSelect";
31
+ props: {
32
+ options: {
33
+ label: any;
34
+ value: string;
35
+ }[];
36
+ };
37
+ filterFn: (value: string[]) => (i: Record) => boolean;
38
+ };
39
+ }
40
+ export default FlowOverallStatusSelect;
@@ -0,0 +1,180 @@
1
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
3
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
4
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
5
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
6
+ 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; }
7
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
8
+ 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); }
9
+ import React from "react";
10
+ import { ApaasSelect } from "@kmkf-fe-packages/basic-components";
11
+ import { filterFn as _filterFn } from "@kmkf-fe-packages/kmkf-utils";
12
+ import GetFormItem from "../GetFormItem";
13
+ import get from "lodash/get";
14
+ import { SYMBOL } from "../../constant";
15
+ // 节点状态
16
+ var FlowOverallStatusSelect = /*#__PURE__*/_createClass(function FlowOverallStatusSelect(options) {
17
+ var _this = this,
18
+ _Object$keys2;
19
+ _classCallCheck(this, FlowOverallStatusSelect);
20
+ _defineProperty(this, "name", void 0);
21
+ _defineProperty(this, "id", void 0);
22
+ _defineProperty(this, "sortField", void 0);
23
+ _defineProperty(this, "type", void 0);
24
+ _defineProperty(this, "rules", void 0);
25
+ _defineProperty(this, "componentConfig", void 0);
26
+ _defineProperty(this, "effects", void 0);
27
+ _defineProperty(this, "workOrderStatus", void 0);
28
+ _defineProperty(this, "isCombinationComponent", void 0);
29
+ _defineProperty(this, "formField", void 0);
30
+ _defineProperty(this, "canSort", void 0);
31
+ _defineProperty(this, "children", void 0);
32
+ _defineProperty(this, "dataType", void 0);
33
+ _defineProperty(this, "options", void 0);
34
+ _defineProperty(this, "renderPc", function (value, record) {
35
+ var status = get(_this.workOrderStatus, record === null || record === void 0 ? void 0 : record["".concat(_this.id)]);
36
+ return status ?
37
+ /*#__PURE__*/
38
+ // <Dropdown overlay={this.renderMenu(record)}>
39
+ React.createElement("span", {
40
+ style: {
41
+ color: status.color
42
+ }
43
+ }, status === null || status === void 0 ? void 0 : status.label) :
44
+ /*#__PURE__*/
45
+ // </Dropdown>
46
+ React.createElement("span", null, "--");
47
+ });
48
+ _defineProperty(this, "renderLog", function (r) {
49
+ var status = get(_this.workOrderStatus, r === null || r === void 0 ? void 0 : r["".concat(_this.id)]);
50
+ if (!status) return null;
51
+ return _this.renderPc(undefined, r);
52
+ });
53
+ _defineProperty(this, "getComponentValue", function (r) {
54
+ var status = get(_this.workOrderStatus, r === null || r === void 0 ? void 0 : r["".concat(_this.id)]);
55
+ return status;
56
+ });
57
+ _defineProperty(this, "renderExport", function (value, record) {
58
+ var status = get(_this.workOrderStatus, record === null || record === void 0 ? void 0 : record["".concat(_this.id)]);
59
+ return status ? status === null || status === void 0 ? void 0 : status.label : "--";
60
+ });
61
+ _defineProperty(this, "renderClient", function () {
62
+ return null;
63
+ });
64
+ _defineProperty(this, "editRender", function (p) {
65
+ var _this$componentConfig, _this$componentConfig2, _this$componentConfig3, _this$componentConfig4;
66
+ return /*#__PURE__*/React.createElement(GetFormItem, {
67
+ title: _this.name,
68
+ name: _this.id,
69
+ rules: _this.rules,
70
+ hidden: p === null || p === void 0 ? void 0 : p.hidden,
71
+ display: p === null || p === void 0 ? void 0 : p.display,
72
+ required: (_this$componentConfig = (_this$componentConfig2 = _this.componentConfig) === null || _this$componentConfig2 === void 0 ? void 0 : _this$componentConfig2.required) !== null && _this$componentConfig !== void 0 ? _this$componentConfig : false,
73
+ tooltip: (_this$componentConfig3 = _this.componentConfig) !== null && _this$componentConfig3 !== void 0 && _this$componentConfig3.showTooltip ? (_this$componentConfig4 = _this.componentConfig) === null || _this$componentConfig4 === void 0 ? void 0 : _this$componentConfig4.tooltip : "",
74
+ component: /*#__PURE__*/React.createElement(ApaasSelect, _extends({}, _this.componentConfig, {
75
+ placeholder: "\u8BF7\u8F93\u5165".concat(_this.name),
76
+ showSearch: true
77
+ }))
78
+ });
79
+ });
80
+ _defineProperty(this, "filterConfig", function (item) {
81
+ var _Object$keys, _Object$keys$filter;
82
+ return {
83
+ searchDefaultConditions: SYMBOL.in,
84
+ type: item.type,
85
+ id: item.id,
86
+ // 过滤组件id
87
+ name: item.name,
88
+ // 过滤组件名称
89
+ filterComponentType: "MultipleSelect",
90
+ props: {
91
+ options: (_Object$keys = Object.keys(_this.workOrderStatus)) === null || _Object$keys === void 0 ? void 0 : (_Object$keys$filter = _Object$keys.filter(function (key) {
92
+ return key !== "HANDLING";
93
+ })) === null || _Object$keys$filter === void 0 ? void 0 : _Object$keys$filter.map(function (item) {
94
+ return {
95
+ label: _this.workOrderStatus[item].label,
96
+ value: item
97
+ };
98
+ })
99
+ },
100
+ filterFn: function filterFn(value) {
101
+ return function (i) {
102
+ return value === null || value === void 0 ? void 0 : value.includes(_filterFn.filterTableListItemColumnValue(i, item.id, ""));
103
+ };
104
+ }
105
+ };
106
+ });
107
+ this.name = options.name;
108
+ this.id = options.id;
109
+ this.sortField = options.id;
110
+ this.formField = options.id;
111
+ this.type = options.type;
112
+ this.componentConfig = options.componentConfig;
113
+ this.effects = options.effects;
114
+ this.rules = [];
115
+ this.isCombinationComponent = false;
116
+ this.canSort = true;
117
+ this.children = [];
118
+ this.workOrderStatus = {
119
+ PROCESSING: {
120
+ label: "处理中",
121
+ color: "#1890ff",
122
+ bgColor: "#1890ff"
123
+ },
124
+ STOPPING: {
125
+ label: "暂停中",
126
+ color: "#ff4d4f",
127
+ bgColor: "#ff4d4f"
128
+ },
129
+ COMPLETED: {
130
+ label: "已完成",
131
+ color: "#73d13d",
132
+ bgColor: "#73d13d"
133
+ },
134
+ CLOSED: {
135
+ label: "已关闭",
136
+ color: "rgba(0, 0, 0, 0.65)",
137
+ bgColor: "rgba(0, 0, 0, 0.04);"
138
+ },
139
+ FLOWING: {
140
+ label: "流转中",
141
+ color: "#1890ff",
142
+ bgColor: "#1890ff"
143
+ },
144
+ RETURNING: {
145
+ label: "回退中",
146
+ color: "#1890ff",
147
+ bgColor: "#1890ff"
148
+ },
149
+ BUSINESS_SUCCESS_BUT_FLOW_FAIL: {
150
+ label: "业务执行完毕但流转异常",
151
+ color: "#73d13d",
152
+ bgColor: "#73d13d"
153
+ }
154
+ };
155
+ this.dataType = "string";
156
+ this.options = (_Object$keys2 = Object.keys(this.workOrderStatus)) === null || _Object$keys2 === void 0 ? void 0 : _Object$keys2.map(function (item) {
157
+ return {
158
+ label: _this.workOrderStatus[item].label,
159
+ value: item
160
+ };
161
+ });
162
+ }
163
+ // renderMenu = (record: Record) => {
164
+ // const menu = (
165
+ // <Menu
166
+ // onClick={({ key }) => {
167
+ // typeof this?.effects?.handleChangeSingleWorkOrderStatus === 'function' && this?.effects?.handleChangeSingleWorkOrderStatus(key, record)
168
+ // }}
169
+ // >
170
+ // <Menu.Item key="HANDLING">处理中</Menu.Item>
171
+ // <Menu.Item key="STOPPING">暂停中</Menu.Item>
172
+ // <Menu.Item key="COMPLETED">已完成</Menu.Item>
173
+ // <Menu.Item key="WAITING">待处理</Menu.Item>
174
+ // </Menu>
175
+ // );
176
+ // return menu;
177
+ // };
178
+ );
179
+
180
+ export default FlowOverallStatusSelect;
@@ -1,3 +1,3 @@
1
- import { ReissueLogistics, JstItemSelect, JstSupply, JstSendGood, BasicInput, BasicAddress, BasicCascader, BasicCheckbox, BasicDataTime, BasicSelect, BasicRadio, BasicTextArea, BasicPicture, BasicPicturePro, BasicMultSelect, BasicGrade, BasicRate, BasicFile, BasicPosting, SubForm, CommonDataTime, TradeId, ShopName, BuyerNick, ReceiverName, ReceiverMobile, ReceiverAddress, TradeDateTime, Logistics, ReturnLogistics, ActualPayment, ERemark, AliPay, ItemSelect, ItemId, ItemEnCode, SystemOrderNo, Ordinary, ThirdItemSelect, FlowStatusSelect, FlowMarkSelect, FlowTag, Payment, TemplateSelect, WorkOrderId, PlatForm, ShopInput, Submitter, PrevSubmitter, FlowCreator, Handler, CompletedUser, LogisticsInterception, LogisticsMoreInterception, LogisticsTrajectory, LogisticsMoreTrajectory, FlowWorkOrderId, BsGoods, BsExchange, BsReissue, BsReturn, BsSystemOrder, BsLogistics, StatusSelect, CommonSystemOrder, CommonMultiStatus, Calculation, NodeDeadLine, HandlerDeadLine, NodeStayDuration, WlnGoods, BsPosting, MsgStatus, NodeInput, FlowWorkOrderStatus, WdtGoods, WdtReturn, WdtExchange, CommonInput, PaymentVoucherCode, Label, WdtReissue, GyReissue, AfterSalesOrderId, BsE3Goods, PublicGoods, PublicReissueGoods, PublicExchange, GyGoods, BsE3Reissue, MemberLevel, GyReturn, AsyncSelect, WdtShopSelect, KmVideo, BasicTypeInput, SkxIdInputSelect, SkxGoods, BasicSelectOption, OrderSubForm } from "./index";
1
+ import { ReissueLogistics, JstItemSelect, JstSupply, JstSendGood, BasicInput, BasicAddress, BasicCascader, BasicCheckbox, BasicDataTime, BasicSelect, BasicRadio, BasicTextArea, BasicPicture, BasicPicturePro, BasicMultSelect, BasicGrade, BasicRate, BasicFile, BasicPosting, SubForm, CommonDataTime, TradeId, ShopName, BuyerNick, ReceiverName, ReceiverMobile, ReceiverAddress, TradeDateTime, Logistics, ReturnLogistics, ActualPayment, ERemark, AliPay, ItemSelect, ItemId, ItemEnCode, SystemOrderNo, Ordinary, ThirdItemSelect, FlowStatusSelect, FlowMarkSelect, FlowTag, Payment, TemplateSelect, WorkOrderId, PlatForm, ShopInput, Submitter, PrevSubmitter, FlowCreator, Handler, CompletedUser, LogisticsInterception, LogisticsMoreInterception, LogisticsTrajectory, LogisticsMoreTrajectory, FlowWorkOrderId, BsGoods, BsExchange, BsReissue, BsReturn, BsSystemOrder, BsLogistics, StatusSelect, CommonSystemOrder, CommonMultiStatus, Calculation, NodeDeadLine, HandlerDeadLine, NodeStayDuration, WlnGoods, BsPosting, MsgStatus, NodeInput, FlowWorkOrderStatus, WdtGoods, WdtReturn, WdtExchange, CommonInput, PaymentVoucherCode, Label, WdtReissue, GyReissue, AfterSalesOrderId, BsE3Goods, PublicGoods, PublicReissueGoods, PublicExchange, GyGoods, BsE3Reissue, MemberLevel, GyReturn, AsyncSelect, WdtShopSelect, KmVideo, BasicTypeInput, SkxIdInputSelect, SkxGoods, BasicSelectOption, OrderSubForm, FlowOverallStatusSelect } from "./index";
2
2
  import { PickOption } from "./type";
3
- export declare const factory: (type: string, options: PickOption) => BsLogistics | BsSystemOrder | CommonDataTime | JstSendGood | MsgStatus | PublicGoods | ERemark | BasicInput | BasicTypeInput | BasicAddress | BasicCascader | BasicCheckbox | BasicDataTime | BasicSelect | BasicSelectOption | BasicRadio | BasicTextArea | BasicPicture | BasicPicturePro | BasicMultSelect | BasicGrade | BasicRate | BasicFile | BasicPosting | SubForm | TradeId | ShopName | BuyerNick | ReceiverName | ReceiverMobile | ReceiverAddress | TradeDateTime | Logistics | ReturnLogistics | ActualPayment | AliPay | ItemSelect | ItemId | ItemEnCode | SystemOrderNo | Ordinary | ThirdItemSelect | Payment | ReissueLogistics | JstItemSelect | JstSupply | BsGoods | BsE3Goods | PublicReissueGoods | PublicExchange | BsE3Reissue | BsExchange | BsReissue | BsReturn | FlowStatusSelect | FlowMarkSelect | FlowTag | TemplateSelect | WorkOrderId | LogisticsInterception | LogisticsMoreInterception | LogisticsTrajectory | LogisticsMoreTrajectory | PlatForm | ShopInput | Submitter | PrevSubmitter | FlowCreator | Handler | CompletedUser | FlowWorkOrderId | StatusSelect | Calculation | CommonSystemOrder | CommonMultiStatus | NodeDeadLine | HandlerDeadLine | NodeStayDuration | WlnGoods | BsPosting | NodeInput | FlowWorkOrderStatus | WdtGoods | WdtReissue | WdtReturn | WdtExchange | WdtShopSelect | KmVideo | CommonInput | PaymentVoucherCode | Label | MemberLevel | AfterSalesOrderId | GyGoods | GyReissue | GyReturn | AsyncSelect | SkxIdInputSelect | SkxGoods | OrderSubForm;
3
+ export declare const factory: (type: string, options: PickOption) => BsLogistics | BsSystemOrder | CommonDataTime | FlowOverallStatusSelect | BasicInput | BasicTypeInput | BasicAddress | BasicCascader | BasicCheckbox | BasicDataTime | BasicSelect | BasicSelectOption | BasicRadio | BasicTextArea | BasicPicture | BasicPicturePro | BasicMultSelect | BasicGrade | BasicRate | BasicFile | BasicPosting | SubForm | TradeId | ShopName | BuyerNick | ReceiverName | ReceiverMobile | ReceiverAddress | TradeDateTime | Logistics | ReturnLogistics | ActualPayment | ERemark | AliPay | ItemSelect | ItemId | ItemEnCode | SystemOrderNo | Ordinary | ThirdItemSelect | Payment | ReissueLogistics | JstItemSelect | JstSendGood | JstSupply | BsGoods | BsE3Goods | PublicGoods | PublicReissueGoods | PublicExchange | BsE3Reissue | BsExchange | BsReissue | BsReturn | FlowStatusSelect | FlowMarkSelect | FlowTag | TemplateSelect | WorkOrderId | LogisticsInterception | LogisticsMoreInterception | LogisticsTrajectory | LogisticsMoreTrajectory | PlatForm | ShopInput | Submitter | PrevSubmitter | FlowCreator | Handler | CompletedUser | FlowWorkOrderId | StatusSelect | Calculation | CommonSystemOrder | CommonMultiStatus | NodeDeadLine | HandlerDeadLine | NodeStayDuration | WlnGoods | BsPosting | NodeInput | FlowWorkOrderStatus | MsgStatus | WdtGoods | WdtReissue | WdtReturn | WdtExchange | WdtShopSelect | KmVideo | CommonInput | PaymentVoucherCode | Label | MemberLevel | AfterSalesOrderId | GyReissue | GyReturn | AsyncSelect | SkxIdInputSelect | SkxGoods | OrderSubForm | GyGoods;
@@ -1,6 +1,6 @@
1
1
  import { ReissueLogistics, JstItemSelect, JstSupply, JstSendGood, BasicInput, BasicAddress, BasicCascader, BasicCheckbox, BasicDataTime, BasicSelect, BasicRadio, BasicTextArea, BasicPicture, BasicPicturePro, BasicMultSelect, BasicGrade, BasicRate, BasicFile, BasicPosting, SubForm, CommonDataTime, TradeId, ShopName, ErpTradeId, BuyerNick, ReceiverName, ReceiverMobile, ReceiverAddress, TradeDateTime, Logistics, ReturnLogistics, ActualPayment, ERemark, AliPay, ItemSelect, ItemId, ItemEnCode, SystemOrderNo, Ordinary, ThirdItemSelect, FlowStatusSelect, FlowMarkSelect, FlowTag, Payment, TemplateSelect, WorkOrderId, PlatForm, ShopInput, Submitter, PrevSubmitter, FlowCreator, Handler, CompletedUser, LogisticsInterception, LogisticsMoreInterception, LogisticsTrajectory, LogisticsMoreTrajectory, FlowWorkOrderId, BsGoods, BsExchange, BsReissue, BsReturn, BsSystemOrder, BsLogistics, StatusSelect,
2
2
  // CommonTradeId,
3
- CommonSystemOrder, CommonMultiStatus, Calculation, NodeDeadLine, HandlerDeadLine, NodeStayDuration, WlnGoods, BsPosting, MsgStatus, NodeInput, FlowWorkOrderStatus, WdtGoods, WdtReturn, WdtExchange, CommonInput, PaymentVoucherCode, Label, WdtReissue, GyReissue, AfterSalesOrderId, BsE3Goods, PublicGoods, PublicReissueGoods, PublicExchange, GyGoods, BsE3Reissue, MemberLevel, GyReturn, AsyncSelect, WdtShopSelect, KmVideo, BasicTypeInput, SkxIdInputSelect, SkxGoods, BasicSelectOption, OrderSubForm } from "./index";
3
+ CommonSystemOrder, CommonMultiStatus, Calculation, NodeDeadLine, HandlerDeadLine, NodeStayDuration, WlnGoods, BsPosting, MsgStatus, NodeInput, FlowWorkOrderStatus, WdtGoods, WdtReturn, WdtExchange, CommonInput, PaymentVoucherCode, Label, WdtReissue, GyReissue, AfterSalesOrderId, BsE3Goods, PublicGoods, PublicReissueGoods, PublicExchange, GyGoods, BsE3Reissue, MemberLevel, GyReturn, AsyncSelect, WdtShopSelect, KmVideo, BasicTypeInput, SkxIdInputSelect, SkxGoods, BasicSelectOption, OrderSubForm, FlowOverallStatusSelect } from "./index";
4
4
  export var factory = function factory(type, options) {
5
5
  var _options$componentCon;
6
6
  switch (type) {
@@ -122,10 +122,11 @@ export var factory = function factory(type, options) {
122
122
  case "FLOW_TAG":
123
123
  return new FlowTag(options);
124
124
  case "COMPLETED_DATETIME":
125
- return new CommonDataTime(options);
126
125
  case "CREATED_DATETIME":
127
- return new CommonDataTime(options);
128
126
  case "UPDATE_DATETIME":
127
+ case "FLOW_CREATED_DATETIME":
128
+ case "FLOW_UPDATE_DATETIME":
129
+ case "FLOW_CREATE_TIME_DATETIME":
129
130
  return new CommonDataTime(options);
130
131
  case "TEMPLATE_ID_INPUT":
131
132
  return new TemplateSelect(options);
@@ -255,10 +256,6 @@ export var factory = function factory(type, options) {
255
256
  return new NodeInput(options);
256
257
  case "FLOW_WORK_STATUS_SELECT":
257
258
  return new FlowWorkOrderStatus(options);
258
- case "FLOW_CREATED_DATETIME":
259
- return new CommonDataTime(options);
260
- case "FLOW_UPDATE_DATETIME":
261
- return new CommonDataTime(options);
262
259
  case "WDT_GOODS":
263
260
  // 万里牛商品
264
261
  return new WdtGoods(options);
@@ -299,6 +296,8 @@ export var factory = function factory(type, options) {
299
296
  return new SkxGoods(options);
300
297
  case "ORDER_SUBFORM":
301
298
  return new OrderSubForm(options);
299
+ case "FLOW_OVERALL_STATUS_SELECT":
300
+ return new FlowOverallStatusSelect(options);
302
301
  default:
303
302
  return new BasicInput(options);
304
303
  }
@@ -101,6 +101,7 @@ export { default as AsyncSelect } from "./components/Public/AsyncSelect";
101
101
  export { default as SkxIdInputSelect } from "./components/SKX/SkxIdInputSelect";
102
102
  export { default as SkxGoods } from "./components/SKX/SkxGoods";
103
103
  export { default as OrderSubForm } from "./components/OrderSubForm";
104
+ export { default as FlowOverallStatusSelect } from "./components/FlowOverallStatusSelect";
104
105
  export { default as KmErpOrderNum } from "./components/ErpTradeId/components/OrderNum";
105
106
  export { factory } from "./factory";
106
107
  export { default as PlatformAvatar } from "./commonComponents/PlatformAvatar";
package/dist/esm/index.js CHANGED
@@ -101,6 +101,8 @@ export { default as AsyncSelect } from "./components/Public/AsyncSelect";
101
101
  export { default as SkxIdInputSelect } from "./components/SKX/SkxIdInputSelect";
102
102
  export { default as SkxGoods } from "./components/SKX/SkxGoods";
103
103
  export { default as OrderSubForm } from "./components/OrderSubForm";
104
+ export { default as FlowOverallStatusSelect } from "./components/FlowOverallStatusSelect";
105
+
104
106
  // TODO: ERP 打款工单使用
105
107
  export { default as KmErpOrderNum } from "./components/ErpTradeId/components/OrderNum";
106
108
  export { factory } from "./factory";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/services-components",
3
- "version": "2.2.20-rc.3",
3
+ "version": "2.2.20-rc.5",
4
4
  "module": "dist/esm/index.js",
5
5
  "typings": "dist/esm/index.d.ts",
6
6
  "files": [
@@ -21,8 +21,8 @@
21
21
  ]
22
22
  },
23
23
  "dependencies": {
24
- "@kmkf-fe-packages/basic-components": "2.2.20-rc.3",
25
- "@kmkf-fe-packages/kmkf-utils": "2.2.20-rc.3",
24
+ "@kmkf-fe-packages/basic-components": "2.2.20-rc.5",
25
+ "@kmkf-fe-packages/kmkf-utils": "2.2.20-rc.5",
26
26
  "b64-to-blob": "^1.2.19",
27
27
  "html2canvas": "^1.4.1",
28
28
  "react-pdf-js": "^5.1.0"
@@ -41,7 +41,7 @@
41
41
  "publishConfig": {
42
42
  "access": "public"
43
43
  },
44
- "gitHead": "b9d8e51c6e138bee0f72d0750bd55fd87a100e06",
44
+ "gitHead": "6a17e17ae357334de2ddb89df3455da08cbe6db5",
45
45
  "gitHooks": {
46
46
  "pre-commit": "lint-staged"
47
47
  }