@kmkf-fe-packages/kmkf-work-order-service-component 2.7.3-beta.12 → 2.7.3-beta.14
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/XiaozhiConversation/index.d.ts +1 -0
- package/dist/esm/FlowTemplateDetailV2/components/XiaozhiConversation/index.js +113 -25
- package/dist/esm/FlowTemplateDetailV2/index.js +1 -0
- package/dist/esm/model/logicFlow/selector.d.ts +3 -0
- package/dist/esm/model/paymentWorkOrder/selector.d.ts +9 -0
- package/dist/esm/model/singleShopWorkOrder/selector.d.ts +5 -0
- package/package.json +2 -2
|
@@ -1,8 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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 _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
3
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
4
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
5
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
6
|
+
function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
|
|
7
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
8
|
+
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; }
|
|
9
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
10
|
+
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
11
|
+
import React, { useState } from 'react';
|
|
12
|
+
import { Tooltip, Image, Spin, message } from 'antd';
|
|
3
13
|
import { Base64 } from 'js-base64';
|
|
4
14
|
import contact from "../../../common/imgs/contact.png";
|
|
15
|
+
import request from "../../../model/servers/request";
|
|
5
16
|
var SUPPORTED_PLATFORMS = [0, 2, 3, 5, 6, 24];
|
|
17
|
+
// 需要 buyer 参数的平台:京东、拼多多、抖音
|
|
18
|
+
var NEED_BUYER_PLATFORMS = [2, 3, 6];
|
|
6
19
|
var platformTypeMap = {
|
|
7
20
|
0: 1,
|
|
8
21
|
// 淘宝
|
|
@@ -17,12 +30,44 @@ var platformTypeMap = {
|
|
|
17
30
|
24: 6 // 小红书
|
|
18
31
|
};
|
|
19
32
|
|
|
20
|
-
|
|
21
|
-
var
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
33
|
+
var fetchBuyerOpenUid = /*#__PURE__*/function () {
|
|
34
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(flowWorkOrderId) {
|
|
35
|
+
var _res$data, res;
|
|
36
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
37
|
+
while (1) switch (_context.prev = _context.next) {
|
|
38
|
+
case 0:
|
|
39
|
+
_context.prev = 0;
|
|
40
|
+
_context.next = 3;
|
|
41
|
+
return request({
|
|
42
|
+
url: '/qy/flow/queryFlowWorkOrder',
|
|
43
|
+
method: 'get',
|
|
44
|
+
data: {
|
|
45
|
+
flowWorkOrderId: flowWorkOrderId
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
case 3:
|
|
49
|
+
res = _context.sent;
|
|
50
|
+
return _context.abrupt("return", res === null || res === void 0 ? void 0 : (_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.buyerOpenUid);
|
|
51
|
+
case 7:
|
|
52
|
+
_context.prev = 7;
|
|
53
|
+
_context.t0 = _context["catch"](0);
|
|
54
|
+
return _context.abrupt("return", undefined);
|
|
55
|
+
case 10:
|
|
56
|
+
case "end":
|
|
57
|
+
return _context.stop();
|
|
58
|
+
}
|
|
59
|
+
}, _callee, null, [[0, 7]]);
|
|
60
|
+
}));
|
|
61
|
+
return function fetchBuyerOpenUid(_x) {
|
|
62
|
+
return _ref.apply(this, arguments);
|
|
63
|
+
};
|
|
64
|
+
}();
|
|
65
|
+
export var openCustomerDialog = function openCustomerDialog(_ref2) {
|
|
66
|
+
var shopName = _ref2.shopName,
|
|
67
|
+
platformType = _ref2.platformType,
|
|
68
|
+
orderNumber = _ref2.orderNumber,
|
|
69
|
+
buyer = _ref2.buyer,
|
|
70
|
+
onJumpPage = _ref2.onJumpPage;
|
|
26
71
|
var type = platformTypeMap[platformType];
|
|
27
72
|
if (!type) return;
|
|
28
73
|
var param = {
|
|
@@ -32,7 +77,7 @@ export var openCustomerDialog = function openCustomerDialog(_ref) {
|
|
|
32
77
|
};
|
|
33
78
|
|
|
34
79
|
// 京东、拼多多、抖音平台添加 buyer 参数
|
|
35
|
-
if (
|
|
80
|
+
if (NEED_BUYER_PLATFORMS.includes(platformType)) {
|
|
36
81
|
param.buyer = buyer;
|
|
37
82
|
}
|
|
38
83
|
var params = {
|
|
@@ -47,24 +92,65 @@ export var openCustomerDialog = function openCustomerDialog(_ref) {
|
|
|
47
92
|
params: base64String
|
|
48
93
|
});
|
|
49
94
|
};
|
|
50
|
-
var JumpCustomerIcon = function JumpCustomerIcon(
|
|
51
|
-
var tid =
|
|
52
|
-
shopName =
|
|
53
|
-
platformType =
|
|
54
|
-
buyer =
|
|
55
|
-
|
|
95
|
+
var JumpCustomerIcon = function JumpCustomerIcon(_ref3) {
|
|
96
|
+
var tid = _ref3.tid,
|
|
97
|
+
shopName = _ref3.shopName,
|
|
98
|
+
platformType = _ref3.platformType,
|
|
99
|
+
buyer = _ref3.buyer,
|
|
100
|
+
flowWorkOrderId = _ref3.flowWorkOrderId,
|
|
101
|
+
onJumpPage = _ref3.onJumpPage;
|
|
102
|
+
var _useState = useState(false),
|
|
103
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
104
|
+
loading = _useState2[0],
|
|
105
|
+
setLoading = _useState2[1];
|
|
56
106
|
if (!tid || !SUPPORTED_PLATFORMS.includes(platformType)) {
|
|
57
107
|
return null;
|
|
58
108
|
}
|
|
59
|
-
var handleClick = function
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
109
|
+
var handleClick = /*#__PURE__*/function () {
|
|
110
|
+
var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
111
|
+
var fetchedBuyer;
|
|
112
|
+
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
113
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
114
|
+
case 0:
|
|
115
|
+
if (!(NEED_BUYER_PLATFORMS.includes(platformType) && !buyer && flowWorkOrderId)) {
|
|
116
|
+
_context2.next = 9;
|
|
117
|
+
break;
|
|
118
|
+
}
|
|
119
|
+
setLoading(true);
|
|
120
|
+
_context2.next = 4;
|
|
121
|
+
return fetchBuyerOpenUid(flowWorkOrderId);
|
|
122
|
+
case 4:
|
|
123
|
+
fetchedBuyer = _context2.sent;
|
|
124
|
+
setLoading(false);
|
|
125
|
+
if (!fetchedBuyer) {
|
|
126
|
+
message.warning('未获取到买家信息');
|
|
127
|
+
}
|
|
128
|
+
openCustomerDialog({
|
|
129
|
+
shopName: shopName,
|
|
130
|
+
platformType: platformType,
|
|
131
|
+
orderNumber: tid,
|
|
132
|
+
buyer: fetchedBuyer,
|
|
133
|
+
onJumpPage: onJumpPage
|
|
134
|
+
});
|
|
135
|
+
return _context2.abrupt("return");
|
|
136
|
+
case 9:
|
|
137
|
+
openCustomerDialog({
|
|
138
|
+
shopName: shopName,
|
|
139
|
+
platformType: platformType,
|
|
140
|
+
orderNumber: tid,
|
|
141
|
+
buyer: buyer,
|
|
142
|
+
onJumpPage: onJumpPage
|
|
143
|
+
});
|
|
144
|
+
case 10:
|
|
145
|
+
case "end":
|
|
146
|
+
return _context2.stop();
|
|
147
|
+
}
|
|
148
|
+
}, _callee2);
|
|
149
|
+
}));
|
|
150
|
+
return function handleClick() {
|
|
151
|
+
return _ref4.apply(this, arguments);
|
|
152
|
+
};
|
|
153
|
+
}();
|
|
68
154
|
return /*#__PURE__*/React.createElement(Tooltip, {
|
|
69
155
|
title: "\u6253\u5F00\u5C0F\u667A\u5BA2\u6237\u7AEF"
|
|
70
156
|
}, /*#__PURE__*/React.createElement("span", {
|
|
@@ -74,7 +160,9 @@ var JumpCustomerIcon = function JumpCustomerIcon(_ref2) {
|
|
|
74
160
|
position: 'relative',
|
|
75
161
|
top: '-2px'
|
|
76
162
|
}
|
|
77
|
-
}, /*#__PURE__*/React.createElement(
|
|
163
|
+
}, loading ? /*#__PURE__*/React.createElement(Spin, {
|
|
164
|
+
size: "small"
|
|
165
|
+
}) : /*#__PURE__*/React.createElement(Image, {
|
|
78
166
|
src: contact,
|
|
79
167
|
preview: false,
|
|
80
168
|
width: 14
|
|
@@ -1401,6 +1401,7 @@ var FlowTemplateDetail = function FlowTemplateDetail(props) {
|
|
|
1401
1401
|
shopName: shopItem.shopSource == 0 ? shopItem.thirdUserNick : shopItem.shopName,
|
|
1402
1402
|
platformType: shopItem.shopSource,
|
|
1403
1403
|
buyer: (otherInfo === null || otherInfo === void 0 ? void 0 : otherInfo.buyerOpenUid) || (currentNodeDetail === null || currentNodeDetail === void 0 ? void 0 : (_currentNodeDetail$wo29 = currentNodeDetail.workOrder) === null || _currentNodeDetail$wo29 === void 0 ? void 0 : _currentNodeDetail$wo29.buyerOpenUid),
|
|
1404
|
+
flowWorkOrderId: flowWorkOrderIdState,
|
|
1404
1405
|
onJumpPage: onJumpPage
|
|
1405
1406
|
}), showImplementationEnter && /*#__PURE__*/React.createElement(Button, {
|
|
1406
1407
|
onClick: openFeedbackModal,
|
|
@@ -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
|
}> & {
|
|
@@ -6,6 +6,7 @@ export declare const selectPaymentWorkOrderExamineModalVisible: ((state: {
|
|
|
6
6
|
paymentWorkOrder: import("./types").PaymentWorkOrderState;
|
|
7
7
|
singleWorkOrder: import("../singleShopWorkOrder/types").SingleWorkOrderState;
|
|
8
8
|
logicFlow: import("../logicFlow/types").LogicFlowState;
|
|
9
|
+
flowWOrkOrderDetail: import("../flowTemplateDetail/types").FlowTemplateDetailState;
|
|
9
10
|
}) => boolean) & import("reselect").OutputSelectorFields<(args_0: import("./types").PaymentWorkOrderState) => boolean, {
|
|
10
11
|
clearCache: () => void;
|
|
11
12
|
}> & {
|
|
@@ -19,6 +20,7 @@ export declare const selectCurrentPaymentRecord: ((state: {
|
|
|
19
20
|
paymentWorkOrder: import("./types").PaymentWorkOrderState;
|
|
20
21
|
singleWorkOrder: import("../singleShopWorkOrder/types").SingleWorkOrderState;
|
|
21
22
|
logicFlow: import("../logicFlow/types").LogicFlowState;
|
|
23
|
+
flowWOrkOrderDetail: import("../flowTemplateDetail/types").FlowTemplateDetailState;
|
|
22
24
|
}) => any) & import("reselect").OutputSelectorFields<(args_0: import("./types").PaymentWorkOrderState) => any, {
|
|
23
25
|
clearCache: () => void;
|
|
24
26
|
}> & {
|
|
@@ -32,6 +34,7 @@ export declare const selectPaymentWorkOrderUnExamineModalVisible: ((state: {
|
|
|
32
34
|
paymentWorkOrder: import("./types").PaymentWorkOrderState;
|
|
33
35
|
singleWorkOrder: import("../singleShopWorkOrder/types").SingleWorkOrderState;
|
|
34
36
|
logicFlow: import("../logicFlow/types").LogicFlowState;
|
|
37
|
+
flowWOrkOrderDetail: import("../flowTemplateDetail/types").FlowTemplateDetailState;
|
|
35
38
|
}) => boolean) & import("reselect").OutputSelectorFields<(args_0: import("./types").PaymentWorkOrderState) => boolean, {
|
|
36
39
|
clearCache: () => void;
|
|
37
40
|
}> & {
|
|
@@ -45,6 +48,7 @@ export declare const selectDeletePaymentWorkOrderVisible: ((state: {
|
|
|
45
48
|
paymentWorkOrder: import("./types").PaymentWorkOrderState;
|
|
46
49
|
singleWorkOrder: import("../singleShopWorkOrder/types").SingleWorkOrderState;
|
|
47
50
|
logicFlow: import("../logicFlow/types").LogicFlowState;
|
|
51
|
+
flowWOrkOrderDetail: import("../flowTemplateDetail/types").FlowTemplateDetailState;
|
|
48
52
|
}) => boolean) & import("reselect").OutputSelectorFields<(args_0: import("./types").PaymentWorkOrderState) => boolean, {
|
|
49
53
|
clearCache: () => void;
|
|
50
54
|
}> & {
|
|
@@ -58,6 +62,7 @@ export declare const selectFlagPayModalVisible: ((state: {
|
|
|
58
62
|
paymentWorkOrder: import("./types").PaymentWorkOrderState;
|
|
59
63
|
singleWorkOrder: import("../singleShopWorkOrder/types").SingleWorkOrderState;
|
|
60
64
|
logicFlow: import("../logicFlow/types").LogicFlowState;
|
|
65
|
+
flowWOrkOrderDetail: import("../flowTemplateDetail/types").FlowTemplateDetailState;
|
|
61
66
|
}) => boolean) & import("reselect").OutputSelectorFields<(args_0: import("./types").PaymentWorkOrderState) => boolean, {
|
|
62
67
|
clearCache: () => void;
|
|
63
68
|
}> & {
|
|
@@ -71,6 +76,7 @@ export declare const selectLogModalVisible: ((state: {
|
|
|
71
76
|
paymentWorkOrder: import("./types").PaymentWorkOrderState;
|
|
72
77
|
singleWorkOrder: import("../singleShopWorkOrder/types").SingleWorkOrderState;
|
|
73
78
|
logicFlow: import("../logicFlow/types").LogicFlowState;
|
|
79
|
+
flowWOrkOrderDetail: import("../flowTemplateDetail/types").FlowTemplateDetailState;
|
|
74
80
|
}) => boolean) & import("reselect").OutputSelectorFields<(args_0: import("./types").PaymentWorkOrderState) => boolean, {
|
|
75
81
|
clearCache: () => void;
|
|
76
82
|
}> & {
|
|
@@ -84,6 +90,7 @@ export declare const selectPaymentFormModalVisible: ((state: {
|
|
|
84
90
|
paymentWorkOrder: import("./types").PaymentWorkOrderState;
|
|
85
91
|
singleWorkOrder: import("../singleShopWorkOrder/types").SingleWorkOrderState;
|
|
86
92
|
logicFlow: import("../logicFlow/types").LogicFlowState;
|
|
93
|
+
flowWOrkOrderDetail: import("../flowTemplateDetail/types").FlowTemplateDetailState;
|
|
87
94
|
}) => boolean) & import("reselect").OutputSelectorFields<(args_0: import("./types").PaymentWorkOrderState) => boolean, {
|
|
88
95
|
clearCache: () => void;
|
|
89
96
|
}> & {
|
|
@@ -97,6 +104,7 @@ export declare const selectRepeatVisible: ((state: {
|
|
|
97
104
|
paymentWorkOrder: import("./types").PaymentWorkOrderState;
|
|
98
105
|
singleWorkOrder: import("../singleShopWorkOrder/types").SingleWorkOrderState;
|
|
99
106
|
logicFlow: import("../logicFlow/types").LogicFlowState;
|
|
107
|
+
flowWOrkOrderDetail: import("../flowTemplateDetail/types").FlowTemplateDetailState;
|
|
100
108
|
}) => boolean) & import("reselect").OutputSelectorFields<(args_0: import("./types").PaymentWorkOrderState) => boolean, {
|
|
101
109
|
clearCache: () => void;
|
|
102
110
|
}> & {
|
|
@@ -110,6 +118,7 @@ export declare const selectRepeatWorkOrderList: ((state: {
|
|
|
110
118
|
paymentWorkOrder: import("./types").PaymentWorkOrderState;
|
|
111
119
|
singleWorkOrder: import("../singleShopWorkOrder/types").SingleWorkOrderState;
|
|
112
120
|
logicFlow: import("../logicFlow/types").LogicFlowState;
|
|
121
|
+
flowWOrkOrderDetail: import("../flowTemplateDetail/types").FlowTemplateDetailState;
|
|
113
122
|
}) => string[]) & import("reselect").OutputSelectorFields<(args_0: import("./types").PaymentWorkOrderState) => string[], {
|
|
114
123
|
clearCache: () => void;
|
|
115
124
|
}> & {
|
|
@@ -6,6 +6,7 @@ export declare const selectorSingleTemplateList: ((state: {
|
|
|
6
6
|
paymentWorkOrder: import("../paymentWorkOrder/types").PaymentWorkOrderState;
|
|
7
7
|
singleWorkOrder: import("./types").SingleWorkOrderState;
|
|
8
8
|
logicFlow: import("../logicFlow/types").LogicFlowState;
|
|
9
|
+
flowWOrkOrderDetail: import("../flowTemplateDetail/types").FlowTemplateDetailState;
|
|
9
10
|
}) => import("./types").SelectI[]) & import("reselect").OutputSelectorFields<(args_0: import("./types").SingleWorkOrderState) => import("./types").SelectI[], {
|
|
10
11
|
clearCache: () => void;
|
|
11
12
|
}> & {
|
|
@@ -19,6 +20,7 @@ export declare const selectDeleteCustomizeWorkOrderModalVisible: ((state: {
|
|
|
19
20
|
paymentWorkOrder: import("../paymentWorkOrder/types").PaymentWorkOrderState;
|
|
20
21
|
singleWorkOrder: import("./types").SingleWorkOrderState;
|
|
21
22
|
logicFlow: import("../logicFlow/types").LogicFlowState;
|
|
23
|
+
flowWOrkOrderDetail: import("../flowTemplateDetail/types").FlowTemplateDetailState;
|
|
22
24
|
}) => boolean) & import("reselect").OutputSelectorFields<(args_0: import("./types").SingleWorkOrderState) => boolean, {
|
|
23
25
|
clearCache: () => void;
|
|
24
26
|
}> & {
|
|
@@ -32,6 +34,7 @@ export declare const selectorCurrentCustomizeRecord: ((state: {
|
|
|
32
34
|
paymentWorkOrder: import("../paymentWorkOrder/types").PaymentWorkOrderState;
|
|
33
35
|
singleWorkOrder: import("./types").SingleWorkOrderState;
|
|
34
36
|
logicFlow: import("../logicFlow/types").LogicFlowState;
|
|
37
|
+
flowWOrkOrderDetail: import("../flowTemplateDetail/types").FlowTemplateDetailState;
|
|
35
38
|
}) => any) & import("reselect").OutputSelectorFields<(args_0: import("./types").SingleWorkOrderState) => any, {
|
|
36
39
|
clearCache: () => void;
|
|
37
40
|
}> & {
|
|
@@ -45,6 +48,7 @@ export declare const selectorTemplateId: ((state: {
|
|
|
45
48
|
paymentWorkOrder: import("../paymentWorkOrder/types").PaymentWorkOrderState;
|
|
46
49
|
singleWorkOrder: import("./types").SingleWorkOrderState;
|
|
47
50
|
logicFlow: import("../logicFlow/types").LogicFlowState;
|
|
51
|
+
flowWOrkOrderDetail: import("../flowTemplateDetail/types").FlowTemplateDetailState;
|
|
48
52
|
}) => string) & import("reselect").OutputSelectorFields<(args_0: import("./types").SingleWorkOrderState) => string, {
|
|
49
53
|
clearCache: () => void;
|
|
50
54
|
}> & {
|
|
@@ -58,6 +62,7 @@ export declare const selectorFormModalVisible: ((state: {
|
|
|
58
62
|
paymentWorkOrder: import("../paymentWorkOrder/types").PaymentWorkOrderState;
|
|
59
63
|
singleWorkOrder: import("./types").SingleWorkOrderState;
|
|
60
64
|
logicFlow: import("../logicFlow/types").LogicFlowState;
|
|
65
|
+
flowWOrkOrderDetail: import("../flowTemplateDetail/types").FlowTemplateDetailState;
|
|
61
66
|
}) => boolean) & import("reselect").OutputSelectorFields<(args_0: import("./types").SingleWorkOrderState) => boolean, {
|
|
62
67
|
clearCache: () => void;
|
|
63
68
|
}> & {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/kmkf-work-order-service-component",
|
|
3
|
-
"version": "2.7.3-beta.
|
|
3
|
+
"version": "2.7.3-beta.14",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"publishConfig": {
|
|
76
76
|
"access": "public"
|
|
77
77
|
},
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "38aca0f65dd4db5de7a6697e6ecd7ff831fcdc22",
|
|
79
79
|
"gitHooks": {
|
|
80
80
|
"pre-commit": "lint-staged"
|
|
81
81
|
}
|