@kmkf-fe-packages/kmkf-work-order-service-component 2.2.31-beta.5 → 2.2.31-beta.50
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/dist/esm/FlowTemplateDetailV2/components/AutoTaskDetail/index.d.ts +3 -1
- package/dist/esm/FlowTemplateDetailV2/components/AutoTaskDetail/index.js +59 -3
- package/dist/esm/FlowTemplateDetailV2/components/CurrentNode/index.js +3 -2
- package/dist/esm/FlowTemplateDetailV2/components/Item/index.js +3 -2
- package/dist/esm/FlowTemplateDetailV2/components/JumpBuyer/index.d.ts +0 -1
- package/dist/esm/FlowTemplateDetailV2/components/JumpBuyer/index.js +27 -13
- package/dist/esm/FlowTemplateDetailV2/index.js +6 -6
- package/dist/esm/LBOrderDetail/detail/OrderInfo.d.ts +17 -0
- package/dist/esm/LBOrderDetail/detail/OrderInfo.js +529 -0
- package/dist/esm/LBOrderDetail/detail/ServiceProgress.d.ts +11 -0
- package/dist/esm/LBOrderDetail/detail/ServiceProgress.js +437 -0
- package/dist/esm/LBOrderDetail/detail/index.d.ts +12 -0
- package/dist/esm/LBOrderDetail/detail/index.js +45 -0
- package/dist/esm/LBOrderDetail/detail/index.module.less +63 -0
- package/dist/esm/LBOrderDetail/detail/services.d.ts +3 -0
- package/dist/esm/LBOrderDetail/detail/services.js +19 -0
- package/dist/esm/LBOrderDetail/detail/types.d.ts +361 -0
- package/dist/esm/LBOrderDetail/detail/types.js +1 -0
- package/dist/esm/LBOrderDetail/index.d.ts +14 -0
- package/dist/esm/LBOrderDetail/index.js +62 -0
- package/dist/esm/WorkOrder/components/WorkOrderList/components/CustomizeWorkOrderCard/index.js +5 -5
- package/dist/esm/WorkOrder/components/WorkOrderList/index.js +3 -1
- package/dist/esm/WorkOrder/index.js +0 -1
- package/dist/esm/common/utils/constant.js +8 -0
- package/dist/esm/common/utils/submitDataTransOldFormat.js +3 -0
- package/dist/esm/common/utils/tools.js +3 -1
- package/dist/esm/common/utils/transformWorkOrderData.js +7 -0
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.js +3 -0
- package/dist/esm/model/logicFlow/selector.d.ts +0 -3
- package/dist/esm/model/paymentWorkOrder/selector.d.ts +0 -9
- package/dist/esm/model/singleShopWorkOrder/selector.d.ts +0 -5
- package/dist/esm/model/types/login.d.ts +1 -0
- package/package.json +6 -5
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
2
|
+
import type { Shop } from '../../../model/types/login';
|
|
3
|
+
export declare const AutoTaskDetail: ({ flowEventData, shopList, }: {
|
|
3
4
|
flowEventData: any;
|
|
5
|
+
shopList: Shop[];
|
|
4
6
|
}) => React.JSX.Element;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { isNumber } from 'lodash';
|
|
3
|
-
import { Divider } from 'antd';
|
|
3
|
+
import { Divider, Button } from 'antd';
|
|
4
|
+
import { LB } from '@kmkf-fe-packages/kmkf-work-order-service-component';
|
|
4
5
|
export var AutoTaskDetail = function AutoTaskDetail(_ref) {
|
|
5
|
-
var flowEventData = _ref.flowEventData
|
|
6
|
+
var flowEventData = _ref.flowEventData,
|
|
7
|
+
shopList = _ref.shopList;
|
|
6
8
|
var mapping = {
|
|
7
9
|
0: '执行中',
|
|
8
10
|
1: '部分成功',
|
|
@@ -13,6 +15,28 @@ export var AutoTaskDetail = function AutoTaskDetail(_ref) {
|
|
|
13
15
|
6: '同时存在成功和失败且已完结',
|
|
14
16
|
7: '等待业务执行'
|
|
15
17
|
};
|
|
18
|
+
var repairOrderMapList = [{
|
|
19
|
+
name: '安装/维修单订单编号',
|
|
20
|
+
value: 'repairOrderNumber'
|
|
21
|
+
}, {
|
|
22
|
+
name: '安装/维修单订单id',
|
|
23
|
+
value: 'repairOrderId'
|
|
24
|
+
}, {
|
|
25
|
+
name: '服务类型',
|
|
26
|
+
value: 'serviceType'
|
|
27
|
+
}, {
|
|
28
|
+
name: '服务状态',
|
|
29
|
+
value: 'serviceStatus'
|
|
30
|
+
}, {
|
|
31
|
+
name: '最新服务进度',
|
|
32
|
+
value: 'latestServiceProgress'
|
|
33
|
+
}, {
|
|
34
|
+
name: '最新服务进度时间',
|
|
35
|
+
value: 'latestServiceProgressTime'
|
|
36
|
+
}, {
|
|
37
|
+
name: '下单时间',
|
|
38
|
+
value: 'orderTime'
|
|
39
|
+
}];
|
|
16
40
|
var eventStatus = flowEventData === null || flowEventData === void 0 ? void 0 : flowEventData.eventStatus;
|
|
17
41
|
var renderRules = function renderRules() {
|
|
18
42
|
var _flowEventData$eventD, _flowEventData$eventD2;
|
|
@@ -28,8 +52,40 @@ export var AutoTaskDetail = function AutoTaskDetail(_ref) {
|
|
|
28
52
|
}))), /*#__PURE__*/React.createElement("p", null, item.remark));
|
|
29
53
|
}));
|
|
30
54
|
};
|
|
55
|
+
var renderRepairResult = function renderRepairResult() {
|
|
56
|
+
var _flowEventData$eventD6, _flowEventData$eventD7;
|
|
57
|
+
var repairData = (flowEventData === null || flowEventData === void 0 ? void 0 : (_flowEventData$eventD6 = flowEventData.eventData) === null || _flowEventData$eventD6 === void 0 ? void 0 : (_flowEventData$eventD7 = _flowEventData$eventD6.otherBusinessData) === null || _flowEventData$eventD7 === void 0 ? void 0 : _flowEventData$eventD7.repairData) || {};
|
|
58
|
+
var repairOrderStatus = repairData.repairOrderStatus,
|
|
59
|
+
id = repairData.id;
|
|
60
|
+
var isSuccess = repairOrderStatus === '成功';
|
|
61
|
+
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(LB.LBOrder, {
|
|
62
|
+
id: id,
|
|
63
|
+
activeKey: "orderInfo",
|
|
64
|
+
shopList: shopList,
|
|
65
|
+
btn: /*#__PURE__*/React.createElement(Button, {
|
|
66
|
+
style: {
|
|
67
|
+
padding: '4px 0'
|
|
68
|
+
},
|
|
69
|
+
type: "link"
|
|
70
|
+
}, "\u67E5\u770B\u8BE6\u60C5>>")
|
|
71
|
+
}), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("p", {
|
|
72
|
+
style: {
|
|
73
|
+
marginBottom: '8px'
|
|
74
|
+
}
|
|
75
|
+
}, "\u5B89\u88C5/\u7EF4\u4FEE\u5355\u72B6\u6001:", /*#__PURE__*/React.createElement("span", {
|
|
76
|
+
style: {
|
|
77
|
+
color: isSuccess ? '#70B603' : '#D9001B'
|
|
78
|
+
}
|
|
79
|
+
}, repairOrderStatus)), isSuccess && (repairOrderMapList === null || repairOrderMapList === void 0 ? void 0 : repairOrderMapList.map(function (item) {
|
|
80
|
+
return /*#__PURE__*/React.createElement("p", {
|
|
81
|
+
style: {
|
|
82
|
+
marginBottom: '8px'
|
|
83
|
+
}
|
|
84
|
+
}, item.name, ": ", repairData === null || repairData === void 0 ? void 0 : repairData[item.value]);
|
|
85
|
+
}))));
|
|
86
|
+
};
|
|
31
87
|
// const renderReason = () => {
|
|
32
88
|
// return <p>{ flowEventData?.eventData?.businessStatus?.map((item: any) => item?.remark)?.join(',') }</p>
|
|
33
89
|
// }
|
|
34
|
-
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("p", null, isNumber(eventStatus) && "\u6267\u884C\u72B6\u6001: ".concat(mapping[eventStatus])), renderRules());
|
|
90
|
+
return /*#__PURE__*/React.createElement("div", null, (flowEventData === null || flowEventData === void 0 ? void 0 : flowEventData.eventType) === 'LBDJ_ONE_PRICE_ORDER' ? renderRepairResult() : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("p", null, isNumber(eventStatus) && "\u6267\u884C\u72B6\u6001: ".concat(mapping[eventStatus])), renderRules()));
|
|
35
91
|
};
|
|
@@ -284,7 +284,7 @@ var CurrentNode = function CurrentNode(props, ref) {
|
|
|
284
284
|
}();
|
|
285
285
|
var isArtificialNode = tag === 'artificial';
|
|
286
286
|
var isAutoNode = tag === 'auto';
|
|
287
|
-
var isShowAutoNodeDetail = isAutoNode && ['ORDER_MEMO_MANY_RULES', 'AFTER_SALE_AUTO_RETURN_GOODS_AGREE_REJECT', 'AFTER_SALE_AUTO_REFUND_REJECT', 'LOGISTICS_INTERCEPT_MULTI_RULE', 'MESSAGE_NOTIFY_EVENT', 'DING_TALK_ROBOT_NOTIFY', 'HTTP_INVOKE', 'ORDER_MEMO'].includes(currentNodeDetail === null || currentNodeDetail === void 0 ? void 0 : (_currentNodeDetail$fl = currentNodeDetail.flowEventData) === null || _currentNodeDetail$fl === void 0 ? void 0 : _currentNodeDetail$fl.eventType);
|
|
287
|
+
var isShowAutoNodeDetail = isAutoNode && ['ORDER_MEMO_MANY_RULES', 'AFTER_SALE_AUTO_RETURN_GOODS_AGREE_REJECT', 'AFTER_SALE_AUTO_REFUND_REJECT', 'LOGISTICS_INTERCEPT_MULTI_RULE', 'MESSAGE_NOTIFY_EVENT', 'DING_TALK_ROBOT_NOTIFY', 'HTTP_INVOKE', 'ORDER_MEMO', 'LBDJ_ONE_PRICE_ORDER'].includes(currentNodeDetail === null || currentNodeDetail === void 0 ? void 0 : (_currentNodeDetail$fl = currentNodeDetail.flowEventData) === null || _currentNodeDetail$fl === void 0 ? void 0 : _currentNodeDetail$fl.eventType);
|
|
288
288
|
var showEdit = isArtificialNode && isCurrentNodeHandler && !readonly && (currentNodeDetail === null || currentNodeDetail === void 0 ? void 0 : (_currentNodeDetail$wo12 = currentNodeDetail.workOrder) === null || _currentNodeDetail$wo12 === void 0 ? void 0 : _currentNodeDetail$wo12.flowStatus) === FlowStatus.COMPLETED;
|
|
289
289
|
// TODO: 决策节点给后端修复数据加了一个入口
|
|
290
290
|
// @ts-ignore
|
|
@@ -341,7 +341,8 @@ var CurrentNode = function CurrentNode(props, ref) {
|
|
|
341
341
|
firstOrderBackfill: flowStatus !== FlowStatus.COMPLETED,
|
|
342
342
|
autoSubmit: autoSubmit
|
|
343
343
|
})), isShowAutoNodeDetail && /*#__PURE__*/React.createElement(AutoTaskDetail, {
|
|
344
|
-
flowEventData: currentNodeDetail === null || currentNodeDetail === void 0 ? void 0 : currentNodeDetail.flowEventData
|
|
344
|
+
flowEventData: currentNodeDetail === null || currentNodeDetail === void 0 ? void 0 : currentNodeDetail.flowEventData,
|
|
345
|
+
shopList: shopList
|
|
345
346
|
})));
|
|
346
347
|
};
|
|
347
348
|
export default /*#__PURE__*/forwardRef(CurrentNode);
|
|
@@ -274,7 +274,7 @@ var NodeItem = function NodeItem(props) {
|
|
|
274
274
|
isAllStaff: data === null || data === void 0 ? void 0 : (_data$data11 = data.data) === null || _data$data11 === void 0 ? void 0 : (_data$data11$nodeInfo = _data$data11.nodeInfo) === null || _data$data11$nodeInfo === void 0 ? void 0 : (_data$data11$nodeInfo2 = _data$data11$nodeInfo.assistants) === null || _data$data11$nodeInfo2 === void 0 ? void 0 : _data$data11$nodeInfo2.isAllStaff
|
|
275
275
|
});
|
|
276
276
|
}, [data, plat.userKey, assistantMap]);
|
|
277
|
-
var isShowAutoNodeDetail = isAutoNode && ['ORDER_MEMO_MANY_RULES', 'AFTER_SALE_AUTO_RETURN_GOODS_AGREE_REJECT', 'AFTER_SALE_AUTO_REFUND_REJECT', 'LOGISTICS_INTERCEPT_MULTI_RULE', 'MESSAGE_NOTIFY_EVENT', 'DING_TALK_ROBOT_NOTIFY', 'HTTP_INVOKE', 'ORDER_MEMO', 'WDT_STORE_STATUS', 'BS_E3_RETAIL_RETURN_IN_STOCK_SYNC', 'RETAIL_RETURN_IN_STOCK_SYNC'].includes(eventNodeType);
|
|
277
|
+
var isShowAutoNodeDetail = isAutoNode && ['ORDER_MEMO_MANY_RULES', 'AFTER_SALE_AUTO_RETURN_GOODS_AGREE_REJECT', 'AFTER_SALE_AUTO_REFUND_REJECT', 'LOGISTICS_INTERCEPT_MULTI_RULE', 'MESSAGE_NOTIFY_EVENT', 'DING_TALK_ROBOT_NOTIFY', 'HTTP_INVOKE', 'ORDER_MEMO', 'WDT_STORE_STATUS', 'BS_E3_RETAIL_RETURN_IN_STOCK_SYNC', 'RETAIL_RETURN_IN_STOCK_SYNC', 'LBDJ_ONE_PRICE_ORDER'].includes(eventNodeType);
|
|
278
278
|
// 人工节点+打开状态+当前工单提交人是当前完成人+状态是待处理
|
|
279
279
|
var showEdit = isArtificialNode && open && isCurrentNodeHandler && !readonly && [FlowStatus.PROCESSING, FlowStatus.COMPLETED].includes(flowStatus);
|
|
280
280
|
|
|
@@ -346,7 +346,8 @@ var NodeItem = function NodeItem(props) {
|
|
|
346
346
|
platform: plat.platform,
|
|
347
347
|
onOpenWangWang: onOpenWangWang
|
|
348
348
|
})), isShowAutoNodeDetail && /*#__PURE__*/React.createElement(AutoTaskDetail, {
|
|
349
|
-
flowEventData: data === null || data === void 0 ? void 0 : (_data$data22 = data.data) === null || _data$data22 === void 0 ? void 0 : _data$data22.flowEventData
|
|
349
|
+
flowEventData: data === null || data === void 0 ? void 0 : (_data$data22 = data.data) === null || _data$data22 === void 0 ? void 0 : _data$data22.flowEventData,
|
|
350
|
+
shopList: shopList
|
|
350
351
|
})));
|
|
351
352
|
};
|
|
352
353
|
export default NodeItem;
|
|
@@ -1,33 +1,47 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Image
|
|
2
|
+
import { Image } from 'antd';
|
|
3
|
+
import { Base64 } from 'js-base64';
|
|
3
4
|
import contact from "../../../common/imgs/contact.png";
|
|
4
5
|
//工单通需要加一个联系买家按钮跳转到买家聊天框
|
|
6
|
+
// platformType:
|
|
7
|
+
// 1_千牛
|
|
8
|
+
// 2_咚咚
|
|
9
|
+
// 3_拼多多
|
|
10
|
+
// 4_飞鸽
|
|
11
|
+
// 5_快手
|
|
12
|
+
// 6_小红书
|
|
13
|
+
// 7_唯品会
|
|
14
|
+
// 8_得物
|
|
15
|
+
// 9_微信小店
|
|
16
|
+
// 10_美团
|
|
5
17
|
var JumpBuyer = function JumpBuyer(param) {
|
|
6
18
|
var platformType = param.platformType,
|
|
7
19
|
buyer = param.buyer,
|
|
8
20
|
shop = param.shop,
|
|
9
|
-
order_number = param.order_number
|
|
10
|
-
flowTemplateKey = param.flowTemplateKey;
|
|
21
|
+
order_number = param.order_number;
|
|
11
22
|
var onClick = function onClick() {
|
|
12
|
-
var _window
|
|
23
|
+
var _window;
|
|
13
24
|
var info = {
|
|
14
25
|
event: 'open_buyers',
|
|
15
26
|
param: {
|
|
16
|
-
platformType: platformType,
|
|
27
|
+
platformType: Number(platformType),
|
|
17
28
|
buyer: buyer,
|
|
18
29
|
shop: shop,
|
|
19
30
|
order_number: order_number
|
|
20
31
|
}
|
|
21
32
|
};
|
|
22
|
-
|
|
23
|
-
|
|
33
|
+
var jsonString = JSON.stringify(info);
|
|
34
|
+
// 使用安全的 Base64 编码
|
|
35
|
+
var base64String = Base64.encodeURL(jsonString);
|
|
36
|
+
console.log('jumpBuyer', info, "zxd:/".concat(base64String));
|
|
37
|
+
if ((_window = window) !== null && _window !== void 0 && _window.xiaozhiSDK) {
|
|
38
|
+
var _window2, _window2$xiaozhiSDK;
|
|
39
|
+
(_window2 = window) === null || _window2 === void 0 ? void 0 : (_window2$xiaozhiSDK = _window2.xiaozhiSDK) === null || _window2$xiaozhiSDK === void 0 ? void 0 : _window2$xiaozhiSDK.openUrlWithDefault({
|
|
40
|
+
param: {
|
|
41
|
+
url: "zxd:/".concat(base64String)
|
|
42
|
+
}
|
|
43
|
+
});
|
|
24
44
|
}
|
|
25
|
-
console.log('jumpBuyer', info, "zxd:/".concat(btoa(encodeURIComponent(JSON.stringify(info)))));
|
|
26
|
-
(_window = window) === null || _window === void 0 ? void 0 : (_window$xiaozhiSDK = _window.xiaozhiSDK) === null || _window$xiaozhiSDK === void 0 ? void 0 : _window$xiaozhiSDK.openUrlWithDefault({
|
|
27
|
-
param: {
|
|
28
|
-
url: "zxd:/".concat(btoa(encodeURIComponent(JSON.stringify(info))))
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
45
|
};
|
|
32
46
|
return /*#__PURE__*/React.createElement("span", {
|
|
33
47
|
onClick: onClick,
|
|
@@ -62,7 +62,7 @@ import { PlatForm } from "../WorkOrder/types";
|
|
|
62
62
|
var Text = Typography.Text,
|
|
63
63
|
Link = Typography.Link;
|
|
64
64
|
var FlowTemplateDetail = function FlowTemplateDetail(props) {
|
|
65
|
-
var _currentNodeDetail$wo, _currentNodeDetail$no, _currentNodeDetail$wo2, _currentNodeDetail$no14, _shopList$find, _JSON$parse, _currentNodeDetail$
|
|
65
|
+
var _currentNodeDetail$wo, _currentNodeDetail$no, _currentNodeDetail$wo2, _currentNodeDetail$no14, _shopList$find, _currentNodeDetail$wo31, _currentNodeDetail$wo32, _JSON$parse, _currentNodeDetail$wo33, _currentNodeDetail$wo34, _currentNodeDetail$wo35, _currentNodeDetail$wo36, _currentNodeDetail$no27, _currentNodeDetail$no28, _currentNodeDetail$no29, _currentNodeDetail$no30;
|
|
66
66
|
var flowTemplateKey = props.flowTemplateKey,
|
|
67
67
|
_props$shopList = props.shopList,
|
|
68
68
|
shopList = _props$shopList === void 0 ? [] : _props$shopList,
|
|
@@ -1311,14 +1311,14 @@ var FlowTemplateDetail = function FlowTemplateDetail(props) {
|
|
|
1311
1311
|
}), shopItem === null || shopItem === void 0 ? void 0 : shopItem.shopName, "-"), /*#__PURE__*/React.createElement("span", null, flowWorkOrderId), !['created', 'edit'].includes(privilege) && /*#__PURE__*/React.createElement(Button, {
|
|
1312
1312
|
type: "link",
|
|
1313
1313
|
onClick: handleFollow
|
|
1314
|
-
}, !follow ? '关注' : '已关注'), plat.platform === PlatForm.XIAOZHI && /*#__PURE__*/React.createElement(JumpBuyer, {
|
|
1314
|
+
}, !follow ? '关注' : '已关注'), plat.platform === PlatForm.XIAOZHI && ['2'].includes(String(otherInfo === null || otherInfo === void 0 ? void 0 : otherInfo.xzClientPlatformType)) && ((otherInfo === null || otherInfo === void 0 ? void 0 : otherInfo.buyerOpenUid) || (currentNodeDetail === null || currentNodeDetail === void 0 ? void 0 : (_currentNodeDetail$wo31 = currentNodeDetail.workOrder) === null || _currentNodeDetail$wo31 === void 0 ? void 0 : _currentNodeDetail$wo31.buyerOpenUid)) && /*#__PURE__*/React.createElement(JumpBuyer, {
|
|
1315
1315
|
order_number: tid,
|
|
1316
1316
|
shop: (otherInfo === null || otherInfo === void 0 ? void 0 : otherInfo.taobaoNick) || '',
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
})), /*#__PURE__*/React.createElement("div", null, (_JSON$parse = JSON.parse((currentNodeDetail === null || currentNodeDetail === void 0 ? void 0 : (_currentNodeDetail$
|
|
1317
|
+
buyer: (otherInfo === null || otherInfo === void 0 ? void 0 : otherInfo.buyerOpenUid) || (currentNodeDetail === null || currentNodeDetail === void 0 ? void 0 : (_currentNodeDetail$wo32 = currentNodeDetail.workOrder) === null || _currentNodeDetail$wo32 === void 0 ? void 0 : _currentNodeDetail$wo32.buyerOpenUid),
|
|
1318
|
+
platformType: otherInfo === null || otherInfo === void 0 ? void 0 : otherInfo.xzClientPlatformType
|
|
1319
|
+
})), /*#__PURE__*/React.createElement("div", null, (_JSON$parse = JSON.parse((currentNodeDetail === null || currentNodeDetail === void 0 ? void 0 : (_currentNodeDetail$wo33 = currentNodeDetail.workOrder) === null || _currentNodeDetail$wo33 === void 0 ? void 0 : (_currentNodeDetail$wo34 = _currentNodeDetail$wo33.jsonMap) === null || _currentNodeDetail$wo34 === void 0 ? void 0 : _currentNodeDetail$wo34.flowTags) || '[]')) !== null && _JSON$parse !== void 0 && _JSON$parse.includes('AI_BUILD') ? /*#__PURE__*/React.createElement(Tag, {
|
|
1320
1320
|
color: "blue"
|
|
1321
|
-
}, "AI\u81EA\u52A8\u5EFA\u5355-".concat(WORK_ORDER_STATUS_AI_BUILD[currentNodeDetail === null || currentNodeDetail === void 0 ? void 0 : (_currentNodeDetail$
|
|
1321
|
+
}, "AI\u81EA\u52A8\u5EFA\u5355-".concat(WORK_ORDER_STATUS_AI_BUILD[currentNodeDetail === null || currentNodeDetail === void 0 ? void 0 : (_currentNodeDetail$wo35 = currentNodeDetail.workOrder) === null || _currentNodeDetail$wo35 === void 0 ? void 0 : (_currentNodeDetail$wo36 = _currentNodeDetail$wo35.jsonMap) === null || _currentNodeDetail$wo36 === void 0 ? void 0 : _currentNodeDetail$wo36.flowStatus])) : null)), flowStatus && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Row, {
|
|
1322
1322
|
justify: 'space-between',
|
|
1323
1323
|
className: "header"
|
|
1324
1324
|
}, /*#__PURE__*/React.createElement(Col, null, /*#__PURE__*/React.createElement("div", {
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { DetailType, DetailItemSchemaType, TableKeyType } from './types';
|
|
3
|
+
import type { Shop } from '../../model/types/login';
|
|
4
|
+
export declare const renderTime: (value?: string | number) => string;
|
|
5
|
+
export declare const renderImages: (value?: string | number) => React.JSX.Element | undefined;
|
|
6
|
+
export declare const renderTable: (value: DetailType[TableKeyType], record: DetailType, item: DetailItemSchemaType, effects: {
|
|
7
|
+
shopList: Shop[];
|
|
8
|
+
}, key: TableKeyType) => React.JSX.Element | undefined;
|
|
9
|
+
export declare const DETAIL_ITEM_LIST: DetailItemSchemaType[];
|
|
10
|
+
declare const OrderInfo: {
|
|
11
|
+
(props: {
|
|
12
|
+
id: string;
|
|
13
|
+
shopList: Shop[];
|
|
14
|
+
}): React.JSX.Element;
|
|
15
|
+
displayName: string;
|
|
16
|
+
};
|
|
17
|
+
export default OrderInfo;
|