@kmkf-fe-packages/kmkf-work-order-service-component 2.2.13-beta.50 → 2.2.13-beta.52
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/CurrentNode/index.js +5 -1
- package/dist/esm/FlowTemplateDetailV2/components/FormRender/index.js +6 -1
- package/dist/esm/FlowTemplateDetailV2/components/Item/index.js +5 -1
- package/dist/esm/FlowTemplateDetailV2/components/RemarkListModal/index.d.ts +1 -0
- package/dist/esm/FlowTemplateDetailV2/components/RemarkListModal/index.js +19 -11
- package/dist/esm/FlowTemplateDetailV2/index.js +2 -1
- package/dist/esm/common/utils/tools.js +18 -10
- 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 +5 -5
|
@@ -20,6 +20,7 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
|
20
20
|
import React, { useEffect, useMemo, useState, useRef, forwardRef, useImperativeHandle, useContext } from 'react';
|
|
21
21
|
import { message } from 'antd';
|
|
22
22
|
import { useMemoizedFn } from 'ahooks';
|
|
23
|
+
import { get, find } from 'lodash';
|
|
23
24
|
import { calcWorkOrderList, submitParams } from "../../../common/utils/tools";
|
|
24
25
|
import { FlowStatus, NodeType, NodeStatus } from "../../../model/flowTemplateDetail/types";
|
|
25
26
|
import { modifyWorkOrder, restartAutoTask } from "../../../model/flowTemplateDetail/api";
|
|
@@ -203,7 +204,10 @@ var CurrentNode = function CurrentNode(props, ref) {
|
|
|
203
204
|
flowWorkOrderId: flowWorkOrderId,
|
|
204
205
|
workOrderId: currentNodeDetail === null || currentNodeDetail === void 0 ? void 0 : (_currentNodeDetail$wo8 = currentNodeDetail.workOrder) === null || _currentNodeDetail$wo8 === void 0 ? void 0 : _currentNodeDetail$wo8.id,
|
|
205
206
|
workOrderUpdateTime: currentNodeDetail === null || currentNodeDetail === void 0 ? void 0 : (_currentNodeDetail$wo9 = currentNodeDetail.workOrder) === null || _currentNodeDetail$wo9 === void 0 ? void 0 : _currentNodeDetail$wo9.update
|
|
206
|
-
})
|
|
207
|
+
}),
|
|
208
|
+
shopUniqueKey: get(find(shopList, function (s) {
|
|
209
|
+
return s.shopId === formData.shopId;
|
|
210
|
+
}), 'accessToken', '')
|
|
207
211
|
});
|
|
208
212
|
_context.next = 7;
|
|
209
213
|
return modifyWorkOrder(params);
|
|
@@ -101,6 +101,11 @@ var FormRender = function FormRender(props, ref) {
|
|
|
101
101
|
});
|
|
102
102
|
return json;
|
|
103
103
|
}, [shopList]);
|
|
104
|
+
var userInfo = JSON.parse(localStorage.getItem('reduxData_userInfo') || '{}');
|
|
105
|
+
var canEditShopName = useMemo(function () {
|
|
106
|
+
var _userInfo$companyUser, _userInfo$companyUser2;
|
|
107
|
+
return (userInfo === null || userInfo === void 0 ? void 0 : (_userInfo$companyUser = userInfo.companyUserConfig) === null || _userInfo$companyUser === void 0 ? void 0 : (_userInfo$companyUser2 = _userInfo$companyUser.pc) === null || _userInfo$companyUser2 === void 0 ? void 0 : _userInfo$companyUser2.canEditShopName) || true;
|
|
108
|
+
}, [userInfo]);
|
|
104
109
|
var mappingConfig = useMemo(function () {
|
|
105
110
|
return getMappingConfigByTemplateDetail(templateDetail);
|
|
106
111
|
}, [templateDetail]);
|
|
@@ -1609,7 +1614,7 @@ var FormRender = function FormRender(props, ref) {
|
|
|
1609
1614
|
shopList: shopList,
|
|
1610
1615
|
handleChangeShopId: handleChangeShopId,
|
|
1611
1616
|
hidden: !isShowShopList,
|
|
1612
|
-
disabled: !!workOrderId || look
|
|
1617
|
+
disabled: (!!workOrderId || look) && !canEditShopName
|
|
1613
1618
|
}), /*#__PURE__*/React.createElement(Form.Item, {
|
|
1614
1619
|
name: "fixed_field_buyerOpenUid",
|
|
1615
1620
|
hidden: true
|
|
@@ -20,6 +20,7 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
|
20
20
|
import React, { useState, useMemo, useEffect, useContext } from 'react';
|
|
21
21
|
import { Form, message } from 'antd';
|
|
22
22
|
import { useRequest } from 'ahooks';
|
|
23
|
+
import { get, find } from 'lodash';
|
|
23
24
|
import Header from "../Header";
|
|
24
25
|
import FormRender from "../FormRender";
|
|
25
26
|
import RenderDetail from "../RenderDetail";
|
|
@@ -205,7 +206,10 @@ var NodeItem = function NodeItem(props) {
|
|
|
205
206
|
flowWorkOrderId: flowWorkOrderId,
|
|
206
207
|
workOrderId: data === null || data === void 0 ? void 0 : (_data$data = data.data) === null || _data$data === void 0 ? void 0 : (_data$data$workOrder = _data$data.workOrder) === null || _data$data$workOrder === void 0 ? void 0 : _data$data$workOrder.id,
|
|
207
208
|
workOrderUpdateTime: data === null || data === void 0 ? void 0 : (_data$data2 = data.data) === null || _data$data2 === void 0 ? void 0 : (_data$data2$workOrder = _data$data2.workOrder) === null || _data$data2$workOrder === void 0 ? void 0 : _data$data2$workOrder.update
|
|
208
|
-
})
|
|
209
|
+
}),
|
|
210
|
+
shopUniqueKey: get(find(shopList, function (s) {
|
|
211
|
+
return s.shopId === formData.shopId;
|
|
212
|
+
}), 'accessToken', '')
|
|
209
213
|
});
|
|
210
214
|
_context2.next = 7;
|
|
211
215
|
return modifyWorkOrder(params);
|
|
@@ -1,18 +1,18 @@
|
|
|
1
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
2
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
3
3
|
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; }
|
|
4
|
-
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
5
|
-
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
6
|
-
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
7
|
-
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
8
4
|
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); } }
|
|
9
5
|
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); }); }; }
|
|
10
6
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
11
7
|
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."); }
|
|
12
|
-
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); }
|
|
13
|
-
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; }
|
|
14
8
|
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; } }
|
|
15
9
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
10
|
+
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
11
|
+
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
12
|
+
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); }
|
|
13
|
+
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
14
|
+
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
15
|
+
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; }
|
|
16
16
|
import React, { useEffect, useState, useContext } from 'react';
|
|
17
17
|
import { Modal, Timeline, Image } from 'antd';
|
|
18
18
|
import { cloneDeep } from 'lodash';
|
|
@@ -33,7 +33,8 @@ var Record = function Record(props) {
|
|
|
33
33
|
workOrderUpdateLog = props.workOrderUpdateLog,
|
|
34
34
|
componentDtoList = props.componentDtoList,
|
|
35
35
|
imgList = props.imgList,
|
|
36
|
-
plat = props.plat
|
|
36
|
+
plat = props.plat,
|
|
37
|
+
shopList = props.shopList;
|
|
37
38
|
var contextLines = context === null || context === void 0 ? void 0 : context.split('\n');
|
|
38
39
|
return /*#__PURE__*/React.createElement("div", {
|
|
39
40
|
className: styles.remarkContext
|
|
@@ -66,12 +67,18 @@ var Record = function Record(props) {
|
|
|
66
67
|
}))), workOrderUpdateLog ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(OperationLog, {
|
|
67
68
|
content: workOrderUpdateLog.content,
|
|
68
69
|
operation: workOrderUpdateLog.operation,
|
|
69
|
-
componentDtoList: componentDtoList,
|
|
70
|
-
|
|
70
|
+
componentDtoList: [].concat(_toConsumableArray(componentDtoList), [{
|
|
71
|
+
name: '店铺名称',
|
|
72
|
+
uniqueKey: 'userId',
|
|
73
|
+
workOrderComponentType: 'SHOP_INPUT'
|
|
74
|
+
}]),
|
|
75
|
+
plat: plat,
|
|
76
|
+
shopList: shopList
|
|
71
77
|
})) : null);
|
|
72
78
|
};
|
|
73
79
|
var RemarkListModal = function RemarkListModal(props) {
|
|
74
|
-
var plat = props.plat
|
|
80
|
+
var plat = props.plat,
|
|
81
|
+
shopList = props.shopList;
|
|
75
82
|
var visible = useSelector(selectVisibleRemarkList);
|
|
76
83
|
var list = useSelector(selectRemarkRecordList);
|
|
77
84
|
var _useState = useState([]),
|
|
@@ -153,7 +160,8 @@ var RemarkListModal = function RemarkListModal(props) {
|
|
|
153
160
|
}
|
|
154
161
|
}, /*#__PURE__*/React.createElement(Timeline, null, remarkList === null || remarkList === void 0 ? void 0 : remarkList.map(function (flowRecord) {
|
|
155
162
|
return /*#__PURE__*/React.createElement(Timeline.Item, null, /*#__PURE__*/React.createElement(Record, _extends({}, flowRecord, {
|
|
156
|
-
plat: plat
|
|
163
|
+
plat: plat,
|
|
164
|
+
shopList: shopList
|
|
157
165
|
})));
|
|
158
166
|
})));
|
|
159
167
|
};
|
|
@@ -1415,7 +1415,8 @@ var FlowTemplateDetail = function FlowTemplateDetail(props) {
|
|
|
1415
1415
|
});
|
|
1416
1416
|
}
|
|
1417
1417
|
}), /*#__PURE__*/React.createElement(RemarkListModal, {
|
|
1418
|
-
plat: plat
|
|
1418
|
+
plat: plat,
|
|
1419
|
+
shopList: shopList
|
|
1419
1420
|
}), /*#__PURE__*/React.createElement(ForWardModal, {
|
|
1420
1421
|
flowTemplateId: flowTemplateId,
|
|
1421
1422
|
nodeId: currentNodeDetail === null || currentNodeDetail === void 0 ? void 0 : (_currentNodeDetail$no29 = currentNodeDetail.nodeInfo) === null || _currentNodeDetail$no29 === void 0 ? void 0 : _currentNodeDetail$no29.id,
|
|
@@ -877,7 +877,7 @@ export var submitParams = function submitParams(_ref5) {
|
|
|
877
877
|
}, operateParams)
|
|
878
878
|
};
|
|
879
879
|
if (update) {
|
|
880
|
-
var _currentNodeDetail$wo, _currentNodeDetail$wo2, _currentNodeDetail$wo3, _currentNodeDetail$wo4, _currentNodeDetail$wo5, _currentNodeDetail$wo6, _currentNodeDetail$wo7;
|
|
880
|
+
var _currentNodeDetail$wo, _currentNodeDetail$wo2, _currentNodeDetail$wo3, _currentNodeDetail$wo4, _currentNodeDetail$wo5, _currentNodeDetail$wo6, _currentNodeDetail$wo7, _currentNodeDetail$wo8;
|
|
881
881
|
params.updateInfo = {
|
|
882
882
|
templateId: currentNodeDetail === null || currentNodeDetail === void 0 ? void 0 : (_currentNodeDetail$wo = currentNodeDetail.workOrder) === null || _currentNodeDetail$wo === void 0 ? void 0 : _currentNodeDetail$wo.templateId,
|
|
883
883
|
workOrderId: currentNodeDetail === null || currentNodeDetail === void 0 ? void 0 : (_currentNodeDetail$wo2 = currentNodeDetail.workOrder) === null || _currentNodeDetail$wo2 === void 0 ? void 0 : _currentNodeDetail$wo2.id,
|
|
@@ -929,25 +929,33 @@ export var submitParams = function submitParams(_ref5) {
|
|
|
929
929
|
dataValue: false
|
|
930
930
|
});
|
|
931
931
|
}
|
|
932
|
+
if (shopUniqueKey !== (currentNodeDetail === null || currentNodeDetail === void 0 ? void 0 : (_currentNodeDetail$wo8 = currentNodeDetail.workOrder) === null || _currentNodeDetail$wo8 === void 0 ? void 0 : _currentNodeDetail$wo8.shopUniqueKey)) {
|
|
933
|
+
var _currentNodeDetail$wo9;
|
|
934
|
+
updateList.push({
|
|
935
|
+
dataKey: 'userId',
|
|
936
|
+
oldValue: currentNodeDetail === null || currentNodeDetail === void 0 ? void 0 : (_currentNodeDetail$wo9 = currentNodeDetail.workOrder) === null || _currentNodeDetail$wo9 === void 0 ? void 0 : _currentNodeDetail$wo9.shopUniqueKey,
|
|
937
|
+
dataValue: shopUniqueKey
|
|
938
|
+
});
|
|
939
|
+
}
|
|
932
940
|
params.updateInfo.updateList = updateList;
|
|
933
941
|
params.updateInfo.needTransForm = params.needTransForm;
|
|
934
942
|
delete params.workOrderUpdateKeyVos;
|
|
935
943
|
delete params.needTransForm;
|
|
936
944
|
} else {
|
|
937
|
-
var _Object$keys, _currentNodeDetail$
|
|
945
|
+
var _Object$keys, _currentNodeDetail$wo10, _currentNodeDetail$wo11, _currentNodeDetail$wo12, _currentNodeDetail$wo13, _currentNodeDetail$wo14, _currentNodeDetail$wo15, _currentNodeDetail$wo16, _currentNodeDetail$wo17, _currentNodeDetail$wo18, _currentNodeDetail$wo19, _currentNodeDetail$wo20;
|
|
938
946
|
// TODO: 新保存工单
|
|
939
947
|
// 获取当前表单中非空字段
|
|
940
948
|
var finalComponentList = (_Object$keys = Object.keys(formData)) === null || _Object$keys === void 0 ? void 0 : _Object$keys.filter(function (i) {
|
|
941
949
|
return !isNull(formData[i]);
|
|
942
950
|
});
|
|
943
951
|
// 获取非空字段对应的组件
|
|
944
|
-
var finalDtoList = currentNodeDetail === null || currentNodeDetail === void 0 ? void 0 : (_currentNodeDetail$
|
|
952
|
+
var finalDtoList = currentNodeDetail === null || currentNodeDetail === void 0 ? void 0 : (_currentNodeDetail$wo10 = currentNodeDetail.workOrderTemplateInfo) === null || _currentNodeDetail$wo10 === void 0 ? void 0 : (_currentNodeDetail$wo11 = _currentNodeDetail$wo10.componentDtoList) === null || _currentNodeDetail$wo11 === void 0 ? void 0 : _currentNodeDetail$wo11.filter(function (item) {
|
|
945
953
|
return finalComponentList.includes(item.uniqueKey) || item.workOrderComponentType === 'BUYER_MESSAGE_NOTICE';
|
|
946
954
|
});
|
|
947
955
|
set(newTemplateDetail, 'componentDtoList', finalDtoList);
|
|
948
956
|
params.workOrder = {
|
|
949
|
-
templateId: currentNodeDetail === null || currentNodeDetail === void 0 ? void 0 : (_currentNodeDetail$
|
|
950
|
-
handleWorkOrderId: currentNodeDetail === null || currentNodeDetail === void 0 ? void 0 : (_currentNodeDetail$
|
|
957
|
+
templateId: currentNodeDetail === null || currentNodeDetail === void 0 ? void 0 : (_currentNodeDetail$wo12 = currentNodeDetail.workOrderTemplateInfo) === null || _currentNodeDetail$wo12 === void 0 ? void 0 : _currentNodeDetail$wo12.uniqueKey,
|
|
958
|
+
handleWorkOrderId: currentNodeDetail === null || currentNodeDetail === void 0 ? void 0 : (_currentNodeDetail$wo13 = currentNodeDetail.workOrder) === null || _currentNodeDetail$wo13 === void 0 ? void 0 : _currentNodeDetail$wo13.id,
|
|
951
959
|
buyerNick: plat === null || plat === void 0 ? void 0 : plat.buyerNick,
|
|
952
960
|
buyerOpenUid: plat === null || plat === void 0 ? void 0 : plat.buyerId,
|
|
953
961
|
shopUniqueKey: shopUniqueKey,
|
|
@@ -957,13 +965,13 @@ export var submitParams = function submitParams(_ref5) {
|
|
|
957
965
|
};
|
|
958
966
|
|
|
959
967
|
// 判断是否有订单号组建,订单号数据需要特殊处理
|
|
960
|
-
var tradeIdUniqueKey = currentNodeDetail === null || currentNodeDetail === void 0 ? void 0 : (_currentNodeDetail$
|
|
968
|
+
var tradeIdUniqueKey = currentNodeDetail === null || currentNodeDetail === void 0 ? void 0 : (_currentNodeDetail$wo14 = currentNodeDetail.workOrderTemplateInfo) === null || _currentNodeDetail$wo14 === void 0 ? void 0 : (_currentNodeDetail$wo15 = _currentNodeDetail$wo14.componentDtoList) === null || _currentNodeDetail$wo15 === void 0 ? void 0 : (_currentNodeDetail$wo16 = _currentNodeDetail$wo15.find(function (item) {
|
|
961
969
|
return item.workOrderComponentType === 'TRADE_ID_INPUT';
|
|
962
|
-
})) === null || _currentNodeDetail$
|
|
970
|
+
})) === null || _currentNodeDetail$wo16 === void 0 ? void 0 : _currentNodeDetail$wo16.uniqueKey;
|
|
963
971
|
// 判断是否有订单号组建,订单号数据需要特殊处理
|
|
964
|
-
var paymentTradeIdUniqueKey = currentNodeDetail === null || currentNodeDetail === void 0 ? void 0 : (_currentNodeDetail$
|
|
972
|
+
var paymentTradeIdUniqueKey = currentNodeDetail === null || currentNodeDetail === void 0 ? void 0 : (_currentNodeDetail$wo17 = currentNodeDetail.workOrderTemplateInfo) === null || _currentNodeDetail$wo17 === void 0 ? void 0 : (_currentNodeDetail$wo18 = _currentNodeDetail$wo17.componentDtoList) === null || _currentNodeDetail$wo18 === void 0 ? void 0 : (_currentNodeDetail$wo19 = _currentNodeDetail$wo18.find(function (item) {
|
|
965
973
|
return item.workOrderComponentType === 'ENTERPRISE_PAYMENT';
|
|
966
|
-
})) === null || _currentNodeDetail$
|
|
974
|
+
})) === null || _currentNodeDetail$wo19 === void 0 ? void 0 : _currentNodeDetail$wo19.uniqueKey;
|
|
967
975
|
if (paymentTradeIdUniqueKey) {
|
|
968
976
|
var _formData;
|
|
969
977
|
params.workOrder.tid = formData === null || formData === void 0 ? void 0 : (_formData = formData["".concat(paymentTradeIdUniqueKey)]) === null || _formData === void 0 ? void 0 : _formData.enterprisePaymentTid;
|
|
@@ -974,7 +982,7 @@ export var submitParams = function submitParams(_ref5) {
|
|
|
974
982
|
if (formData !== null && formData !== void 0 && formData['fixed_field_buyerOpenUid']) {
|
|
975
983
|
params.workOrder.buyerOpenUid = formData === null || formData === void 0 ? void 0 : formData['fixed_field_buyerOpenUid'];
|
|
976
984
|
}
|
|
977
|
-
params.workOrder.workOrderComponents = submitDataTransOldFormat(formData, newTemplateDetail, !!(currentNodeDetail !== null && currentNodeDetail !== void 0 && (_currentNodeDetail$
|
|
985
|
+
params.workOrder.workOrderComponents = submitDataTransOldFormat(formData, newTemplateDetail, !!(currentNodeDetail !== null && currentNodeDetail !== void 0 && (_currentNodeDetail$wo20 = currentNodeDetail.workOrder) !== null && _currentNodeDetail$wo20 !== void 0 && _currentNodeDetail$wo20.id), currentNodeDetail === null || currentNodeDetail === void 0 ? void 0 : currentNodeDetail.workOrder, params.workOrder, (plat === null || plat === void 0 ? void 0 : plat.accountName) || '');
|
|
978
986
|
//端上有买家id 就返填当前买家 即使不是当前买家的订单
|
|
979
987
|
if (plat.platform !== PlatForm.PC && plat !== null && plat !== void 0 && plat.buyerId) {
|
|
980
988
|
params.workOrder.buyerOpenUid = plat === null || plat === void 0 ? void 0 : plat.buyerId;
|
|
@@ -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.2.13-beta.
|
|
3
|
+
"version": "2.2.13-beta.52",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@ant-design/icons": "^4.7.0",
|
|
35
|
-
"@kmkf-fe-packages/basic-components": "2.2.13-beta.
|
|
36
|
-
"@kmkf-fe-packages/kmkf-utils": "2.2.13-beta.
|
|
37
|
-
"@kmkf-fe-packages/services-components": "2.2.13-beta.
|
|
35
|
+
"@kmkf-fe-packages/basic-components": "2.2.13-beta.52",
|
|
36
|
+
"@kmkf-fe-packages/kmkf-utils": "2.2.13-beta.51",
|
|
37
|
+
"@kmkf-fe-packages/services-components": "2.2.13-beta.52",
|
|
38
38
|
"@reduxjs/toolkit": "^1.8.5",
|
|
39
39
|
"ahooks": "^3.7.4",
|
|
40
40
|
"copy-to-clipboard": "^3.3.3",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"publishConfig": {
|
|
75
75
|
"access": "public"
|
|
76
76
|
},
|
|
77
|
-
"gitHead": "
|
|
77
|
+
"gitHead": "7650ec2b78b773d91d6c015af5d41821383c4487",
|
|
78
78
|
"gitHooks": {
|
|
79
79
|
"pre-commit": "lint-staged"
|
|
80
80
|
}
|