@xatlas/rainbow-core 2.3.9 → 2.4.1
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/core.common.js +2666 -518
- package/dist/core.common.js.map +1 -1
- package/dist/core.css +1 -1
- package/dist/core.umd.js +2666 -518
- package/dist/core.umd.js.map +1 -1
- package/dist/core.umd.min.js +6 -6
- package/dist/core.umd.min.js.map +1 -1
- package/package.json +1 -1
package/dist/core.common.js
CHANGED
|
@@ -1076,6 +1076,17 @@ module.exports =
|
|
|
1076
1076
|
|
|
1077
1077
|
}));
|
|
1078
1078
|
|
|
1079
|
+
/***/ }),
|
|
1080
|
+
|
|
1081
|
+
/***/ "05ec":
|
|
1082
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1083
|
+
|
|
1084
|
+
"use strict";
|
|
1085
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_CheckNode_vue_vue_type_style_index_0_id_0980fb16_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1d3f");
|
|
1086
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_CheckNode_vue_vue_type_style_index_0_id_0980fb16_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_CheckNode_vue_vue_type_style_index_0_id_0980fb16_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
1087
|
+
/* unused harmony reexport * */
|
|
1088
|
+
|
|
1089
|
+
|
|
1079
1090
|
/***/ }),
|
|
1080
1091
|
|
|
1081
1092
|
/***/ "0934":
|
|
@@ -4302,9 +4313,9 @@ var reInterpolate = /\${([\s\S]+?)}/g;
|
|
|
4302
4313
|
treeData: treeRes.data && treeRes.data.collection,
|
|
4303
4314
|
valuesName: valuesName
|
|
4304
4315
|
});
|
|
4305
|
-
|
|
4316
|
+
// this.actionViewWidget = 'picker-select-view-form'
|
|
4306
4317
|
_this5.showActionView();
|
|
4307
|
-
case
|
|
4318
|
+
case 9:
|
|
4308
4319
|
case "end":
|
|
4309
4320
|
return _context5.stop();
|
|
4310
4321
|
}
|
|
@@ -15445,273 +15456,6 @@ var PickerTree_component = normalizeComponent(
|
|
|
15445
15456
|
)
|
|
15446
15457
|
|
|
15447
15458
|
/* harmony default export */ var PickerTree = (PickerTree_component.exports);
|
|
15448
|
-
// CONCATENATED MODULE: ../node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"f0c52eea-vue-loader-template"}!../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/babel-loader/lib!../node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib??vue-loader-options!../src/web/components/forms/PickerSelectView.vue?vue&type=template&id=5f0008cf
|
|
15449
|
-
var PickerSelectViewvue_type_template_id_5f0008cf_render = function render() {
|
|
15450
|
-
var _vm = this,
|
|
15451
|
-
_c = _vm._self._c;
|
|
15452
|
-
return _c('a-table', {
|
|
15453
|
-
attrs: {
|
|
15454
|
-
"columns": _vm.cols,
|
|
15455
|
-
"data-source": _vm.treeData,
|
|
15456
|
-
"rowKey": "type_id",
|
|
15457
|
-
"scroll": {
|
|
15458
|
-
y: 400
|
|
15459
|
-
},
|
|
15460
|
-
"pagination": false,
|
|
15461
|
-
"rowSelection": {
|
|
15462
|
-
selectedRowKeys: _vm.selectedRowKeys,
|
|
15463
|
-
onChange: _vm.handleRowChange,
|
|
15464
|
-
onSelect: _vm.handleRowSelect,
|
|
15465
|
-
type: 'checkbox'
|
|
15466
|
-
}
|
|
15467
|
-
},
|
|
15468
|
-
scopedSlots: _vm._u([{
|
|
15469
|
-
key: "expert",
|
|
15470
|
-
fn: function fn(text, record) {
|
|
15471
|
-
return _c('span', {}, [_c('a-select', {
|
|
15472
|
-
staticStyle: {
|
|
15473
|
-
"width": "120px"
|
|
15474
|
-
},
|
|
15475
|
-
attrs: {
|
|
15476
|
-
"placeholder": "请选择",
|
|
15477
|
-
"allowClear": ""
|
|
15478
|
-
},
|
|
15479
|
-
on: {
|
|
15480
|
-
"change": function change($event) {
|
|
15481
|
-
return _vm.handleSelectExpertChange($event, record);
|
|
15482
|
-
}
|
|
15483
|
-
}
|
|
15484
|
-
}, _vm._l(_vm.experts, function (expert) {
|
|
15485
|
-
return _c('a-select-option', {
|
|
15486
|
-
key: expert.expert_id,
|
|
15487
|
-
attrs: {
|
|
15488
|
-
"value": expert.expert_id
|
|
15489
|
-
}
|
|
15490
|
-
}, [_vm._v(" " + _vm._s(expert.expert_name) + " ")]);
|
|
15491
|
-
}), 1)], 1);
|
|
15492
|
-
}
|
|
15493
|
-
}, {
|
|
15494
|
-
key: "checker",
|
|
15495
|
-
fn: function fn(text, record) {
|
|
15496
|
-
return _c('span', {}, [_c('a-select', {
|
|
15497
|
-
staticStyle: {
|
|
15498
|
-
"width": "120px"
|
|
15499
|
-
},
|
|
15500
|
-
attrs: {
|
|
15501
|
-
"placeholder": "请选择",
|
|
15502
|
-
"allowClear": ""
|
|
15503
|
-
},
|
|
15504
|
-
on: {
|
|
15505
|
-
"change": function change($event) {
|
|
15506
|
-
return _vm.handleSelectCheckerChange($event, record);
|
|
15507
|
-
}
|
|
15508
|
-
}
|
|
15509
|
-
}, _vm._l(_vm.checkers, function (checker) {
|
|
15510
|
-
return _c('a-select-option', {
|
|
15511
|
-
key: checker.uid,
|
|
15512
|
-
attrs: {
|
|
15513
|
-
"value": checker.uid
|
|
15514
|
-
}
|
|
15515
|
-
}, [_vm._v(" " + _vm._s(checker.user_name) + " ")]);
|
|
15516
|
-
}), 1)], 1);
|
|
15517
|
-
}
|
|
15518
|
-
}])
|
|
15519
|
-
});
|
|
15520
|
-
};
|
|
15521
|
-
var PickerSelectViewvue_type_template_id_5f0008cf_staticRenderFns = [];
|
|
15522
|
-
|
|
15523
|
-
// CONCATENATED MODULE: ../src/web/components/forms/PickerSelectView.vue?vue&type=template&id=5f0008cf
|
|
15524
|
-
|
|
15525
|
-
// CONCATENATED MODULE: ../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib??vue-loader-options!../src/web/components/forms/PickerSelectView.vue?vue&type=script&lang=js
|
|
15526
|
-
function PickerSelectViewvue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return PickerSelectViewvue_type_script_lang_js_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, PickerSelectViewvue_type_script_lang_js_typeof(o); }
|
|
15527
|
-
function PickerSelectViewvue_type_script_lang_js_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
15528
|
-
function PickerSelectViewvue_type_script_lang_js_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? PickerSelectViewvue_type_script_lang_js_ownKeys(Object(t), !0).forEach(function (r) { PickerSelectViewvue_type_script_lang_js_defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : PickerSelectViewvue_type_script_lang_js_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
15529
|
-
function PickerSelectViewvue_type_script_lang_js_defineProperty(obj, key, value) { key = PickerSelectViewvue_type_script_lang_js_toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
15530
|
-
function PickerSelectViewvue_type_script_lang_js_toPropertyKey(t) { var i = PickerSelectViewvue_type_script_lang_js_toPrimitive(t, "string"); return "symbol" == PickerSelectViewvue_type_script_lang_js_typeof(i) ? i : String(i); }
|
|
15531
|
-
function PickerSelectViewvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != PickerSelectViewvue_type_script_lang_js_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != PickerSelectViewvue_type_script_lang_js_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
15532
|
-
function PickerSelectViewvue_type_script_lang_js_toConsumableArray(arr) { return PickerSelectViewvue_type_script_lang_js_arrayWithoutHoles(arr) || PickerSelectViewvue_type_script_lang_js_iterableToArray(arr) || PickerSelectViewvue_type_script_lang_js_unsupportedIterableToArray(arr) || PickerSelectViewvue_type_script_lang_js_nonIterableSpread(); }
|
|
15533
|
-
function PickerSelectViewvue_type_script_lang_js_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."); }
|
|
15534
|
-
function PickerSelectViewvue_type_script_lang_js_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return PickerSelectViewvue_type_script_lang_js_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 PickerSelectViewvue_type_script_lang_js_arrayLikeToArray(o, minLen); }
|
|
15535
|
-
function PickerSelectViewvue_type_script_lang_js_iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
15536
|
-
function PickerSelectViewvue_type_script_lang_js_arrayWithoutHoles(arr) { if (Array.isArray(arr)) return PickerSelectViewvue_type_script_lang_js_arrayLikeToArray(arr); }
|
|
15537
|
-
function PickerSelectViewvue_type_script_lang_js_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; }
|
|
15538
|
-
function PickerSelectViewvue_type_script_lang_js_regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ PickerSelectViewvue_type_script_lang_js_regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == PickerSelectViewvue_type_script_lang_js_typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw new Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(PickerSelectViewvue_type_script_lang_js_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw new Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, catch: function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
|
|
15539
|
-
function PickerSelectViewvue_type_script_lang_js_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); } }
|
|
15540
|
-
function PickerSelectViewvue_type_script_lang_js_asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { PickerSelectViewvue_type_script_lang_js_asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { PickerSelectViewvue_type_script_lang_js_asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
15541
|
-
|
|
15542
|
-
/* harmony default export */ var PickerSelectViewvue_type_script_lang_js = ({
|
|
15543
|
-
mixins: [form_base],
|
|
15544
|
-
computed: {
|
|
15545
|
-
selectedRowKeys: function selectedRowKeys() {
|
|
15546
|
-
return this.selections.map(function (item) {
|
|
15547
|
-
return item.type_id;
|
|
15548
|
-
});
|
|
15549
|
-
}
|
|
15550
|
-
},
|
|
15551
|
-
data: function data() {
|
|
15552
|
-
return {
|
|
15553
|
-
treeData: this.params.treeData || [],
|
|
15554
|
-
valuesName: this.params.valuesName,
|
|
15555
|
-
cols: [
|
|
15556
|
-
// {
|
|
15557
|
-
// title: '项目类型',
|
|
15558
|
-
// dataIndex: 'project_type',
|
|
15559
|
-
// key: 'project_type'
|
|
15560
|
-
// },
|
|
15561
|
-
{
|
|
15562
|
-
title: '评审技术要求',
|
|
15563
|
-
dataIndex: 'review_tech_require',
|
|
15564
|
-
key: 'review_tech_require'
|
|
15565
|
-
}, {
|
|
15566
|
-
title: '评审专家',
|
|
15567
|
-
key: 'expert',
|
|
15568
|
-
scopedSlots: {
|
|
15569
|
-
customRender: 'expert'
|
|
15570
|
-
}
|
|
15571
|
-
}, {
|
|
15572
|
-
title: '校核人',
|
|
15573
|
-
key: 'checker',
|
|
15574
|
-
scopedSlots: {
|
|
15575
|
-
customRender: 'checker'
|
|
15576
|
-
}
|
|
15577
|
-
}],
|
|
15578
|
-
experts: [],
|
|
15579
|
-
checkers: [],
|
|
15580
|
-
selections: []
|
|
15581
|
-
};
|
|
15582
|
-
},
|
|
15583
|
-
created: function created() {
|
|
15584
|
-
var _this = this;
|
|
15585
|
-
return PickerSelectViewvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/PickerSelectViewvue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
|
|
15586
|
-
return PickerSelectViewvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
15587
|
-
while (1) switch (_context.prev = _context.next) {
|
|
15588
|
-
case 0:
|
|
15589
|
-
_context.next = 2;
|
|
15590
|
-
return _this.getExperts();
|
|
15591
|
-
case 2:
|
|
15592
|
-
_context.next = 4;
|
|
15593
|
-
return _this.getCheckers();
|
|
15594
|
-
case 4:
|
|
15595
|
-
case "end":
|
|
15596
|
-
return _context.stop();
|
|
15597
|
-
}
|
|
15598
|
-
}, _callee);
|
|
15599
|
-
}))();
|
|
15600
|
-
},
|
|
15601
|
-
methods: {
|
|
15602
|
-
getExperts: function getExperts() {
|
|
15603
|
-
var _this2 = this;
|
|
15604
|
-
return PickerSelectViewvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/PickerSelectViewvue_type_script_lang_js_regeneratorRuntime().mark(function _callee2() {
|
|
15605
|
-
var _yield$_this2$$api$ge, collection;
|
|
15606
|
-
return PickerSelectViewvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
15607
|
-
while (1) switch (_context2.prev = _context2.next) {
|
|
15608
|
-
case 0:
|
|
15609
|
-
_context2.prev = 0;
|
|
15610
|
-
_context2.next = 3;
|
|
15611
|
-
return _this2.$api.get('/api/view-select-expert');
|
|
15612
|
-
case 3:
|
|
15613
|
-
_yield$_this2$$api$ge = _context2.sent;
|
|
15614
|
-
collection = _yield$_this2$$api$ge.data.collection;
|
|
15615
|
-
_this2.experts = PickerSelectViewvue_type_script_lang_js_toConsumableArray(collection);
|
|
15616
|
-
_context2.next = 11;
|
|
15617
|
-
break;
|
|
15618
|
-
case 8:
|
|
15619
|
-
_context2.prev = 8;
|
|
15620
|
-
_context2.t0 = _context2["catch"](0);
|
|
15621
|
-
_this2.handleError(_context2.t0);
|
|
15622
|
-
case 11:
|
|
15623
|
-
case "end":
|
|
15624
|
-
return _context2.stop();
|
|
15625
|
-
}
|
|
15626
|
-
}, _callee2, null, [[0, 8]]);
|
|
15627
|
-
}))();
|
|
15628
|
-
},
|
|
15629
|
-
getCheckers: function getCheckers() {
|
|
15630
|
-
var _this3 = this;
|
|
15631
|
-
return PickerSelectViewvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/PickerSelectViewvue_type_script_lang_js_regeneratorRuntime().mark(function _callee3() {
|
|
15632
|
-
var _yield$_this3$$api$ge, collection;
|
|
15633
|
-
return PickerSelectViewvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
15634
|
-
while (1) switch (_context3.prev = _context3.next) {
|
|
15635
|
-
case 0:
|
|
15636
|
-
_context3.prev = 0;
|
|
15637
|
-
_context3.next = 3;
|
|
15638
|
-
return _this3.$api.get('/api/view-select-checker');
|
|
15639
|
-
case 3:
|
|
15640
|
-
_yield$_this3$$api$ge = _context3.sent;
|
|
15641
|
-
collection = _yield$_this3$$api$ge.data.collection;
|
|
15642
|
-
_this3.checkers = PickerSelectViewvue_type_script_lang_js_toConsumableArray(collection);
|
|
15643
|
-
_context3.next = 11;
|
|
15644
|
-
break;
|
|
15645
|
-
case 8:
|
|
15646
|
-
_context3.prev = 8;
|
|
15647
|
-
_context3.t0 = _context3["catch"](0);
|
|
15648
|
-
_this3.handleError(_context3.t0);
|
|
15649
|
-
case 11:
|
|
15650
|
-
case "end":
|
|
15651
|
-
return _context3.stop();
|
|
15652
|
-
}
|
|
15653
|
-
}, _callee3, null, [[0, 8]]);
|
|
15654
|
-
}))();
|
|
15655
|
-
},
|
|
15656
|
-
handleSelectExpertChange: function handleSelectExpertChange(value, record) {
|
|
15657
|
-
var index = this.treeData.findIndex(function (item) {
|
|
15658
|
-
return item.type_id === record.type_id;
|
|
15659
|
-
});
|
|
15660
|
-
if (index !== -1) this.treeData[index].expert_id = value;
|
|
15661
|
-
},
|
|
15662
|
-
handleSelectCheckerChange: function handleSelectCheckerChange(value, record) {
|
|
15663
|
-
var index = this.treeData.findIndex(function (item) {
|
|
15664
|
-
return item.type_id === record.type_id;
|
|
15665
|
-
});
|
|
15666
|
-
if (index !== -1) this.treeData[index].uid = value;
|
|
15667
|
-
},
|
|
15668
|
-
handleSubmit: function handleSubmit() {
|
|
15669
|
-
this.handleCommit();
|
|
15670
|
-
},
|
|
15671
|
-
handleRowChange: function handleRowChange(selectedRowKeys, selectedRows) {
|
|
15672
|
-
this.selections = selectedRows;
|
|
15673
|
-
this.actionModel = PickerSelectViewvue_type_script_lang_js_objectSpread(PickerSelectViewvue_type_script_lang_js_objectSpread({}, this.actionModel), {}, PickerSelectViewvue_type_script_lang_js_defineProperty({}, this.valuesName, this.selections));
|
|
15674
|
-
},
|
|
15675
|
-
handleRowSelect: function handleRowSelect(record, selected) {
|
|
15676
|
-
var index = this.treeData.findIndex(function (item) {
|
|
15677
|
-
return item.type_id === record.type_id;
|
|
15678
|
-
});
|
|
15679
|
-
if (index !== -1) this.treeData[index].checked = selected ? 1 : 0;
|
|
15680
|
-
},
|
|
15681
|
-
handleError: function handleError(error) {
|
|
15682
|
-
if (!error.response) {
|
|
15683
|
-
this.$message.error('网络请求错误,请检查您的网络连接。');
|
|
15684
|
-
}
|
|
15685
|
-
var _error$response = error.response,
|
|
15686
|
-
status = _error$response.status,
|
|
15687
|
-
data = _error$response.data;
|
|
15688
|
-
var message = data && data.content || '系统错误请与管理员联系。';
|
|
15689
|
-
this.$message.error("".concat(status, ", ").concat(message));
|
|
15690
|
-
}
|
|
15691
|
-
}
|
|
15692
|
-
});
|
|
15693
|
-
// CONCATENATED MODULE: ../src/web/components/forms/PickerSelectView.vue?vue&type=script&lang=js
|
|
15694
|
-
/* harmony default export */ var forms_PickerSelectViewvue_type_script_lang_js = (PickerSelectViewvue_type_script_lang_js);
|
|
15695
|
-
// CONCATENATED MODULE: ../src/web/components/forms/PickerSelectView.vue
|
|
15696
|
-
|
|
15697
|
-
|
|
15698
|
-
|
|
15699
|
-
|
|
15700
|
-
|
|
15701
|
-
/* normalize component */
|
|
15702
|
-
|
|
15703
|
-
var PickerSelectView_component = normalizeComponent(
|
|
15704
|
-
forms_PickerSelectViewvue_type_script_lang_js,
|
|
15705
|
-
PickerSelectViewvue_type_template_id_5f0008cf_render,
|
|
15706
|
-
PickerSelectViewvue_type_template_id_5f0008cf_staticRenderFns,
|
|
15707
|
-
false,
|
|
15708
|
-
null,
|
|
15709
|
-
null,
|
|
15710
|
-
null
|
|
15711
|
-
|
|
15712
|
-
)
|
|
15713
|
-
|
|
15714
|
-
/* harmony default export */ var PickerSelectView = (PickerSelectView_component.exports);
|
|
15715
15459
|
// CONCATENATED MODULE: ../node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"f0c52eea-vue-loader-template"}!../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/babel-loader/lib!../node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib??vue-loader-options!../src/web/components/forms/WorkflowReport.vue?vue&type=template&id=9c781256
|
|
15716
15460
|
var WorkflowReportvue_type_template_id_9c781256_render = function render() {
|
|
15717
15461
|
var _vm = this,
|
|
@@ -16621,6 +16365,7 @@ NodeType_defineProperty(NodeType_NodeType, "START", 'start');
|
|
|
16621
16365
|
NodeType_defineProperty(NodeType_NodeType, "END", 'end');
|
|
16622
16366
|
NodeType_defineProperty(NodeType_NodeType, "CHECK", 'check');
|
|
16623
16367
|
NodeType_defineProperty(NodeType_NodeType, "CC", 'cc');
|
|
16368
|
+
NodeType_defineProperty(NodeType_NodeType, "TASK", 'task');
|
|
16624
16369
|
NodeType_defineProperty(NodeType_NodeType, "TRIGGER", 'trigger');
|
|
16625
16370
|
NodeType_defineProperty(NodeType_NodeType, "DELAY", 'delay');
|
|
16626
16371
|
NodeType_defineProperty(NodeType_NodeType, "PARALLEL_WRAP", 'parallel_wrap');
|
|
@@ -16647,6 +16392,9 @@ function initNodeTypes() {
|
|
|
16647
16392
|
NodeType_NodeType.registerNodeType(NodeType_NodeType.CC, 'single', 'CCNode', function () {
|
|
16648
16393
|
return new designer_NodeItem('抄送人', '抄送人', null, NodeType_NodeType.CC);
|
|
16649
16394
|
});
|
|
16395
|
+
NodeType_NodeType.registerNodeType(NodeType_NodeType.TASK, 'single', 'TaskNode', function () {
|
|
16396
|
+
return new designer_NodeItem('执行人', '执行人', null, NodeType_NodeType.TASK);
|
|
16397
|
+
});
|
|
16650
16398
|
NodeType_NodeType.registerNodeType(NodeType_NodeType.TRIGGER, 'single', 'TriggerNode', function () {
|
|
16651
16399
|
return new designer_NodeItem('触发器', '触发器', null, NodeType_NodeType.TRIGGER);
|
|
16652
16400
|
});
|
|
@@ -17719,8 +17467,8 @@ var _codeIndex = {
|
|
|
17719
17467
|
value: {}
|
|
17720
17468
|
};
|
|
17721
17469
|
/* harmony default export */ var designer_NodeHandler = (NodeHandler_NodeHandler);
|
|
17722
|
-
// CONCATENATED MODULE: ../node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"f0c52eea-vue-loader-template"}!../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/babel-loader/lib!../node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib??vue-loader-options!../src/web/components/forms/flow/designer/NodeWrap.vue?vue&type=template&id=
|
|
17723
|
-
var
|
|
17470
|
+
// CONCATENATED MODULE: ../node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"f0c52eea-vue-loader-template"}!../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/babel-loader/lib!../node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib??vue-loader-options!../src/web/components/forms/flow/designer/NodeWrap.vue?vue&type=template&id=65e78fbf&scoped=true
|
|
17471
|
+
var NodeWrapvue_type_template_id_65e78fbf_scoped_true_render = function render() {
|
|
17724
17472
|
var _vm = this,
|
|
17725
17473
|
_c = _vm._self._c;
|
|
17726
17474
|
return _c('div', {
|
|
@@ -17749,9 +17497,9 @@ var NodeWrapvue_type_template_id_63654330_scoped_true_render = function render()
|
|
|
17749
17497
|
}
|
|
17750
17498
|
}) : _vm._e()], 1);
|
|
17751
17499
|
};
|
|
17752
|
-
var
|
|
17500
|
+
var NodeWrapvue_type_template_id_65e78fbf_scoped_true_staticRenderFns = [];
|
|
17753
17501
|
|
|
17754
|
-
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/NodeWrap.vue?vue&type=template&id=
|
|
17502
|
+
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/NodeWrap.vue?vue&type=template&id=65e78fbf&scoped=true
|
|
17755
17503
|
|
|
17756
17504
|
// CONCATENATED MODULE: ../node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"f0c52eea-vue-loader-template"}!../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/babel-loader/lib!../node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib??vue-loader-options!../src/web/components/forms/flow/designer/node/EndNode.vue?vue&type=template&id=778e5139&scoped=true
|
|
17757
17505
|
var EndNodevue_type_template_id_778e5139_scoped_true_render = function render() {
|
|
@@ -19679,14 +19427,14 @@ var ParallelWrapNode_component = normalizeComponent(
|
|
|
19679
19427
|
)
|
|
19680
19428
|
|
|
19681
19429
|
/* harmony default export */ var ParallelWrapNode = (ParallelWrapNode_component.exports);
|
|
19682
|
-
// CONCATENATED MODULE: ../node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"f0c52eea-vue-loader-template"}!../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/babel-loader/lib!../node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib??vue-loader-options!../src/web/components/forms/flow/designer/node/CheckNode.vue?vue&type=template&id=
|
|
19683
|
-
function
|
|
19684
|
-
function
|
|
19685
|
-
function
|
|
19686
|
-
function
|
|
19687
|
-
function
|
|
19688
|
-
function
|
|
19689
|
-
var
|
|
19430
|
+
// CONCATENATED MODULE: ../node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"f0c52eea-vue-loader-template"}!../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/babel-loader/lib!../node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib??vue-loader-options!../src/web/components/forms/flow/designer/node/CheckNode.vue?vue&type=template&id=0980fb16&scoped=true
|
|
19431
|
+
function CheckNodevue_type_template_id_0980fb16_scoped_true_toConsumableArray(arr) { return CheckNodevue_type_template_id_0980fb16_scoped_true_arrayWithoutHoles(arr) || CheckNodevue_type_template_id_0980fb16_scoped_true_iterableToArray(arr) || CheckNodevue_type_template_id_0980fb16_scoped_true_unsupportedIterableToArray(arr) || CheckNodevue_type_template_id_0980fb16_scoped_true_nonIterableSpread(); }
|
|
19432
|
+
function CheckNodevue_type_template_id_0980fb16_scoped_true_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."); }
|
|
19433
|
+
function CheckNodevue_type_template_id_0980fb16_scoped_true_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return CheckNodevue_type_template_id_0980fb16_scoped_true_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 CheckNodevue_type_template_id_0980fb16_scoped_true_arrayLikeToArray(o, minLen); }
|
|
19434
|
+
function CheckNodevue_type_template_id_0980fb16_scoped_true_iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
19435
|
+
function CheckNodevue_type_template_id_0980fb16_scoped_true_arrayWithoutHoles(arr) { if (Array.isArray(arr)) return CheckNodevue_type_template_id_0980fb16_scoped_true_arrayLikeToArray(arr); }
|
|
19436
|
+
function CheckNodevue_type_template_id_0980fb16_scoped_true_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; }
|
|
19437
|
+
var CheckNodevue_type_template_id_0980fb16_scoped_true_render = function render() {
|
|
19690
19438
|
var _vm$nodeHandler, _vm$nodeHandler2, _vm$nodeRef, _vm$nodeRef2, _vm$noticeTemplateAtt;
|
|
19691
19439
|
var _vm = this,
|
|
19692
19440
|
_c = _vm._self._c;
|
|
@@ -20120,7 +19868,7 @@ var CheckNodevue_type_template_id_14b216a6_scoped_true_render = function render(
|
|
|
20120
19868
|
},
|
|
20121
19869
|
attrs: {
|
|
20122
19870
|
"filterOption": _vm.filterUser,
|
|
20123
|
-
"options": [].concat(
|
|
19871
|
+
"options": [].concat(CheckNodevue_type_template_id_0980fb16_scoped_true_toConsumableArray(_vm.businessUserData), CheckNodevue_type_template_id_0980fb16_scoped_true_toConsumableArray(_vm.users)),
|
|
20124
19872
|
"mode": "multiple",
|
|
20125
19873
|
"placeholder": "选择人"
|
|
20126
19874
|
},
|
|
@@ -20148,7 +19896,7 @@ var CheckNodevue_type_template_id_14b216a6_scoped_true_render = function render(
|
|
|
20148
19896
|
maxHeight: '400px',
|
|
20149
19897
|
overflow: 'auto'
|
|
20150
19898
|
},
|
|
20151
|
-
"tree-data": [_vm.businessOrgData].concat(
|
|
19899
|
+
"tree-data": [_vm.businessOrgData].concat(CheckNodevue_type_template_id_0980fb16_scoped_true_toConsumableArray(_vm.orgData)),
|
|
20152
19900
|
"allowClear": "",
|
|
20153
19901
|
"placeholder": "部门",
|
|
20154
19902
|
"tree-default-expand-all": ""
|
|
@@ -21272,9 +21020,9 @@ var CheckNodevue_type_template_id_14b216a6_scoped_true_render = function render(
|
|
|
21272
21020
|
}
|
|
21273
21021
|
}) : _vm._e()], 1)]) : _vm._e()], 1)], 1) : _vm._e()], 1);
|
|
21274
21022
|
};
|
|
21275
|
-
var
|
|
21023
|
+
var CheckNodevue_type_template_id_0980fb16_scoped_true_staticRenderFns = [];
|
|
21276
21024
|
|
|
21277
|
-
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/CheckNode.vue?vue&type=template&id=
|
|
21025
|
+
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/CheckNode.vue?vue&type=template&id=0980fb16&scoped=true
|
|
21278
21026
|
|
|
21279
21027
|
// CONCATENATED MODULE: ../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib??vue-loader-options!../src/web/components/forms/flow/designer/node/CheckNode.vue?vue&type=script&lang=js
|
|
21280
21028
|
function CheckNodevue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return CheckNodevue_type_script_lang_js_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, CheckNodevue_type_script_lang_js_typeof(o); }
|
|
@@ -21372,7 +21120,7 @@ function CheckNodevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Ch
|
|
|
21372
21120
|
nodeHandler = _ref.nodeHandler;
|
|
21373
21121
|
// icon;
|
|
21374
21122
|
var icon = {
|
|
21375
|
-
template: "\n <svg viewBox=\"0 0 1024 1024\">\n <path fill=\"
|
|
21123
|
+
template: "\n <svg viewBox=\"0 0 1024 1024\">\n <path fill=\"currentColor\" d=\"M288 320a224 224 0 1 0 448 0 224 224 0 1 0-448 0zm544 608H160a32 32 0 0 1-32-32v-96a160 160 0 0 1 160-160h448a160 160 0 0 1 160 160v96a32 32 0 0 1-32 32z\"></path>\n </svg>\n "
|
|
21376
21124
|
};
|
|
21377
21125
|
|
|
21378
21126
|
// drawer support
|
|
@@ -21999,8 +21747,8 @@ function CheckNodevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Ch
|
|
|
21999
21747
|
});
|
|
22000
21748
|
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/CheckNode.vue?vue&type=script&lang=js
|
|
22001
21749
|
/* harmony default export */ var node_CheckNodevue_type_script_lang_js = (CheckNodevue_type_script_lang_js);
|
|
22002
|
-
// EXTERNAL MODULE: ../src/web/components/forms/flow/designer/node/CheckNode.vue?vue&type=style&index=0&id=
|
|
22003
|
-
var
|
|
21750
|
+
// EXTERNAL MODULE: ../src/web/components/forms/flow/designer/node/CheckNode.vue?vue&type=style&index=0&id=0980fb16&prod&lang=less&scoped=true
|
|
21751
|
+
var CheckNodevue_type_style_index_0_id_0980fb16_prod_lang_less_scoped_true = __webpack_require__("05ec");
|
|
22004
21752
|
|
|
22005
21753
|
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/CheckNode.vue
|
|
22006
21754
|
|
|
@@ -22013,11 +21761,11 @@ var CheckNodevue_type_style_index_0_id_14b216a6_prod_lang_less_scoped_true = __w
|
|
|
22013
21761
|
|
|
22014
21762
|
var CheckNode_component = normalizeComponent(
|
|
22015
21763
|
node_CheckNodevue_type_script_lang_js,
|
|
22016
|
-
|
|
22017
|
-
|
|
21764
|
+
CheckNodevue_type_template_id_0980fb16_scoped_true_render,
|
|
21765
|
+
CheckNodevue_type_template_id_0980fb16_scoped_true_staticRenderFns,
|
|
22018
21766
|
false,
|
|
22019
21767
|
null,
|
|
22020
|
-
"
|
|
21768
|
+
"0980fb16",
|
|
22021
21769
|
null
|
|
22022
21770
|
|
|
22023
21771
|
)
|
|
@@ -23935,11 +23683,158 @@ var CCNode_component = normalizeComponent(
|
|
|
23935
23683
|
)
|
|
23936
23684
|
|
|
23937
23685
|
/* harmony default export */ var CCNode = (CCNode_component.exports);
|
|
23938
|
-
// CONCATENATED MODULE: ../node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"f0c52eea-vue-loader-template"}!../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/babel-loader/lib!../node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib??vue-loader-options!../src/web/components/forms/flow/designer/node/
|
|
23939
|
-
|
|
23686
|
+
// CONCATENATED MODULE: ../node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"f0c52eea-vue-loader-template"}!../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/babel-loader/lib!../node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib??vue-loader-options!../src/web/components/forms/flow/designer/node/TaskNode.vue?vue&type=template&id=71cd8e14&scoped=true
|
|
23687
|
+
function TaskNodevue_type_template_id_71cd8e14_scoped_true_toConsumableArray(arr) { return TaskNodevue_type_template_id_71cd8e14_scoped_true_arrayWithoutHoles(arr) || TaskNodevue_type_template_id_71cd8e14_scoped_true_iterableToArray(arr) || TaskNodevue_type_template_id_71cd8e14_scoped_true_unsupportedIterableToArray(arr) || TaskNodevue_type_template_id_71cd8e14_scoped_true_nonIterableSpread(); }
|
|
23688
|
+
function TaskNodevue_type_template_id_71cd8e14_scoped_true_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."); }
|
|
23689
|
+
function TaskNodevue_type_template_id_71cd8e14_scoped_true_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return TaskNodevue_type_template_id_71cd8e14_scoped_true_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 TaskNodevue_type_template_id_71cd8e14_scoped_true_arrayLikeToArray(o, minLen); }
|
|
23690
|
+
function TaskNodevue_type_template_id_71cd8e14_scoped_true_iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
23691
|
+
function TaskNodevue_type_template_id_71cd8e14_scoped_true_arrayWithoutHoles(arr) { if (Array.isArray(arr)) return TaskNodevue_type_template_id_71cd8e14_scoped_true_arrayLikeToArray(arr); }
|
|
23692
|
+
function TaskNodevue_type_template_id_71cd8e14_scoped_true_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; }
|
|
23693
|
+
var TaskNodevue_type_template_id_71cd8e14_scoped_true_render = function render() {
|
|
23694
|
+
var _vm$nodeHandler, _vm$nodeHandler2, _vm$nodeRef, _vm$nodeRef2, _vm$noticeTemplateAtt;
|
|
23940
23695
|
var _vm = this,
|
|
23941
23696
|
_c = _vm._self._c;
|
|
23942
|
-
return _c('div', [_c('
|
|
23697
|
+
return _c('div', [(_vm$nodeHandler = _vm.nodeHandler) !== null && _vm$nodeHandler !== void 0 && (_vm$nodeHandler = _vm$nodeHandler.runtimeData) !== null && _vm$nodeHandler !== void 0 && (_vm$nodeHandler = _vm$nodeHandler.actorLogs[_vm.node.code]) !== null && _vm$nodeHandler !== void 0 && _vm$nodeHandler.length ? _c('a-popover', {
|
|
23698
|
+
attrs: {
|
|
23699
|
+
"placement": "rightTop"
|
|
23700
|
+
},
|
|
23701
|
+
scopedSlots: _vm._u([{
|
|
23702
|
+
key: "content",
|
|
23703
|
+
fn: function fn() {
|
|
23704
|
+
return [_c('div', {
|
|
23705
|
+
staticStyle: {
|
|
23706
|
+
"min-width": "300px",
|
|
23707
|
+
"max-width": "1200px"
|
|
23708
|
+
}
|
|
23709
|
+
}, [_c('runtime-workflow-actors', {
|
|
23710
|
+
attrs: {
|
|
23711
|
+
"actors": _vm.nodeHandler.runtimeData.actorLogs[_vm.node.code]
|
|
23712
|
+
}
|
|
23713
|
+
})], 1)];
|
|
23714
|
+
},
|
|
23715
|
+
proxy: true
|
|
23716
|
+
}], null, false, 193291077)
|
|
23717
|
+
}, [_c('div', {
|
|
23718
|
+
staticClass: "node",
|
|
23719
|
+
class: [_vm.node.error ? 'error' : '', (_vm$nodeHandler2 = _vm.nodeHandler) !== null && _vm$nodeHandler2 !== void 0 && (_vm$nodeHandler2 = _vm$nodeHandler2.runtimeData) !== null && _vm$nodeHandler2 !== void 0 && (_vm$nodeHandler2 = _vm$nodeHandler2.caseNodes[_vm.node.code]) !== null && _vm$nodeHandler2 !== void 0 && _vm$nodeHandler2.status ? _vm.nodeHandler.runtimeData.caseNodes[_vm.node.code].status : ''],
|
|
23720
|
+
on: {
|
|
23721
|
+
"click": _vm.click
|
|
23722
|
+
}
|
|
23723
|
+
}, [_c('div', {
|
|
23724
|
+
staticClass: "title"
|
|
23725
|
+
}, [_c('span', [_c('a-icon', {
|
|
23726
|
+
attrs: {
|
|
23727
|
+
"component": _vm.icon
|
|
23728
|
+
}
|
|
23729
|
+
})], 1), _c('span', [_vm._v(" " + _vm._s(_vm.node.name))]), (_vm$nodeRef = _vm.nodeRef) !== null && _vm$nodeRef !== void 0 && (_vm$nodeRef = _vm$nodeRef.data) !== null && _vm$nodeRef !== void 0 && (_vm$nodeRef = _vm$nodeRef.other_options) !== null && _vm$nodeRef !== void 0 && (_vm$nodeRef = _vm$nodeRef.assert) !== null && _vm$nodeRef !== void 0 && _vm$nodeRef.length ? _c('span', [_c('a-icon', {
|
|
23730
|
+
attrs: {
|
|
23731
|
+
"type": "control"
|
|
23732
|
+
}
|
|
23733
|
+
})], 1) : _vm._e(), !_vm.nodeHandler.isPreview ? _c('span', {
|
|
23734
|
+
staticClass: "title-right"
|
|
23735
|
+
}, [_c('a-icon', {
|
|
23736
|
+
staticClass: "close",
|
|
23737
|
+
attrs: {
|
|
23738
|
+
"type": "close"
|
|
23739
|
+
},
|
|
23740
|
+
on: {
|
|
23741
|
+
"click": function click($event) {
|
|
23742
|
+
$event.stopPropagation();
|
|
23743
|
+
return _vm.close.apply(null, arguments);
|
|
23744
|
+
}
|
|
23745
|
+
}
|
|
23746
|
+
})], 1) : _vm._e()]), _c('div', {
|
|
23747
|
+
staticClass: "content"
|
|
23748
|
+
}, [_c('span', {
|
|
23749
|
+
staticClass: "content-main"
|
|
23750
|
+
}, [_c('span', {
|
|
23751
|
+
staticClass: "error-tooltip"
|
|
23752
|
+
}, [_c('a-tooltip', [_c('template', {
|
|
23753
|
+
slot: "title"
|
|
23754
|
+
}, [_vm._v(" " + _vm._s(_vm.node.error) + " ")]), _c('a-icon', {
|
|
23755
|
+
attrs: {
|
|
23756
|
+
"theme": "filled",
|
|
23757
|
+
"type": "warning"
|
|
23758
|
+
}
|
|
23759
|
+
})], 2)], 1), _vm.nodeContent ? _c('span', {
|
|
23760
|
+
staticStyle: {
|
|
23761
|
+
"padding-left": "5px"
|
|
23762
|
+
}
|
|
23763
|
+
}, [_c('span', {
|
|
23764
|
+
domProps: {
|
|
23765
|
+
"innerHTML": _vm._s(_vm.nodeContent)
|
|
23766
|
+
}
|
|
23767
|
+
})]) : _c('span', {
|
|
23768
|
+
staticStyle: {
|
|
23769
|
+
"padding-left": "5px",
|
|
23770
|
+
"color": "rgb(164 164 164)"
|
|
23771
|
+
}
|
|
23772
|
+
}, [_vm._v(_vm._s(_vm.defaultContent))])]), _c('span', {
|
|
23773
|
+
staticClass: "content-right"
|
|
23774
|
+
}, [!_vm.nodeHandler.isPreview ? _c('a-popover', {
|
|
23775
|
+
attrs: {
|
|
23776
|
+
"placement": "rightTop",
|
|
23777
|
+
"trigger": "click"
|
|
23778
|
+
},
|
|
23779
|
+
scopedSlots: _vm._u([{
|
|
23780
|
+
key: "title",
|
|
23781
|
+
fn: function fn() {
|
|
23782
|
+
return [_c('span', {
|
|
23783
|
+
staticStyle: {
|
|
23784
|
+
"font-size": "18px"
|
|
23785
|
+
}
|
|
23786
|
+
}, [_vm._v("追加分支")])];
|
|
23787
|
+
},
|
|
23788
|
+
proxy: true
|
|
23789
|
+
}, {
|
|
23790
|
+
key: "content",
|
|
23791
|
+
fn: function fn() {
|
|
23792
|
+
return [_c('div', {
|
|
23793
|
+
staticClass: "add-node-box"
|
|
23794
|
+
}, _vm._l(_vm.nodes, function (node, index) {
|
|
23795
|
+
var _node$icon, _node$icon2;
|
|
23796
|
+
return _c('div', {
|
|
23797
|
+
key: index,
|
|
23798
|
+
staticClass: "add-node-item",
|
|
23799
|
+
on: {
|
|
23800
|
+
"click": function click($event) {
|
|
23801
|
+
return _vm.wrapNode(node.type);
|
|
23802
|
+
}
|
|
23803
|
+
}
|
|
23804
|
+
}, [_c('div', {
|
|
23805
|
+
staticClass: "icon",
|
|
23806
|
+
style: 'color:' + node.color + ';'
|
|
23807
|
+
}, [(_node$icon = node.icon) !== null && _node$icon !== void 0 && _node$icon.component ? _c('a-icon', {
|
|
23808
|
+
attrs: {
|
|
23809
|
+
"component": node.icon.component
|
|
23810
|
+
}
|
|
23811
|
+
}) : _vm._e(), (_node$icon2 = node.icon) !== null && _node$icon2 !== void 0 && _node$icon2.type ? _c('a-icon', {
|
|
23812
|
+
attrs: {
|
|
23813
|
+
"type": node.icon.type
|
|
23814
|
+
}
|
|
23815
|
+
}) : _vm._e()], 1), _c('span', [_vm._v(_vm._s(node.name))])]);
|
|
23816
|
+
}), 0)];
|
|
23817
|
+
},
|
|
23818
|
+
proxy: true
|
|
23819
|
+
}], null, false, 2863198520),
|
|
23820
|
+
model: {
|
|
23821
|
+
value: _vm.visiblePopover,
|
|
23822
|
+
callback: function callback($$v) {
|
|
23823
|
+
_vm.visiblePopover = $$v;
|
|
23824
|
+
},
|
|
23825
|
+
expression: "visiblePopover"
|
|
23826
|
+
}
|
|
23827
|
+
}, [_c('a-icon', {
|
|
23828
|
+
attrs: {
|
|
23829
|
+
"type": "plus"
|
|
23830
|
+
},
|
|
23831
|
+
on: {
|
|
23832
|
+
"click": function click($event) {
|
|
23833
|
+
$event.stopPropagation();
|
|
23834
|
+
return function () {}.apply(null, arguments);
|
|
23835
|
+
}
|
|
23836
|
+
}
|
|
23837
|
+
})], 1) : _vm._e()], 1)])])]) : _c('div', {
|
|
23943
23838
|
staticClass: "node",
|
|
23944
23839
|
class: _vm.getClass(),
|
|
23945
23840
|
on: {
|
|
@@ -23948,10 +23843,2179 @@ var TriggerNodevue_type_template_id_7af4eb1a_scoped_true_render = function rende
|
|
|
23948
23843
|
}, [_c('div', {
|
|
23949
23844
|
staticClass: "title"
|
|
23950
23845
|
}, [_c('span', [_c('a-icon', {
|
|
23846
|
+
attrs: {
|
|
23847
|
+
"component": _vm.icon
|
|
23848
|
+
}
|
|
23849
|
+
})], 1), _c('span', [_vm._v(" " + _vm._s(_vm.node.name))]), (_vm$nodeRef2 = _vm.nodeRef) !== null && _vm$nodeRef2 !== void 0 && (_vm$nodeRef2 = _vm$nodeRef2.data) !== null && _vm$nodeRef2 !== void 0 && (_vm$nodeRef2 = _vm$nodeRef2.other_options) !== null && _vm$nodeRef2 !== void 0 && (_vm$nodeRef2 = _vm$nodeRef2.assert) !== null && _vm$nodeRef2 !== void 0 && _vm$nodeRef2.length ? _c('span', [_c('a-icon', {
|
|
23951
23850
|
attrs: {
|
|
23952
23851
|
"type": "control"
|
|
23953
23852
|
}
|
|
23954
|
-
})], 1)
|
|
23853
|
+
})], 1) : _vm._e(), !_vm.nodeHandler.isPreview ? _c('span', {
|
|
23854
|
+
staticClass: "title-right"
|
|
23855
|
+
}, [_c('a-icon', {
|
|
23856
|
+
staticClass: "close",
|
|
23857
|
+
attrs: {
|
|
23858
|
+
"type": "close"
|
|
23859
|
+
},
|
|
23860
|
+
on: {
|
|
23861
|
+
"click": function click($event) {
|
|
23862
|
+
$event.stopPropagation();
|
|
23863
|
+
return _vm.close.apply(null, arguments);
|
|
23864
|
+
}
|
|
23865
|
+
}
|
|
23866
|
+
})], 1) : _vm._e()]), _c('div', {
|
|
23867
|
+
staticClass: "content"
|
|
23868
|
+
}, [_c('span', {
|
|
23869
|
+
staticClass: "content-main"
|
|
23870
|
+
}, [_c('span', {
|
|
23871
|
+
staticClass: "error-tooltip"
|
|
23872
|
+
}, [_c('a-tooltip', [_c('template', {
|
|
23873
|
+
slot: "title"
|
|
23874
|
+
}, [_vm._v(" " + _vm._s(_vm.node.error) + " ")]), _c('a-icon', {
|
|
23875
|
+
attrs: {
|
|
23876
|
+
"theme": "filled",
|
|
23877
|
+
"type": "warning"
|
|
23878
|
+
}
|
|
23879
|
+
})], 2)], 1), _vm.nodeContent ? _c('span', {
|
|
23880
|
+
staticStyle: {
|
|
23881
|
+
"padding-left": "5px"
|
|
23882
|
+
}
|
|
23883
|
+
}, [_c('span', {
|
|
23884
|
+
domProps: {
|
|
23885
|
+
"innerHTML": _vm._s(_vm.nodeContent)
|
|
23886
|
+
}
|
|
23887
|
+
})]) : _c('span', {
|
|
23888
|
+
staticStyle: {
|
|
23889
|
+
"padding-left": "5px",
|
|
23890
|
+
"color": "rgb(164 164 164)"
|
|
23891
|
+
}
|
|
23892
|
+
}, [_vm._v(_vm._s(_vm.defaultContent))])]), _c('span', {
|
|
23893
|
+
staticClass: "content-right"
|
|
23894
|
+
}, [!_vm.nodeHandler.isPreview ? _c('a-popover', {
|
|
23895
|
+
attrs: {
|
|
23896
|
+
"placement": "rightTop",
|
|
23897
|
+
"trigger": "click"
|
|
23898
|
+
},
|
|
23899
|
+
scopedSlots: _vm._u([{
|
|
23900
|
+
key: "title",
|
|
23901
|
+
fn: function fn() {
|
|
23902
|
+
return [_c('span', {
|
|
23903
|
+
staticStyle: {
|
|
23904
|
+
"font-size": "18px"
|
|
23905
|
+
}
|
|
23906
|
+
}, [_vm._v("追加分支")])];
|
|
23907
|
+
},
|
|
23908
|
+
proxy: true
|
|
23909
|
+
}, {
|
|
23910
|
+
key: "content",
|
|
23911
|
+
fn: function fn() {
|
|
23912
|
+
return [_c('div', {
|
|
23913
|
+
staticClass: "add-node-box"
|
|
23914
|
+
}, _vm._l(_vm.nodes, function (node, index) {
|
|
23915
|
+
var _node$icon3, _node$icon4;
|
|
23916
|
+
return _c('div', {
|
|
23917
|
+
key: index,
|
|
23918
|
+
staticClass: "add-node-item",
|
|
23919
|
+
on: {
|
|
23920
|
+
"click": function click($event) {
|
|
23921
|
+
return _vm.wrapNode(node.type);
|
|
23922
|
+
}
|
|
23923
|
+
}
|
|
23924
|
+
}, [_c('div', {
|
|
23925
|
+
staticClass: "icon",
|
|
23926
|
+
style: 'color:' + node.color + ';'
|
|
23927
|
+
}, [(_node$icon3 = node.icon) !== null && _node$icon3 !== void 0 && _node$icon3.component ? _c('a-icon', {
|
|
23928
|
+
attrs: {
|
|
23929
|
+
"component": node.icon.component
|
|
23930
|
+
}
|
|
23931
|
+
}) : _vm._e(), (_node$icon4 = node.icon) !== null && _node$icon4 !== void 0 && _node$icon4.type ? _c('a-icon', {
|
|
23932
|
+
attrs: {
|
|
23933
|
+
"type": node.icon.type
|
|
23934
|
+
}
|
|
23935
|
+
}) : _vm._e()], 1), _c('span', [_vm._v(_vm._s(node.name))])]);
|
|
23936
|
+
}), 0)];
|
|
23937
|
+
},
|
|
23938
|
+
proxy: true
|
|
23939
|
+
}], null, false, 2863198520),
|
|
23940
|
+
model: {
|
|
23941
|
+
value: _vm.visiblePopover,
|
|
23942
|
+
callback: function callback($$v) {
|
|
23943
|
+
_vm.visiblePopover = $$v;
|
|
23944
|
+
},
|
|
23945
|
+
expression: "visiblePopover"
|
|
23946
|
+
}
|
|
23947
|
+
}, [_c('a-icon', {
|
|
23948
|
+
attrs: {
|
|
23949
|
+
"type": "plus"
|
|
23950
|
+
},
|
|
23951
|
+
on: {
|
|
23952
|
+
"click": function click($event) {
|
|
23953
|
+
$event.stopPropagation();
|
|
23954
|
+
return function () {}.apply(null, arguments);
|
|
23955
|
+
}
|
|
23956
|
+
}
|
|
23957
|
+
})], 1) : _vm._e()], 1)])]), !_vm.nodeHandler.isPreview ? _c('a-drawer', {
|
|
23958
|
+
attrs: {
|
|
23959
|
+
"closable": true,
|
|
23960
|
+
"visible": _vm.visibleDrawer,
|
|
23961
|
+
"width": 720,
|
|
23962
|
+
"placement": "right"
|
|
23963
|
+
},
|
|
23964
|
+
on: {
|
|
23965
|
+
"close": _vm.hideDrawer
|
|
23966
|
+
}
|
|
23967
|
+
}, [!_vm.editName ? _c('div', {
|
|
23968
|
+
staticClass: "node-drawer-title",
|
|
23969
|
+
on: {
|
|
23970
|
+
"click": _vm.showEditName
|
|
23971
|
+
}
|
|
23972
|
+
}, [_c('a-icon', {
|
|
23973
|
+
attrs: {
|
|
23974
|
+
"type": "edit"
|
|
23975
|
+
}
|
|
23976
|
+
}), _vm._v(" " + _vm._s(_vm.node.name) + " ")], 1) : _vm._e(), _c('a-form-model', {
|
|
23977
|
+
directives: [{
|
|
23978
|
+
name: "show",
|
|
23979
|
+
rawName: "v-show",
|
|
23980
|
+
value: _vm.editName,
|
|
23981
|
+
expression: "editName"
|
|
23982
|
+
}],
|
|
23983
|
+
ref: "nameForm",
|
|
23984
|
+
attrs: {
|
|
23985
|
+
"model": _vm.nodeRef,
|
|
23986
|
+
"rules": {
|
|
23987
|
+
name: [{
|
|
23988
|
+
required: true,
|
|
23989
|
+
message: '请填写节点名称',
|
|
23990
|
+
trigger: 'blur'
|
|
23991
|
+
}, {
|
|
23992
|
+
min: 2,
|
|
23993
|
+
max: 20,
|
|
23994
|
+
message: '2-20个字',
|
|
23995
|
+
trigger: 'blur'
|
|
23996
|
+
}]
|
|
23997
|
+
},
|
|
23998
|
+
"layout": "inline"
|
|
23999
|
+
}
|
|
24000
|
+
}, [_c('a-form-model-item', {
|
|
24001
|
+
ref: "name",
|
|
24002
|
+
attrs: {
|
|
24003
|
+
"prop": "name"
|
|
24004
|
+
}
|
|
24005
|
+
}, [_c('a-input', {
|
|
24006
|
+
ref: "nameInput",
|
|
24007
|
+
attrs: {
|
|
24008
|
+
"placeholder": "节点名称"
|
|
24009
|
+
},
|
|
24010
|
+
on: {
|
|
24011
|
+
"blur": function blur() {
|
|
24012
|
+
_vm.editName = false;
|
|
24013
|
+
}
|
|
24014
|
+
},
|
|
24015
|
+
model: {
|
|
24016
|
+
value: _vm.nodeRef.name,
|
|
24017
|
+
callback: function callback($$v) {
|
|
24018
|
+
_vm.$set(_vm.nodeRef, "name", $$v);
|
|
24019
|
+
},
|
|
24020
|
+
expression: "nodeRef.name"
|
|
24021
|
+
}
|
|
24022
|
+
})], 1)], 1), _c('a-tabs', {
|
|
24023
|
+
attrs: {
|
|
24024
|
+
"default-active-key": "1"
|
|
24025
|
+
},
|
|
24026
|
+
on: {
|
|
24027
|
+
"change": _vm.changeTags
|
|
24028
|
+
},
|
|
24029
|
+
model: {
|
|
24030
|
+
value: _vm.tabKey,
|
|
24031
|
+
callback: function callback($$v) {
|
|
24032
|
+
_vm.tabKey = $$v;
|
|
24033
|
+
},
|
|
24034
|
+
expression: "tabKey"
|
|
24035
|
+
}
|
|
24036
|
+
}, [_c('a-tab-pane', {
|
|
24037
|
+
key: "actors",
|
|
24038
|
+
attrs: {
|
|
24039
|
+
"tab": "设置人"
|
|
24040
|
+
}
|
|
24041
|
+
}, [_c('div', {
|
|
24042
|
+
staticClass: "node-form-item"
|
|
24043
|
+
}, [_vm._v(" 配置执行人策略 "), _c('a-radio-group', {
|
|
24044
|
+
attrs: {
|
|
24045
|
+
"button-style": "solid"
|
|
24046
|
+
},
|
|
24047
|
+
model: {
|
|
24048
|
+
value: _vm.nodeRef.data.actor_config.type,
|
|
24049
|
+
callback: function callback($$v) {
|
|
24050
|
+
_vm.$set(_vm.nodeRef.data.actor_config, "type", $$v);
|
|
24051
|
+
},
|
|
24052
|
+
expression: "nodeRef.data.actor_config.type"
|
|
24053
|
+
}
|
|
24054
|
+
}, [_c('a-radio-button', {
|
|
24055
|
+
attrs: {
|
|
24056
|
+
"value": "expression"
|
|
24057
|
+
}
|
|
24058
|
+
}, [_vm._v(" 表达式 ")]), _c('a-radio-button', {
|
|
24059
|
+
attrs: {
|
|
24060
|
+
"value": "sponsor"
|
|
24061
|
+
}
|
|
24062
|
+
}, [_vm._v(" 发起人自己 ")])], 1)], 1), _vm.nodeRef.data.actor_config.type === 'expression' ? _c('div', {
|
|
24063
|
+
staticStyle: {
|
|
24064
|
+
"width": "100%"
|
|
24065
|
+
}
|
|
24066
|
+
}, [_vm._l(_vm.nodeRef.data.actor_config.expression, function (item, index) {
|
|
24067
|
+
return _c('div', {
|
|
24068
|
+
key: index
|
|
24069
|
+
}, [_c('a-row', {
|
|
24070
|
+
staticClass: "node-form-item",
|
|
24071
|
+
staticStyle: {
|
|
24072
|
+
"display": "flex",
|
|
24073
|
+
"align-items": "center"
|
|
24074
|
+
}
|
|
24075
|
+
}, [_c('a-col', {
|
|
24076
|
+
attrs: {
|
|
24077
|
+
"span": "4"
|
|
24078
|
+
}
|
|
24079
|
+
}, [_c('a-radio-group', {
|
|
24080
|
+
attrs: {
|
|
24081
|
+
"button-style": "solid",
|
|
24082
|
+
"size": "small"
|
|
24083
|
+
},
|
|
24084
|
+
model: {
|
|
24085
|
+
value: item.type,
|
|
24086
|
+
callback: function callback($$v) {
|
|
24087
|
+
_vm.$set(item, "type", $$v);
|
|
24088
|
+
},
|
|
24089
|
+
expression: "item.type"
|
|
24090
|
+
}
|
|
24091
|
+
}, [_c('a-radio-button', {
|
|
24092
|
+
attrs: {
|
|
24093
|
+
"value": "uid"
|
|
24094
|
+
}
|
|
24095
|
+
}, [_c('a-icon', {
|
|
24096
|
+
attrs: {
|
|
24097
|
+
"type": "user"
|
|
24098
|
+
}
|
|
24099
|
+
})], 1), _c('a-radio-button', {
|
|
24100
|
+
attrs: {
|
|
24101
|
+
"value": "org"
|
|
24102
|
+
}
|
|
24103
|
+
}, [_c('a-icon', {
|
|
24104
|
+
attrs: {
|
|
24105
|
+
"type": "team"
|
|
24106
|
+
}
|
|
24107
|
+
})], 1)], 1), _vm.nodeRef.data.actor_config.expression.length > 1 ? _c('a-button', {
|
|
24108
|
+
attrs: {
|
|
24109
|
+
"icon": "delete",
|
|
24110
|
+
"type": "link"
|
|
24111
|
+
},
|
|
24112
|
+
on: {
|
|
24113
|
+
"click": function click() {
|
|
24114
|
+
return _vm.nodeRef.data.actor_config.expression.splice(index, 1);
|
|
24115
|
+
}
|
|
24116
|
+
}
|
|
24117
|
+
}) : _vm._e()], 1), item.type === 'uid' ? _c('a-col', {
|
|
24118
|
+
attrs: {
|
|
24119
|
+
"span": "18"
|
|
24120
|
+
}
|
|
24121
|
+
}, [_c('div', [_c('a-select', {
|
|
24122
|
+
staticStyle: {
|
|
24123
|
+
"width": "100%"
|
|
24124
|
+
},
|
|
24125
|
+
attrs: {
|
|
24126
|
+
"filterOption": _vm.filterUser,
|
|
24127
|
+
"options": [].concat(TaskNodevue_type_template_id_71cd8e14_scoped_true_toConsumableArray(_vm.businessUserData), TaskNodevue_type_template_id_71cd8e14_scoped_true_toConsumableArray(_vm.users)),
|
|
24128
|
+
"mode": "multiple",
|
|
24129
|
+
"placeholder": "选择人"
|
|
24130
|
+
},
|
|
24131
|
+
model: {
|
|
24132
|
+
value: item.user,
|
|
24133
|
+
callback: function callback($$v) {
|
|
24134
|
+
_vm.$set(item, "user", $$v);
|
|
24135
|
+
},
|
|
24136
|
+
expression: "item.user"
|
|
24137
|
+
}
|
|
24138
|
+
})], 1)]) : _vm._e(), item.type === 'org' ? _c('a-col', {
|
|
24139
|
+
attrs: {
|
|
24140
|
+
"span": "18"
|
|
24141
|
+
}
|
|
24142
|
+
}, [_c('div', [_c('a-row', [_c('a-col', {
|
|
24143
|
+
attrs: {
|
|
24144
|
+
"span": 8
|
|
24145
|
+
}
|
|
24146
|
+
}, [_c('a-tree-select', {
|
|
24147
|
+
staticStyle: {
|
|
24148
|
+
"width": "100%"
|
|
24149
|
+
},
|
|
24150
|
+
attrs: {
|
|
24151
|
+
"dropdown-style": {
|
|
24152
|
+
maxHeight: '400px',
|
|
24153
|
+
overflow: 'auto'
|
|
24154
|
+
},
|
|
24155
|
+
"tree-data": [_vm.businessOrgData].concat(TaskNodevue_type_template_id_71cd8e14_scoped_true_toConsumableArray(_vm.orgData)),
|
|
24156
|
+
"allowClear": "",
|
|
24157
|
+
"placeholder": "部门",
|
|
24158
|
+
"tree-default-expand-all": ""
|
|
24159
|
+
},
|
|
24160
|
+
model: {
|
|
24161
|
+
value: item.orgId,
|
|
24162
|
+
callback: function callback($$v) {
|
|
24163
|
+
_vm.$set(item, "orgId", $$v);
|
|
24164
|
+
},
|
|
24165
|
+
expression: "item.orgId"
|
|
24166
|
+
}
|
|
24167
|
+
})], 1), _c('a-col', {
|
|
24168
|
+
attrs: {
|
|
24169
|
+
"span": 8
|
|
24170
|
+
}
|
|
24171
|
+
}, [_c('a-select', {
|
|
24172
|
+
staticStyle: {
|
|
24173
|
+
"width": "100%"
|
|
24174
|
+
},
|
|
24175
|
+
attrs: {
|
|
24176
|
+
"options": _vm.roles,
|
|
24177
|
+
"allowClear": "",
|
|
24178
|
+
"placeholder": "角色"
|
|
24179
|
+
},
|
|
24180
|
+
model: {
|
|
24181
|
+
value: item.roleId,
|
|
24182
|
+
callback: function callback($$v) {
|
|
24183
|
+
_vm.$set(item, "roleId", $$v);
|
|
24184
|
+
},
|
|
24185
|
+
expression: "item.roleId"
|
|
24186
|
+
}
|
|
24187
|
+
})], 1)], 1)], 1)]) : _vm._e(), _vm.nodeRef.data.actor_config.expression.length === index + 1 && _vm.hasExpression(item) ? _c('a-col', {
|
|
24188
|
+
attrs: {
|
|
24189
|
+
"span": "2"
|
|
24190
|
+
}
|
|
24191
|
+
}, [_c('a-button', {
|
|
24192
|
+
attrs: {
|
|
24193
|
+
"icon": "plus",
|
|
24194
|
+
"shape": "circle",
|
|
24195
|
+
"type": "primary"
|
|
24196
|
+
},
|
|
24197
|
+
on: {
|
|
24198
|
+
"click": function click() {
|
|
24199
|
+
_vm.nodeRef.data.actor_config.expression.push({
|
|
24200
|
+
type: 'uid',
|
|
24201
|
+
user: [],
|
|
24202
|
+
orgId: undefined,
|
|
24203
|
+
roleId: undefined,
|
|
24204
|
+
groupId: undefined
|
|
24205
|
+
});
|
|
24206
|
+
}
|
|
24207
|
+
}
|
|
24208
|
+
})], 1) : _vm._e()], 1)], 1);
|
|
24209
|
+
}), _c('div', {
|
|
24210
|
+
staticClass: "node-form-item"
|
|
24211
|
+
}, [_c('a-row', [_c('a-col', {
|
|
24212
|
+
attrs: {
|
|
24213
|
+
"span": 4
|
|
24214
|
+
}
|
|
24215
|
+
}, [_vm._v("自选")]), _c('a-col', {
|
|
24216
|
+
attrs: {
|
|
24217
|
+
"span": 20
|
|
24218
|
+
}
|
|
24219
|
+
}, [_c('a-radio-group', {
|
|
24220
|
+
staticStyle: {
|
|
24221
|
+
"margin-right": "10px"
|
|
24222
|
+
},
|
|
24223
|
+
attrs: {
|
|
24224
|
+
"button-style": "solid"
|
|
24225
|
+
},
|
|
24226
|
+
model: {
|
|
24227
|
+
value: _vm.nodeRef.data.actor_config.optional.enable,
|
|
24228
|
+
callback: function callback($$v) {
|
|
24229
|
+
_vm.$set(_vm.nodeRef.data.actor_config.optional, "enable", $$v);
|
|
24230
|
+
},
|
|
24231
|
+
expression: "nodeRef.data.actor_config.optional.enable"
|
|
24232
|
+
}
|
|
24233
|
+
}, [_c('a-radio-button', {
|
|
24234
|
+
attrs: {
|
|
24235
|
+
"value": false
|
|
24236
|
+
}
|
|
24237
|
+
}, [_vm._v(" 禁用 ")]), _c('a-radio-button', {
|
|
24238
|
+
attrs: {
|
|
24239
|
+
"value": true
|
|
24240
|
+
}
|
|
24241
|
+
}, [_vm._v(" 启用 ")])], 1), _vm.nodeRef.data.actor_config.optional.enable ? _c('a-radio-group', {
|
|
24242
|
+
attrs: {
|
|
24243
|
+
"button-style": "solid"
|
|
24244
|
+
},
|
|
24245
|
+
model: {
|
|
24246
|
+
value: _vm.nodeRef.data.actor_config.optional.multi,
|
|
24247
|
+
callback: function callback($$v) {
|
|
24248
|
+
_vm.$set(_vm.nodeRef.data.actor_config.optional, "multi", $$v);
|
|
24249
|
+
},
|
|
24250
|
+
expression: "nodeRef.data.actor_config.optional.multi"
|
|
24251
|
+
}
|
|
24252
|
+
}, [_c('a-radio-button', {
|
|
24253
|
+
attrs: {
|
|
24254
|
+
"value": false
|
|
24255
|
+
}
|
|
24256
|
+
}, [_vm._v(" 可选单人 ")]), _c('a-radio-button', {
|
|
24257
|
+
attrs: {
|
|
24258
|
+
"value": true
|
|
24259
|
+
}
|
|
24260
|
+
}, [_vm._v(" 可选多人 ")])], 1) : _vm._e()], 1)], 1)], 1), !_vm.nodeRef.data.actor_config.optional.enable && !_vm.isSingle || _vm.nodeRef.data.actor_config.optional.enable && _vm.nodeRef.data.actor_config.optional.multi ? _c('div', {
|
|
24261
|
+
staticClass: "node-form-item"
|
|
24262
|
+
}, [_c('a-row', [_c('a-col', {
|
|
24263
|
+
attrs: {
|
|
24264
|
+
"span": 4
|
|
24265
|
+
}
|
|
24266
|
+
}, [_vm._v("多人执行模式")]), _c('a-col', {
|
|
24267
|
+
attrs: {
|
|
24268
|
+
"span": 20
|
|
24269
|
+
}
|
|
24270
|
+
}, [_c('a-radio-group', {
|
|
24271
|
+
attrs: {
|
|
24272
|
+
"button-style": "solid"
|
|
24273
|
+
},
|
|
24274
|
+
model: {
|
|
24275
|
+
value: _vm.nodeRef.data.actor_config.check_mode,
|
|
24276
|
+
callback: function callback($$v) {
|
|
24277
|
+
_vm.$set(_vm.nodeRef.data.actor_config, "check_mode", $$v);
|
|
24278
|
+
},
|
|
24279
|
+
expression: "nodeRef.data.actor_config.check_mode"
|
|
24280
|
+
}
|
|
24281
|
+
}, [_c('a-radio-button', {
|
|
24282
|
+
attrs: {
|
|
24283
|
+
"value": "queue"
|
|
24284
|
+
}
|
|
24285
|
+
}, [_vm._v("依次执行")]), _c('a-radio-button', {
|
|
24286
|
+
attrs: {
|
|
24287
|
+
"value": "orsign"
|
|
24288
|
+
}
|
|
24289
|
+
}, [_vm._v("或操")]), _c('a-radio-button', {
|
|
24290
|
+
attrs: {
|
|
24291
|
+
"value": "sign"
|
|
24292
|
+
}
|
|
24293
|
+
}, [_vm._v("会操")])], 1)], 1)], 1)], 1) : _vm._e()], 2) : _vm._e(), _c('a-row', {
|
|
24294
|
+
staticStyle: {
|
|
24295
|
+
"display": "flex",
|
|
24296
|
+
"align-items": "center",
|
|
24297
|
+
"margin-bottom": "5px"
|
|
24298
|
+
}
|
|
24299
|
+
}, [_c('a-col', {
|
|
24300
|
+
attrs: {
|
|
24301
|
+
"span": 4
|
|
24302
|
+
}
|
|
24303
|
+
}, [_vm._v("执行人为空时")]), _c('a-col', {
|
|
24304
|
+
attrs: {
|
|
24305
|
+
"span": 20
|
|
24306
|
+
}
|
|
24307
|
+
}, [_c('a-radio-group', {
|
|
24308
|
+
staticStyle: {
|
|
24309
|
+
"margin-right": "10px"
|
|
24310
|
+
},
|
|
24311
|
+
attrs: {
|
|
24312
|
+
"button-style": "solid"
|
|
24313
|
+
},
|
|
24314
|
+
model: {
|
|
24315
|
+
value: _vm.nodeRef.data.other_options.approverIsNull,
|
|
24316
|
+
callback: function callback($$v) {
|
|
24317
|
+
_vm.$set(_vm.nodeRef.data.other_options, "approverIsNull", $$v);
|
|
24318
|
+
},
|
|
24319
|
+
expression: "nodeRef.data.other_options.approverIsNull"
|
|
24320
|
+
}
|
|
24321
|
+
}, [_c('a-radio-button', {
|
|
24322
|
+
attrs: {
|
|
24323
|
+
"disabled": "",
|
|
24324
|
+
"value": "next"
|
|
24325
|
+
}
|
|
24326
|
+
}, [_vm._v(" 跳过 ")]), _c('a-radio-button', {
|
|
24327
|
+
attrs: {
|
|
24328
|
+
"value": "error"
|
|
24329
|
+
}
|
|
24330
|
+
}, [_vm._v(" 提示错误 ")])], 1)], 1)], 1)], 1), _c('a-tab-pane', {
|
|
24331
|
+
key: "forms",
|
|
24332
|
+
attrs: {
|
|
24333
|
+
"tab": "操作视图"
|
|
24334
|
+
}
|
|
24335
|
+
}, [_c('div', {
|
|
24336
|
+
staticClass: "node-form-item"
|
|
24337
|
+
}, [_c('a-row', {
|
|
24338
|
+
staticStyle: {
|
|
24339
|
+
"display": "flex",
|
|
24340
|
+
"align-items": "center",
|
|
24341
|
+
"margin-bottom": "5px"
|
|
24342
|
+
}
|
|
24343
|
+
}, [_c('a-col', {
|
|
24344
|
+
attrs: {
|
|
24345
|
+
"span": 24
|
|
24346
|
+
}
|
|
24347
|
+
}, [_c('a-radio-group', {
|
|
24348
|
+
staticClass: "node-form-item",
|
|
24349
|
+
on: {
|
|
24350
|
+
"change": _vm.changeViewType
|
|
24351
|
+
},
|
|
24352
|
+
model: {
|
|
24353
|
+
value: _vm.optionViewType,
|
|
24354
|
+
callback: function callback($$v) {
|
|
24355
|
+
_vm.optionViewType = $$v;
|
|
24356
|
+
},
|
|
24357
|
+
expression: "optionViewType"
|
|
24358
|
+
}
|
|
24359
|
+
}, [_c('a-radio', {
|
|
24360
|
+
attrs: {
|
|
24361
|
+
"value": "use_model"
|
|
24362
|
+
}
|
|
24363
|
+
}, [_vm._v(" 沿用工作流模型 ")]), _c('a-radio', {
|
|
24364
|
+
attrs: {
|
|
24365
|
+
"value": "custom"
|
|
24366
|
+
}
|
|
24367
|
+
}, [_vm._v(" 自主选择 ")])], 1)], 1)], 1), _c('a-row', [_c('a-col', {
|
|
24368
|
+
attrs: {
|
|
24369
|
+
"span": 24
|
|
24370
|
+
}
|
|
24371
|
+
}, [_vm.optionViewType === 'custom' ? _c('a-select', {
|
|
24372
|
+
staticClass: "node-form-item",
|
|
24373
|
+
staticStyle: {
|
|
24374
|
+
"width": "100%"
|
|
24375
|
+
},
|
|
24376
|
+
attrs: {
|
|
24377
|
+
"default-active-first-option": false,
|
|
24378
|
+
"filter-option": false,
|
|
24379
|
+
"not-found-content": null,
|
|
24380
|
+
"show-arrow": false,
|
|
24381
|
+
"placeholder": "请输入表单视图名称",
|
|
24382
|
+
"show-search": ""
|
|
24383
|
+
},
|
|
24384
|
+
on: {
|
|
24385
|
+
"change": _vm.optionViewChange,
|
|
24386
|
+
"search": _vm.optionViewSearch
|
|
24387
|
+
},
|
|
24388
|
+
model: {
|
|
24389
|
+
value: _vm.nodeRef.data.option_view_id,
|
|
24390
|
+
callback: function callback($$v) {
|
|
24391
|
+
_vm.$set(_vm.nodeRef.data, "option_view_id", $$v);
|
|
24392
|
+
},
|
|
24393
|
+
expression: "nodeRef.data.option_view_id"
|
|
24394
|
+
}
|
|
24395
|
+
}, _vm._l(_vm.optionViewList, function (d) {
|
|
24396
|
+
return _c('a-select-option', {
|
|
24397
|
+
key: d.value,
|
|
24398
|
+
attrs: {
|
|
24399
|
+
"value": d.value
|
|
24400
|
+
}
|
|
24401
|
+
}, [_vm._v(" " + _vm._s(d.text) + " ")]);
|
|
24402
|
+
}), 1) : _vm._e()], 1)], 1)], 1), _c('div', {
|
|
24403
|
+
key: _vm.nodeRef.data.option_view_id,
|
|
24404
|
+
staticClass: "node-from-item"
|
|
24405
|
+
}, [_c('a-divider', {
|
|
24406
|
+
attrs: {
|
|
24407
|
+
"orientation": "left"
|
|
24408
|
+
}
|
|
24409
|
+
}, [_vm._v("表单权限")]), _vm.optionViewType === 'use_model' || _vm.nodeRef.data.option_view_id ? _c('a-spin', {
|
|
24410
|
+
attrs: {
|
|
24411
|
+
"spinning": _vm.viewAttrLoading
|
|
24412
|
+
}
|
|
24413
|
+
}, [_c('a-row', [_c('a-col', {
|
|
24414
|
+
attrs: {
|
|
24415
|
+
"span": 11
|
|
24416
|
+
}
|
|
24417
|
+
}, [_c('a-input-search', {
|
|
24418
|
+
staticStyle: {
|
|
24419
|
+
"margin-bottom": "8px"
|
|
24420
|
+
},
|
|
24421
|
+
attrs: {
|
|
24422
|
+
"enter-button": "",
|
|
24423
|
+
"placeholder": "搜索表单属性"
|
|
24424
|
+
},
|
|
24425
|
+
on: {
|
|
24426
|
+
"search": function search(value) {
|
|
24427
|
+
return _vm.formsColumnFilter = value;
|
|
24428
|
+
}
|
|
24429
|
+
}
|
|
24430
|
+
})], 1), _c('a-col', {
|
|
24431
|
+
attrs: {
|
|
24432
|
+
"span": 1
|
|
24433
|
+
}
|
|
24434
|
+
}), _c('a-col', {
|
|
24435
|
+
attrs: {
|
|
24436
|
+
"span": 11
|
|
24437
|
+
}
|
|
24438
|
+
}, [_c('a-radio-group', {
|
|
24439
|
+
attrs: {
|
|
24440
|
+
"button-style": "solid"
|
|
24441
|
+
},
|
|
24442
|
+
model: {
|
|
24443
|
+
value: _vm.formsColumnAccess,
|
|
24444
|
+
callback: function callback($$v) {
|
|
24445
|
+
_vm.formsColumnAccess = $$v;
|
|
24446
|
+
},
|
|
24447
|
+
expression: "formsColumnAccess"
|
|
24448
|
+
}
|
|
24449
|
+
}, [_c('a-radio-button', {
|
|
24450
|
+
attrs: {
|
|
24451
|
+
"value": "all"
|
|
24452
|
+
}
|
|
24453
|
+
}, [_vm._v(" 无 ")]), _c('a-radio-button', {
|
|
24454
|
+
attrs: {
|
|
24455
|
+
"value": "none"
|
|
24456
|
+
}
|
|
24457
|
+
}, [_vm._v(" 隐藏 ")]), _c('a-radio-button', {
|
|
24458
|
+
attrs: {
|
|
24459
|
+
"value": "readonly"
|
|
24460
|
+
}
|
|
24461
|
+
}, [_vm._v(" 只读 ")]), _c('a-radio-button', {
|
|
24462
|
+
attrs: {
|
|
24463
|
+
"value": "write"
|
|
24464
|
+
}
|
|
24465
|
+
}, [_vm._v(" 可写 ")]), _c('a-radio-button', {
|
|
24466
|
+
attrs: {
|
|
24467
|
+
"value": "readonlywrite"
|
|
24468
|
+
}
|
|
24469
|
+
}, [_vm._v(" 读写 ")])], 1)], 1)], 1), _c('a-table', {
|
|
24470
|
+
attrs: {
|
|
24471
|
+
"columns": _vm.optionFormsColumns,
|
|
24472
|
+
"data-source": _vm.filterDataset(_vm.formsColumnFilter, _vm.nodeRef.data.option_forms, ['attrName', 'attrCode']),
|
|
24473
|
+
"row-key": function rowKey(record) {
|
|
24474
|
+
return record.attrId;
|
|
24475
|
+
}
|
|
24476
|
+
},
|
|
24477
|
+
scopedSlots: _vm._u([{
|
|
24478
|
+
key: "attrName",
|
|
24479
|
+
fn: function fn(text, record) {
|
|
24480
|
+
return _c('span', {}, [_vm._v(_vm._s(record.attrName) + "(" + _vm._s(record.attrCode) + ")")]);
|
|
24481
|
+
}
|
|
24482
|
+
}, {
|
|
24483
|
+
key: "none",
|
|
24484
|
+
fn: function fn(text, record) {
|
|
24485
|
+
return _c('span', {}, [_c('a-radio', {
|
|
24486
|
+
attrs: {
|
|
24487
|
+
"checked": record.access === 'none',
|
|
24488
|
+
"value": "none"
|
|
24489
|
+
},
|
|
24490
|
+
on: {
|
|
24491
|
+
"change": function change() {
|
|
24492
|
+
return record.access = 'none';
|
|
24493
|
+
}
|
|
24494
|
+
}
|
|
24495
|
+
}, [_vm._v("隐藏")])], 1);
|
|
24496
|
+
}
|
|
24497
|
+
}, {
|
|
24498
|
+
key: "readonly",
|
|
24499
|
+
fn: function fn(text, record) {
|
|
24500
|
+
return _c('span', {}, [_c('a-radio', {
|
|
24501
|
+
attrs: {
|
|
24502
|
+
"checked": record.access === 'readonly',
|
|
24503
|
+
"value": "readonly"
|
|
24504
|
+
},
|
|
24505
|
+
on: {
|
|
24506
|
+
"change": function change() {
|
|
24507
|
+
return record.access = 'readonly';
|
|
24508
|
+
}
|
|
24509
|
+
}
|
|
24510
|
+
}, [_vm._v("只读")])], 1);
|
|
24511
|
+
}
|
|
24512
|
+
}, {
|
|
24513
|
+
key: "write",
|
|
24514
|
+
fn: function fn(text, record) {
|
|
24515
|
+
return _c('span', {}, [_c('a-radio', {
|
|
24516
|
+
attrs: {
|
|
24517
|
+
"checked": record.access === 'write',
|
|
24518
|
+
"value": "write"
|
|
24519
|
+
},
|
|
24520
|
+
on: {
|
|
24521
|
+
"change": function change() {
|
|
24522
|
+
return record.access = 'write';
|
|
24523
|
+
}
|
|
24524
|
+
}
|
|
24525
|
+
}, [_vm._v("可编辑")])], 1);
|
|
24526
|
+
}
|
|
24527
|
+
}, {
|
|
24528
|
+
key: "required",
|
|
24529
|
+
fn: function fn(text, record) {
|
|
24530
|
+
return _c('span', {}, [record.access === 'write' ? _c('a-switch', {
|
|
24531
|
+
model: {
|
|
24532
|
+
value: record.required,
|
|
24533
|
+
callback: function callback($$v) {
|
|
24534
|
+
_vm.$set(record, "required", $$v);
|
|
24535
|
+
},
|
|
24536
|
+
expression: "record.required"
|
|
24537
|
+
}
|
|
24538
|
+
}) : _vm._e()], 1);
|
|
24539
|
+
}
|
|
24540
|
+
}], null, false, 274236117)
|
|
24541
|
+
}, [_c('span', {
|
|
24542
|
+
attrs: {
|
|
24543
|
+
"slot": "noneColumn"
|
|
24544
|
+
},
|
|
24545
|
+
slot: "noneColumn"
|
|
24546
|
+
}, [_c('a-radio', {
|
|
24547
|
+
attrs: {
|
|
24548
|
+
"checked": _vm.optionFormsRadio === 'none',
|
|
24549
|
+
"value": "none"
|
|
24550
|
+
},
|
|
24551
|
+
on: {
|
|
24552
|
+
"change": function change($event) {
|
|
24553
|
+
return _vm.optionFormsRadioChange('none');
|
|
24554
|
+
}
|
|
24555
|
+
}
|
|
24556
|
+
}, [_vm._v("隐藏")])], 1), _c('span', {
|
|
24557
|
+
attrs: {
|
|
24558
|
+
"slot": "readonlyColumn"
|
|
24559
|
+
},
|
|
24560
|
+
slot: "readonlyColumn"
|
|
24561
|
+
}, [_c('a-radio', {
|
|
24562
|
+
attrs: {
|
|
24563
|
+
"checked": _vm.optionFormsRadio === 'readonly',
|
|
24564
|
+
"value": "readonly"
|
|
24565
|
+
},
|
|
24566
|
+
on: {
|
|
24567
|
+
"change": function change($event) {
|
|
24568
|
+
return _vm.optionFormsRadioChange('readonly');
|
|
24569
|
+
}
|
|
24570
|
+
}
|
|
24571
|
+
}, [_vm._v("只读")])], 1), _c('span', {
|
|
24572
|
+
attrs: {
|
|
24573
|
+
"slot": "writeColumn"
|
|
24574
|
+
},
|
|
24575
|
+
slot: "writeColumn"
|
|
24576
|
+
}, [_c('a-radio', {
|
|
24577
|
+
attrs: {
|
|
24578
|
+
"checked": _vm.optionFormsRadio === 'write',
|
|
24579
|
+
"value": "write"
|
|
24580
|
+
},
|
|
24581
|
+
on: {
|
|
24582
|
+
"change": function change($event) {
|
|
24583
|
+
return _vm.optionFormsRadioChange('write');
|
|
24584
|
+
}
|
|
24585
|
+
}
|
|
24586
|
+
}, [_vm._v("可编辑")])], 1)])], 1) : _vm._e()], 1)]), _c('a-tab-pane', {
|
|
24587
|
+
key: "others",
|
|
24588
|
+
attrs: {
|
|
24589
|
+
"tab": "其他配置"
|
|
24590
|
+
}
|
|
24591
|
+
}, [_c('a-card', {
|
|
24592
|
+
staticStyle: {
|
|
24593
|
+
"margin": "5px"
|
|
24594
|
+
},
|
|
24595
|
+
attrs: {
|
|
24596
|
+
"size": "small",
|
|
24597
|
+
"title": "消息配置"
|
|
24598
|
+
}
|
|
24599
|
+
}, [_c('a-input', {
|
|
24600
|
+
staticStyle: {
|
|
24601
|
+
"margin-bottom": "5px"
|
|
24602
|
+
},
|
|
24603
|
+
attrs: {
|
|
24604
|
+
"placeholder": "待办跳转地址;以/结尾,例如:/${appKey}#/res_path/"
|
|
24605
|
+
},
|
|
24606
|
+
model: {
|
|
24607
|
+
value: _vm.nodeRef.data.other_options.resPath,
|
|
24608
|
+
callback: function callback($$v) {
|
|
24609
|
+
_vm.$set(_vm.nodeRef.data.other_options, "resPath", $$v);
|
|
24610
|
+
},
|
|
24611
|
+
expression: "nodeRef.data.other_options.resPath"
|
|
24612
|
+
}
|
|
24613
|
+
}), _c('a-input', {
|
|
24614
|
+
attrs: {
|
|
24615
|
+
"placeholder": "消息跳转地址"
|
|
24616
|
+
},
|
|
24617
|
+
model: {
|
|
24618
|
+
value: _vm.nodeRef.data.other_options.redirectUri,
|
|
24619
|
+
callback: function callback($$v) {
|
|
24620
|
+
_vm.$set(_vm.nodeRef.data.other_options, "redirectUri", $$v);
|
|
24621
|
+
},
|
|
24622
|
+
expression: "nodeRef.data.other_options.redirectUri"
|
|
24623
|
+
}
|
|
24624
|
+
}), _vm.noticeTemplateAttr ? _c('Item', {
|
|
24625
|
+
key: _vm.noticeTemplateAttr.name,
|
|
24626
|
+
staticClass: "node-form-item",
|
|
24627
|
+
attrs: {
|
|
24628
|
+
"formModel": _vm.eadApi.getComponent().actionModel,
|
|
24629
|
+
"params": (_vm$noticeTemplateAtt = _vm.noticeTemplateAttr.params) !== null && _vm$noticeTemplateAtt !== void 0 ? _vm$noticeTemplateAtt : {},
|
|
24630
|
+
"prop": _vm.noticeTemplateAttr.name,
|
|
24631
|
+
"required": false,
|
|
24632
|
+
"schema": _vm.noticeTemplateAttr
|
|
24633
|
+
},
|
|
24634
|
+
on: {
|
|
24635
|
+
"change": function change($event) {
|
|
24636
|
+
return _vm.handleItemChange($event, _vm.noticeTemplateAttr);
|
|
24637
|
+
}
|
|
24638
|
+
},
|
|
24639
|
+
model: {
|
|
24640
|
+
value: _vm.nodeRef.data.notice_template,
|
|
24641
|
+
callback: function callback($$v) {
|
|
24642
|
+
_vm.$set(_vm.nodeRef.data, "notice_template", $$v);
|
|
24643
|
+
},
|
|
24644
|
+
expression: "nodeRef.data.notice_template"
|
|
24645
|
+
}
|
|
24646
|
+
}) : _vm._e(), _c('a-alert', {
|
|
24647
|
+
attrs: {
|
|
24648
|
+
"message": "模板变量:",
|
|
24649
|
+
"type": "success"
|
|
24650
|
+
}
|
|
24651
|
+
}, [_c('div', {
|
|
24652
|
+
attrs: {
|
|
24653
|
+
"slot": "description"
|
|
24654
|
+
},
|
|
24655
|
+
slot: "description"
|
|
24656
|
+
}, [_c('div', [_vm._v("${workflow.variable.sponsor} - 发起人")]), _c('div', [_vm._v("${workflow.variable.sponsor_name} - 发起人姓名")]), _c('div', [_vm._v("${workflow.variable.sponsor_org} - 发起人组织机构")]), _c('div', [_vm._v("${workflow.variable.sponsor_org_name} - 发起人组织机构名称")]), _c('div', [_vm._v("${workflow.variable.sponsor_role} - 发起人角色")]), _c('div', [_vm._v("${workflow.variable.sponsor_role_name} - 发起人角色名")]), _c('div', [_vm._v("${workflow_req.page_operate.action} - 执行动作")]), _c('div', [_vm._v("${workflow_req.page_operate.approver} - 执行人")]), _c('div', [_vm._v("${workflow_req.page_operate.approver_name} - 执行人名称")])])])], 1), _c('div', {
|
|
24657
|
+
staticClass: "node-form-item"
|
|
24658
|
+
}, [_c('a-divider', {
|
|
24659
|
+
attrs: {
|
|
24660
|
+
"orientation": "left"
|
|
24661
|
+
}
|
|
24662
|
+
}, [_vm._v("退回配置")]), _c('a-row', {
|
|
24663
|
+
staticStyle: {
|
|
24664
|
+
"display": "flex",
|
|
24665
|
+
"align-items": "center",
|
|
24666
|
+
"margin-bottom": "5px"
|
|
24667
|
+
}
|
|
24668
|
+
}, [_c('a-col', {
|
|
24669
|
+
attrs: {
|
|
24670
|
+
"span": 4
|
|
24671
|
+
}
|
|
24672
|
+
}, [_vm._v("退回配置")]), _c('a-col', {
|
|
24673
|
+
attrs: {
|
|
24674
|
+
"span": 20
|
|
24675
|
+
}
|
|
24676
|
+
}, [_c('a-radio-group', {
|
|
24677
|
+
staticClass: "node-from-item",
|
|
24678
|
+
staticStyle: {
|
|
24679
|
+
"margin-right": "10px"
|
|
24680
|
+
},
|
|
24681
|
+
attrs: {
|
|
24682
|
+
"button-style": "solid"
|
|
24683
|
+
},
|
|
24684
|
+
model: {
|
|
24685
|
+
value: _vm.nodeRef.data.page_options.allowBack,
|
|
24686
|
+
callback: function callback($$v) {
|
|
24687
|
+
_vm.$set(_vm.nodeRef.data.page_options, "allowBack", $$v);
|
|
24688
|
+
},
|
|
24689
|
+
expression: "nodeRef.data.page_options.allowBack"
|
|
24690
|
+
}
|
|
24691
|
+
}, [_c('a-radio-button', {
|
|
24692
|
+
attrs: {
|
|
24693
|
+
"value": false
|
|
24694
|
+
}
|
|
24695
|
+
}, [_vm._v(" 禁止 ")]), _c('a-radio-button', {
|
|
24696
|
+
attrs: {
|
|
24697
|
+
"value": true,
|
|
24698
|
+
"disabled": ""
|
|
24699
|
+
}
|
|
24700
|
+
}, [_vm._v(" 允许 ")])], 1)], 1)], 1), _c('a-row', [_c('a-col', {
|
|
24701
|
+
staticStyle: {
|
|
24702
|
+
"display": "flex",
|
|
24703
|
+
"align-items": "center",
|
|
24704
|
+
"margin-bottom": "5px"
|
|
24705
|
+
},
|
|
24706
|
+
attrs: {
|
|
24707
|
+
"span": 24
|
|
24708
|
+
}
|
|
24709
|
+
}, [_vm.nodeRef.data.page_options.allowBack ? _c('a-radio-group', {
|
|
24710
|
+
attrs: {
|
|
24711
|
+
"button-style": "solid"
|
|
24712
|
+
},
|
|
24713
|
+
model: {
|
|
24714
|
+
value: _vm.nodeRef.data.back_type,
|
|
24715
|
+
callback: function callback($$v) {
|
|
24716
|
+
_vm.$set(_vm.nodeRef.data, "back_type", $$v);
|
|
24717
|
+
},
|
|
24718
|
+
expression: "nodeRef.data.back_type"
|
|
24719
|
+
}
|
|
24720
|
+
}, [_c('a-radio-button', {
|
|
24721
|
+
attrs: {
|
|
24722
|
+
"value": "start"
|
|
24723
|
+
}
|
|
24724
|
+
}, [_vm._v(" 退回发起人 ")]), _c('a-radio-button', {
|
|
24725
|
+
attrs: {
|
|
24726
|
+
"value": "before"
|
|
24727
|
+
}
|
|
24728
|
+
}, [_vm._v(" 退回上一步 ")]), _vm.availableBackStep.length ? _c('a-radio-button', {
|
|
24729
|
+
attrs: {
|
|
24730
|
+
"value": "assign"
|
|
24731
|
+
}
|
|
24732
|
+
}, [_vm._v(" 指定退回节点 ")]) : _vm._e(), _vm.availableBackStep.length ? _c('a-radio-button', {
|
|
24733
|
+
attrs: {
|
|
24734
|
+
"value": "custom"
|
|
24735
|
+
}
|
|
24736
|
+
}, [_vm._v(" 自主选择退回节点 ")]) : _vm._e(), _c('a-radio-button', {
|
|
24737
|
+
attrs: {
|
|
24738
|
+
"value": "bpmn"
|
|
24739
|
+
}
|
|
24740
|
+
}, [_vm._v(" 后续节点控制 ")])], 1) : _vm._e()], 1)], 1), _vm.nodeRef.data.page_options.allowBack && _vm.nodeRef.data.back_type === 'custom' ? _c('a-row', {
|
|
24741
|
+
staticStyle: {
|
|
24742
|
+
"display": "flex",
|
|
24743
|
+
"align-items": "center"
|
|
24744
|
+
}
|
|
24745
|
+
}, [_c('a-col', {
|
|
24746
|
+
attrs: {
|
|
24747
|
+
"span": 5
|
|
24748
|
+
}
|
|
24749
|
+
}, [_vm._v("自主选择退回节点")]), _c('a-col', {
|
|
24750
|
+
attrs: {
|
|
24751
|
+
"span": 19
|
|
24752
|
+
}
|
|
24753
|
+
}, [_c('a-select', {
|
|
24754
|
+
staticStyle: {
|
|
24755
|
+
"width": "100%"
|
|
24756
|
+
},
|
|
24757
|
+
attrs: {
|
|
24758
|
+
"options": _vm.availableBackStep,
|
|
24759
|
+
"mode": "multiple",
|
|
24760
|
+
"placeholder": "可选退回节点"
|
|
24761
|
+
},
|
|
24762
|
+
model: {
|
|
24763
|
+
value: _vm.nodeRef.data.custom_back_nodes,
|
|
24764
|
+
callback: function callback($$v) {
|
|
24765
|
+
_vm.$set(_vm.nodeRef.data, "custom_back_nodes", $$v);
|
|
24766
|
+
},
|
|
24767
|
+
expression: "nodeRef.data.custom_back_nodes"
|
|
24768
|
+
}
|
|
24769
|
+
})], 1)], 1) : _vm._e(), _vm.nodeRef.data.page_options.allowBack && _vm.nodeRef.data.back_type === 'assign' ? _c('a-row', {
|
|
24770
|
+
staticStyle: {
|
|
24771
|
+
"display": "flex",
|
|
24772
|
+
"align-items": "center"
|
|
24773
|
+
}
|
|
24774
|
+
}, [_c('a-col', {
|
|
24775
|
+
attrs: {
|
|
24776
|
+
"span": 4
|
|
24777
|
+
}
|
|
24778
|
+
}, [_vm._v("指定退回节点")]), _c('a-col', {
|
|
24779
|
+
attrs: {
|
|
24780
|
+
"span": 20
|
|
24781
|
+
}
|
|
24782
|
+
}, [_c('a-select', {
|
|
24783
|
+
staticStyle: {
|
|
24784
|
+
"width": "100%"
|
|
24785
|
+
},
|
|
24786
|
+
attrs: {
|
|
24787
|
+
"options": _vm.availableBackStep,
|
|
24788
|
+
"placeholder": "指定退回节点"
|
|
24789
|
+
},
|
|
24790
|
+
model: {
|
|
24791
|
+
value: _vm.nodeRef.data.back_node_id,
|
|
24792
|
+
callback: function callback($$v) {
|
|
24793
|
+
_vm.$set(_vm.nodeRef.data, "back_node_id", $$v);
|
|
24794
|
+
},
|
|
24795
|
+
expression: "nodeRef.data.back_node_id"
|
|
24796
|
+
}
|
|
24797
|
+
})], 1)], 1) : _vm._e(), _vm.nodeRef.data.page_options.allowBack && _vm.nodeRef.data.back_type === 'bpmn' ? _c('a-row', [_c('a-alert', {
|
|
24798
|
+
attrs: {
|
|
24799
|
+
"message": "退回表达式: workflow_req.page_operate.action === 'back'",
|
|
24800
|
+
"type": "success"
|
|
24801
|
+
}
|
|
24802
|
+
})], 1) : _vm._e()], 1), _vm.nodeRef.data.timeout_remind.enable ? _c('div', [_c('a-row', {
|
|
24803
|
+
staticStyle: {
|
|
24804
|
+
"display": "flex",
|
|
24805
|
+
"align-items": "center",
|
|
24806
|
+
"margin-bottom": "5px"
|
|
24807
|
+
}
|
|
24808
|
+
}, [_c('a-col', {
|
|
24809
|
+
attrs: {
|
|
24810
|
+
"span": 4
|
|
24811
|
+
}
|
|
24812
|
+
}, [_vm._v("超时时间")]), _c('a-col', {
|
|
24813
|
+
attrs: {
|
|
24814
|
+
"span": 8
|
|
24815
|
+
}
|
|
24816
|
+
}, [_c('a-input-group', {
|
|
24817
|
+
attrs: {
|
|
24818
|
+
"compact": ""
|
|
24819
|
+
}
|
|
24820
|
+
}, [_c('a-input-number', {
|
|
24821
|
+
staticStyle: {
|
|
24822
|
+
"width": "70%"
|
|
24823
|
+
},
|
|
24824
|
+
attrs: {
|
|
24825
|
+
"max": 100,
|
|
24826
|
+
"min": 1
|
|
24827
|
+
},
|
|
24828
|
+
on: {
|
|
24829
|
+
"change": function change(value) {
|
|
24830
|
+
if (!value) {
|
|
24831
|
+
_vm.nodeRef.data.timeout_remind.outTime.time = 1;
|
|
24832
|
+
}
|
|
24833
|
+
}
|
|
24834
|
+
},
|
|
24835
|
+
model: {
|
|
24836
|
+
value: _vm.nodeRef.data.timeout_remind.outTime.time,
|
|
24837
|
+
callback: function callback($$v) {
|
|
24838
|
+
_vm.$set(_vm.nodeRef.data.timeout_remind.outTime, "time", $$v);
|
|
24839
|
+
},
|
|
24840
|
+
expression: "nodeRef.data.timeout_remind.outTime.time"
|
|
24841
|
+
}
|
|
24842
|
+
}), _c('a-select', {
|
|
24843
|
+
staticStyle: {
|
|
24844
|
+
"width": "30%"
|
|
24845
|
+
},
|
|
24846
|
+
attrs: {
|
|
24847
|
+
"options": [{
|
|
24848
|
+
value: 'minute',
|
|
24849
|
+
label: '分钟'
|
|
24850
|
+
}, {
|
|
24851
|
+
value: 'hour',
|
|
24852
|
+
label: '小时'
|
|
24853
|
+
}, {
|
|
24854
|
+
value: 'day',
|
|
24855
|
+
label: '天'
|
|
24856
|
+
}, {
|
|
24857
|
+
value: 'week',
|
|
24858
|
+
label: '周'
|
|
24859
|
+
}, {
|
|
24860
|
+
value: 'month',
|
|
24861
|
+
label: '月'
|
|
24862
|
+
}, {
|
|
24863
|
+
value: 'year',
|
|
24864
|
+
label: '年'
|
|
24865
|
+
}],
|
|
24866
|
+
"placeholder": "单位"
|
|
24867
|
+
},
|
|
24868
|
+
model: {
|
|
24869
|
+
value: _vm.nodeRef.data.timeout_remind.outTime.unit,
|
|
24870
|
+
callback: function callback($$v) {
|
|
24871
|
+
_vm.$set(_vm.nodeRef.data.timeout_remind.outTime, "unit", $$v);
|
|
24872
|
+
},
|
|
24873
|
+
expression: "nodeRef.data.timeout_remind.outTime.unit"
|
|
24874
|
+
}
|
|
24875
|
+
})], 1)], 1)], 1), _c('a-row', {
|
|
24876
|
+
staticStyle: {
|
|
24877
|
+
"display": "flex",
|
|
24878
|
+
"align-items": "center",
|
|
24879
|
+
"margin-bottom": "5px"
|
|
24880
|
+
}
|
|
24881
|
+
}, [_c('a-col', {
|
|
24882
|
+
attrs: {
|
|
24883
|
+
"span": 4
|
|
24884
|
+
}
|
|
24885
|
+
}, [_vm._v("提醒周期")]), _c('a-col', {
|
|
24886
|
+
attrs: {
|
|
24887
|
+
"span": 20
|
|
24888
|
+
}
|
|
24889
|
+
}, [_c('a-radio-group', {
|
|
24890
|
+
attrs: {
|
|
24891
|
+
"button-style": "solid"
|
|
24892
|
+
},
|
|
24893
|
+
model: {
|
|
24894
|
+
value: _vm.nodeRef.data.timeout_remind.outCycle,
|
|
24895
|
+
callback: function callback($$v) {
|
|
24896
|
+
_vm.$set(_vm.nodeRef.data.timeout_remind, "outCycle", $$v);
|
|
24897
|
+
},
|
|
24898
|
+
expression: "nodeRef.data.timeout_remind.outCycle"
|
|
24899
|
+
}
|
|
24900
|
+
}, [_c('a-radio-button', {
|
|
24901
|
+
attrs: {
|
|
24902
|
+
"value": "once"
|
|
24903
|
+
}
|
|
24904
|
+
}, [_vm._v(" 一次 ")]), _c('a-radio-button', {
|
|
24905
|
+
attrs: {
|
|
24906
|
+
"value": "day"
|
|
24907
|
+
}
|
|
24908
|
+
}, [_vm._v(" 每天 ")]), _c('a-radio-button', {
|
|
24909
|
+
attrs: {
|
|
24910
|
+
"value": "week"
|
|
24911
|
+
}
|
|
24912
|
+
}, [_vm._v(" 每周 ")]), _c('a-radio-button', {
|
|
24913
|
+
attrs: {
|
|
24914
|
+
"value": "month"
|
|
24915
|
+
}
|
|
24916
|
+
}, [_vm._v(" 每月 ")]), _c('a-radio-button', {
|
|
24917
|
+
attrs: {
|
|
24918
|
+
"value": "year"
|
|
24919
|
+
}
|
|
24920
|
+
}, [_vm._v(" 每年 ")])], 1)], 1)], 1), _c('a-row', {
|
|
24921
|
+
staticStyle: {
|
|
24922
|
+
"display": "flex",
|
|
24923
|
+
"align-items": "center",
|
|
24924
|
+
"margin-bottom": "5px"
|
|
24925
|
+
}
|
|
24926
|
+
}, [_c('a-col', {
|
|
24927
|
+
attrs: {
|
|
24928
|
+
"span": 4
|
|
24929
|
+
}
|
|
24930
|
+
}, [_vm._v("超时驱动")]), _c('a-col', {
|
|
24931
|
+
attrs: {
|
|
24932
|
+
"span": 20
|
|
24933
|
+
}
|
|
24934
|
+
}, [_c('a-select', {
|
|
24935
|
+
staticStyle: {
|
|
24936
|
+
"width": "100%"
|
|
24937
|
+
},
|
|
24938
|
+
attrs: {
|
|
24939
|
+
"default-active-first-option": false,
|
|
24940
|
+
"filter-option": false,
|
|
24941
|
+
"not-found-content": null,
|
|
24942
|
+
"options": _vm.driverList,
|
|
24943
|
+
"show-arrow": false,
|
|
24944
|
+
"allowClear": "",
|
|
24945
|
+
"placeholder": "输入驱动",
|
|
24946
|
+
"show-search": ""
|
|
24947
|
+
},
|
|
24948
|
+
on: {
|
|
24949
|
+
"change": _vm.handleDriverChange,
|
|
24950
|
+
"search": _vm.handleDriverSearch
|
|
24951
|
+
},
|
|
24952
|
+
model: {
|
|
24953
|
+
value: _vm.nodeRef.data.timeout_remind.outDriver,
|
|
24954
|
+
callback: function callback($$v) {
|
|
24955
|
+
_vm.$set(_vm.nodeRef.data.timeout_remind, "outDriver", $$v);
|
|
24956
|
+
},
|
|
24957
|
+
expression: "nodeRef.data.timeout_remind.outDriver"
|
|
24958
|
+
}
|
|
24959
|
+
})], 1)], 1)], 1) : _vm._e(), _c('div', {
|
|
24960
|
+
staticClass: "node-form-item"
|
|
24961
|
+
}, [_c('a-divider', {
|
|
24962
|
+
attrs: {
|
|
24963
|
+
"orientation": "left"
|
|
24964
|
+
}
|
|
24965
|
+
}, [_vm._v("转办配置")]), _c('a-row', {
|
|
24966
|
+
staticStyle: {
|
|
24967
|
+
"display": "flex",
|
|
24968
|
+
"align-items": "center",
|
|
24969
|
+
"margin-bottom": "5px"
|
|
24970
|
+
}
|
|
24971
|
+
}, [_c('a-col', {
|
|
24972
|
+
attrs: {
|
|
24973
|
+
"span": 4
|
|
24974
|
+
}
|
|
24975
|
+
}, [_vm._v("允许转办")]), _c('a-col', {
|
|
24976
|
+
attrs: {
|
|
24977
|
+
"span": 20
|
|
24978
|
+
}
|
|
24979
|
+
}, [_c('a-radio-group', {
|
|
24980
|
+
staticStyle: {
|
|
24981
|
+
"margin-right": "10px"
|
|
24982
|
+
},
|
|
24983
|
+
attrs: {
|
|
24984
|
+
"button-style": "solid"
|
|
24985
|
+
},
|
|
24986
|
+
model: {
|
|
24987
|
+
value: _vm.nodeRef.data.page_options.allowReassign,
|
|
24988
|
+
callback: function callback($$v) {
|
|
24989
|
+
_vm.$set(_vm.nodeRef.data.page_options, "allowReassign", $$v);
|
|
24990
|
+
},
|
|
24991
|
+
expression: "nodeRef.data.page_options.allowReassign"
|
|
24992
|
+
}
|
|
24993
|
+
}, [_c('a-radio-button', {
|
|
24994
|
+
attrs: {
|
|
24995
|
+
"value": false
|
|
24996
|
+
}
|
|
24997
|
+
}, [_vm._v(" 禁止 ")]), _c('a-radio-button', {
|
|
24998
|
+
attrs: {
|
|
24999
|
+
"value": true,
|
|
25000
|
+
"disabled": ""
|
|
25001
|
+
}
|
|
25002
|
+
}, [_vm._v(" 允许 ")])], 1)], 1)], 1)], 1), _c('div', {
|
|
25003
|
+
staticClass: "node-form-item"
|
|
25004
|
+
}, [_c('a-divider', {
|
|
25005
|
+
attrs: {
|
|
25006
|
+
"orientation": "left"
|
|
25007
|
+
}
|
|
25008
|
+
}, [_vm._v("加签配置")]), _c('a-row', {
|
|
25009
|
+
staticStyle: {
|
|
25010
|
+
"display": "flex",
|
|
25011
|
+
"align-items": "center",
|
|
25012
|
+
"margin-bottom": "5px"
|
|
25013
|
+
}
|
|
25014
|
+
}, [_c('a-col', {
|
|
25015
|
+
attrs: {
|
|
25016
|
+
"span": 4
|
|
25017
|
+
}
|
|
25018
|
+
}, [_vm._v("允许加签")]), _c('a-col', {
|
|
25019
|
+
attrs: {
|
|
25020
|
+
"span": 20
|
|
25021
|
+
}
|
|
25022
|
+
}, [_c('a-radio-group', {
|
|
25023
|
+
staticStyle: {
|
|
25024
|
+
"margin-right": "10px"
|
|
25025
|
+
},
|
|
25026
|
+
attrs: {
|
|
25027
|
+
"button-style": "solid"
|
|
25028
|
+
},
|
|
25029
|
+
model: {
|
|
25030
|
+
value: _vm.nodeRef.data.page_options.allowInvolve,
|
|
25031
|
+
callback: function callback($$v) {
|
|
25032
|
+
_vm.$set(_vm.nodeRef.data.page_options, "allowInvolve", $$v);
|
|
25033
|
+
},
|
|
25034
|
+
expression: "nodeRef.data.page_options.allowInvolve"
|
|
25035
|
+
}
|
|
25036
|
+
}, [_c('a-radio-button', {
|
|
25037
|
+
attrs: {
|
|
25038
|
+
"value": false
|
|
25039
|
+
}
|
|
25040
|
+
}, [_vm._v(" 禁止 ")]), _c('a-radio-button', {
|
|
25041
|
+
attrs: {
|
|
25042
|
+
"value": true,
|
|
25043
|
+
"disabled": ""
|
|
25044
|
+
}
|
|
25045
|
+
}, [_vm._v(" 允许 ")])], 1)], 1)], 1)], 1), _c('div', {
|
|
25046
|
+
staticClass: "node-form-item"
|
|
25047
|
+
}, [_c('a-divider', {
|
|
25048
|
+
attrs: {
|
|
25049
|
+
"orientation": "left"
|
|
25050
|
+
}
|
|
25051
|
+
}, [_vm._v("流程结束")]), _c('a-row', {
|
|
25052
|
+
staticStyle: {
|
|
25053
|
+
"display": "flex",
|
|
25054
|
+
"align-items": "center",
|
|
25055
|
+
"margin-bottom": "5px"
|
|
25056
|
+
}
|
|
25057
|
+
}, [_c('a-col', {
|
|
25058
|
+
attrs: {
|
|
25059
|
+
"span": 4
|
|
25060
|
+
}
|
|
25061
|
+
}, [_vm._v("允许结束")]), _c('a-col', {
|
|
25062
|
+
attrs: {
|
|
25063
|
+
"span": 20
|
|
25064
|
+
}
|
|
25065
|
+
}, [_c('a-radio-group', {
|
|
25066
|
+
staticStyle: {
|
|
25067
|
+
"margin-right": "10px"
|
|
25068
|
+
},
|
|
25069
|
+
attrs: {
|
|
25070
|
+
"button-style": "solid"
|
|
25071
|
+
},
|
|
25072
|
+
model: {
|
|
25073
|
+
value: _vm.nodeRef.data.page_options.allowEnd,
|
|
25074
|
+
callback: function callback($$v) {
|
|
25075
|
+
_vm.$set(_vm.nodeRef.data.page_options, "allowEnd", $$v);
|
|
25076
|
+
},
|
|
25077
|
+
expression: "nodeRef.data.page_options.allowEnd"
|
|
25078
|
+
}
|
|
25079
|
+
}, [_c('a-radio-button', {
|
|
25080
|
+
attrs: {
|
|
25081
|
+
"value": false
|
|
25082
|
+
}
|
|
25083
|
+
}, [_vm._v(" 禁止 ")]), _c('a-radio-button', {
|
|
25084
|
+
attrs: {
|
|
25085
|
+
"value": true,
|
|
25086
|
+
"disabled": ""
|
|
25087
|
+
}
|
|
25088
|
+
}, [_vm._v(" 允许 ")])], 1)], 1)], 1)], 1), _c('div', [_c('a-divider', {
|
|
25089
|
+
attrs: {
|
|
25090
|
+
"orientation": "left"
|
|
25091
|
+
}
|
|
25092
|
+
}, [_vm._v("超时提醒")])], 1), _c('a-row', {
|
|
25093
|
+
staticStyle: {
|
|
25094
|
+
"display": "flex",
|
|
25095
|
+
"align-items": "center",
|
|
25096
|
+
"margin-bottom": "5px"
|
|
25097
|
+
}
|
|
25098
|
+
}, [_c('a-col', {
|
|
25099
|
+
attrs: {
|
|
25100
|
+
"span": 4
|
|
25101
|
+
}
|
|
25102
|
+
}, [_vm._v("超时提醒设置")]), _c('a-col', {
|
|
25103
|
+
attrs: {
|
|
25104
|
+
"span": 20
|
|
25105
|
+
}
|
|
25106
|
+
}, [_c('a-radio-group', {
|
|
25107
|
+
staticStyle: {
|
|
25108
|
+
"margin-right": "10px"
|
|
25109
|
+
},
|
|
25110
|
+
attrs: {
|
|
25111
|
+
"button-style": "solid"
|
|
25112
|
+
},
|
|
25113
|
+
model: {
|
|
25114
|
+
value: _vm.nodeRef.data.timeout_remind.enable,
|
|
25115
|
+
callback: function callback($$v) {
|
|
25116
|
+
_vm.$set(_vm.nodeRef.data.timeout_remind, "enable", $$v);
|
|
25117
|
+
},
|
|
25118
|
+
expression: "nodeRef.data.timeout_remind.enable"
|
|
25119
|
+
}
|
|
25120
|
+
}, [_c('a-radio-button', {
|
|
25121
|
+
attrs: {
|
|
25122
|
+
"value": false
|
|
25123
|
+
}
|
|
25124
|
+
}, [_vm._v(" 禁用 ")]), _c('a-radio-button', {
|
|
25125
|
+
attrs: {
|
|
25126
|
+
"value": true,
|
|
25127
|
+
"disabled": ""
|
|
25128
|
+
}
|
|
25129
|
+
}, [_vm._v(" 启用 ")])], 1)], 1)], 1), _c('div', {
|
|
25130
|
+
staticClass: "node-form-item"
|
|
25131
|
+
}, [_c('a-divider', {
|
|
25132
|
+
attrs: {
|
|
25133
|
+
"orientation": "left"
|
|
25134
|
+
}
|
|
25135
|
+
}, [_vm._v("其他配置")]), _c('a-row', {
|
|
25136
|
+
staticStyle: {
|
|
25137
|
+
"display": "flex",
|
|
25138
|
+
"align-items": "center",
|
|
25139
|
+
"margin-bottom": "5px"
|
|
25140
|
+
}
|
|
25141
|
+
}, [_c('a-col', {
|
|
25142
|
+
attrs: {
|
|
25143
|
+
"span": 4
|
|
25144
|
+
}
|
|
25145
|
+
}, [_vm._v("是否回执")]), _c('a-col', {
|
|
25146
|
+
attrs: {
|
|
25147
|
+
"span": 20
|
|
25148
|
+
}
|
|
25149
|
+
}, [_c('a-radio-group', {
|
|
25150
|
+
staticStyle: {
|
|
25151
|
+
"margin-right": "10px"
|
|
25152
|
+
},
|
|
25153
|
+
attrs: {
|
|
25154
|
+
"button-style": "solid"
|
|
25155
|
+
},
|
|
25156
|
+
model: {
|
|
25157
|
+
value: _vm.nodeRef.data.other_options.allowReceipt,
|
|
25158
|
+
callback: function callback($$v) {
|
|
25159
|
+
_vm.$set(_vm.nodeRef.data.other_options, "allowReceipt", $$v);
|
|
25160
|
+
},
|
|
25161
|
+
expression: "nodeRef.data.other_options.allowReceipt"
|
|
25162
|
+
}
|
|
25163
|
+
}, [_c('a-radio-button', {
|
|
25164
|
+
attrs: {
|
|
25165
|
+
"value": false
|
|
25166
|
+
}
|
|
25167
|
+
}, [_vm._v(" 禁止 ")]), _c('a-radio-button', {
|
|
25168
|
+
attrs: {
|
|
25169
|
+
"value": true,
|
|
25170
|
+
"disabled": ""
|
|
25171
|
+
}
|
|
25172
|
+
}, [_vm._v(" 允许 ")])], 1)], 1)], 1)], 1), _c('div', {
|
|
25173
|
+
staticClass: "node-form-item"
|
|
25174
|
+
}, [_c('a-divider', {
|
|
25175
|
+
attrs: {
|
|
25176
|
+
"orientation": "left"
|
|
25177
|
+
}
|
|
25178
|
+
}, [_vm._v("自定义参数")]), _c('a-row', {
|
|
25179
|
+
staticStyle: {
|
|
25180
|
+
"display": "flex",
|
|
25181
|
+
"align-items": "center",
|
|
25182
|
+
"margin-bottom": "5px"
|
|
25183
|
+
}
|
|
25184
|
+
}, [_c('a-col', {
|
|
25185
|
+
attrs: {
|
|
25186
|
+
"span": 24
|
|
25187
|
+
}
|
|
25188
|
+
}, [_c('a-textarea', {
|
|
25189
|
+
attrs: {
|
|
25190
|
+
"auto-size": "",
|
|
25191
|
+
"placeholder": "自定义参数(JSONObject); {}"
|
|
25192
|
+
},
|
|
25193
|
+
model: {
|
|
25194
|
+
value: _vm.nodeRef.data.other_options.custom,
|
|
25195
|
+
callback: function callback($$v) {
|
|
25196
|
+
_vm.$set(_vm.nodeRef.data.other_options, "custom", $$v);
|
|
25197
|
+
},
|
|
25198
|
+
expression: "nodeRef.data.other_options.custom"
|
|
25199
|
+
}
|
|
25200
|
+
})], 1)], 1)], 1), _c('div', {
|
|
25201
|
+
staticClass: "node-form-item"
|
|
25202
|
+
}, [_c('a-divider', {
|
|
25203
|
+
attrs: {
|
|
25204
|
+
"orientation": "left"
|
|
25205
|
+
}
|
|
25206
|
+
}, [_vm._v("自定义动作名称")]), _c('a-row', {
|
|
25207
|
+
staticStyle: {
|
|
25208
|
+
"display": "flex",
|
|
25209
|
+
"align-items": "center",
|
|
25210
|
+
"margin-bottom": "5px"
|
|
25211
|
+
}
|
|
25212
|
+
}, [_c('a-col', {
|
|
25213
|
+
staticStyle: {
|
|
25214
|
+
"display": "flex",
|
|
25215
|
+
"align-items": "center"
|
|
25216
|
+
},
|
|
25217
|
+
attrs: {
|
|
25218
|
+
"span": 3
|
|
25219
|
+
}
|
|
25220
|
+
}, [_vm._v("执行:")]), _c('a-col', {
|
|
25221
|
+
staticStyle: {
|
|
25222
|
+
"display": "flex",
|
|
25223
|
+
"align-items": "center"
|
|
25224
|
+
},
|
|
25225
|
+
attrs: {
|
|
25226
|
+
"span": 6
|
|
25227
|
+
}
|
|
25228
|
+
}, [_c('a-input', {
|
|
25229
|
+
attrs: {
|
|
25230
|
+
"placeholder": "执行"
|
|
25231
|
+
},
|
|
25232
|
+
model: {
|
|
25233
|
+
value: _vm.nodeRef.data.other_options.custom_action.pass,
|
|
25234
|
+
callback: function callback($$v) {
|
|
25235
|
+
_vm.$set(_vm.nodeRef.data.other_options.custom_action, "pass", $$v);
|
|
25236
|
+
},
|
|
25237
|
+
expression: "nodeRef.data.other_options.custom_action.pass"
|
|
25238
|
+
}
|
|
25239
|
+
})], 1)], 1)], 1)], 1), _vm.nodeRef.data.other_options.assert ? _c('a-tab-pane', {
|
|
25240
|
+
key: "assert",
|
|
25241
|
+
attrs: {
|
|
25242
|
+
"tab": "断言"
|
|
25243
|
+
}
|
|
25244
|
+
}, [_c('div', [_vm.nodeRef.data.other_options.assert ? _c('assert-designer', {
|
|
25245
|
+
attrs: {
|
|
25246
|
+
"data": _vm.nodeRef.data.other_options.assert,
|
|
25247
|
+
"hide-action": false
|
|
25248
|
+
}
|
|
25249
|
+
}) : _vm._e()], 1)]) : _vm._e()], 1)], 1) : _vm._e()], 1);
|
|
25250
|
+
};
|
|
25251
|
+
var TaskNodevue_type_template_id_71cd8e14_scoped_true_staticRenderFns = [];
|
|
25252
|
+
|
|
25253
|
+
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/TaskNode.vue?vue&type=template&id=71cd8e14&scoped=true
|
|
25254
|
+
|
|
25255
|
+
// CONCATENATED MODULE: ../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib??vue-loader-options!../src/web/components/forms/flow/designer/node/TaskNode.vue?vue&type=script&lang=js
|
|
25256
|
+
function TaskNodevue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return TaskNodevue_type_script_lang_js_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, TaskNodevue_type_script_lang_js_typeof(o); }
|
|
25257
|
+
function TaskNodevue_type_script_lang_js_regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ TaskNodevue_type_script_lang_js_regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == TaskNodevue_type_script_lang_js_typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw new Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(TaskNodevue_type_script_lang_js_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw new Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, catch: function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
|
|
25258
|
+
function TaskNodevue_type_script_lang_js_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); } }
|
|
25259
|
+
function TaskNodevue_type_script_lang_js_asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { TaskNodevue_type_script_lang_js_asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { TaskNodevue_type_script_lang_js_asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
25260
|
+
function TaskNodevue_type_script_lang_js_createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = TaskNodevue_type_script_lang_js_unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
|
|
25261
|
+
function TaskNodevue_type_script_lang_js_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return TaskNodevue_type_script_lang_js_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 TaskNodevue_type_script_lang_js_arrayLikeToArray(o, minLen); }
|
|
25262
|
+
function TaskNodevue_type_script_lang_js_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; }
|
|
25263
|
+
function TaskNodevue_type_script_lang_js_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
25264
|
+
function TaskNodevue_type_script_lang_js_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? TaskNodevue_type_script_lang_js_ownKeys(Object(t), !0).forEach(function (r) { TaskNodevue_type_script_lang_js_defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : TaskNodevue_type_script_lang_js_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
25265
|
+
function TaskNodevue_type_script_lang_js_defineProperty(obj, key, value) { key = TaskNodevue_type_script_lang_js_toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
25266
|
+
function TaskNodevue_type_script_lang_js_toPropertyKey(t) { var i = TaskNodevue_type_script_lang_js_toPrimitive(t, "string"); return "symbol" == TaskNodevue_type_script_lang_js_typeof(i) ? i : String(i); }
|
|
25267
|
+
function TaskNodevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != TaskNodevue_type_script_lang_js_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != TaskNodevue_type_script_lang_js_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
25268
|
+
|
|
25269
|
+
|
|
25270
|
+
|
|
25271
|
+
|
|
25272
|
+
|
|
25273
|
+
|
|
25274
|
+
/* harmony default export */ var TaskNodevue_type_script_lang_js = ({
|
|
25275
|
+
name: 'TaskNode',
|
|
25276
|
+
props: {
|
|
25277
|
+
node: designer_NodeItem,
|
|
25278
|
+
nodeHandler: Object
|
|
25279
|
+
},
|
|
25280
|
+
components: {
|
|
25281
|
+
AssertDesigner: AssertDesigner,
|
|
25282
|
+
RuntimeWorkflowActors: RuntimeWorkFlowActors,
|
|
25283
|
+
Item: Item
|
|
25284
|
+
},
|
|
25285
|
+
data: function data() {
|
|
25286
|
+
return {
|
|
25287
|
+
defaultContent: '请选择',
|
|
25288
|
+
editName: false,
|
|
25289
|
+
tabKey: 'actors',
|
|
25290
|
+
optionViewType: 'use_model',
|
|
25291
|
+
optionViewId: null,
|
|
25292
|
+
// cache 缓存用途,ISSUE: change事件不会返回之前的value
|
|
25293
|
+
optionViewList: [],
|
|
25294
|
+
optionFormsColumns: [{
|
|
25295
|
+
title: '表单属性',
|
|
25296
|
+
key: 'attrName',
|
|
25297
|
+
scopedSlots: {
|
|
25298
|
+
customRender: 'attrName'
|
|
25299
|
+
}
|
|
25300
|
+
}, {
|
|
25301
|
+
key: 'none',
|
|
25302
|
+
slots: {
|
|
25303
|
+
title: 'noneColumn'
|
|
25304
|
+
},
|
|
25305
|
+
scopedSlots: {
|
|
25306
|
+
customRender: 'none'
|
|
25307
|
+
}
|
|
25308
|
+
}, {
|
|
25309
|
+
key: 'readonly',
|
|
25310
|
+
slots: {
|
|
25311
|
+
title: 'readonlyColumn'
|
|
25312
|
+
},
|
|
25313
|
+
scopedSlots: {
|
|
25314
|
+
customRender: 'readonly'
|
|
25315
|
+
}
|
|
25316
|
+
}, {
|
|
25317
|
+
key: 'write',
|
|
25318
|
+
slots: {
|
|
25319
|
+
title: 'writeColumn'
|
|
25320
|
+
},
|
|
25321
|
+
scopedSlots: {
|
|
25322
|
+
customRender: 'write'
|
|
25323
|
+
}
|
|
25324
|
+
}, {
|
|
25325
|
+
title: '必填',
|
|
25326
|
+
dataIndex: 'required',
|
|
25327
|
+
key: 'required',
|
|
25328
|
+
scopedSlots: {
|
|
25329
|
+
customRender: 'required'
|
|
25330
|
+
}
|
|
25331
|
+
}],
|
|
25332
|
+
orgMap: null,
|
|
25333
|
+
orgData: [],
|
|
25334
|
+
roles: [],
|
|
25335
|
+
users: [],
|
|
25336
|
+
viewNameTimeout: null,
|
|
25337
|
+
viewAttrLoading: true,
|
|
25338
|
+
driverList: null,
|
|
25339
|
+
driverTimeout: null,
|
|
25340
|
+
optionFormsCache: {},
|
|
25341
|
+
formsColumnFilter: undefined,
|
|
25342
|
+
formsColumnAccess: 'all'
|
|
25343
|
+
};
|
|
25344
|
+
},
|
|
25345
|
+
// eslint-disable-next-line vue/no-setup-props-destructure
|
|
25346
|
+
setup: function setup(_ref) {
|
|
25347
|
+
var node = _ref.node,
|
|
25348
|
+
nodeHandler = _ref.nodeHandler;
|
|
25349
|
+
// icon;
|
|
25350
|
+
var icon = {
|
|
25351
|
+
template: "\n <svg viewBox=\"0 0 1024 1024\">\n <path fill=\"currentColor\" d=\"M288 320a224 224 0 1 0 448 0 224 224 0 1 0-448 0zm544 608H160a32 32 0 0 1-32-32v-96a160 160 0 0 1 160-160h448a160 160 0 0 1 160 160v96a32 32 0 0 1-32 32z\"></path>\n </svg>\n "
|
|
25352
|
+
};
|
|
25353
|
+
|
|
25354
|
+
// drawer support
|
|
25355
|
+
var visibleDrawer = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["ref"])(false);
|
|
25356
|
+
|
|
25357
|
+
// -------------------------------------------------------------------------------------
|
|
25358
|
+
/**
|
|
25359
|
+
* @type {EadApi}
|
|
25360
|
+
*/
|
|
25361
|
+
// eslint-disable-next-line vue/no-setup-props-destructure
|
|
25362
|
+
var eadApi = nodeHandler.businessAdapter.eadApi;
|
|
25363
|
+
var defaultData = function defaultData() {
|
|
25364
|
+
return {
|
|
25365
|
+
eadCache: {
|
|
25366
|
+
workflow: {}
|
|
25367
|
+
},
|
|
25368
|
+
actor_config: {
|
|
25369
|
+
type: 'expression',
|
|
25370
|
+
// 发起人自己,sponsor
|
|
25371
|
+
expression: [
|
|
25372
|
+
// { type: 'uid', user: [] ,orgId: undefined, roleId: undefined, groupId: undefined}, // {sponsor} 发起人自己
|
|
25373
|
+
{
|
|
25374
|
+
type: 'org',
|
|
25375
|
+
user: [],
|
|
25376
|
+
orgId: undefined,
|
|
25377
|
+
roleId: undefined,
|
|
25378
|
+
groupId: undefined
|
|
25379
|
+
} // {sponsor_org} 发起人所在部门
|
|
25380
|
+
],
|
|
25381
|
+
optional: {
|
|
25382
|
+
enable: false,
|
|
25383
|
+
multi: false
|
|
25384
|
+
},
|
|
25385
|
+
// 自选配置
|
|
25386
|
+
check_mode: 'queue' // 多人审批模式,// 'orsign','sign'
|
|
25387
|
+
},
|
|
25388
|
+
option_view_id: '',
|
|
25389
|
+
option_forms: [],
|
|
25390
|
+
back_type: 'start',
|
|
25391
|
+
// start:退回发起者,before:退回上一步,assign:指定退回节点,custom:自主选择回退节点,bpmn:后续步骤
|
|
25392
|
+
back_node_id: '',
|
|
25393
|
+
custom_back_nodes: [],
|
|
25394
|
+
timeout_remind: {
|
|
25395
|
+
enable: false,
|
|
25396
|
+
outTime: {
|
|
25397
|
+
time: 1,
|
|
25398
|
+
unit: 'day'
|
|
25399
|
+
},
|
|
25400
|
+
// 超时时间, 单位 minute,hour,day,week,month,year
|
|
25401
|
+
outCycle: 'once',
|
|
25402
|
+
// 提醒周期,--once:一次,--day:每日 --week: 每周,--month:每月,==year:每年
|
|
25403
|
+
outDriver: undefined // 超时驱动,--null:default 默认消息通知,-- 自定义驱动名称
|
|
25404
|
+
},
|
|
25405
|
+
page_options: {
|
|
25406
|
+
allowInvolve: false,
|
|
25407
|
+
// 允许加签, -- true:允许, false: 不允许
|
|
25408
|
+
allowReassign: false,
|
|
25409
|
+
// 允许转办, -- true:允许, false: 不允许
|
|
25410
|
+
allowBack: false,
|
|
25411
|
+
// 允许退回, -- true:允许, false: 不允许
|
|
25412
|
+
allowEnd: false // 允许结束, -- true:允许, false: 不允许
|
|
25413
|
+
},
|
|
25414
|
+
other_options: {
|
|
25415
|
+
allowReceipt: false,
|
|
25416
|
+
// 是否回执,
|
|
25417
|
+
allowWithdraw: false,
|
|
25418
|
+
// 允许撤回: false
|
|
25419
|
+
approverIsNull: 'error',
|
|
25420
|
+
// 审批人为空时,next:自动下一步 ,error:提示错误
|
|
25421
|
+
resPath: null,
|
|
25422
|
+
// 视图资源地址
|
|
25423
|
+
redirectUri: null,
|
|
25424
|
+
// 消息地址
|
|
25425
|
+
assert: [],
|
|
25426
|
+
custom_action: {}
|
|
25427
|
+
},
|
|
25428
|
+
notice_template: null
|
|
25429
|
+
};
|
|
25430
|
+
};
|
|
25431
|
+
if (!node.data) {
|
|
25432
|
+
// eslint-disable-next-line vue/no-mutating-props
|
|
25433
|
+
node.data = defaultData();
|
|
25434
|
+
}
|
|
25435
|
+
|
|
25436
|
+
// 兼容更新
|
|
25437
|
+
if (!node.data.other_options.custom_action) {
|
|
25438
|
+
// eslint-disable-next-line vue/no-mutating-props
|
|
25439
|
+
node.data.other_options.custom_action = {};
|
|
25440
|
+
}
|
|
25441
|
+
if (!node.data.other_options.assert) {
|
|
25442
|
+
// eslint-disable-next-line vue/no-mutating-props
|
|
25443
|
+
node.data.other_options.assert = [];
|
|
25444
|
+
}
|
|
25445
|
+
|
|
25446
|
+
// ------------------------------------------------------------------------------------------------
|
|
25447
|
+
|
|
25448
|
+
// eslint-disable-next-line no-return-assign
|
|
25449
|
+
var showDrawer = function showDrawer() {
|
|
25450
|
+
return visibleDrawer.value = true;
|
|
25451
|
+
};
|
|
25452
|
+
var drawer = {
|
|
25453
|
+
visibleDrawer: visibleDrawer,
|
|
25454
|
+
showDrawer: showDrawer
|
|
25455
|
+
};
|
|
25456
|
+
|
|
25457
|
+
// popover support
|
|
25458
|
+
var visiblePopover = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["ref"])(false);
|
|
25459
|
+
// eslint-disable-next-line no-return-assign
|
|
25460
|
+
var hidePopover = function hidePopover() {
|
|
25461
|
+
return visiblePopover.value = false;
|
|
25462
|
+
};
|
|
25463
|
+
// eslint-disable-next-line no-return-assign
|
|
25464
|
+
var showPopover = function showPopover() {
|
|
25465
|
+
return visiblePopover.value = true;
|
|
25466
|
+
};
|
|
25467
|
+
var popover = {
|
|
25468
|
+
visiblePopover: visiblePopover,
|
|
25469
|
+
showPopover: showPopover,
|
|
25470
|
+
hidePopover: hidePopover
|
|
25471
|
+
};
|
|
25472
|
+
|
|
25473
|
+
// wrapNode
|
|
25474
|
+
var nodes = [{
|
|
25475
|
+
name: '条件分支',
|
|
25476
|
+
type: designer_NodeType.JUDGE_WRAP,
|
|
25477
|
+
icon: {
|
|
25478
|
+
type: 'apartment'
|
|
25479
|
+
},
|
|
25480
|
+
color: 'rgb(21, 188, 131)'
|
|
25481
|
+
}, {
|
|
25482
|
+
name: '并行分支',
|
|
25483
|
+
type: designer_NodeType.PARALLEL_WRAP,
|
|
25484
|
+
icon: {
|
|
25485
|
+
type: 'sliders'
|
|
25486
|
+
},
|
|
25487
|
+
color: 'rgb(113, 141, 255)'
|
|
25488
|
+
}];
|
|
25489
|
+
var wrapNode = function wrapNode(type) {
|
|
25490
|
+
nodeHandler.wrapNode(node.code, {
|
|
25491
|
+
type: type
|
|
25492
|
+
});
|
|
25493
|
+
};
|
|
25494
|
+
var wrapNodeR = {
|
|
25495
|
+
nodes: nodes,
|
|
25496
|
+
wrapNode: wrapNode
|
|
25497
|
+
};
|
|
25498
|
+
var noticeTemplateAttr = nodeHandler.isPreview ? null : nodeHandler.businessAdapter.eadApi.getCurrentViewSchema().model.attrs.find(function (attr) {
|
|
25499
|
+
return attr.name === 'notice_template';
|
|
25500
|
+
});
|
|
25501
|
+
return TaskNodevue_type_script_lang_js_objectSpread(TaskNodevue_type_script_lang_js_objectSpread(TaskNodevue_type_script_lang_js_objectSpread(TaskNodevue_type_script_lang_js_objectSpread({
|
|
25502
|
+
icon: icon
|
|
25503
|
+
}, drawer), popover), wrapNodeR), {}, {
|
|
25504
|
+
nodeRef: node,
|
|
25505
|
+
eadApi: eadApi,
|
|
25506
|
+
noticeTemplateAttr: noticeTemplateAttr
|
|
25507
|
+
});
|
|
25508
|
+
},
|
|
25509
|
+
computed: {
|
|
25510
|
+
isSingle: function isSingle() {
|
|
25511
|
+
if (this.nodeRef.data.actor_config.type === 'expression') {
|
|
25512
|
+
return this.nodeRef.data.actor_config.expression.length === 1 && this.nodeRef.data.actor_config.expression[0].type === 'uid' && this.nodeRef.data.actor_config.expression[0].user.length <= 1;
|
|
25513
|
+
}
|
|
25514
|
+
if (this.nodeRef.data.actor_config.type === 'sponsor') {
|
|
25515
|
+
return true;
|
|
25516
|
+
}
|
|
25517
|
+
return false;
|
|
25518
|
+
},
|
|
25519
|
+
availableBackStep: function availableBackStep() {
|
|
25520
|
+
var availableBackStep = this.nodeHandler.businessAdapter.getAvailableBackStep(this.node.code).map(function (node) {
|
|
25521
|
+
return {
|
|
25522
|
+
value: node.code,
|
|
25523
|
+
label: node.name
|
|
25524
|
+
};
|
|
25525
|
+
});
|
|
25526
|
+
// eslint-disable-next-line vue/no-mutating-props,vue/no-side-effects-in-computed-properties
|
|
25527
|
+
if (availableBackStep.length) {
|
|
25528
|
+
// eslint-disable-next-line vue/no-mutating-props,vue/no-side-effects-in-computed-properties
|
|
25529
|
+
this.node.data.back_node_id = availableBackStep[0].value;
|
|
25530
|
+
// eslint-disable-next-line vue/no-mutating-props,vue/no-side-effects-in-computed-properties
|
|
25531
|
+
this.node.data.custom_back_nodes = availableBackStep.map(function (o) {
|
|
25532
|
+
return o.value;
|
|
25533
|
+
});
|
|
25534
|
+
}
|
|
25535
|
+
return availableBackStep;
|
|
25536
|
+
},
|
|
25537
|
+
'nodeContent': function nodeContent() {
|
|
25538
|
+
var _this = this;
|
|
25539
|
+
if (this.nodeHandler.isPreview) {
|
|
25540
|
+
var _this$nodeHandler, _this$nodeHandler2, _this$nodeHandler4;
|
|
25541
|
+
var html = '';
|
|
25542
|
+
if ((_this$nodeHandler = this.nodeHandler) !== null && _this$nodeHandler !== void 0 && (_this$nodeHandler = _this$nodeHandler.runtimeData) !== null && _this$nodeHandler !== void 0 && _this$nodeHandler.caseNodes && (_this$nodeHandler2 = this.nodeHandler) !== null && _this$nodeHandler2 !== void 0 && (_this$nodeHandler2 = _this$nodeHandler2.runtimeData) !== null && _this$nodeHandler2 !== void 0 && (_this$nodeHandler2 = _this$nodeHandler2.caseNodes[this.node.code]) !== null && _this$nodeHandler2 !== void 0 && _this$nodeHandler2.status) {
|
|
25543
|
+
var _this$nodeHandler3;
|
|
25544
|
+
var actors = (_this$nodeHandler3 = this.nodeHandler) === null || _this$nodeHandler3 === void 0 || (_this$nodeHandler3 = _this$nodeHandler3.runtimeData) === null || _this$nodeHandler3 === void 0 ? void 0 : _this$nodeHandler3.caseNodes[this.node.code].actors;
|
|
25545
|
+
actors.forEach(function (actor) {
|
|
25546
|
+
if (html) {
|
|
25547
|
+
html += '、';
|
|
25548
|
+
}
|
|
25549
|
+
html += "<span class=\"actor ".concat(actor.status, "\">").concat(actor.operator.name, "</span>");
|
|
25550
|
+
});
|
|
25551
|
+
if (!html) {
|
|
25552
|
+
html += ' ';
|
|
25553
|
+
}
|
|
25554
|
+
}
|
|
25555
|
+
if (((_this$nodeHandler4 = this.nodeHandler) === null || _this$nodeHandler4 === void 0 || (_this$nodeHandler4 = _this$nodeHandler4.runtimeData) === null || _this$nodeHandler4 === void 0 ? void 0 : _this$nodeHandler4.currentNodeCode) === this.nodeRef.code) {
|
|
25556
|
+
if (html && html !== ' ') {
|
|
25557
|
+
html += '、';
|
|
25558
|
+
}
|
|
25559
|
+
html += "<span class=\"actor pending\">".concat(this.eadApi.getCurrentUserName(), "</span>");
|
|
25560
|
+
}
|
|
25561
|
+
return html || this.nodeRef.content;
|
|
25562
|
+
}
|
|
25563
|
+
var actorConfig = this.node.data.actor_config;
|
|
25564
|
+
var content = '';
|
|
25565
|
+
if (!this.orgMap || !this.roles || !this.users) {
|
|
25566
|
+
return content;
|
|
25567
|
+
}
|
|
25568
|
+
if (actorConfig.type === 'expression') {
|
|
25569
|
+
var expression = actorConfig.expression;
|
|
25570
|
+
if (expression.length) {
|
|
25571
|
+
if (expression[0].type === 'org') {
|
|
25572
|
+
if (expression[0].orgId) {
|
|
25573
|
+
if (this.orgMap.has(expression[0].orgId)) {
|
|
25574
|
+
content = content += content ? '、' + this.orgMap.get(expression[0].orgId).org_name : this.orgMap.get(expression[0].orgId).org_name;
|
|
25575
|
+
} else {
|
|
25576
|
+
var _this$businessOrgData;
|
|
25577
|
+
var title = (_this$businessOrgData = this.businessOrgData.children.find(function (org0) {
|
|
25578
|
+
return org0.value === expression[0].orgId;
|
|
25579
|
+
})) === null || _this$businessOrgData === void 0 ? void 0 : _this$businessOrgData.title;
|
|
25580
|
+
content = content += content ? '、' + title : title;
|
|
25581
|
+
}
|
|
25582
|
+
}
|
|
25583
|
+
if (expression[0].roleId) {
|
|
25584
|
+
content = content += content ? '-' + this.roles.find(function (role) {
|
|
25585
|
+
return role.value === expression[0].roleId;
|
|
25586
|
+
}).label : this.roles.find(function (role) {
|
|
25587
|
+
return role.value === expression[0].roleId;
|
|
25588
|
+
}).label;
|
|
25589
|
+
}
|
|
25590
|
+
}
|
|
25591
|
+
if (expression[0].type === 'uid') {
|
|
25592
|
+
var busUser = this.businessUserData.map(function (user) {
|
|
25593
|
+
return user.value;
|
|
25594
|
+
});
|
|
25595
|
+
content = expression[0].user.map(function (item) {
|
|
25596
|
+
var label = busUser.includes(item) ? _this.businessUserData.find(function (user) {
|
|
25597
|
+
return user.value === item;
|
|
25598
|
+
}).label : _this.users.find(function (user) {
|
|
25599
|
+
return user.value === item;
|
|
25600
|
+
}).label;
|
|
25601
|
+
return label.substring(0, label.indexOf('('));
|
|
25602
|
+
}).join('、');
|
|
25603
|
+
}
|
|
25604
|
+
}
|
|
25605
|
+
if (expression.length > 1) {
|
|
25606
|
+
content += '...';
|
|
25607
|
+
}
|
|
25608
|
+
}
|
|
25609
|
+
if (actorConfig.type === 'sponsor') {
|
|
25610
|
+
content = '发起人自己';
|
|
25611
|
+
}
|
|
25612
|
+
// eslint-disable-next-line vue/no-side-effects-in-computed-properties
|
|
25613
|
+
this.nodeRef.content = content;
|
|
25614
|
+
return content;
|
|
25615
|
+
},
|
|
25616
|
+
'optionFormsRadio': function optionFormsRadio() {
|
|
25617
|
+
var optionForms = this.node.data.option_forms;
|
|
25618
|
+
if (!optionForms.length) {
|
|
25619
|
+
return '-';
|
|
25620
|
+
}
|
|
25621
|
+
var access = optionForms[0].access;
|
|
25622
|
+
if (optionForms.filter(function (value) {
|
|
25623
|
+
return value.access === access;
|
|
25624
|
+
}).length === optionForms.length) {
|
|
25625
|
+
return access;
|
|
25626
|
+
}
|
|
25627
|
+
return '-';
|
|
25628
|
+
},
|
|
25629
|
+
businessOrgData: function businessOrgData() {
|
|
25630
|
+
var children = [];
|
|
25631
|
+
var org = {
|
|
25632
|
+
title: '操作视图',
|
|
25633
|
+
// eslint-disable-next-line no-template-curly-in-string
|
|
25634
|
+
value: '${form_option_view}',
|
|
25635
|
+
// eslint-disable-next-line no-template-curly-in-string
|
|
25636
|
+
key: '${form_option_view}',
|
|
25637
|
+
disabled: true,
|
|
25638
|
+
children: children
|
|
25639
|
+
};
|
|
25640
|
+
if (!this.nodeRef.data.option_forms || !this.nodeRef.data.option_forms.length) {
|
|
25641
|
+
return org;
|
|
25642
|
+
}
|
|
25643
|
+
this.nodeRef.data.option_forms.forEach(function (attr) {
|
|
25644
|
+
children.push({
|
|
25645
|
+
title: attr.attrName,
|
|
25646
|
+
value: '${' + attr.attrCode + '}',
|
|
25647
|
+
key: '${' + attr.attrCode + '}',
|
|
25648
|
+
children: []
|
|
25649
|
+
});
|
|
25650
|
+
});
|
|
25651
|
+
return org;
|
|
25652
|
+
},
|
|
25653
|
+
businessUserData: function businessUserData() {
|
|
25654
|
+
var users = [];
|
|
25655
|
+
if (!this.nodeRef.data.option_forms || !this.nodeRef.data.option_forms.length) {
|
|
25656
|
+
return users;
|
|
25657
|
+
}
|
|
25658
|
+
this.nodeRef.data.option_forms.forEach(function (attr) {
|
|
25659
|
+
users.push({
|
|
25660
|
+
label: attr.attrName + '(操作视图)',
|
|
25661
|
+
title: attr.attrName + '(操作视图)',
|
|
25662
|
+
value: '${' + attr.attrCode + '}',
|
|
25663
|
+
key: attr.attrName + '-' + attr.attrCode + '(操作视图)',
|
|
25664
|
+
children: []
|
|
25665
|
+
});
|
|
25666
|
+
});
|
|
25667
|
+
return users;
|
|
25668
|
+
}
|
|
25669
|
+
},
|
|
25670
|
+
methods: {
|
|
25671
|
+
filterDataset: function filterDataset(filter, dataset, datasetKeys) {
|
|
25672
|
+
var _this2 = this;
|
|
25673
|
+
if (!filter) {
|
|
25674
|
+
return dataset.filter(function (o) {
|
|
25675
|
+
return _this2.formsColumnAccess === 'all' || _this2.formsColumnAccess.indexOf(o.access.toString()) !== -1;
|
|
25676
|
+
});
|
|
25677
|
+
}
|
|
25678
|
+
return dataset.filter(function (o) {
|
|
25679
|
+
var _iterator = TaskNodevue_type_script_lang_js_createForOfIteratorHelper(datasetKeys),
|
|
25680
|
+
_step;
|
|
25681
|
+
try {
|
|
25682
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
25683
|
+
var key = _step.value;
|
|
25684
|
+
if (o[key].toString().toLowerCase().includes(filter.toLowerCase())) {
|
|
25685
|
+
return true;
|
|
25686
|
+
}
|
|
25687
|
+
}
|
|
25688
|
+
} catch (err) {
|
|
25689
|
+
_iterator.e(err);
|
|
25690
|
+
} finally {
|
|
25691
|
+
_iterator.f();
|
|
25692
|
+
}
|
|
25693
|
+
return false;
|
|
25694
|
+
}).filter(function (o) {
|
|
25695
|
+
return _this2.formsColumnAccess === 'all' || _this2.formsColumnAccess.indexOf(o.access.toString()) !== -1;
|
|
25696
|
+
});
|
|
25697
|
+
},
|
|
25698
|
+
getClass: function getClass() {
|
|
25699
|
+
var _this$nodeHandler5, _this$nodeHandler6, _this$nodeHandler7;
|
|
25700
|
+
var classes = '';
|
|
25701
|
+
if (this.node.error) {
|
|
25702
|
+
classes += ' error';
|
|
25703
|
+
}
|
|
25704
|
+
if (((_this$nodeHandler5 = this.nodeHandler) === null || _this$nodeHandler5 === void 0 || (_this$nodeHandler5 = _this$nodeHandler5.runtimeData) === null || _this$nodeHandler5 === void 0 ? void 0 : _this$nodeHandler5.currentNodeCode) === this.node.code) {
|
|
25705
|
+
classes += ' ongoing';
|
|
25706
|
+
} else if ((_this$nodeHandler6 = this.nodeHandler) !== null && _this$nodeHandler6 !== void 0 && (_this$nodeHandler6 = _this$nodeHandler6.runtimeData) !== null && _this$nodeHandler6 !== void 0 && _this$nodeHandler6.caseNodes && (_this$nodeHandler7 = this.nodeHandler) !== null && _this$nodeHandler7 !== void 0 && (_this$nodeHandler7 = _this$nodeHandler7.runtimeData) !== null && _this$nodeHandler7 !== void 0 && (_this$nodeHandler7 = _this$nodeHandler7.caseNodes[this.node.code]) !== null && _this$nodeHandler7 !== void 0 && _this$nodeHandler7.status) {
|
|
25707
|
+
classes += this.nodeHandler.runtimeData.caseNodes[this.node.code].status;
|
|
25708
|
+
}
|
|
25709
|
+
return classes;
|
|
25710
|
+
},
|
|
25711
|
+
filterUser: function filterUser(input, _ref2) {
|
|
25712
|
+
var data = _ref2.data;
|
|
25713
|
+
return data.key.indexOf(input) !== -1;
|
|
25714
|
+
},
|
|
25715
|
+
/**
|
|
25716
|
+
*
|
|
25717
|
+
* @param node {NodeItem}
|
|
25718
|
+
*/
|
|
25719
|
+
loadCache: function loadCache(node) {
|
|
25720
|
+
var _node$data$eadCache$w, _node$data, _node$data$eadCache$w2, _node$data2, _node$data$eadCache$w3, _node$data3;
|
|
25721
|
+
this.optionViewType = (_node$data$eadCache$w = (_node$data = node.data) === null || _node$data === void 0 || (_node$data = _node$data.eadCache) === null || _node$data === void 0 || (_node$data = _node$data.workflow) === null || _node$data === void 0 ? void 0 : _node$data.optionViewType) !== null && _node$data$eadCache$w !== void 0 ? _node$data$eadCache$w : this.optionViewType;
|
|
25722
|
+
this.optionViewList = (_node$data$eadCache$w2 = (_node$data2 = node.data) === null || _node$data2 === void 0 || (_node$data2 = _node$data2.eadCache) === null || _node$data2 === void 0 || (_node$data2 = _node$data2.workflow) === null || _node$data2 === void 0 ? void 0 : _node$data2.optionViewList) !== null && _node$data$eadCache$w2 !== void 0 ? _node$data$eadCache$w2 : this.optionViewList;
|
|
25723
|
+
this.driverList = (_node$data$eadCache$w3 = (_node$data3 = node.data) === null || _node$data3 === void 0 || (_node$data3 = _node$data3.eadCache) === null || _node$data3 === void 0 || (_node$data3 = _node$data3.workflow) === null || _node$data3 === void 0 ? void 0 : _node$data3.driverList) !== null && _node$data$eadCache$w3 !== void 0 ? _node$data$eadCache$w3 : this.driverList;
|
|
25724
|
+
},
|
|
25725
|
+
handleDriverChange: function handleDriverChange(a, s) {},
|
|
25726
|
+
handleDriverSearch: function handleDriverSearch(s) {
|
|
25727
|
+
var _this3 = this;
|
|
25728
|
+
if (this.driverTimeout) {
|
|
25729
|
+
clearTimeout(this.driverTimeout);
|
|
25730
|
+
this.driverTimeout = null;
|
|
25731
|
+
}
|
|
25732
|
+
var go = function go() {
|
|
25733
|
+
if (!s) {
|
|
25734
|
+
return;
|
|
25735
|
+
}
|
|
25736
|
+
_this3.eadApi.getDrivers(s).then(function (value) {
|
|
25737
|
+
_this3.driverList = value.map(function (item) {
|
|
25738
|
+
return {
|
|
25739
|
+
value: item.driver_id,
|
|
25740
|
+
label: item.driver_name,
|
|
25741
|
+
title: item.driver_name
|
|
25742
|
+
};
|
|
25743
|
+
});
|
|
25744
|
+
_this3.nodeRef.data.eadCache.workflow.driverList = _this3.driverList;
|
|
25745
|
+
});
|
|
25746
|
+
};
|
|
25747
|
+
this.driverTimeout = setTimeout(go, 300);
|
|
25748
|
+
},
|
|
25749
|
+
hasExpression: function hasExpression(item) {
|
|
25750
|
+
if (item.type === 'uid') {
|
|
25751
|
+
return item.user && item.user.length;
|
|
25752
|
+
}
|
|
25753
|
+
if (item.type === 'org') {
|
|
25754
|
+
return item.orgId || item.roleId || item.groupId;
|
|
25755
|
+
}
|
|
25756
|
+
return false;
|
|
25757
|
+
},
|
|
25758
|
+
'handleItemChange': function handleItemChange(d, b) {},
|
|
25759
|
+
'optionFormsRadioChange': function optionFormsRadioChange(type) {
|
|
25760
|
+
// eslint-disable-next-line no-return-assign
|
|
25761
|
+
this.node.data.option_forms.forEach(function (value) {
|
|
25762
|
+
return value.access = type;
|
|
25763
|
+
});
|
|
25764
|
+
},
|
|
25765
|
+
optionViewChange: function optionViewChange(id) {
|
|
25766
|
+
var _this4 = this;
|
|
25767
|
+
return TaskNodevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/TaskNodevue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
|
|
25768
|
+
return TaskNodevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
25769
|
+
while (1) switch (_context.prev = _context.next) {
|
|
25770
|
+
case 0:
|
|
25771
|
+
_this4.formsColumnFilter = undefined;
|
|
25772
|
+
if (_this4.optionViewId) {
|
|
25773
|
+
_this4.optionFormsCache[_this4.optionViewId] = _this4.nodeRef.data.option_forms;
|
|
25774
|
+
}
|
|
25775
|
+
_this4.optionViewId = id;
|
|
25776
|
+
_this4.nodeRef.data.eadCache.workflow.optionViewList = [_this4.optionViewList.find(function (item) {
|
|
25777
|
+
return item.value === id;
|
|
25778
|
+
})];
|
|
25779
|
+
_this4.viewAttrLoading = true;
|
|
25780
|
+
_context.next = 7;
|
|
25781
|
+
return _this4.eadApi.getViewAttrs(id);
|
|
25782
|
+
case 7:
|
|
25783
|
+
_this4.nodeRef.data.option_forms = _context.sent.filter(function (attr) {
|
|
25784
|
+
return attr.type === 'value' && attr.access !== 'none';
|
|
25785
|
+
}).filter(function (attr) {
|
|
25786
|
+
return attr.key_type !== 'primary';
|
|
25787
|
+
}).map(function (attr) {
|
|
25788
|
+
var _this4$optionFormsCac, _cache$access, _ref3;
|
|
25789
|
+
var cache = (_this4$optionFormsCac = _this4.optionFormsCache[id]) === null || _this4$optionFormsCac === void 0 ? void 0 : _this4$optionFormsCac.find(function (attr0) {
|
|
25790
|
+
return attr0.attrId === attr.id;
|
|
25791
|
+
});
|
|
25792
|
+
var access = (_cache$access = cache === null || cache === void 0 ? void 0 : cache.access) !== null && _cache$access !== void 0 ? _cache$access : 'none';
|
|
25793
|
+
attr.required = (_ref3 = (cache === null || cache === void 0 ? void 0 : cache.access) === 'write') !== null && _ref3 !== void 0 ? _ref3 : attr.required;
|
|
25794
|
+
return {
|
|
25795
|
+
attrId: attr.id,
|
|
25796
|
+
attrName: attr.alias,
|
|
25797
|
+
attrCode: attr.name,
|
|
25798
|
+
access: access,
|
|
25799
|
+
required: attr.required
|
|
25800
|
+
};
|
|
25801
|
+
});
|
|
25802
|
+
_this4.$nextTick(function () {
|
|
25803
|
+
_this4.viewAttrLoading = false;
|
|
25804
|
+
});
|
|
25805
|
+
case 9:
|
|
25806
|
+
case "end":
|
|
25807
|
+
return _context.stop();
|
|
25808
|
+
}
|
|
25809
|
+
}, _callee);
|
|
25810
|
+
}))();
|
|
25811
|
+
},
|
|
25812
|
+
'optionViewSearch': function optionViewSearch(s) {
|
|
25813
|
+
var _this5 = this;
|
|
25814
|
+
if (this.viewNameTimeout) {
|
|
25815
|
+
clearTimeout(this.viewNameTimeout);
|
|
25816
|
+
this.viewNameTimeout = null;
|
|
25817
|
+
}
|
|
25818
|
+
var go = function go() {
|
|
25819
|
+
if (!s) {
|
|
25820
|
+
return;
|
|
25821
|
+
}
|
|
25822
|
+
_this5.eadApi.getViews(s).then(function (value) {
|
|
25823
|
+
_this5.optionViewList = value.map(function (item) {
|
|
25824
|
+
return {
|
|
25825
|
+
value: item.view_id,
|
|
25826
|
+
text: item.view_name
|
|
25827
|
+
};
|
|
25828
|
+
});
|
|
25829
|
+
});
|
|
25830
|
+
};
|
|
25831
|
+
this.viewNameTimeout = setTimeout(go, 300);
|
|
25832
|
+
},
|
|
25833
|
+
'changeViewType': function changeViewType(_ref4) {
|
|
25834
|
+
var _this6 = this;
|
|
25835
|
+
return TaskNodevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/TaskNodevue_type_script_lang_js_regeneratorRuntime().mark(function _callee2() {
|
|
25836
|
+
var target, type;
|
|
25837
|
+
return TaskNodevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
25838
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
25839
|
+
case 0:
|
|
25840
|
+
target = _ref4.target;
|
|
25841
|
+
type = target.value;
|
|
25842
|
+
_this6.nodeRef.data.eadCache.workflow.optionViewType = type;
|
|
25843
|
+
if (type === 'custom') {
|
|
25844
|
+
_this6.optionFormsCache[_this6.eadApi.getValues().option_view_id] = _this6.nodeRef.data.option_forms;
|
|
25845
|
+
}
|
|
25846
|
+
if (!(type === 'use_model')) {
|
|
25847
|
+
_context2.next = 13;
|
|
25848
|
+
break;
|
|
25849
|
+
}
|
|
25850
|
+
if (_this6.optionViewId) {
|
|
25851
|
+
_this6.optionFormsCache[_this6.optionViewId] = _this6.nodeRef.data.option_forms;
|
|
25852
|
+
}
|
|
25853
|
+
_this6.optionViewId = null;
|
|
25854
|
+
_this6.nodeRef.data.option_view_id = undefined;
|
|
25855
|
+
_this6.viewAttrLoading = true;
|
|
25856
|
+
_context2.next = 11;
|
|
25857
|
+
return _this6.eadApi.getViewAttrs(_this6.eadApi.getValues().option_view_id);
|
|
25858
|
+
case 11:
|
|
25859
|
+
_this6.nodeRef.data.option_forms = _context2.sent.filter(function (attr) {
|
|
25860
|
+
return attr.type === 'value' && attr.access !== 'none';
|
|
25861
|
+
}).filter(function (attr) {
|
|
25862
|
+
return attr.key_type !== 'primary';
|
|
25863
|
+
}).map(function (attr) {
|
|
25864
|
+
var _this6$optionFormsCac, _cache$access2, _ref5;
|
|
25865
|
+
var cache = (_this6$optionFormsCac = _this6.optionFormsCache[_this6.eadApi.getValues().option_view_id]) === null || _this6$optionFormsCac === void 0 ? void 0 : _this6$optionFormsCac.find(function (attr0) {
|
|
25866
|
+
return attr0.attrId === attr.id;
|
|
25867
|
+
});
|
|
25868
|
+
var access = (_cache$access2 = cache === null || cache === void 0 ? void 0 : cache.access) !== null && _cache$access2 !== void 0 ? _cache$access2 : 'none';
|
|
25869
|
+
attr.required = (_ref5 = (cache === null || cache === void 0 ? void 0 : cache.access) === 'write') !== null && _ref5 !== void 0 ? _ref5 : attr.required;
|
|
25870
|
+
return {
|
|
25871
|
+
attrId: attr.id,
|
|
25872
|
+
attrName: attr.alias,
|
|
25873
|
+
attrCode: attr.name,
|
|
25874
|
+
access: access,
|
|
25875
|
+
required: attr.required
|
|
25876
|
+
};
|
|
25877
|
+
});
|
|
25878
|
+
_this6.viewAttrLoading = false;
|
|
25879
|
+
case 13:
|
|
25880
|
+
case "end":
|
|
25881
|
+
return _context2.stop();
|
|
25882
|
+
}
|
|
25883
|
+
}, _callee2);
|
|
25884
|
+
}))();
|
|
25885
|
+
},
|
|
25886
|
+
hideDrawer: function hideDrawer() {
|
|
25887
|
+
var _this7 = this;
|
|
25888
|
+
var vaildR = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["ref"])(true);
|
|
25889
|
+
this.$refs.nameForm.validate(function (valid) {
|
|
25890
|
+
if (!valid) {
|
|
25891
|
+
vaildR.value = false;
|
|
25892
|
+
_this7.$message.error('节点名称校验不通过');
|
|
25893
|
+
}
|
|
25894
|
+
});
|
|
25895
|
+
|
|
25896
|
+
// hide 即保存
|
|
25897
|
+
if (vaildR.value) {
|
|
25898
|
+
this.visibleDrawer = false;
|
|
25899
|
+
}
|
|
25900
|
+
},
|
|
25901
|
+
changeTags: function changeTags(a) {
|
|
25902
|
+
// console.log(a)
|
|
25903
|
+
},
|
|
25904
|
+
showEditName: function showEditName() {
|
|
25905
|
+
var _this8 = this;
|
|
25906
|
+
this.editName = true;
|
|
25907
|
+
Object(external_commonjs_vue_commonjs2_vue_root_Vue_["nextTick"])(function () {
|
|
25908
|
+
_this8.$refs.nameInput.focus();
|
|
25909
|
+
});
|
|
25910
|
+
},
|
|
25911
|
+
close: function close() {
|
|
25912
|
+
this.nodeHandler.deleteNode(this.node.code);
|
|
25913
|
+
},
|
|
25914
|
+
click: function click() {
|
|
25915
|
+
if (this.nodeHandler.isPreview) {
|
|
25916
|
+
return;
|
|
25917
|
+
}
|
|
25918
|
+
this.nodeRef.error = null;
|
|
25919
|
+
this.showDrawer();
|
|
25920
|
+
},
|
|
25921
|
+
more: function more() {
|
|
25922
|
+
this.showPopover();
|
|
25923
|
+
}
|
|
25924
|
+
},
|
|
25925
|
+
created: function created() {
|
|
25926
|
+
this.loadCache(this.nodeRef);
|
|
25927
|
+
},
|
|
25928
|
+
mounted: function () {
|
|
25929
|
+
var _mounted = TaskNodevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/TaskNodevue_type_script_lang_js_regeneratorRuntime().mark(function _callee3() {
|
|
25930
|
+
var _this$nodeRef$data$op;
|
|
25931
|
+
var _yield$this$nodeHandl, viewAttrs, orgMap, orgData, roles, users;
|
|
25932
|
+
return TaskNodevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
25933
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
25934
|
+
case 0:
|
|
25935
|
+
_context3.next = 2;
|
|
25936
|
+
return this.nodeHandler.businessAdapter.getActorData();
|
|
25937
|
+
case 2:
|
|
25938
|
+
_yield$this$nodeHandl = _context3.sent;
|
|
25939
|
+
viewAttrs = _yield$this$nodeHandl.viewAttrs;
|
|
25940
|
+
orgMap = _yield$this$nodeHandl.orgMap;
|
|
25941
|
+
orgData = _yield$this$nodeHandl.orgData;
|
|
25942
|
+
roles = _yield$this$nodeHandl.roles;
|
|
25943
|
+
users = _yield$this$nodeHandl.users;
|
|
25944
|
+
if (!((_this$nodeRef$data$op = this.nodeRef.data.option_forms) !== null && _this$nodeRef$data$op !== void 0 && _this$nodeRef$data$op.length)) {
|
|
25945
|
+
this.nodeRef.data.option_forms = viewAttrs.filter(function (attr) {
|
|
25946
|
+
return attr.type === 'value' && attr.access !== 'none';
|
|
25947
|
+
}).filter(function (attr) {
|
|
25948
|
+
return attr.key_type !== 'primary';
|
|
25949
|
+
}).map(function (attr) {
|
|
25950
|
+
return {
|
|
25951
|
+
attrId: attr.id,
|
|
25952
|
+
attrName: attr.alias,
|
|
25953
|
+
attrCode: attr.name,
|
|
25954
|
+
access: 'none',
|
|
25955
|
+
required: attr.required
|
|
25956
|
+
};
|
|
25957
|
+
});
|
|
25958
|
+
}
|
|
25959
|
+
this.viewAttrLoading = false;
|
|
25960
|
+
this.orgMap = orgMap;
|
|
25961
|
+
this.orgData = orgData;
|
|
25962
|
+
this.roles = roles;
|
|
25963
|
+
this.users = users;
|
|
25964
|
+
case 14:
|
|
25965
|
+
case "end":
|
|
25966
|
+
return _context3.stop();
|
|
25967
|
+
}
|
|
25968
|
+
}, _callee3, this);
|
|
25969
|
+
}));
|
|
25970
|
+
function mounted() {
|
|
25971
|
+
return _mounted.apply(this, arguments);
|
|
25972
|
+
}
|
|
25973
|
+
return mounted;
|
|
25974
|
+
}()
|
|
25975
|
+
});
|
|
25976
|
+
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/TaskNode.vue?vue&type=script&lang=js
|
|
25977
|
+
/* harmony default export */ var node_TaskNodevue_type_script_lang_js = (TaskNodevue_type_script_lang_js);
|
|
25978
|
+
// EXTERNAL MODULE: ../src/web/components/forms/flow/designer/node/TaskNode.vue?vue&type=style&index=0&id=71cd8e14&prod&lang=less&scoped=true
|
|
25979
|
+
var TaskNodevue_type_style_index_0_id_71cd8e14_prod_lang_less_scoped_true = __webpack_require__("7a33");
|
|
25980
|
+
|
|
25981
|
+
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/TaskNode.vue
|
|
25982
|
+
|
|
25983
|
+
|
|
25984
|
+
|
|
25985
|
+
|
|
25986
|
+
|
|
25987
|
+
|
|
25988
|
+
/* normalize component */
|
|
25989
|
+
|
|
25990
|
+
var TaskNode_component = normalizeComponent(
|
|
25991
|
+
node_TaskNodevue_type_script_lang_js,
|
|
25992
|
+
TaskNodevue_type_template_id_71cd8e14_scoped_true_render,
|
|
25993
|
+
TaskNodevue_type_template_id_71cd8e14_scoped_true_staticRenderFns,
|
|
25994
|
+
false,
|
|
25995
|
+
null,
|
|
25996
|
+
"71cd8e14",
|
|
25997
|
+
null
|
|
25998
|
+
|
|
25999
|
+
)
|
|
26000
|
+
|
|
26001
|
+
/* harmony default export */ var TaskNode = (TaskNode_component.exports);
|
|
26002
|
+
// CONCATENATED MODULE: ../node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"f0c52eea-vue-loader-template"}!../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/babel-loader/lib!../node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib??vue-loader-options!../src/web/components/forms/flow/designer/node/TriggerNode.vue?vue&type=template&id=7af4eb1a&scoped=true
|
|
26003
|
+
var TriggerNodevue_type_template_id_7af4eb1a_scoped_true_render = function render() {
|
|
26004
|
+
var _vm = this,
|
|
26005
|
+
_c = _vm._self._c;
|
|
26006
|
+
return _c('div', [_c('div', {
|
|
26007
|
+
staticClass: "node",
|
|
26008
|
+
class: _vm.getClass(),
|
|
26009
|
+
on: {
|
|
26010
|
+
"click": _vm.click
|
|
26011
|
+
}
|
|
26012
|
+
}, [_c('div', {
|
|
26013
|
+
staticClass: "title"
|
|
26014
|
+
}, [_c('span', [_c('a-icon', {
|
|
26015
|
+
attrs: {
|
|
26016
|
+
"type": "control"
|
|
26017
|
+
}
|
|
26018
|
+
})], 1), _c('span', [_vm._v(" " + _vm._s(_vm.node.name))]), !_vm.nodeHandler.isPreview ? _c('span', {
|
|
23955
26019
|
staticClass: "title-right"
|
|
23956
26020
|
}, [_c('a-icon', {
|
|
23957
26021
|
staticClass: "close",
|
|
@@ -24947,6 +27011,7 @@ var DelayNode_component = normalizeComponent(
|
|
|
24947
27011
|
|
|
24948
27012
|
|
|
24949
27013
|
|
|
27014
|
+
|
|
24950
27015
|
/* harmony default export */ var designer_node = ({
|
|
24951
27016
|
EndNode: EndNode,
|
|
24952
27017
|
StartNode: StartNode,
|
|
@@ -24956,11 +27021,12 @@ var DelayNode_component = normalizeComponent(
|
|
|
24956
27021
|
JudgeNode: JudgeNode,
|
|
24957
27022
|
JudgeWrapNode: JudgeWrapNode,
|
|
24958
27023
|
CCNode: CCNode,
|
|
27024
|
+
TaskNode: TaskNode,
|
|
24959
27025
|
TriggerNode: TriggerNode,
|
|
24960
27026
|
DelayNode: DelayNode
|
|
24961
27027
|
});
|
|
24962
|
-
// CONCATENATED MODULE: ../node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"f0c52eea-vue-loader-template"}!../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/babel-loader/lib!../node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib??vue-loader-options!../src/web/components/forms/flow/designer/AddNode.vue?vue&type=template&id=
|
|
24963
|
-
var
|
|
27028
|
+
// CONCATENATED MODULE: ../node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"f0c52eea-vue-loader-template"}!../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/babel-loader/lib!../node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib??vue-loader-options!../src/web/components/forms/flow/designer/AddNode.vue?vue&type=template&id=2139642c&scoped=true
|
|
27029
|
+
var AddNodevue_type_template_id_2139642c_scoped_true_render = function render() {
|
|
24964
27030
|
var _vm = this,
|
|
24965
27031
|
_c = _vm._self._c;
|
|
24966
27032
|
return _c('div', {
|
|
@@ -25031,9 +27097,9 @@ var AddNodevue_type_template_id_14eb0ec0_scoped_true_render = function render()
|
|
|
25031
27097
|
}
|
|
25032
27098
|
}) : _vm._e()], 1)], 1)])]);
|
|
25033
27099
|
};
|
|
25034
|
-
var
|
|
27100
|
+
var AddNodevue_type_template_id_2139642c_scoped_true_staticRenderFns = [];
|
|
25035
27101
|
|
|
25036
|
-
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/AddNode.vue?vue&type=template&id=
|
|
27102
|
+
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/AddNode.vue?vue&type=template&id=2139642c&scoped=true
|
|
25037
27103
|
|
|
25038
27104
|
// CONCATENATED MODULE: ../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib??vue-loader-options!../src/web/components/forms/flow/designer/AddNode.vue?vue&type=script&lang=js
|
|
25039
27105
|
|
|
@@ -25081,6 +27147,13 @@ var AddNodevue_type_template_id_14eb0ec0_scoped_true_staticRenderFns = [];
|
|
|
25081
27147
|
type: 'mail'
|
|
25082
27148
|
},
|
|
25083
27149
|
color: 'rgb(50, 150, 250)'
|
|
27150
|
+
}, {
|
|
27151
|
+
name: '执行人',
|
|
27152
|
+
type: designer_NodeType.TASK,
|
|
27153
|
+
icon: {
|
|
27154
|
+
type: 'tool'
|
|
27155
|
+
},
|
|
27156
|
+
color: 'rgb(130, 59, 197)'
|
|
25084
27157
|
}, {
|
|
25085
27158
|
name: '触发器',
|
|
25086
27159
|
type: designer_NodeType.TRIGGER,
|
|
@@ -25088,15 +27161,15 @@ var AddNodevue_type_template_id_14eb0ec0_scoped_true_staticRenderFns = [];
|
|
|
25088
27161
|
type: 'control'
|
|
25089
27162
|
},
|
|
25090
27163
|
color: 'rgb(53, 184, 129)'
|
|
25091
|
-
},
|
|
25092
|
-
|
|
25093
|
-
|
|
25094
|
-
|
|
25095
|
-
|
|
25096
|
-
|
|
25097
|
-
|
|
25098
|
-
|
|
25099
|
-
|
|
27164
|
+
},
|
|
27165
|
+
// {
|
|
27166
|
+
// disabled: true,
|
|
27167
|
+
// name: '延迟等待',
|
|
27168
|
+
// type: NodeType.DELAY,
|
|
27169
|
+
// icon: { type: 'clock-circle' },
|
|
27170
|
+
// color: 'rgb(219,86,69)'
|
|
27171
|
+
// },
|
|
27172
|
+
{
|
|
25100
27173
|
name: '条件分支',
|
|
25101
27174
|
type: designer_NodeType.JUDGE_WRAP,
|
|
25102
27175
|
icon: {
|
|
@@ -25144,11 +27217,11 @@ var AddNodevue_type_custom_index_0_blockType_a_icon_default = /*#__PURE__*/__web
|
|
|
25144
27217
|
|
|
25145
27218
|
var AddNode_component = normalizeComponent(
|
|
25146
27219
|
designer_AddNodevue_type_script_lang_js,
|
|
25147
|
-
|
|
25148
|
-
|
|
27220
|
+
AddNodevue_type_template_id_2139642c_scoped_true_render,
|
|
27221
|
+
AddNodevue_type_template_id_2139642c_scoped_true_staticRenderFns,
|
|
25149
27222
|
false,
|
|
25150
27223
|
null,
|
|
25151
|
-
"
|
|
27224
|
+
"2139642c",
|
|
25152
27225
|
null
|
|
25153
27226
|
|
|
25154
27227
|
)
|
|
@@ -25198,7 +27271,7 @@ function NodeWrapvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Nod
|
|
|
25198
27271
|
return uiStyle[o] = 'start-node-box';
|
|
25199
27272
|
});
|
|
25200
27273
|
// eslint-disable-next-line no-return-assign
|
|
25201
|
-
[designer_NodeType.CHECK, designer_NodeType.CC, designer_NodeType.PARALLEL, designer_NodeType.JUDGE, designer_NodeType.TRIGGER, designer_NodeType.DELAY].forEach(function (o) {
|
|
27274
|
+
[designer_NodeType.CHECK, designer_NodeType.CC, designer_NodeType.TASK, designer_NodeType.PARALLEL, designer_NodeType.JUDGE, designer_NodeType.TRIGGER, designer_NodeType.DELAY].forEach(function (o) {
|
|
25202
27275
|
return uiStyle[o] = 'node-box';
|
|
25203
27276
|
});
|
|
25204
27277
|
// eslint-disable-next-line no-return-assign
|
|
@@ -25226,11 +27299,11 @@ function NodeWrapvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Nod
|
|
|
25226
27299
|
|
|
25227
27300
|
var NodeWrap_component = normalizeComponent(
|
|
25228
27301
|
designer_NodeWrapvue_type_script_lang_js,
|
|
25229
|
-
|
|
25230
|
-
|
|
27302
|
+
NodeWrapvue_type_template_id_65e78fbf_scoped_true_render,
|
|
27303
|
+
NodeWrapvue_type_template_id_65e78fbf_scoped_true_staticRenderFns,
|
|
25231
27304
|
false,
|
|
25232
27305
|
null,
|
|
25233
|
-
"
|
|
27306
|
+
"65e78fbf",
|
|
25234
27307
|
null
|
|
25235
27308
|
|
|
25236
27309
|
)
|
|
@@ -25649,9 +27722,8 @@ var EadBusiness_EadBusiness = /*#__PURE__*/function (_BusinessAdapter) {
|
|
|
25649
27722
|
}
|
|
25650
27723
|
}
|
|
25651
27724
|
}
|
|
25652
|
-
|
|
25653
27725
|
// 表单视图为自定义时,必须指定表单视图
|
|
25654
|
-
if ([designer_NodeType.START, designer_NodeType.CHECK, designer_NodeType.CC].includes(node.type)) {
|
|
27726
|
+
if ([designer_NodeType.START, designer_NodeType.CHECK, designer_NodeType.CC, designer_NodeType.TASK].includes(node.type)) {
|
|
25655
27727
|
if (node.data.eadCache.workflow.optionViewType === 'custom') {
|
|
25656
27728
|
if (!node.data.option_view_id) {
|
|
25657
27729
|
node.error += '表单视图为自主选择时,必须指定表单视图;';
|
|
@@ -25661,7 +27733,7 @@ var EadBusiness_EadBusiness = /*#__PURE__*/function (_BusinessAdapter) {
|
|
|
25661
27733
|
}
|
|
25662
27734
|
|
|
25663
27735
|
// 执行人策略为表达式时,表达式必须有值
|
|
25664
|
-
if ([designer_NodeType.CHECK, designer_NodeType.CC].includes(node.type)) {
|
|
27736
|
+
if ([designer_NodeType.CHECK, designer_NodeType.CC, designer_NodeType.TASK].includes(node.type)) {
|
|
25665
27737
|
if (node.data.actor_config.type === 'expression') {
|
|
25666
27738
|
if (!node.data.actor_config.expression.length) {
|
|
25667
27739
|
node.error += '执行人策略为表达式时,表达式必须有值;';
|
|
@@ -25900,7 +27972,7 @@ var EadBusiness_EadBusiness = /*#__PURE__*/function (_BusinessAdapter) {
|
|
|
25900
27972
|
}
|
|
25901
27973
|
}
|
|
25902
27974
|
return nodes.filter(function (node) {
|
|
25903
|
-
return [designer_NodeType.START, designer_NodeType.CHECK].includes(node.type);
|
|
27975
|
+
return [designer_NodeType.START, designer_NodeType.CHECK, designer_NodeType.TASK].includes(node.type);
|
|
25904
27976
|
});
|
|
25905
27977
|
}
|
|
25906
27978
|
}], [{
|
|
@@ -25939,6 +28011,7 @@ function EadApi_classExtractFieldDescriptor(receiver, privateMap, action) { if (
|
|
|
25939
28011
|
function EadApi_classApplyDescriptorSet(receiver, descriptor, value) { if (descriptor.set) { descriptor.set.call(receiver, value); } else { if (!descriptor.writable) { throw new TypeError("attempted to set read only private field"); } descriptor.value = value; } }
|
|
25940
28012
|
var _component = /*#__PURE__*/new WeakMap();
|
|
25941
28013
|
var _baseUrl = /*#__PURE__*/new WeakMap();
|
|
28014
|
+
var _workflowUrl = /*#__PURE__*/new WeakMap();
|
|
25942
28015
|
var EadApi = /*#__PURE__*/function () {
|
|
25943
28016
|
function EadApi(vueComponent) {
|
|
25944
28017
|
EadApi_classCallCheck(this, EadApi);
|
|
@@ -25950,8 +28023,13 @@ var EadApi = /*#__PURE__*/function () {
|
|
|
25950
28023
|
writable: true,
|
|
25951
28024
|
value: void 0
|
|
25952
28025
|
});
|
|
28026
|
+
EadApi_classPrivateFieldInitSpec(this, _workflowUrl, {
|
|
28027
|
+
writable: true,
|
|
28028
|
+
value: void 0
|
|
28029
|
+
});
|
|
25953
28030
|
EadApi_classPrivateFieldSet(this, _component, vueComponent);
|
|
25954
28031
|
EadApi_classPrivateFieldSet(this, _baseUrl, window.location.origin + '/ead');
|
|
28032
|
+
EadApi_classPrivateFieldSet(this, _workflowUrl, window.location.origin + '/workflow');
|
|
25955
28033
|
}
|
|
25956
28034
|
EadApi_createClass(EadApi, [{
|
|
25957
28035
|
key: "getComponent",
|
|
@@ -26008,11 +28086,11 @@ var EadApi = /*#__PURE__*/function () {
|
|
|
26008
28086
|
case 0:
|
|
26009
28087
|
_context.prev = 0;
|
|
26010
28088
|
action = EadApi_classPrivateFieldGet(this, _component).action;
|
|
26011
|
-
url = EadApi_classPrivateFieldGet(this, _component)
|
|
28089
|
+
url = EadApi_classPrivateFieldGet(this, _component).view.apiURL.replace(EadApi_classPrivateFieldGet(this, _component).view.apiBaseURL + '/', '');
|
|
26012
28090
|
key = action.key;
|
|
26013
28091
|
method = action.method;
|
|
26014
28092
|
_context.next = 7;
|
|
26015
|
-
return EadApi_classPrivateFieldGet(this, _component).$api[method.toLowerCase()]("
|
|
28093
|
+
return EadApi_classPrivateFieldGet(this, _component).$api[method.toLowerCase()]("".concat(url).concat(key ? "/".concat(key) : ''), EadApi_objectSpread({}, EadApi_classPrivateFieldGet(this, _component).actionModel));
|
|
26016
28094
|
case 7:
|
|
26017
28095
|
_yield$_classPrivateF = _context.sent;
|
|
26018
28096
|
data = _yield$_classPrivateF.data;
|
|
@@ -26074,57 +28152,61 @@ var EadApi = /*#__PURE__*/function () {
|
|
|
26074
28152
|
}
|
|
26075
28153
|
return getViewAttrs;
|
|
26076
28154
|
}()
|
|
28155
|
+
/**
|
|
28156
|
+
* 获取视图schema
|
|
28157
|
+
* @param viewId
|
|
28158
|
+
* @returns {Promise<*[]>}
|
|
28159
|
+
*/
|
|
26077
28160
|
}, {
|
|
26078
|
-
key: "
|
|
26079
|
-
value: function () {
|
|
26080
|
-
var
|
|
26081
|
-
var _yield$_classPrivateF4,
|
|
28161
|
+
key: "getViewSchema",
|
|
28162
|
+
value: (function () {
|
|
28163
|
+
var _getViewSchema = EadApi_asyncToGenerator( /*#__PURE__*/EadApi_regeneratorRuntime().mark(function _callee3(viewId) {
|
|
28164
|
+
var _yield$_classPrivateF4, data, _data2, message;
|
|
26082
28165
|
return EadApi_regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
26083
28166
|
while (1) switch (_context3.prev = _context3.next) {
|
|
26084
28167
|
case 0:
|
|
26085
28168
|
_context3.prev = 0;
|
|
26086
28169
|
_context3.next = 3;
|
|
26087
|
-
return EadApi_classPrivateFieldGet(this, _component).$api.get("".concat(EadApi_classPrivateFieldGet(this,
|
|
28170
|
+
return EadApi_classPrivateFieldGet(this, _component).$api.get("".concat(EadApi_classPrivateFieldGet(this, _workflowUrl), "/api/viewschema/").concat(viewId));
|
|
26088
28171
|
case 3:
|
|
26089
28172
|
_yield$_classPrivateF4 = _context3.sent;
|
|
26090
|
-
|
|
26091
|
-
|
|
26092
|
-
|
|
26093
|
-
|
|
26094
|
-
_context3.prev = 9;
|
|
28173
|
+
data = _yield$_classPrivateF4.data;
|
|
28174
|
+
return _context3.abrupt("return", data);
|
|
28175
|
+
case 8:
|
|
28176
|
+
_context3.prev = 8;
|
|
26095
28177
|
_context3.t0 = _context3["catch"](0);
|
|
26096
|
-
|
|
26097
|
-
message =
|
|
28178
|
+
_data2 = _context3.t0.response.data;
|
|
28179
|
+
message = _data2 && _data2.content || '系统错误请与管理员联系。';
|
|
26098
28180
|
this.$message.error(message);
|
|
26099
|
-
case
|
|
26100
|
-
_context3.prev =
|
|
26101
|
-
return _context3.finish(
|
|
26102
|
-
case
|
|
28181
|
+
case 13:
|
|
28182
|
+
_context3.prev = 13;
|
|
28183
|
+
return _context3.finish(13);
|
|
28184
|
+
case 15:
|
|
26103
28185
|
case "end":
|
|
26104
28186
|
return _context3.stop();
|
|
26105
28187
|
}
|
|
26106
|
-
}, _callee3, this, [[0,
|
|
28188
|
+
}, _callee3, this, [[0, 8, 13, 15]]);
|
|
26107
28189
|
}));
|
|
26108
|
-
function
|
|
26109
|
-
return
|
|
28190
|
+
function getViewSchema(_x2) {
|
|
28191
|
+
return _getViewSchema.apply(this, arguments);
|
|
26110
28192
|
}
|
|
26111
|
-
return
|
|
26112
|
-
}()
|
|
28193
|
+
return getViewSchema;
|
|
28194
|
+
}())
|
|
26113
28195
|
}, {
|
|
26114
|
-
key: "
|
|
28196
|
+
key: "getUsers",
|
|
26115
28197
|
value: function () {
|
|
26116
|
-
var
|
|
26117
|
-
var _yield$
|
|
28198
|
+
var _getUsers = EadApi_asyncToGenerator( /*#__PURE__*/EadApi_regeneratorRuntime().mark(function _callee4() {
|
|
28199
|
+
var _yield$_classPrivateF5, _yield$_classPrivateF6, collection, data, message;
|
|
26118
28200
|
return EadApi_regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
26119
28201
|
while (1) switch (_context4.prev = _context4.next) {
|
|
26120
28202
|
case 0:
|
|
26121
28203
|
_context4.prev = 0;
|
|
26122
28204
|
_context4.next = 3;
|
|
26123
|
-
return EadApi_classPrivateFieldGet(this, _component).$api.get("".concat(EadApi_classPrivateFieldGet(this, _baseUrl), "/api/flowdir-
|
|
28205
|
+
return EadApi_classPrivateFieldGet(this, _component).$api.get("".concat(EadApi_classPrivateFieldGet(this, _baseUrl), "/api/flowdir-user"));
|
|
26124
28206
|
case 3:
|
|
26125
|
-
_yield$
|
|
26126
|
-
_yield$
|
|
26127
|
-
collection = _yield$
|
|
28207
|
+
_yield$_classPrivateF5 = _context4.sent;
|
|
28208
|
+
_yield$_classPrivateF6 = _yield$_classPrivateF5.data.collection;
|
|
28209
|
+
collection = _yield$_classPrivateF6 === void 0 ? [] : _yield$_classPrivateF6;
|
|
26128
28210
|
return _context4.abrupt("return", collection);
|
|
26129
28211
|
case 9:
|
|
26130
28212
|
_context4.prev = 9;
|
|
@@ -26141,26 +28223,26 @@ var EadApi = /*#__PURE__*/function () {
|
|
|
26141
28223
|
}
|
|
26142
28224
|
}, _callee4, this, [[0, 9, 14, 16]]);
|
|
26143
28225
|
}));
|
|
26144
|
-
function
|
|
26145
|
-
return
|
|
28226
|
+
function getUsers() {
|
|
28227
|
+
return _getUsers.apply(this, arguments);
|
|
26146
28228
|
}
|
|
26147
|
-
return
|
|
28229
|
+
return getUsers;
|
|
26148
28230
|
}()
|
|
26149
28231
|
}, {
|
|
26150
|
-
key: "
|
|
28232
|
+
key: "getRoles",
|
|
26151
28233
|
value: function () {
|
|
26152
|
-
var
|
|
26153
|
-
var _yield$
|
|
28234
|
+
var _getRoles = EadApi_asyncToGenerator( /*#__PURE__*/EadApi_regeneratorRuntime().mark(function _callee5(appKey) {
|
|
28235
|
+
var _yield$_classPrivateF7, _yield$_classPrivateF8, collection, data, message;
|
|
26154
28236
|
return EadApi_regeneratorRuntime().wrap(function _callee5$(_context5) {
|
|
26155
28237
|
while (1) switch (_context5.prev = _context5.next) {
|
|
26156
28238
|
case 0:
|
|
26157
28239
|
_context5.prev = 0;
|
|
26158
28240
|
_context5.next = 3;
|
|
26159
|
-
return EadApi_classPrivateFieldGet(this, _component).$api.get("".concat(EadApi_classPrivateFieldGet(this, _baseUrl), "/api/flowdir-
|
|
28241
|
+
return EadApi_classPrivateFieldGet(this, _component).$api.get("".concat(EadApi_classPrivateFieldGet(this, _baseUrl), "/api/flowdir-role?app_key=") + appKey);
|
|
26160
28242
|
case 3:
|
|
26161
|
-
_yield$
|
|
26162
|
-
_yield$
|
|
26163
|
-
collection = _yield$
|
|
28243
|
+
_yield$_classPrivateF7 = _context5.sent;
|
|
28244
|
+
_yield$_classPrivateF8 = _yield$_classPrivateF7.data.collection;
|
|
28245
|
+
collection = _yield$_classPrivateF8 === void 0 ? [] : _yield$_classPrivateF8;
|
|
26164
28246
|
return _context5.abrupt("return", collection);
|
|
26165
28247
|
case 9:
|
|
26166
28248
|
_context5.prev = 9;
|
|
@@ -26177,37 +28259,32 @@ var EadApi = /*#__PURE__*/function () {
|
|
|
26177
28259
|
}
|
|
26178
28260
|
}, _callee5, this, [[0, 9, 14, 16]]);
|
|
26179
28261
|
}));
|
|
26180
|
-
function
|
|
26181
|
-
return
|
|
28262
|
+
function getRoles(_x3) {
|
|
28263
|
+
return _getRoles.apply(this, arguments);
|
|
26182
28264
|
}
|
|
26183
|
-
return
|
|
28265
|
+
return getRoles;
|
|
26184
28266
|
}()
|
|
26185
|
-
/**
|
|
26186
|
-
* @deprecated
|
|
26187
|
-
*/
|
|
26188
28267
|
}, {
|
|
26189
|
-
key: "
|
|
26190
|
-
value:
|
|
26191
|
-
var
|
|
26192
|
-
var _yield$
|
|
28268
|
+
key: "getOrgs",
|
|
28269
|
+
value: function () {
|
|
28270
|
+
var _getOrgs = EadApi_asyncToGenerator( /*#__PURE__*/EadApi_regeneratorRuntime().mark(function _callee6() {
|
|
28271
|
+
var _yield$_classPrivateF9, _yield$_classPrivateF10, collection, data, message;
|
|
26193
28272
|
return EadApi_regeneratorRuntime().wrap(function _callee6$(_context6) {
|
|
26194
28273
|
while (1) switch (_context6.prev = _context6.next) {
|
|
26195
28274
|
case 0:
|
|
26196
28275
|
_context6.prev = 0;
|
|
26197
28276
|
_context6.next = 3;
|
|
26198
|
-
return EadApi_classPrivateFieldGet(this, _component).$api.get("".concat(EadApi_classPrivateFieldGet(this, _baseUrl), "/
|
|
26199
|
-
params: EadApi_objectSpread({}, params)
|
|
26200
|
-
});
|
|
28277
|
+
return EadApi_classPrivateFieldGet(this, _component).$api.get("".concat(EadApi_classPrivateFieldGet(this, _baseUrl), "/api/flowdir-org"));
|
|
26201
28278
|
case 3:
|
|
26202
|
-
_yield$
|
|
26203
|
-
_yield$
|
|
26204
|
-
|
|
26205
|
-
return _context6.abrupt("return",
|
|
28279
|
+
_yield$_classPrivateF9 = _context6.sent;
|
|
28280
|
+
_yield$_classPrivateF10 = _yield$_classPrivateF9.data.collection;
|
|
28281
|
+
collection = _yield$_classPrivateF10 === void 0 ? [] : _yield$_classPrivateF10;
|
|
28282
|
+
return _context6.abrupt("return", collection);
|
|
26206
28283
|
case 9:
|
|
26207
28284
|
_context6.prev = 9;
|
|
26208
28285
|
_context6.t0 = _context6["catch"](0);
|
|
26209
|
-
|
|
26210
|
-
message =
|
|
28286
|
+
data = _context6.t0.response.data;
|
|
28287
|
+
message = data && data.content || '系统错误请与管理员联系。';
|
|
26211
28288
|
this.$message.error(message);
|
|
26212
28289
|
case 14:
|
|
26213
28290
|
_context6.prev = 14;
|
|
@@ -26218,34 +28295,37 @@ var EadApi = /*#__PURE__*/function () {
|
|
|
26218
28295
|
}
|
|
26219
28296
|
}, _callee6, this, [[0, 9, 14, 16]]);
|
|
26220
28297
|
}));
|
|
26221
|
-
function
|
|
26222
|
-
return
|
|
28298
|
+
function getOrgs() {
|
|
28299
|
+
return _getOrgs.apply(this, arguments);
|
|
26223
28300
|
}
|
|
26224
|
-
return
|
|
26225
|
-
}()
|
|
28301
|
+
return getOrgs;
|
|
28302
|
+
}()
|
|
28303
|
+
/**
|
|
28304
|
+
* @deprecated
|
|
28305
|
+
*/
|
|
26226
28306
|
}, {
|
|
26227
|
-
key: "
|
|
26228
|
-
value: function () {
|
|
26229
|
-
var
|
|
26230
|
-
var _yield$
|
|
28307
|
+
key: "getDataset",
|
|
28308
|
+
value: (function () {
|
|
28309
|
+
var _getDataset = EadApi_asyncToGenerator( /*#__PURE__*/EadApi_regeneratorRuntime().mark(function _callee7(datasetName, params) {
|
|
28310
|
+
var _yield$_classPrivateF11, _yield$_classPrivateF12, data, _data3, message;
|
|
26231
28311
|
return EadApi_regeneratorRuntime().wrap(function _callee7$(_context7) {
|
|
26232
28312
|
while (1) switch (_context7.prev = _context7.next) {
|
|
26233
28313
|
case 0:
|
|
26234
28314
|
_context7.prev = 0;
|
|
26235
28315
|
_context7.next = 3;
|
|
26236
|
-
return EadApi_classPrivateFieldGet(this, _component).$api.get("".concat(EadApi_classPrivateFieldGet(this, _baseUrl), "/
|
|
28316
|
+
return EadApi_classPrivateFieldGet(this, _component).$api.get("".concat(EadApi_classPrivateFieldGet(this, _baseUrl), "/dataset/").concat(datasetName), {
|
|
26237
28317
|
params: EadApi_objectSpread({}, params)
|
|
26238
28318
|
});
|
|
26239
28319
|
case 3:
|
|
26240
|
-
_yield$
|
|
26241
|
-
_yield$
|
|
26242
|
-
|
|
26243
|
-
return _context7.abrupt("return",
|
|
28320
|
+
_yield$_classPrivateF11 = _context7.sent;
|
|
28321
|
+
_yield$_classPrivateF12 = _yield$_classPrivateF11.data.data;
|
|
28322
|
+
data = _yield$_classPrivateF12 === void 0 ? [] : _yield$_classPrivateF12;
|
|
28323
|
+
return _context7.abrupt("return", data);
|
|
26244
28324
|
case 9:
|
|
26245
28325
|
_context7.prev = 9;
|
|
26246
28326
|
_context7.t0 = _context7["catch"](0);
|
|
26247
|
-
|
|
26248
|
-
message =
|
|
28327
|
+
_data3 = _context7.t0.response.data;
|
|
28328
|
+
message = _data3 && _data3.content || '系统错误请与管理员联系。';
|
|
26249
28329
|
this.$message.error(message);
|
|
26250
28330
|
case 14:
|
|
26251
28331
|
_context7.prev = 14;
|
|
@@ -26256,26 +28336,28 @@ var EadApi = /*#__PURE__*/function () {
|
|
|
26256
28336
|
}
|
|
26257
28337
|
}, _callee7, this, [[0, 9, 14, 16]]);
|
|
26258
28338
|
}));
|
|
26259
|
-
function
|
|
26260
|
-
return
|
|
28339
|
+
function getDataset(_x4, _x5) {
|
|
28340
|
+
return _getDataset.apply(this, arguments);
|
|
26261
28341
|
}
|
|
26262
|
-
return
|
|
26263
|
-
}()
|
|
28342
|
+
return getDataset;
|
|
28343
|
+
}())
|
|
26264
28344
|
}, {
|
|
26265
|
-
key: "
|
|
28345
|
+
key: "getDatasetApi",
|
|
26266
28346
|
value: function () {
|
|
26267
|
-
var
|
|
26268
|
-
var _yield$
|
|
28347
|
+
var _getDatasetApi = EadApi_asyncToGenerator( /*#__PURE__*/EadApi_regeneratorRuntime().mark(function _callee8(datasetName, params) {
|
|
28348
|
+
var _yield$_classPrivateF13, _yield$_classPrivateF14, collection, data, message;
|
|
26269
28349
|
return EadApi_regeneratorRuntime().wrap(function _callee8$(_context8) {
|
|
26270
28350
|
while (1) switch (_context8.prev = _context8.next) {
|
|
26271
28351
|
case 0:
|
|
26272
28352
|
_context8.prev = 0;
|
|
26273
28353
|
_context8.next = 3;
|
|
26274
|
-
return EadApi_classPrivateFieldGet(this, _component).$api.get("".concat(EadApi_classPrivateFieldGet(this, _baseUrl), "/api/
|
|
28354
|
+
return EadApi_classPrivateFieldGet(this, _component).$api.get("".concat(EadApi_classPrivateFieldGet(this, _baseUrl), "/api/").concat(datasetName), {
|
|
28355
|
+
params: EadApi_objectSpread({}, params)
|
|
28356
|
+
});
|
|
26275
28357
|
case 3:
|
|
26276
|
-
_yield$
|
|
26277
|
-
_yield$
|
|
26278
|
-
collection = _yield$
|
|
28358
|
+
_yield$_classPrivateF13 = _context8.sent;
|
|
28359
|
+
_yield$_classPrivateF14 = _yield$_classPrivateF13.data.collection;
|
|
28360
|
+
collection = _yield$_classPrivateF14 === void 0 ? [] : _yield$_classPrivateF14;
|
|
26279
28361
|
return _context8.abrupt("return", collection);
|
|
26280
28362
|
case 9:
|
|
26281
28363
|
_context8.prev = 9;
|
|
@@ -26292,26 +28374,26 @@ var EadApi = /*#__PURE__*/function () {
|
|
|
26292
28374
|
}
|
|
26293
28375
|
}, _callee8, this, [[0, 9, 14, 16]]);
|
|
26294
28376
|
}));
|
|
26295
|
-
function
|
|
26296
|
-
return
|
|
28377
|
+
function getDatasetApi(_x6, _x7) {
|
|
28378
|
+
return _getDatasetApi.apply(this, arguments);
|
|
26297
28379
|
}
|
|
26298
|
-
return
|
|
28380
|
+
return getDatasetApi;
|
|
26299
28381
|
}()
|
|
26300
28382
|
}, {
|
|
26301
|
-
key: "
|
|
28383
|
+
key: "getViews",
|
|
26302
28384
|
value: function () {
|
|
26303
|
-
var
|
|
26304
|
-
var _yield$
|
|
28385
|
+
var _getViews = EadApi_asyncToGenerator( /*#__PURE__*/EadApi_regeneratorRuntime().mark(function _callee9(name) {
|
|
28386
|
+
var _yield$_classPrivateF15, _yield$_classPrivateF16, collection, data, message;
|
|
26305
28387
|
return EadApi_regeneratorRuntime().wrap(function _callee9$(_context9) {
|
|
26306
28388
|
while (1) switch (_context9.prev = _context9.next) {
|
|
26307
28389
|
case 0:
|
|
26308
28390
|
_context9.prev = 0;
|
|
26309
28391
|
_context9.next = 3;
|
|
26310
|
-
return EadApi_classPrivateFieldGet(this, _component).$api.get("".concat(EadApi_classPrivateFieldGet(this, _baseUrl), "/api/flowdir-
|
|
28392
|
+
return EadApi_classPrivateFieldGet(this, _component).$api.get("".concat(EadApi_classPrivateFieldGet(this, _baseUrl), "/api/flowdir-view?name=") + name);
|
|
26311
28393
|
case 3:
|
|
26312
|
-
_yield$
|
|
26313
|
-
_yield$
|
|
26314
|
-
collection = _yield$
|
|
28394
|
+
_yield$_classPrivateF15 = _context9.sent;
|
|
28395
|
+
_yield$_classPrivateF16 = _yield$_classPrivateF15.data.collection;
|
|
28396
|
+
collection = _yield$_classPrivateF16 === void 0 ? [] : _yield$_classPrivateF16;
|
|
26315
28397
|
return _context9.abrupt("return", collection);
|
|
26316
28398
|
case 9:
|
|
26317
28399
|
_context9.prev = 9;
|
|
@@ -26328,7 +28410,43 @@ var EadApi = /*#__PURE__*/function () {
|
|
|
26328
28410
|
}
|
|
26329
28411
|
}, _callee9, this, [[0, 9, 14, 16]]);
|
|
26330
28412
|
}));
|
|
26331
|
-
function
|
|
28413
|
+
function getViews(_x8) {
|
|
28414
|
+
return _getViews.apply(this, arguments);
|
|
28415
|
+
}
|
|
28416
|
+
return getViews;
|
|
28417
|
+
}()
|
|
28418
|
+
}, {
|
|
28419
|
+
key: "getDrivers",
|
|
28420
|
+
value: function () {
|
|
28421
|
+
var _getDrivers = EadApi_asyncToGenerator( /*#__PURE__*/EadApi_regeneratorRuntime().mark(function _callee10(name) {
|
|
28422
|
+
var _yield$_classPrivateF17, _yield$_classPrivateF18, collection, data, message;
|
|
28423
|
+
return EadApi_regeneratorRuntime().wrap(function _callee10$(_context10) {
|
|
28424
|
+
while (1) switch (_context10.prev = _context10.next) {
|
|
28425
|
+
case 0:
|
|
28426
|
+
_context10.prev = 0;
|
|
28427
|
+
_context10.next = 3;
|
|
28428
|
+
return EadApi_classPrivateFieldGet(this, _component).$api.get("".concat(EadApi_classPrivateFieldGet(this, _baseUrl), "/api/flowdir-driver?name=") + name);
|
|
28429
|
+
case 3:
|
|
28430
|
+
_yield$_classPrivateF17 = _context10.sent;
|
|
28431
|
+
_yield$_classPrivateF18 = _yield$_classPrivateF17.data.collection;
|
|
28432
|
+
collection = _yield$_classPrivateF18 === void 0 ? [] : _yield$_classPrivateF18;
|
|
28433
|
+
return _context10.abrupt("return", collection);
|
|
28434
|
+
case 9:
|
|
28435
|
+
_context10.prev = 9;
|
|
28436
|
+
_context10.t0 = _context10["catch"](0);
|
|
28437
|
+
data = _context10.t0.response.data;
|
|
28438
|
+
message = data && data.content || '系统错误请与管理员联系。';
|
|
28439
|
+
this.$message.error(message);
|
|
28440
|
+
case 14:
|
|
28441
|
+
_context10.prev = 14;
|
|
28442
|
+
return _context10.finish(14);
|
|
28443
|
+
case 16:
|
|
28444
|
+
case "end":
|
|
28445
|
+
return _context10.stop();
|
|
28446
|
+
}
|
|
28447
|
+
}, _callee10, this, [[0, 9, 14, 16]]);
|
|
28448
|
+
}));
|
|
28449
|
+
function getDrivers(_x9) {
|
|
26332
28450
|
return _getDrivers.apply(this, arguments);
|
|
26333
28451
|
}
|
|
26334
28452
|
return getDrivers;
|
|
@@ -26494,8 +28612,8 @@ var WorkFlowDesigner_component = normalizeComponent(
|
|
|
26494
28612
|
)
|
|
26495
28613
|
|
|
26496
28614
|
/* harmony default export */ var WorkFlowDesigner = (WorkFlowDesigner_component.exports);
|
|
26497
|
-
// CONCATENATED MODULE: ../node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"f0c52eea-vue-loader-template"}!../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/babel-loader/lib!../node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib??vue-loader-options!../src/web/components/forms/flow/runtime/RuntimeWorkFlow.vue?vue&type=template&id=
|
|
26498
|
-
var
|
|
28615
|
+
// CONCATENATED MODULE: ../node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"f0c52eea-vue-loader-template"}!../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/babel-loader/lib!../node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib??vue-loader-options!../src/web/components/forms/flow/runtime/RuntimeWorkFlow.vue?vue&type=template&id=4cf1af68&scoped=true
|
|
28616
|
+
var RuntimeWorkFlowvue_type_template_id_4cf1af68_scoped_true_render = function render() {
|
|
26499
28617
|
var _this = this,
|
|
26500
28618
|
_vm$currentNode$data$,
|
|
26501
28619
|
_vm$currentNode$data$2;
|
|
@@ -26552,7 +28670,7 @@ var RuntimeWorkFlowvue_type_template_id_bf3aa83e_scoped_true_render = function r
|
|
|
26552
28670
|
attrs: {
|
|
26553
28671
|
"value": _vm.CHECK_ACTION.PASS
|
|
26554
28672
|
}
|
|
26555
|
-
}, [_vm._v(" " + _vm._s((_vm$currentNode$data$ = _vm.currentNode.data.other_options) !== null && _vm$currentNode$data$ !== void 0 && (_vm$currentNode$data$ = _vm$currentNode$data$.custom_action) !== null && _vm$currentNode$data$ !== void 0 && _vm$currentNode$data$.pass ? _vm.currentNode.data.other_options.custom_action.pass : '审批通过') + " ")]), _vm.runtimeData.pageOperate.allowBack ? _c('a-radio-button', {
|
|
28673
|
+
}, [_vm._v(" " + _vm._s((_vm$currentNode$data$ = _vm.currentNode.data.other_options) !== null && _vm$currentNode$data$ !== void 0 && (_vm$currentNode$data$ = _vm$currentNode$data$.custom_action) !== null && _vm$currentNode$data$ !== void 0 && _vm$currentNode$data$.pass ? _vm.currentNode.data.other_options.custom_action.pass : _vm.currentNode.type === 'check' ? '审批通过' : '执行') + " ")]), _vm.runtimeData.pageOperate.allowBack ? _c('a-radio-button', {
|
|
26556
28674
|
attrs: {
|
|
26557
28675
|
"value": _vm.CHECK_ACTION.BACK
|
|
26558
28676
|
}
|
|
@@ -26608,7 +28726,7 @@ var RuntimeWorkFlowvue_type_template_id_bf3aa83e_scoped_true_render = function r
|
|
|
26608
28726
|
}
|
|
26609
28727
|
}, [_c('a-form-model-item', {
|
|
26610
28728
|
attrs: {
|
|
26611
|
-
"label": [_vm.CHECK_ACTION.REASSIGN, _vm.CHECK_ACTION.INVOLVE, _vm.CHECK_ACTION.END].includes(_vm.workflowReq.page_operate.action) ? '备注' : '审批意见',
|
|
28729
|
+
"label": [_vm.CHECK_ACTION.REASSIGN, _vm.CHECK_ACTION.INVOLVE, _vm.CHECK_ACTION.END, _vm.CHECK_ACTION.BACK].includes(_vm.workflowReq.page_operate.action) || _vm.currentNode.type === 'task' ? '备注' : '审批意见',
|
|
26612
28730
|
"prop": "xxx",
|
|
26613
28731
|
"size": "small"
|
|
26614
28732
|
}
|
|
@@ -26618,7 +28736,7 @@ var RuntimeWorkFlowvue_type_template_id_bf3aa83e_scoped_true_render = function r
|
|
|
26618
28736
|
minRows: 4,
|
|
26619
28737
|
maxRows: 6
|
|
26620
28738
|
},
|
|
26621
|
-
"placeholder": "\u8BF7\u8F93\u5165".concat([_vm.CHECK_ACTION.REASSIGN, _vm.CHECK_ACTION.INVOLVE, _vm.CHECK_ACTION.END].includes(_vm.workflowReq.page_operate.action) ? '备注' : '审批或退回意见')
|
|
28739
|
+
"placeholder": "\u8BF7\u8F93\u5165".concat([_vm.CHECK_ACTION.REASSIGN, _vm.CHECK_ACTION.INVOLVE, _vm.CHECK_ACTION.END].includes(_vm.workflowReq.page_operate.action) || _vm.currentNode.type === 'task' ? '备注' : '审批或退回意见')
|
|
26622
28740
|
},
|
|
26623
28741
|
model: {
|
|
26624
28742
|
value: _vm.workflowReq.page_operate.operate_content,
|
|
@@ -27015,7 +29133,7 @@ var RuntimeWorkFlowvue_type_template_id_bf3aa83e_scoped_true_render = function r
|
|
|
27015
29133
|
key: "2",
|
|
27016
29134
|
attrs: {
|
|
27017
29135
|
"force-render": "",
|
|
27018
|
-
"tab": "
|
|
29136
|
+
"tab": "操作记录"
|
|
27019
29137
|
}
|
|
27020
29138
|
}, [_c('a-card', {
|
|
27021
29139
|
attrs: {
|
|
@@ -27054,7 +29172,7 @@ var RuntimeWorkFlowvue_type_template_id_bf3aa83e_scoped_true_render = function r
|
|
|
27054
29172
|
"direction": "vertical"
|
|
27055
29173
|
},
|
|
27056
29174
|
slot: "description"
|
|
27057
|
-
}, [_c('div', [_vm._v(_vm._s(item.operate_desc))]), item.operate_content ? _c('div', [_vm._v(" 审批意见:" + _vm._s(item.operate_content) + " ")]) : _vm._e(), _c('a-space', [_c('span', {
|
|
29175
|
+
}, [_c('div', [_vm._v(_vm._s(item.operate_desc))]), item.operate_content ? _c('div', [[_vm.CHECK_ACTION.REASSIGN, _vm.CHECK_ACTION.INVOLVE, _vm.CHECK_ACTION.END, _vm.CHECK_ACTION.EXECUTE].includes(item.operate) ? _c('div', [_vm._v(" 备注:" + _vm._s(item.operate_content) + " ")]) : _c('div', [_vm._v(" 审批意见:" + _vm._s(item.operate_content) + " ")])]) : _vm._e(), _c('a-space', [_c('span', {
|
|
27058
29176
|
staticStyle: {
|
|
27059
29177
|
"color": "#18274a"
|
|
27060
29178
|
}
|
|
@@ -27082,7 +29200,7 @@ var RuntimeWorkFlowvue_type_template_id_bf3aa83e_scoped_true_render = function r
|
|
|
27082
29200
|
}
|
|
27083
29201
|
}), _vm._v(" " + _vm._s(item.operator.name) + "(" + _vm._s(item.operator.org_name) + ") ")], 1)], 1)], 1)], 1)], 1);
|
|
27084
29202
|
}
|
|
27085
|
-
}], null, false,
|
|
29203
|
+
}], null, false, 1631359906)
|
|
27086
29204
|
})], 1)], 1) : _vm._e(), _vm.paneSet.has('3') ? _c('a-tab-pane', {
|
|
27087
29205
|
key: "3",
|
|
27088
29206
|
attrs: {
|
|
@@ -27176,9 +29294,9 @@ var RuntimeWorkFlowvue_type_template_id_bf3aa83e_scoped_true_render = function r
|
|
|
27176
29294
|
}
|
|
27177
29295
|
}, [_vm._v("关闭")])], 1)], 2)], 1);
|
|
27178
29296
|
};
|
|
27179
|
-
var
|
|
29297
|
+
var RuntimeWorkFlowvue_type_template_id_4cf1af68_scoped_true_staticRenderFns = [];
|
|
27180
29298
|
|
|
27181
|
-
// CONCATENATED MODULE: ../src/web/components/forms/flow/runtime/RuntimeWorkFlow.vue?vue&type=template&id=
|
|
29299
|
+
// CONCATENATED MODULE: ../src/web/components/forms/flow/runtime/RuntimeWorkFlow.vue?vue&type=template&id=4cf1af68&scoped=true
|
|
27182
29300
|
|
|
27183
29301
|
// EXTERNAL MODULE: external {"root":"vuedraggable","commonjs2":"vuedraggable","commonjs":"vuedraggable","amd":"vuedraggable"}
|
|
27184
29302
|
var external_root_vuedraggable_commonjs2_vuedraggable_commonjs_vuedraggable_amd_vuedraggable_ = __webpack_require__("289a");
|
|
@@ -27222,7 +29340,8 @@ var CHECK_ACTION = {
|
|
|
27222
29340
|
BACK: 'back',
|
|
27223
29341
|
REASSIGN: 'reassign',
|
|
27224
29342
|
INVOLVE: 'involve',
|
|
27225
|
-
END: 'end'
|
|
29343
|
+
END: 'end',
|
|
29344
|
+
EXECUTE: 'execute'
|
|
27226
29345
|
};
|
|
27227
29346
|
/* harmony default export */ var RuntimeWorkFlowvue_type_script_lang_js = ({
|
|
27228
29347
|
name: 'runtime-workflow',
|
|
@@ -27480,6 +29599,7 @@ var CHECK_ACTION = {
|
|
|
27480
29599
|
userCache: {},
|
|
27481
29600
|
expressionError: false,
|
|
27482
29601
|
workflow: {},
|
|
29602
|
+
formAttrs: [],
|
|
27483
29603
|
activityColumns: []
|
|
27484
29604
|
};
|
|
27485
29605
|
},
|
|
@@ -27636,7 +29756,6 @@ var CHECK_ACTION = {
|
|
|
27636
29756
|
nodeJson = data === null || data === void 0 || (_data$data3 = data.data) === null || _data$data3 === void 0 || (_data$data3 = _data$data3.workflow) === null || _data$data3 === void 0 ? void 0 : _data$data3.node_json;
|
|
27637
29757
|
node = nodeJson ? nodeJson === null || nodeJson === void 0 ? void 0 : nodeJson.node : null;
|
|
27638
29758
|
_this.nodeData = node ? RuntimeWorkFlowvue_type_script_lang_js_toConsumableArray(Object.values(node)) : [];
|
|
27639
|
-
|
|
27640
29759
|
// panes 初始化
|
|
27641
29760
|
paneSet = _this.paneSet;
|
|
27642
29761
|
[OPERATE.START, OPERATE.CHECK].includes(_this.workflowReq.operate) && paneSet.add('1');
|
|
@@ -27905,44 +30024,66 @@ var CHECK_ACTION = {
|
|
|
27905
30024
|
* @param nodeHandler {NodeHandler}
|
|
27906
30025
|
*/
|
|
27907
30026
|
nodeHandlerReady: function nodeHandlerReady(nodeHandler) {
|
|
27908
|
-
var
|
|
27909
|
-
|
|
27910
|
-
|
|
27911
|
-
|
|
27912
|
-
|
|
27913
|
-
|
|
27914
|
-
|
|
27915
|
-
|
|
27916
|
-
|
|
27917
|
-
|
|
27918
|
-
|
|
27919
|
-
|
|
27920
|
-
|
|
27921
|
-
|
|
27922
|
-
|
|
27923
|
-
|
|
27924
|
-
|
|
27925
|
-
|
|
27926
|
-
|
|
27927
|
-
|
|
27928
|
-
|
|
30027
|
+
var _this6 = this;
|
|
30028
|
+
return RuntimeWorkFlowvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/RuntimeWorkFlowvue_type_script_lang_js_regeneratorRuntime().mark(function _callee3() {
|
|
30029
|
+
var _node$data, _this6$runtimeData$cu;
|
|
30030
|
+
var node, columns, schema, optionForms;
|
|
30031
|
+
return RuntimeWorkFlowvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
30032
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
30033
|
+
case 0:
|
|
30034
|
+
_this6.nodeHandler = nodeHandler;
|
|
30035
|
+
node = _this6.currentNode = nodeHandler.getNode(_this6.runtimeData.currentNodeCode); // 健壮考虑
|
|
30036
|
+
if (!_this6.runtimeData.PageOperate && node !== null && node !== void 0 && (_node$data = node.data) !== null && _node$data !== void 0 && _node$data.page_options) {
|
|
30037
|
+
_this6.runtimeData.PageOperate = node.data.page_options;
|
|
30038
|
+
}
|
|
30039
|
+
columns = _this6.columns;
|
|
30040
|
+
if (!(node && node.data.option_view_id)) {
|
|
30041
|
+
_context3.next = 9;
|
|
30042
|
+
break;
|
|
30043
|
+
}
|
|
30044
|
+
_context3.next = 7;
|
|
30045
|
+
return _this6.eadApi.getViewSchema(node.data.option_view_id);
|
|
30046
|
+
case 7:
|
|
30047
|
+
schema = _context3.sent;
|
|
30048
|
+
columns = schema === null || schema === void 0 ? void 0 : schema.model.attrs;
|
|
30049
|
+
case 9:
|
|
30050
|
+
// form load
|
|
30051
|
+
optionForms = (_this6$runtimeData$cu = _this6.runtimeData.currentNodeOptionForms) !== null && _this6$runtimeData$cu !== void 0 ? _this6$runtimeData$cu : node === null || node === void 0 ? void 0 : node.data.option_forms;
|
|
30052
|
+
_this6.runtimeData.currentNodeFormItem = optionForms.filter(function (value) {
|
|
30053
|
+
return value.access !== 'none';
|
|
30054
|
+
}).map(function (value) {
|
|
30055
|
+
// 【BUG】 全局:const attr = this.view.schema.model.attrs.find(value1 => value1.name === value.attrCode)
|
|
30056
|
+
var attr = columns.find(function (value1) {
|
|
30057
|
+
return value1.name === value.attrCode;
|
|
30058
|
+
});
|
|
30059
|
+
if (attr) {
|
|
30060
|
+
if (!attr.params) {
|
|
30061
|
+
attr.params = {};
|
|
30062
|
+
}
|
|
30063
|
+
attr.params.readonly = value.access === 'readonly';
|
|
30064
|
+
attr.required = value.required;
|
|
30065
|
+
if (node && node.data.option_view_id) {
|
|
30066
|
+
_this6.actionModel[attr.name] = null;
|
|
30067
|
+
}
|
|
30068
|
+
}
|
|
30069
|
+
return attr;
|
|
30070
|
+
}).filter(function (value) {
|
|
30071
|
+
return value;
|
|
30072
|
+
});
|
|
30073
|
+
// back load
|
|
30074
|
+
_this6.isCustomBack = (node === null || node === void 0 ? void 0 : node.data.back_type) === 'custom';
|
|
30075
|
+
if (_this6.isCustomBack) {
|
|
30076
|
+
if (!_this6.runtimeData.customBackNodes) {
|
|
30077
|
+
_this6.runtimeData.customBackNodes = RuntimeWorkFlowvue_type_script_lang_js_toConsumableArray(node === null || node === void 0 ? void 0 : node.data.custom_back_nodes);
|
|
30078
|
+
}
|
|
30079
|
+
_this6.workflowReq.page_operate.custom_back_node_code = _this6.runtimeData.customBackNodes[0];
|
|
30080
|
+
}
|
|
30081
|
+
case 13:
|
|
30082
|
+
case "end":
|
|
30083
|
+
return _context3.stop();
|
|
27929
30084
|
}
|
|
27930
|
-
|
|
27931
|
-
|
|
27932
|
-
}
|
|
27933
|
-
return attr;
|
|
27934
|
-
}).filter(function (value) {
|
|
27935
|
-
return value;
|
|
27936
|
-
});
|
|
27937
|
-
|
|
27938
|
-
// back load
|
|
27939
|
-
this.isCustomBack = (node === null || node === void 0 ? void 0 : node.data.back_type) === 'custom';
|
|
27940
|
-
if (this.isCustomBack) {
|
|
27941
|
-
if (!this.runtimeData.customBackNodes) {
|
|
27942
|
-
this.runtimeData.customBackNodes = RuntimeWorkFlowvue_type_script_lang_js_toConsumableArray(node === null || node === void 0 ? void 0 : node.data.custom_back_nodes);
|
|
27943
|
-
}
|
|
27944
|
-
this.workflowReq.page_operate.custom_back_node_code = this.runtimeData.customBackNodes[0];
|
|
27945
|
-
}
|
|
30085
|
+
}, _callee3);
|
|
30086
|
+
}))();
|
|
27946
30087
|
},
|
|
27947
30088
|
showFullScreenFlow: function showFullScreenFlow() {
|
|
27948
30089
|
var _this7 = this;
|
|
@@ -27959,33 +30100,33 @@ var CHECK_ACTION = {
|
|
|
27959
30100
|
},
|
|
27960
30101
|
handleItemChange: function handleItemChange(value, attr) {
|
|
27961
30102
|
var _this8 = this;
|
|
27962
|
-
return RuntimeWorkFlowvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/RuntimeWorkFlowvue_type_script_lang_js_regeneratorRuntime().mark(function
|
|
30103
|
+
return RuntimeWorkFlowvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/RuntimeWorkFlowvue_type_script_lang_js_regeneratorRuntime().mark(function _callee4() {
|
|
27963
30104
|
var name, fd, res;
|
|
27964
|
-
return RuntimeWorkFlowvue_type_script_lang_js_regeneratorRuntime().wrap(function
|
|
27965
|
-
while (1) switch (
|
|
30105
|
+
return RuntimeWorkFlowvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
30106
|
+
while (1) switch (_context4.prev = _context4.next) {
|
|
27966
30107
|
case 0:
|
|
27967
30108
|
name = attr.name;
|
|
27968
30109
|
if (!(value instanceof FileList)) {
|
|
27969
|
-
|
|
30110
|
+
_context4.next = 14;
|
|
27970
30111
|
break;
|
|
27971
30112
|
}
|
|
27972
30113
|
if (!value[0]) {
|
|
27973
|
-
|
|
30114
|
+
_context4.next = 11;
|
|
27974
30115
|
break;
|
|
27975
30116
|
}
|
|
27976
30117
|
fd = new FormData();
|
|
27977
30118
|
fd.append(name, value[0]);
|
|
27978
|
-
|
|
30119
|
+
_context4.next = 7;
|
|
27979
30120
|
return _this8.$api.post('/upload', fd);
|
|
27980
30121
|
case 7:
|
|
27981
|
-
res =
|
|
30122
|
+
res = _context4.sent;
|
|
27982
30123
|
value = res.data.data[name];
|
|
27983
|
-
|
|
30124
|
+
_context4.next = 12;
|
|
27984
30125
|
break;
|
|
27985
30126
|
case 11:
|
|
27986
30127
|
value = null;
|
|
27987
30128
|
case 12:
|
|
27988
|
-
|
|
30129
|
+
_context4.next = 15;
|
|
27989
30130
|
break;
|
|
27990
30131
|
case 14:
|
|
27991
30132
|
if (value instanceof Date) {
|
|
@@ -28007,9 +30148,9 @@ var CHECK_ACTION = {
|
|
|
28007
30148
|
_this8.loadTodo();
|
|
28008
30149
|
case 19:
|
|
28009
30150
|
case "end":
|
|
28010
|
-
return
|
|
30151
|
+
return _context4.stop();
|
|
28011
30152
|
}
|
|
28012
|
-
},
|
|
30153
|
+
}, _callee4);
|
|
28013
30154
|
}))();
|
|
28014
30155
|
},
|
|
28015
30156
|
validExpression: function validExpression() {
|
|
@@ -28114,8 +30255,8 @@ var CHECK_ACTION = {
|
|
|
28114
30255
|
});
|
|
28115
30256
|
// CONCATENATED MODULE: ../src/web/components/forms/flow/runtime/RuntimeWorkFlow.vue?vue&type=script&lang=js
|
|
28116
30257
|
/* harmony default export */ var runtime_RuntimeWorkFlowvue_type_script_lang_js = (RuntimeWorkFlowvue_type_script_lang_js);
|
|
28117
|
-
// EXTERNAL MODULE: ../src/web/components/forms/flow/runtime/RuntimeWorkFlow.vue?vue&type=style&index=0&id=
|
|
28118
|
-
var
|
|
30258
|
+
// EXTERNAL MODULE: ../src/web/components/forms/flow/runtime/RuntimeWorkFlow.vue?vue&type=style&index=0&id=4cf1af68&prod&lang=less&scoped=true
|
|
30259
|
+
var RuntimeWorkFlowvue_type_style_index_0_id_4cf1af68_prod_lang_less_scoped_true = __webpack_require__("8e2d");
|
|
28119
30260
|
|
|
28120
30261
|
// CONCATENATED MODULE: ../src/web/components/forms/flow/runtime/RuntimeWorkFlow.vue
|
|
28121
30262
|
|
|
@@ -28128,11 +30269,11 @@ var RuntimeWorkFlowvue_type_style_index_0_id_bf3aa83e_prod_lang_less_scoped_true
|
|
|
28128
30269
|
|
|
28129
30270
|
var RuntimeWorkFlow_component = normalizeComponent(
|
|
28130
30271
|
runtime_RuntimeWorkFlowvue_type_script_lang_js,
|
|
28131
|
-
|
|
28132
|
-
|
|
30272
|
+
RuntimeWorkFlowvue_type_template_id_4cf1af68_scoped_true_render,
|
|
30273
|
+
RuntimeWorkFlowvue_type_template_id_4cf1af68_scoped_true_staticRenderFns,
|
|
28133
30274
|
false,
|
|
28134
30275
|
null,
|
|
28135
|
-
"
|
|
30276
|
+
"4cf1af68",
|
|
28136
30277
|
null
|
|
28137
30278
|
|
|
28138
30279
|
)
|
|
@@ -28148,7 +30289,7 @@ var nodeStyle = __webpack_require__("1f51");
|
|
|
28148
30289
|
|
|
28149
30290
|
|
|
28150
30291
|
|
|
28151
|
-
|
|
30292
|
+
// import PickerSelectViewForm from './PickerSelectView'
|
|
28152
30293
|
|
|
28153
30294
|
|
|
28154
30295
|
// 新 workflow
|
|
@@ -28162,7 +30303,7 @@ var nodeStyle = __webpack_require__("1f51");
|
|
|
28162
30303
|
AlgorithmForm: Algorithm,
|
|
28163
30304
|
PickerTransferForm: PickerTransfer,
|
|
28164
30305
|
PickerTreeForm: PickerTree,
|
|
28165
|
-
PickerSelectViewForm
|
|
30306
|
+
// PickerSelectViewForm,
|
|
28166
30307
|
WorkflowReport: WorkflowReport,
|
|
28167
30308
|
WorkflowDesigner: WorkFlowDesigner,
|
|
28168
30309
|
RuntimeWorkflow: RuntimeWorkFlow
|
|
@@ -29522,6 +31663,13 @@ var variable = __webpack_require__("aa23");
|
|
|
29522
31663
|
/* unused harmony reexport * */
|
|
29523
31664
|
|
|
29524
31665
|
|
|
31666
|
+
/***/ }),
|
|
31667
|
+
|
|
31668
|
+
/***/ "1d3f":
|
|
31669
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
31670
|
+
|
|
31671
|
+
// extracted by mini-css-extract-plugin
|
|
31672
|
+
|
|
29525
31673
|
/***/ }),
|
|
29526
31674
|
|
|
29527
31675
|
/***/ "1f44":
|
|
@@ -31235,13 +33383,6 @@ module.exports = require("vue-amap");
|
|
|
31235
33383
|
|
|
31236
33384
|
/***/ }),
|
|
31237
33385
|
|
|
31238
|
-
/***/ "6029":
|
|
31239
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
31240
|
-
|
|
31241
|
-
// extracted by mini-css-extract-plugin
|
|
31242
|
-
|
|
31243
|
-
/***/ }),
|
|
31244
|
-
|
|
31245
33386
|
/***/ "6389":
|
|
31246
33387
|
/***/ (function(module, exports) {
|
|
31247
33388
|
|
|
@@ -43415,6 +45556,17 @@ module.exports = __webpack_require__(63);
|
|
|
43415
45556
|
|
|
43416
45557
|
module.exports = require("qs");
|
|
43417
45558
|
|
|
45559
|
+
/***/ }),
|
|
45560
|
+
|
|
45561
|
+
/***/ "7a33":
|
|
45562
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
45563
|
+
|
|
45564
|
+
"use strict";
|
|
45565
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TaskNode_vue_vue_type_style_index_0_id_71cd8e14_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("b483");
|
|
45566
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TaskNode_vue_vue_type_style_index_0_id_71cd8e14_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TaskNode_vue_vue_type_style_index_0_id_71cd8e14_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
45567
|
+
/* unused harmony reexport * */
|
|
45568
|
+
|
|
45569
|
+
|
|
43418
45570
|
/***/ }),
|
|
43419
45571
|
|
|
43420
45572
|
/***/ "7e40":
|
|
@@ -43551,6 +45703,17 @@ module.exports = require("vue");
|
|
|
43551
45703
|
/* unused harmony reexport * */
|
|
43552
45704
|
|
|
43553
45705
|
|
|
45706
|
+
/***/ }),
|
|
45707
|
+
|
|
45708
|
+
/***/ "8e2d":
|
|
45709
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
45710
|
+
|
|
45711
|
+
"use strict";
|
|
45712
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_RuntimeWorkFlow_vue_vue_type_style_index_0_id_4cf1af68_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("d6a8");
|
|
45713
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_RuntimeWorkFlow_vue_vue_type_style_index_0_id_4cf1af68_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_RuntimeWorkFlow_vue_vue_type_style_index_0_id_4cf1af68_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
45714
|
+
/* unused harmony reexport * */
|
|
45715
|
+
|
|
45716
|
+
|
|
43554
45717
|
/***/ }),
|
|
43555
45718
|
|
|
43556
45719
|
/***/ "8eee":
|
|
@@ -43570,13 +45733,6 @@ module.exports = Array.isArray || function (arr) {
|
|
|
43570
45733
|
};
|
|
43571
45734
|
|
|
43572
45735
|
|
|
43573
|
-
/***/ }),
|
|
43574
|
-
|
|
43575
|
-
/***/ "91f5":
|
|
43576
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
43577
|
-
|
|
43578
|
-
// extracted by mini-css-extract-plugin
|
|
43579
|
-
|
|
43580
45736
|
/***/ }),
|
|
43581
45737
|
|
|
43582
45738
|
/***/ "93bb":
|
|
@@ -45132,6 +47288,13 @@ module.exports = g;
|
|
|
45132
47288
|
|
|
45133
47289
|
/***/ }),
|
|
45134
47290
|
|
|
47291
|
+
/***/ "b483":
|
|
47292
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
47293
|
+
|
|
47294
|
+
// extracted by mini-css-extract-plugin
|
|
47295
|
+
|
|
47296
|
+
/***/ }),
|
|
47297
|
+
|
|
45135
47298
|
/***/ "b69c":
|
|
45136
47299
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
45137
47300
|
|
|
@@ -48034,6 +50197,13 @@ module.exports = require("axios");
|
|
|
48034
50197
|
|
|
48035
50198
|
/***/ }),
|
|
48036
50199
|
|
|
50200
|
+
/***/ "d6a8":
|
|
50201
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
50202
|
+
|
|
50203
|
+
// extracted by mini-css-extract-plugin
|
|
50204
|
+
|
|
50205
|
+
/***/ }),
|
|
50206
|
+
|
|
48037
50207
|
/***/ "da25":
|
|
48038
50208
|
/***/ (function(module, exports, __webpack_require__) {
|
|
48039
50209
|
|
|
@@ -49157,17 +51327,6 @@ module.exports = require("vuex/dist/logger");
|
|
|
49157
51327
|
|
|
49158
51328
|
}));
|
|
49159
51329
|
|
|
49160
|
-
/***/ }),
|
|
49161
|
-
|
|
49162
|
-
/***/ "f005":
|
|
49163
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
49164
|
-
|
|
49165
|
-
"use strict";
|
|
49166
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_RuntimeWorkFlow_vue_vue_type_style_index_0_id_bf3aa83e_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("91f5");
|
|
49167
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_RuntimeWorkFlow_vue_vue_type_style_index_0_id_bf3aa83e_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_RuntimeWorkFlow_vue_vue_type_style_index_0_id_bf3aa83e_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
49168
|
-
/* unused harmony reexport * */
|
|
49169
|
-
|
|
49170
|
-
|
|
49171
51330
|
/***/ }),
|
|
49172
51331
|
|
|
49173
51332
|
/***/ "f0c7":
|
|
@@ -49364,17 +51523,6 @@ module.exports = require("vuex/dist/logger");
|
|
|
49364
51523
|
|
|
49365
51524
|
// extracted by mini-css-extract-plugin
|
|
49366
51525
|
|
|
49367
|
-
/***/ }),
|
|
49368
|
-
|
|
49369
|
-
/***/ "f2fb":
|
|
49370
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
49371
|
-
|
|
49372
|
-
"use strict";
|
|
49373
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_CheckNode_vue_vue_type_style_index_0_id_14b216a6_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("6029");
|
|
49374
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_CheckNode_vue_vue_type_style_index_0_id_14b216a6_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_CheckNode_vue_vue_type_style_index_0_id_14b216a6_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
49375
|
-
/* unused harmony reexport * */
|
|
49376
|
-
|
|
49377
|
-
|
|
49378
51526
|
/***/ }),
|
|
49379
51527
|
|
|
49380
51528
|
/***/ "f39c":
|