@kmkf-fe-packages/kmkf-work-order-service-component 2.2.3 → 2.2.5-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/dist/esm/CustomerServiceToDoList/index.d.ts +3 -0
- package/dist/esm/CustomerServiceToDoList/index.js +155 -0
- package/dist/esm/CustomerServiceToDoList/index.module.less +134 -0
- package/dist/esm/FlowTemplateDetailV2/common.js +1 -0
- package/dist/esm/FlowTemplateDetailV2/components/ActionList/index.d.ts +2 -0
- package/dist/esm/FlowTemplateDetailV2/components/ActionList/index.js +50 -8
- package/dist/esm/FlowTemplateDetailV2/components/FormRender/index.js +66 -17
- package/dist/esm/FlowTemplateDetailV2/components/FormRender/onBlur.d.ts +12 -0
- package/dist/esm/FlowTemplateDetailV2/components/FormRender/onBlur.js +176 -44
- package/dist/esm/FlowTemplateDetailV2/components/Header/index.js +5 -2
- package/dist/esm/FlowTemplateDetailV2/components/ShareLinkModal/index.d.ts +4 -0
- package/dist/esm/FlowTemplateDetailV2/components/ShareLinkModal/index.js +211 -0
- package/dist/esm/FlowTemplateDetailV2/components/ShareLinkModal/index.module.less +29 -0
- package/dist/esm/FlowTemplateDetailV2/constant.js +9 -1
- package/dist/esm/FlowTemplateDetailV2/index.js +151 -78
- package/dist/esm/FlowTemplateDetailV2/store/reducers.d.ts +8 -0
- package/dist/esm/FlowTemplateDetailV2/store/reducers.js +152 -54
- package/dist/esm/FlowTemplateDetailV2/store/selector.d.ts +3 -0
- package/dist/esm/FlowTemplateDetailV2/store/selector.js +9 -0
- package/dist/esm/FlowTemplateDetailV2/type.d.ts +1 -1
- package/dist/esm/Login/index.d.ts +1 -0
- package/dist/esm/Login/index.js +3 -1
- package/dist/esm/LoginNew/index.d.ts +8 -0
- package/dist/esm/LoginNew/index.js +268 -0
- package/dist/esm/LoginNew/index.module.less +45 -0
- package/dist/esm/WorkOrder/components/CustomerServiceToDoCard/index.d.ts +3 -0
- package/dist/esm/WorkOrder/components/CustomerServiceToDoCard/index.js +76 -0
- package/dist/esm/WorkOrder/components/CustomerServiceToDoCard/index.module.less +20 -0
- package/dist/esm/WorkOrder/components/WorkOrderList/components/CustomizeWorkOrderCard/index.js +6 -0
- package/dist/esm/WorkOrder/components/WorkOrderList/index.js +12 -3
- package/dist/esm/WorkOrder/components/WorkOrderList/index.less +4 -3
- package/dist/esm/WorkOrder/index.js +21 -1
- package/dist/esm/common/constant.d.ts +5 -0
- package/dist/esm/common/constant.js +3 -2
- package/dist/esm/common/imgs/ai.png +0 -0
- package/dist/esm/common/imgs/notification.png +0 -0
- package/dist/esm/common/utils/constant.d.ts +3 -0
- package/dist/esm/common/utils/constant.js +33 -2
- package/dist/esm/common/utils/submitDataTransOldFormat.js +146 -79
- package/dist/esm/common/utils/tools.d.ts +1 -0
- package/dist/esm/common/utils/tools.js +145 -48
- package/dist/esm/common/utils/tools_constants.js +21 -2
- package/dist/esm/common/utils/transformWorkOrderData.js +99 -19
- package/dist/esm/common/utils/xzSDK.d.ts +2 -0
- package/dist/esm/common/utils/xzSDK.js +45 -1
- package/dist/esm/index.d.ts +2 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/model/customizeWorkOrder/index.d.ts +1 -1
- package/dist/esm/model/customizeWorkOrder/index.js +17 -3
- package/dist/esm/model/customizeWorkOrder/types.d.ts +2 -0
- package/dist/esm/model/flowTemplateDetail/api.d.ts +5 -0
- package/dist/esm/model/flowTemplateDetail/api.js +40 -0
- package/dist/esm/model/flowTemplateDetail/types.d.ts +4 -0
- package/dist/esm/model/logicFlow/selector.d.ts +3 -0
- package/dist/esm/model/login.d.ts +10 -0
- package/dist/esm/model/login.js +66 -45
- package/dist/esm/model/paymentWorkOrder/selector.d.ts +9 -0
- package/dist/esm/model/servers/api.d.ts +5 -0
- package/dist/esm/model/servers/api.js +37 -3
- package/dist/esm/model/singleShopWorkOrder/selector.d.ts +5 -0
- package/package.json +6 -5
- package/dist/esm/GlobalContext/hook/dist/useGetHasErpData.js +0 -52
- package/dist/esm/GlobalContext/orderQuery/dist/useGetErpAddressData.js +0 -180
- package/dist/esm/GlobalContext/orderQuery/dist/useGetErpLogisticsCompany.js +0 -186
- package/dist/esm/common/utils/dist/submitDataTransOldFormat.js +0 -899
- package/dist/esm/common/utils/dist/tools.js +0 -1326
- package/dist/esm/common/utils/dist/transformWorkOrderData.js +0 -965
- package/dist/esm/model/customizeWorkOrder/dist/api.js +0 -48
- package/dist/esm/model/customizeWorkOrder/dist/index.js +0 -370
- package/dist/esm/model/customizeWorkOrder/dist/selector.js +0 -63
- package/dist/esm/model/customizeWorkOrder/dist/types.js +0 -3
- package/dist/esm/model/dist/global.js +0 -44
- package/dist/esm/model/dist/hooks.js +0 -15
- package/dist/esm/model/dist/login.js +0 -245
- package/dist/esm/model/dist/store.js +0 -30
- package/dist/esm/model/dist/userData.js +0 -41
- package/dist/esm/model/dist/workOrder.js +0 -329
- package/dist/esm/model/flowTemplateDetail/dist/api.js +0 -192
- package/dist/esm/model/flowTemplateDetail/dist/types.js +0 -48
- package/dist/esm/model/logicFlow/dist/api.js +0 -14
- package/dist/esm/model/logicFlow/dist/index.js +0 -235
- package/dist/esm/model/logicFlow/dist/selector.js +0 -18
- package/dist/esm/model/logicFlow/dist/types.js +0 -3
- package/dist/esm/model/paymentWorkOrder/dist/index.js +0 -77
- package/dist/esm/model/paymentWorkOrder/dist/selector.js +0 -36
- package/dist/esm/model/paymentWorkOrder/dist/types.js +0 -3
- package/dist/esm/model/servers/dist/api.js +0 -545
- package/dist/esm/model/servers/dist/request.js +0 -63
- package/dist/esm/model/singleShopWorkOrder/dist/index.js +0 -216
- package/dist/esm/model/singleShopWorkOrder/dist/selector.js +0 -24
- package/dist/esm/model/singleShopWorkOrder/dist/types.js +0 -3
- package/dist/esm/model/types/dist/login.js +0 -3
- package/dist/esm/model/types/dist/singleWorkOrder.js +0 -3
- package/dist/esm/model/types/dist/workOrder.js +0 -3
|
@@ -213,22 +213,40 @@ var processSubForm = function processSubForm(getValue) {
|
|
|
213
213
|
return _defineProperty({}, nex.uniqueKey, jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_productList")), []));
|
|
214
214
|
};
|
|
215
215
|
};
|
|
216
|
+
var processOrderSubForm = function processOrderSubForm(templateColumns) {
|
|
217
|
+
return function (getValue) {
|
|
218
|
+
return function (nex, config) {
|
|
219
|
+
var _values = {
|
|
220
|
+
subOrderList: jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_subOrderList")), [])
|
|
221
|
+
};
|
|
222
|
+
var orderNo = '';
|
|
223
|
+
var tradeId = templateColumns === null || templateColumns === void 0 ? void 0 : templateColumns.find(function (col) {
|
|
224
|
+
return col.workOrderComponentType === 'TRADE_ID_INPUT';
|
|
225
|
+
});
|
|
226
|
+
if (tradeId) {
|
|
227
|
+
orderNo = getValue("".concat(tradeId.uniqueKey, "_").concat(updateWorkTypeKeys[tradeId.workOrderComponentType]));
|
|
228
|
+
}
|
|
229
|
+
_values.orderNo = orderNo;
|
|
230
|
+
return _defineProperty({}, nex.uniqueKey, _values);
|
|
231
|
+
};
|
|
232
|
+
};
|
|
233
|
+
};
|
|
216
234
|
var processExpressLogisticsSelect = function processExpressLogisticsSelect(getValue) {
|
|
217
235
|
return function (nex, config) {
|
|
218
|
-
var
|
|
219
|
-
return
|
|
236
|
+
var _ref24;
|
|
237
|
+
return _ref24 = {}, _defineProperty(_ref24, nex.uniqueKey, {
|
|
220
238
|
company: getValue("".concat(nex.uniqueKey, "_expressLogisticsCompany")),
|
|
221
239
|
order: getValue("".concat(nex.uniqueKey, "_expressLogisticsCode"))
|
|
222
|
-
}), _defineProperty(
|
|
240
|
+
}), _defineProperty(_ref24, "".concat(nex.uniqueKey, "_expressLogisticsCompany"), getValue("".concat(nex.uniqueKey, "_expressLogisticsCompany"))), _defineProperty(_ref24, "".concat(nex.uniqueKey, "_expressLogisticsCode"), getValue("".concat(nex.uniqueKey, "_expressLogisticsCode"))), _ref24;
|
|
223
241
|
};
|
|
224
242
|
};
|
|
225
243
|
var processReturnLogisticsSelect = function processReturnLogisticsSelect(getValue) {
|
|
226
244
|
return function (nex, config) {
|
|
227
|
-
var
|
|
228
|
-
return
|
|
245
|
+
var _ref25;
|
|
246
|
+
return _ref25 = {}, _defineProperty(_ref25, nex.uniqueKey, {
|
|
229
247
|
company: getValue("".concat(nex.uniqueKey, "_returnLogisticsCompany")),
|
|
230
248
|
order: getValue("".concat(nex.uniqueKey, "_returnLogisticsCode"))
|
|
231
|
-
}), _defineProperty(
|
|
249
|
+
}), _defineProperty(_ref25, "".concat(nex.uniqueKey, "_returnLogisticsCompany"), getValue("".concat(nex.uniqueKey, "_returnLogisticsCompany"))), _defineProperty(_ref25, "".concat(nex.uniqueKey, "_returnLogisticsCode"), getValue("".concat(nex.uniqueKey, "_returnLogisticsCode"))), _ref25;
|
|
232
250
|
};
|
|
233
251
|
};
|
|
234
252
|
var processRemarkInput = function processRemarkInput(getValue) {
|
|
@@ -243,25 +261,25 @@ var processRemarkInput = function processRemarkInput(getValue) {
|
|
|
243
261
|
};
|
|
244
262
|
var processStatus = function processStatus(getValue) {
|
|
245
263
|
return function (nex, config) {
|
|
246
|
-
var
|
|
264
|
+
var _ref27;
|
|
247
265
|
var customerService = getValue("".concat(nex.uniqueKey, "_customerService"));
|
|
248
|
-
return
|
|
266
|
+
return _ref27 = {}, _defineProperty(_ref27, nex.uniqueKey, {
|
|
249
267
|
status: getValue("".concat(nex.uniqueKey, "_status")) || (config === null || config === void 0 ? void 0 : config.status),
|
|
250
268
|
customerService: jsonParseSecurity(customerService, customerService)
|
|
251
|
-
}), _defineProperty(
|
|
269
|
+
}), _defineProperty(_ref27, "".concat(nex.uniqueKey, "_processTime"), getValue('processTime')), _defineProperty(_ref27, "".concat(nex.uniqueKey, "_lastProcessingTime"), getValue('lastProcessingTime')), _ref27;
|
|
252
270
|
};
|
|
253
271
|
};
|
|
254
272
|
var processOrdinaryInvoice = function processOrdinaryInvoice(getValue) {
|
|
255
273
|
return function (nex, config) {
|
|
256
|
-
var
|
|
274
|
+
var _ref28;
|
|
257
275
|
var ordinaryMoney = getValue("".concat(nex.uniqueKey, "_ordinaryMoney"));
|
|
258
276
|
var ordinarySerial = getValue("".concat(nex.uniqueKey, "_ordinarySerial"));
|
|
259
277
|
var ordinaryTaitou = getValue("".concat(nex.uniqueKey, "_ordinaryTaitou"));
|
|
260
|
-
return
|
|
278
|
+
return _ref28 = {}, _defineProperty(_ref28, nex.uniqueKey, {
|
|
261
279
|
ordinaryMoney: ordinaryMoney,
|
|
262
280
|
ordinarySerial: ordinarySerial,
|
|
263
281
|
ordinaryTaitou: ordinaryTaitou
|
|
264
|
-
}), _defineProperty(
|
|
282
|
+
}), _defineProperty(_ref28, "".concat(nex.uniqueKey, "_ordinaryMoney"), ordinaryMoney ? Number(ordinaryMoney).toFixed(2) : null), _defineProperty(_ref28, "".concat(nex.uniqueKey, "_ordinarySerial"), ordinarySerial), _defineProperty(_ref28, "".concat(nex.uniqueKey, "_ordinaryTaitou"), ordinaryTaitou), _ref28;
|
|
265
283
|
};
|
|
266
284
|
};
|
|
267
285
|
var processLogisticsInterception = function processLogisticsInterception(getValue) {
|
|
@@ -318,12 +336,12 @@ var processItemSelectThird = function processItemSelectThird(getValue) {
|
|
|
318
336
|
};
|
|
319
337
|
var processEnterPrisePayment = function processEnterPrisePayment(getValue) {
|
|
320
338
|
return function (nex, config) {
|
|
321
|
-
var
|
|
339
|
+
var _ref35;
|
|
322
340
|
var subFields = ['enterprisePaymentAlipayNick', 'enterprisePaymentAlipayNo', 'enterprisePaymentBuyerNick', 'enterprisePaymentBuyerOpenUid', 'enterprisePaymentRefundFee', 'enterprisePaymentStatus', 'enterprisePaymentTid'];
|
|
323
341
|
var map = subFields.reduce(function (cur, nxt) {
|
|
324
342
|
return _objectSpread(_objectSpread({}, cur), {}, _defineProperty({}, nxt, getValue("".concat(nex.uniqueKey, "_").concat(nxt))));
|
|
325
343
|
}, {});
|
|
326
|
-
return
|
|
344
|
+
return _ref35 = {}, _defineProperty(_ref35, nex.uniqueKey, map), _defineProperty(_ref35, "".concat(nex.uniqueKey, "_enterprisePaymentAlipayNick"), getValue("".concat(nex.uniqueKey, "_enterprisePaymentAlipayNick"))), _defineProperty(_ref35, "".concat(nex.uniqueKey, "_enterprisePaymentAlipayNo"), getValue("".concat(nex.uniqueKey, "_enterprisePaymentAlipayNo"))), _defineProperty(_ref35, "".concat(nex.uniqueKey, "_enterprisePaymentBuyerNick"), getValue("".concat(nex.uniqueKey, "_enterprisePaymentBuyerNick"))), _defineProperty(_ref35, "".concat(nex.uniqueKey, "_enterprisePaymentRefundFee"), getValue("".concat(nex.uniqueKey, "_enterprisePaymentRefundFee"))), _defineProperty(_ref35, "".concat(nex.uniqueKey, "_enterprisePaymentStatus"), getValue("".concat(nex.uniqueKey, "_enterprisePaymentStatus"))), _defineProperty(_ref35, "".concat(nex.uniqueKey, "_enterprisePaymentTime"), getValue("".concat(nex.uniqueKey, "_enterprisePaymentTime"))), _defineProperty(_ref35, "".concat(nex.uniqueKey, "_enterprisePaymentTid"), getValue("".concat(nex.uniqueKey, "_enterprisePaymentTid"))), _ref35;
|
|
327
345
|
};
|
|
328
346
|
};
|
|
329
347
|
var processJstLogistics = function processJstLogistics(getValue) {
|
|
@@ -464,8 +482,14 @@ var processErpLogistics = function processErpLogistics(getValue) {
|
|
|
464
482
|
GY_LOGISTICS: {
|
|
465
483
|
listKey: 'gyLogisticsList'
|
|
466
484
|
},
|
|
485
|
+
JY_LOGISTICS: {
|
|
486
|
+
listKey: 'jyLogisticsList'
|
|
487
|
+
},
|
|
467
488
|
SKX_LOGISTICS: {
|
|
468
489
|
listKey: 'skxLogisticsList'
|
|
490
|
+
},
|
|
491
|
+
SKX_RETURN_LOGISTICS: {
|
|
492
|
+
listKey: 'skxReturnLogistics'
|
|
469
493
|
}
|
|
470
494
|
};
|
|
471
495
|
var initValue = [{
|
|
@@ -496,6 +520,9 @@ var processErpSendGood = function processErpSendGood(getValue) {
|
|
|
496
520
|
},
|
|
497
521
|
GY_SEND_GOOD: {
|
|
498
522
|
list: 'gySendGood'
|
|
523
|
+
},
|
|
524
|
+
JY_SEND_GOOD: {
|
|
525
|
+
list: 'jySendGood'
|
|
499
526
|
}
|
|
500
527
|
};
|
|
501
528
|
var initValue = [{
|
|
@@ -675,6 +702,41 @@ var processSkxGoods = function processSkxGoods(getValue) {
|
|
|
675
702
|
return _defineProperty({}, nex.uniqueKey, _values);
|
|
676
703
|
};
|
|
677
704
|
};
|
|
705
|
+
var processJyGoods = function processJyGoods(templateColumns) {
|
|
706
|
+
return function (getValue) {
|
|
707
|
+
return function (nex, config) {
|
|
708
|
+
var _values = {
|
|
709
|
+
jyGoods: jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_jyGoods")), []),
|
|
710
|
+
shopCode: getValue("".concat(nex.uniqueKey, "_shopCode"))
|
|
711
|
+
};
|
|
712
|
+
var selectIds = [];
|
|
713
|
+
var orderNo = '';
|
|
714
|
+
var tradeId = templateColumns === null || templateColumns === void 0 ? void 0 : templateColumns.find(function (col) {
|
|
715
|
+
return col.workOrderComponentType === 'TRADE_ID_INPUT';
|
|
716
|
+
});
|
|
717
|
+
if (tradeId) {
|
|
718
|
+
orderNo = getValue("".concat(tradeId.uniqueKey, "_").concat(updateWorkTypeKeys[tradeId.workOrderComponentType]));
|
|
719
|
+
}
|
|
720
|
+
var jySystemOrder = templateColumns === null || templateColumns === void 0 ? void 0 : templateColumns.find(function (col) {
|
|
721
|
+
return col.workOrderComponentType === 'JY_SYSTEM_ORDER';
|
|
722
|
+
});
|
|
723
|
+
if (jySystemOrder) {
|
|
724
|
+
selectIds = jsonParseSecurity(getValue("".concat(jySystemOrder.uniqueKey, "_").concat(systemOrderMap[jySystemOrder.workOrderComponentType].ids)), []);
|
|
725
|
+
}
|
|
726
|
+
_values.selectIds = selectIds;
|
|
727
|
+
_values.orderNo = orderNo;
|
|
728
|
+
return _defineProperty({}, nex.uniqueKey, _values);
|
|
729
|
+
};
|
|
730
|
+
};
|
|
731
|
+
};
|
|
732
|
+
var processSkxReturnGoods = function processSkxReturnGoods(getValue) {
|
|
733
|
+
return function (nex, config) {
|
|
734
|
+
var _values = {
|
|
735
|
+
skxReturnGoods: jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_skxReturnGoods")), [])
|
|
736
|
+
};
|
|
737
|
+
return _defineProperty({}, nex.uniqueKey, _values);
|
|
738
|
+
};
|
|
739
|
+
};
|
|
678
740
|
var processBsReissueGoods = function processBsReissueGoods(getValue) {
|
|
679
741
|
return function (nex, config) {
|
|
680
742
|
return _defineProperty({}, nex.uniqueKey, {
|
|
@@ -791,6 +853,11 @@ var processErpSystemOrder = function processErpSystemOrder(getValue) {
|
|
|
791
853
|
no: 'jstSystemOrderNo',
|
|
792
854
|
ids: 'jstSystemSelectIds',
|
|
793
855
|
order: 'jstSystemShowOrder'
|
|
856
|
+
},
|
|
857
|
+
JY_SYSTEM_ORDER: {
|
|
858
|
+
no: 'jySystemOrderNo',
|
|
859
|
+
ids: 'jySystemSelectIds',
|
|
860
|
+
order: 'jySystemShowOrder'
|
|
794
861
|
}
|
|
795
862
|
};
|
|
796
863
|
return _defineProperty({}, nex.uniqueKey, {
|
|
@@ -811,6 +878,11 @@ var processOrderType = function processOrderType(getValue) {
|
|
|
811
878
|
return _defineProperty({}, nex.uniqueKey, getValue("".concat(nex.uniqueKey, "_erpOrderType")) || (config === null || config === void 0 ? void 0 : config.select));
|
|
812
879
|
};
|
|
813
880
|
};
|
|
881
|
+
var processErpOrderStatus = function processErpOrderStatus(getValue) {
|
|
882
|
+
return function (nex, config) {
|
|
883
|
+
return _defineProperty({}, nex.uniqueKey, getValue("".concat(nex.uniqueKey, "_erpOrderStatus")) || (config === null || config === void 0 ? void 0 : config.select));
|
|
884
|
+
};
|
|
885
|
+
};
|
|
814
886
|
var processRefundType = function processRefundType(getValue) {
|
|
815
887
|
return function (nex, config) {
|
|
816
888
|
return _defineProperty({}, nex.uniqueKey, getValue("".concat(nex.uniqueKey, "_orderRefundType")) || (config === null || config === void 0 ? void 0 : config.select));
|
|
@@ -1026,14 +1098,14 @@ var processJstReturnGoods = function processJstReturnGoods(templateColumns) {
|
|
|
1026
1098
|
};
|
|
1027
1099
|
var processLabel = function processLabel(getValue) {
|
|
1028
1100
|
return function (nex, config) {
|
|
1029
|
-
var
|
|
1030
|
-
return
|
|
1101
|
+
var _ref76;
|
|
1102
|
+
return _ref76 = {}, _defineProperty(_ref76, nex.uniqueKey, jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_label")), [])), _defineProperty(_ref76, "".concat(nex.uniqueKey, "_label"), jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_label")), [])), _ref76;
|
|
1031
1103
|
};
|
|
1032
1104
|
};
|
|
1033
1105
|
var processMemberLevel = function processMemberLevel(getValue) {
|
|
1034
1106
|
return function (nex, config) {
|
|
1035
|
-
var
|
|
1036
|
-
return
|
|
1107
|
+
var _ref77;
|
|
1108
|
+
return _ref77 = {}, _defineProperty(_ref77, nex.uniqueKey, jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_memberLevel")), [])), _defineProperty(_ref77, "".concat(nex.uniqueKey, "_memberLevel"), jsonParseSecurity(getValue("".concat(nex.uniqueKey, "_memberLevel")), [])), _ref77;
|
|
1037
1109
|
};
|
|
1038
1110
|
};
|
|
1039
1111
|
var processAfterSalesOrderId = function processAfterSalesOrderId(getValue) {
|
|
@@ -1140,6 +1212,7 @@ var transformWorkOrderData = function transformWorkOrderData(templateColumns) {
|
|
|
1140
1212
|
WLN_LOGISTICS: processErpLogistics,
|
|
1141
1213
|
WDT_LOGISTICS: processErpLogistics,
|
|
1142
1214
|
GY_LOGISTICS: processErpLogistics,
|
|
1215
|
+
JY_LOGISTICS: processErpLogistics,
|
|
1143
1216
|
BS_E3_LOGISTICS: processErpLogistics,
|
|
1144
1217
|
KM_LOGISTICS: processErpLogistics,
|
|
1145
1218
|
BS_SEND_GOOD: processErpSendGood,
|
|
@@ -1148,11 +1221,14 @@ var transformWorkOrderData = function transformWorkOrderData(templateColumns) {
|
|
|
1148
1221
|
BS_E3_SEND_GOOD: processErpSendGood,
|
|
1149
1222
|
KM_SEND_GOOD: processErpSendGood,
|
|
1150
1223
|
GY_SEND_GOOD: processErpSendGood,
|
|
1224
|
+
JY_SEND_GOOD: processErpSendGood,
|
|
1151
1225
|
BS_POSTING: processBsPosting,
|
|
1152
1226
|
BS_GOODS: processBsGoods,
|
|
1227
|
+
ORDER_SUBFORM: processOrderSubForm(templateColumns),
|
|
1153
1228
|
WDT_GOODS: processWdtGoods(templateColumns),
|
|
1154
1229
|
BS_E3_GOODS: processBsE3Goods(templateColumns),
|
|
1155
1230
|
GY_GOODS: processGyGoods(templateColumns),
|
|
1231
|
+
JY_GOODS: processJyGoods(templateColumns),
|
|
1156
1232
|
KM_GOODS: processKmGoods(templateColumns),
|
|
1157
1233
|
KM_REISSUE_GOODS: processKmReissueGoods(templateColumns),
|
|
1158
1234
|
JST_GOODS: processJstGoods(templateColumns),
|
|
@@ -1170,8 +1246,10 @@ var transformWorkOrderData = function transformWorkOrderData(templateColumns) {
|
|
|
1170
1246
|
BS_E3_SYSTEM_ORDER: processErpSystemOrder,
|
|
1171
1247
|
JST_SYSTEM_ORDER: processErpSystemOrder,
|
|
1172
1248
|
GY_SYSTEM_ORDER: processErpSystemOrder,
|
|
1249
|
+
JY_SYSTEM_ORDER: processErpSystemOrder,
|
|
1173
1250
|
BUYER_MESSAGE_NOTICE: processBuyerMessageNotice,
|
|
1174
1251
|
ORDER_TYPE: processOrderType,
|
|
1252
|
+
ERP_ORDER_STATUS: processErpOrderStatus,
|
|
1175
1253
|
REFUND_TYPE: processRefundType,
|
|
1176
1254
|
RETURN_GOODS_TRADE_ID: processErpTradeId,
|
|
1177
1255
|
BS_DELIVERY_NO: processErpTradeId,
|
|
@@ -1214,7 +1292,9 @@ var transformWorkOrderData = function transformWorkOrderData(templateColumns) {
|
|
|
1214
1292
|
WDT_TAGS: wdtTags,
|
|
1215
1293
|
EXECUTE_ACTION_TYPE: processExecuteActionType,
|
|
1216
1294
|
SKX_GOODS: processSkxGoods,
|
|
1217
|
-
|
|
1295
|
+
SKX_RETURN_GOODS: processSkxReturnGoods,
|
|
1296
|
+
SKX_LOGISTICS: processErpLogistics,
|
|
1297
|
+
SKX_RETURN_LOGISTICS: processErpLogistics
|
|
1218
1298
|
}, Object.keys(processSingleFieldTypeMapping).reduce(function (acc, key) {
|
|
1219
1299
|
acc[key] = processSingleFieldByKey(processSingleFieldTypeMapping[key]);
|
|
1220
1300
|
return acc;
|
|
@@ -2,6 +2,7 @@ declare global {
|
|
|
2
2
|
interface Window {
|
|
3
3
|
invokerSDK?: (base64String: string, callback: (cmd: string, base64StringRes: string) => void) => void;
|
|
4
4
|
replyTradeInfo?: (res: string) => void;
|
|
5
|
+
receiveTabMsg?: (msg: string) => void;
|
|
5
6
|
}
|
|
6
7
|
}
|
|
7
8
|
declare const ware: {
|
|
@@ -128,5 +129,6 @@ declare const _default: {
|
|
|
128
129
|
remark: string;
|
|
129
130
|
} | undefined>;
|
|
130
131
|
getTradeInfoByBuyerId: (buyerId: string | number) => Promise<JDTradesRes>;
|
|
132
|
+
receiveTabMsg: (dispatch: any) => void;
|
|
131
133
|
};
|
|
132
134
|
export default _default;
|
|
@@ -249,8 +249,52 @@ var getActiveUserTardeInfo = function getActiveUserTardeInfo(orderId) {
|
|
|
249
249
|
}
|
|
250
250
|
});
|
|
251
251
|
};
|
|
252
|
+
var sendMsgToTab = function sendMsgToTab(dispatch) {
|
|
253
|
+
return function (msg) {
|
|
254
|
+
try {
|
|
255
|
+
var newMsg = base64ToJson(msg);
|
|
256
|
+
console.log('newMsg: ', newMsg);
|
|
257
|
+
// const newMsg = JSON.parse(msg);
|
|
258
|
+
if (newMsg.cmd === 'openCustomerServiceToDoCard') {
|
|
259
|
+
dispatch({
|
|
260
|
+
type: 'customizeWorkOrder/setCustomerServiceToDoListOpen',
|
|
261
|
+
payload: true
|
|
262
|
+
});
|
|
263
|
+
} else if (newMsg.cmd === 'openCustomerServiceToDoCardDetail') {
|
|
264
|
+
var _newMsg$param, _newMsg$param2, _newMsg$param3;
|
|
265
|
+
if (!(newMsg !== null && newMsg !== void 0 && newMsg.param)) {
|
|
266
|
+
return;
|
|
267
|
+
}
|
|
268
|
+
dispatch({
|
|
269
|
+
type: 'customizeWorkOrder/setCurrentCustomizeRecord',
|
|
270
|
+
payload: {
|
|
271
|
+
flowTemplateName: newMsg === null || newMsg === void 0 ? void 0 : (_newMsg$param = newMsg.param) === null || _newMsg$param === void 0 ? void 0 : _newMsg$param.flowTemplateName
|
|
272
|
+
}
|
|
273
|
+
});
|
|
274
|
+
dispatch({
|
|
275
|
+
type: 'customizeWorkOrder/setLogicFlowId',
|
|
276
|
+
payload: newMsg === null || newMsg === void 0 ? void 0 : (_newMsg$param2 = newMsg.param) === null || _newMsg$param2 === void 0 ? void 0 : _newMsg$param2.flowTemplateKey
|
|
277
|
+
});
|
|
278
|
+
dispatch({
|
|
279
|
+
type: 'customizeWorkOrder/setFlowWorkOrderId',
|
|
280
|
+
payload: newMsg === null || newMsg === void 0 ? void 0 : (_newMsg$param3 = newMsg.param) === null || _newMsg$param3 === void 0 ? void 0 : _newMsg$param3.flowWorkOrderId
|
|
281
|
+
});
|
|
282
|
+
dispatch({
|
|
283
|
+
type: 'customizeWorkOrder/setFormModalVisible',
|
|
284
|
+
payload: true
|
|
285
|
+
});
|
|
286
|
+
}
|
|
287
|
+
} catch (e) {
|
|
288
|
+
console.error('receiveTabMsg error: ', e);
|
|
289
|
+
}
|
|
290
|
+
};
|
|
291
|
+
};
|
|
292
|
+
var receiveTabMsg = function receiveTabMsg(dispatch) {
|
|
293
|
+
window.receiveTabMsg = sendMsgToTab(dispatch);
|
|
294
|
+
};
|
|
252
295
|
export default {
|
|
253
296
|
getActiveUser: getActiveUser,
|
|
254
297
|
getActiveUserTardeInfo: getActiveUserTardeInfo,
|
|
255
|
-
getTradeInfoByBuyerId: getTradeInfoByBuyerId
|
|
298
|
+
getTradeInfoByBuyerId: getTradeInfoByBuyerId,
|
|
299
|
+
receiveTabMsg: receiveTabMsg
|
|
256
300
|
};
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { default as WorkOrder } from './WorkOrder';
|
|
2
2
|
export { default as Login } from './Login';
|
|
3
|
+
export { default as LoginNew } from './LoginNew';
|
|
3
4
|
export { default as SingleShopWorkOrder } from './SingleShopWorkOrder';
|
|
4
5
|
export { default as FormRender } from './FormRender';
|
|
5
6
|
export { default as FormRenderTemplateId } from './FormRenderTemplateId';
|
|
@@ -7,6 +8,7 @@ export { default as FlowWorkOrderDetailV2 } from './FlowTemplateDetailV2';
|
|
|
7
8
|
export { default as TradeList } from './TradeList';
|
|
8
9
|
export { default as WdtTradeList } from './WdtTradeList';
|
|
9
10
|
export { default as FlowFormRender } from './FlowTemplateDetailV2/components/FormRender';
|
|
11
|
+
export { default as CustomerServiceToDoList } from './CustomerServiceToDoList';
|
|
10
12
|
export * as utils from './common/utils/tools';
|
|
11
13
|
export { default as submitDataTransOldFormat } from './common/utils/submitDataTransOldFormat';
|
|
12
14
|
export * as arithmetic from './common/utils/arithmetic';
|
package/dist/esm/index.js
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
*/
|
|
11
11
|
export { default as WorkOrder } from "./WorkOrder";
|
|
12
12
|
export { default as Login } from "./Login";
|
|
13
|
+
export { default as LoginNew } from "./LoginNew";
|
|
13
14
|
export { default as SingleShopWorkOrder } from "./SingleShopWorkOrder";
|
|
14
15
|
export { default as FormRender } from "./FormRender";
|
|
15
16
|
export { default as FormRenderTemplateId } from "./FormRenderTemplateId";
|
|
@@ -17,6 +18,7 @@ export { default as FlowWorkOrderDetailV2 } from "./FlowTemplateDetailV2";
|
|
|
17
18
|
export { default as TradeList } from "./TradeList";
|
|
18
19
|
export { default as WdtTradeList } from "./WdtTradeList";
|
|
19
20
|
export { default as FlowFormRender } from "./FlowTemplateDetailV2/components/FormRender";
|
|
21
|
+
export { default as CustomerServiceToDoList } from "./CustomerServiceToDoList";
|
|
20
22
|
import * as _utils from "./common/utils/tools";
|
|
21
23
|
export { _utils as utils };
|
|
22
24
|
export { default as submitDataTransOldFormat } from "./common/utils/submitDataTransOldFormat";
|
|
@@ -18,6 +18,6 @@ export declare const fetchFlatWorkOrder: (params: any) => Promise<import("../ser
|
|
|
18
18
|
* 查询所有工单下面的组件信息
|
|
19
19
|
*/
|
|
20
20
|
export declare const showPayment: (dispatch: any) => Promise<void>;
|
|
21
|
-
export declare const setDeleteCustomizeWorkOrderModalVisible: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "customizeWorkOrder/setDeleteCustomizeWorkOrderModalVisible">, setDealerModalVisible: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "customizeWorkOrder/setDealerModalVisible">, setCompanyUserList: import("@reduxjs/toolkit").ActionCreatorWithPayload<CompanyUserListI[], "customizeWorkOrder/setCompanyUserList">, setSelectedUserList: import("@reduxjs/toolkit").ActionCreatorWithPayload<string[], "customizeWorkOrder/setSelectedUserList">, setStatusSelectModalVisible: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "customizeWorkOrder/setStatusSelectModalVisible">, setLogModalVisible: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "customizeWorkOrder/setLogModalVisible">, setFormModalVisible: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "customizeWorkOrder/setFormModalVisible">, setTemplateId: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "customizeWorkOrder/setTemplateId">, setLogicFlowId: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "customizeWorkOrder/setLogicFlowId">, setFlowWorkOrderId: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "customizeWorkOrder/setFlowWorkOrderId">, setCustomizeFormShopId: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "customizeWorkOrder/setCustomizeFormShopId">, setCurrentCustomizeRecord: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "customizeWorkOrder/setCurrentCustomizeRecord">, setCurrentBuyerChecked: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "customizeWorkOrder/setCurrentBuyerChecked">, setAllTemplateList: import("@reduxjs/toolkit").ActionCreatorWithPayload<ComponentColumnsT[], "customizeWorkOrder/setAllTemplateList">, setRepeatModalVisible: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "customizeWorkOrder/setRepeatModalVisible">, setRepeatWorkOrderConditions: import("@reduxjs/toolkit").ActionCreatorWithPayload<ConditionsT, "customizeWorkOrder/setRepeatWorkOrderConditions">, setShowPayment: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "customizeWorkOrder/setShowPayment">;
|
|
21
|
+
export declare const setDeleteCustomizeWorkOrderModalVisible: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "customizeWorkOrder/setDeleteCustomizeWorkOrderModalVisible">, setDealerModalVisible: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "customizeWorkOrder/setDealerModalVisible">, setCompanyUserList: import("@reduxjs/toolkit").ActionCreatorWithPayload<CompanyUserListI[], "customizeWorkOrder/setCompanyUserList">, setSelectedUserList: import("@reduxjs/toolkit").ActionCreatorWithPayload<string[], "customizeWorkOrder/setSelectedUserList">, setStatusSelectModalVisible: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "customizeWorkOrder/setStatusSelectModalVisible">, setLogModalVisible: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "customizeWorkOrder/setLogModalVisible">, setFormModalVisible: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "customizeWorkOrder/setFormModalVisible">, setTemplateId: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "customizeWorkOrder/setTemplateId">, setLogicFlowId: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "customizeWorkOrder/setLogicFlowId">, setFlowWorkOrderId: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "customizeWorkOrder/setFlowWorkOrderId">, setCustomizeFormShopId: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "customizeWorkOrder/setCustomizeFormShopId">, setCurrentCustomizeRecord: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, "customizeWorkOrder/setCurrentCustomizeRecord">, setCurrentBuyerChecked: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "customizeWorkOrder/setCurrentBuyerChecked">, setAllTemplateList: import("@reduxjs/toolkit").ActionCreatorWithPayload<ComponentColumnsT[], "customizeWorkOrder/setAllTemplateList">, setRepeatModalVisible: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "customizeWorkOrder/setRepeatModalVisible">, setRepeatWorkOrderConditions: import("@reduxjs/toolkit").ActionCreatorWithPayload<ConditionsT, "customizeWorkOrder/setRepeatWorkOrderConditions">, setShowPayment: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "customizeWorkOrder/setShowPayment">, setCustomerServiceToDoListOpen: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "customizeWorkOrder/setCustomerServiceToDoListOpen">, setWorkOrderProcessStatus: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "customizeWorkOrder/setWorkOrderProcessStatus">;
|
|
22
22
|
declare const _default: import("redux").Reducer<CustomizeWorkOrderState, import("redux").AnyAction>;
|
|
23
23
|
export default _default;
|
|
@@ -37,7 +37,11 @@ export var initialState = {
|
|
|
37
37
|
// 全部工单列表
|
|
38
38
|
repeatWorkOrderVisible: false,
|
|
39
39
|
repeatWorkOrderConditions: {},
|
|
40
|
-
showPayment: true
|
|
40
|
+
showPayment: true,
|
|
41
|
+
// 是否展示打款工单入口
|
|
42
|
+
customerServiceToDoListOpen: false,
|
|
43
|
+
// 是否展示客服待办
|
|
44
|
+
workOrderProcessStatus: '' // 工单处理状态
|
|
41
45
|
};
|
|
42
46
|
|
|
43
47
|
/**
|
|
@@ -275,6 +279,14 @@ var slice = createSlice({
|
|
|
275
279
|
state.formModalVisible = false;
|
|
276
280
|
state.currentCustomizeRecord = {};
|
|
277
281
|
state.repeatWorkOrderVisible = false;
|
|
282
|
+
},
|
|
283
|
+
setCustomerServiceToDoListOpen: function setCustomerServiceToDoListOpen(state, _ref23) {
|
|
284
|
+
var payload = _ref23.payload;
|
|
285
|
+
state.customerServiceToDoListOpen = payload;
|
|
286
|
+
},
|
|
287
|
+
setWorkOrderProcessStatus: function setWorkOrderProcessStatus(state, _ref24) {
|
|
288
|
+
var payload = _ref24.payload;
|
|
289
|
+
state.workOrderProcessStatus = payload;
|
|
278
290
|
}
|
|
279
291
|
}
|
|
280
292
|
});
|
|
@@ -295,6 +307,8 @@ var _slice$actions = slice.actions,
|
|
|
295
307
|
setAllTemplateList = _slice$actions.setAllTemplateList,
|
|
296
308
|
setRepeatModalVisible = _slice$actions.setRepeatModalVisible,
|
|
297
309
|
setRepeatWorkOrderConditions = _slice$actions.setRepeatWorkOrderConditions,
|
|
298
|
-
setShowPayment = _slice$actions.setShowPayment
|
|
299
|
-
|
|
310
|
+
setShowPayment = _slice$actions.setShowPayment,
|
|
311
|
+
setCustomerServiceToDoListOpen = _slice$actions.setCustomerServiceToDoListOpen,
|
|
312
|
+
setWorkOrderProcessStatus = _slice$actions.setWorkOrderProcessStatus;
|
|
313
|
+
export { setDeleteCustomizeWorkOrderModalVisible, setDealerModalVisible, setCompanyUserList, setSelectedUserList, setStatusSelectModalVisible, setLogModalVisible, setFormModalVisible, setTemplateId, setLogicFlowId, setFlowWorkOrderId, setCustomizeFormShopId, setCurrentCustomizeRecord, setCurrentBuyerChecked, setAllTemplateList, setRepeatModalVisible, setRepeatWorkOrderConditions, setShowPayment, setCustomerServiceToDoListOpen, setWorkOrderProcessStatus };
|
|
300
314
|
export default slice.reducer;
|
|
@@ -34,6 +34,8 @@ export interface CustomizeWorkOrderState {
|
|
|
34
34
|
repeatWorkOrderVisible: boolean;
|
|
35
35
|
repeatWorkOrderConditions: ConditionsT;
|
|
36
36
|
showPayment: boolean;
|
|
37
|
+
customerServiceToDoListOpen: boolean;
|
|
38
|
+
workOrderProcessStatus: string;
|
|
37
39
|
}
|
|
38
40
|
export interface ColumnsConfigI {
|
|
39
41
|
show: boolean;
|
|
@@ -85,3 +85,8 @@ export declare const restartAutoTask: (data: any) => Promise<serverProps<any>>;
|
|
|
85
85
|
export declare const queryFlowReturnResult: (data: any) => Promise<serverProps<any>>;
|
|
86
86
|
export declare const queryFlowFail: (data: any) => Promise<serverProps<any>>;
|
|
87
87
|
export declare const followOrUnFollow: (data: any) => Promise<serverProps<any>>;
|
|
88
|
+
export declare const queryShareNodeConfig: (companyKey: string, flowTemplateKey: string) => Promise<serverProps<any>>;
|
|
89
|
+
export declare const getH5SharePermission: () => Promise<serverProps<any>>;
|
|
90
|
+
export declare const shortLink: (data: any) => Promise<serverProps<any>>;
|
|
91
|
+
export declare const createNodeLink: (data: any) => Promise<serverProps<any>>;
|
|
92
|
+
export declare const createLink: (data: any) => Promise<serverProps<any>>;
|
|
@@ -209,4 +209,44 @@ export var followOrUnFollow = function followOrUnFollow(data) {
|
|
|
209
209
|
method: 'post',
|
|
210
210
|
data: data
|
|
211
211
|
});
|
|
212
|
+
};
|
|
213
|
+
|
|
214
|
+
//查询分享节点配置
|
|
215
|
+
export var queryShareNodeConfig = function queryShareNodeConfig(companyKey, flowTemplateKey) {
|
|
216
|
+
return request({
|
|
217
|
+
url: "/qy/workOrder/share/nodeConfigQuery/".concat(companyKey, "/").concat(flowTemplateKey),
|
|
218
|
+
method: 'get',
|
|
219
|
+
data: {}
|
|
220
|
+
});
|
|
221
|
+
};
|
|
222
|
+
// 获取H5分享权限
|
|
223
|
+
export var getH5SharePermission = function getH5SharePermission() {
|
|
224
|
+
return request({
|
|
225
|
+
url: "/qy/gdfw/official/queryWorkOrderShareTemplate",
|
|
226
|
+
method: 'post',
|
|
227
|
+
data: {}
|
|
228
|
+
});
|
|
229
|
+
};
|
|
230
|
+
export var shortLink = function shortLink(data) {
|
|
231
|
+
return request({
|
|
232
|
+
url: "/qy/gdfw/official/shareLongUrlToShort/noLogin",
|
|
233
|
+
method: 'get',
|
|
234
|
+
data: data
|
|
235
|
+
});
|
|
236
|
+
};
|
|
237
|
+
//生成节点的分享链接
|
|
238
|
+
export var createNodeLink = function createNodeLink(data) {
|
|
239
|
+
return request({
|
|
240
|
+
url: "/qy/workOrder/share/createNodeLink",
|
|
241
|
+
method: 'get',
|
|
242
|
+
data: data
|
|
243
|
+
});
|
|
244
|
+
};
|
|
245
|
+
//生成工单创建的分享链接
|
|
246
|
+
export var createLink = function createLink(data) {
|
|
247
|
+
return request({
|
|
248
|
+
url: "/qy/workOrder/share/createLink",
|
|
249
|
+
method: 'get',
|
|
250
|
+
data: data
|
|
251
|
+
});
|
|
212
252
|
};
|
|
@@ -29,6 +29,7 @@ export interface PlatFormInfo {
|
|
|
29
29
|
companyKey: string;
|
|
30
30
|
subOrderNo?: string;
|
|
31
31
|
bindERP?: boolean;
|
|
32
|
+
hasSuperAdminRole?: boolean;
|
|
32
33
|
}
|
|
33
34
|
export declare type CurrentNodeDetail = Pick<QyFlowPanelInfoResponse, 'currentNodeDetail'>;
|
|
34
35
|
export declare type CurrentFlowShowHideRules = Pick<QyFlowPanelInfoResponse, 'allShowHideRules'>;
|
|
@@ -76,6 +77,9 @@ export interface FlowTemplateDetailState {
|
|
|
76
77
|
rejectLoading: boolean;
|
|
77
78
|
withdrawLoading: boolean;
|
|
78
79
|
follow: boolean;
|
|
80
|
+
privilege: string;
|
|
81
|
+
showShareButton: boolean;
|
|
82
|
+
hasH5SharePermission: boolean;
|
|
79
83
|
}
|
|
80
84
|
export interface QyFlowPanelInfoRequest {
|
|
81
85
|
/**
|
|
@@ -6,6 +6,7 @@ export declare const selectFlowList: ((state: {
|
|
|
6
6
|
paymentWorkOrder: import("../paymentWorkOrder/types").PaymentWorkOrderState;
|
|
7
7
|
singleWorkOrder: import("../singleShopWorkOrder/types").SingleWorkOrderState;
|
|
8
8
|
logicFlow: import("./types").LogicFlowState;
|
|
9
|
+
flowWOrkOrderDetail: import("../flowTemplateDetail/types").FlowTemplateDetailState;
|
|
9
10
|
}) => import("./types").LogicFlow[]) & import("reselect").OutputSelectorFields<(args_0: import("./types").LogicFlowState) => import("./types").LogicFlow[], {
|
|
10
11
|
clearCache: () => void;
|
|
11
12
|
}> & {
|
|
@@ -19,6 +20,7 @@ export declare const selectGroupFlowList: ((state: {
|
|
|
19
20
|
paymentWorkOrder: import("../paymentWorkOrder/types").PaymentWorkOrderState;
|
|
20
21
|
singleWorkOrder: import("../singleShopWorkOrder/types").SingleWorkOrderState;
|
|
21
22
|
logicFlow: import("./types").LogicFlowState;
|
|
23
|
+
flowWOrkOrderDetail: import("../flowTemplateDetail/types").FlowTemplateDetailState;
|
|
22
24
|
}) => import("./types").Option[]) & import("reselect").OutputSelectorFields<(args_0: import("./types").LogicFlowState) => import("./types").Option[], {
|
|
23
25
|
clearCache: () => void;
|
|
24
26
|
}> & {
|
|
@@ -32,6 +34,7 @@ export declare const selectFlowTemplateGroupWorkOrderTemplateList: ((state: {
|
|
|
32
34
|
paymentWorkOrder: import("../paymentWorkOrder/types").PaymentWorkOrderState;
|
|
33
35
|
singleWorkOrder: import("../singleShopWorkOrder/types").SingleWorkOrderState;
|
|
34
36
|
logicFlow: import("./types").LogicFlowState;
|
|
37
|
+
flowWOrkOrderDetail: import("../flowTemplateDetail/types").FlowTemplateDetailState;
|
|
35
38
|
}) => import("./types").Option[]) & import("reselect").OutputSelectorFields<(args_0: import("./types").LogicFlowState) => import("./types").Option[], {
|
|
36
39
|
clearCache: () => void;
|
|
37
40
|
}> & {
|
|
@@ -27,6 +27,16 @@ export declare const fetchLogin: import("@reduxjs/toolkit").AsyncThunk<any, Logi
|
|
|
27
27
|
fulfilledMeta?: unknown;
|
|
28
28
|
rejectedMeta?: unknown;
|
|
29
29
|
}>;
|
|
30
|
+
export declare const fetchLoginNew: import("@reduxjs/toolkit").AsyncThunk<any, LoginParams, {
|
|
31
|
+
state?: unknown;
|
|
32
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
33
|
+
extra?: unknown;
|
|
34
|
+
rejectValue?: unknown;
|
|
35
|
+
serializedErrorType?: unknown;
|
|
36
|
+
pendingMeta?: unknown;
|
|
37
|
+
fulfilledMeta?: unknown;
|
|
38
|
+
rejectedMeta?: unknown;
|
|
39
|
+
}>;
|
|
30
40
|
export declare const fetchShopList: import("@reduxjs/toolkit").AsyncThunk<any, void, {
|
|
31
41
|
state?: unknown;
|
|
32
42
|
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|