@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.umd.js
CHANGED
|
@@ -1085,6 +1085,17 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
1085
1085
|
|
|
1086
1086
|
}));
|
|
1087
1087
|
|
|
1088
|
+
/***/ }),
|
|
1089
|
+
|
|
1090
|
+
/***/ "05ec":
|
|
1091
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1092
|
+
|
|
1093
|
+
"use strict";
|
|
1094
|
+
/* 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");
|
|
1095
|
+
/* 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__);
|
|
1096
|
+
/* unused harmony reexport * */
|
|
1097
|
+
|
|
1098
|
+
|
|
1088
1099
|
/***/ }),
|
|
1089
1100
|
|
|
1090
1101
|
/***/ "0934":
|
|
@@ -4311,9 +4322,9 @@ var reInterpolate = /\${([\s\S]+?)}/g;
|
|
|
4311
4322
|
treeData: treeRes.data && treeRes.data.collection,
|
|
4312
4323
|
valuesName: valuesName
|
|
4313
4324
|
});
|
|
4314
|
-
|
|
4325
|
+
// this.actionViewWidget = 'picker-select-view-form'
|
|
4315
4326
|
_this5.showActionView();
|
|
4316
|
-
case
|
|
4327
|
+
case 9:
|
|
4317
4328
|
case "end":
|
|
4318
4329
|
return _context5.stop();
|
|
4319
4330
|
}
|
|
@@ -15454,273 +15465,6 @@ var PickerTree_component = normalizeComponent(
|
|
|
15454
15465
|
)
|
|
15455
15466
|
|
|
15456
15467
|
/* harmony default export */ var PickerTree = (PickerTree_component.exports);
|
|
15457
|
-
// 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
|
|
15458
|
-
var PickerSelectViewvue_type_template_id_5f0008cf_render = function render() {
|
|
15459
|
-
var _vm = this,
|
|
15460
|
-
_c = _vm._self._c;
|
|
15461
|
-
return _c('a-table', {
|
|
15462
|
-
attrs: {
|
|
15463
|
-
"columns": _vm.cols,
|
|
15464
|
-
"data-source": _vm.treeData,
|
|
15465
|
-
"rowKey": "type_id",
|
|
15466
|
-
"scroll": {
|
|
15467
|
-
y: 400
|
|
15468
|
-
},
|
|
15469
|
-
"pagination": false,
|
|
15470
|
-
"rowSelection": {
|
|
15471
|
-
selectedRowKeys: _vm.selectedRowKeys,
|
|
15472
|
-
onChange: _vm.handleRowChange,
|
|
15473
|
-
onSelect: _vm.handleRowSelect,
|
|
15474
|
-
type: 'checkbox'
|
|
15475
|
-
}
|
|
15476
|
-
},
|
|
15477
|
-
scopedSlots: _vm._u([{
|
|
15478
|
-
key: "expert",
|
|
15479
|
-
fn: function fn(text, record) {
|
|
15480
|
-
return _c('span', {}, [_c('a-select', {
|
|
15481
|
-
staticStyle: {
|
|
15482
|
-
"width": "120px"
|
|
15483
|
-
},
|
|
15484
|
-
attrs: {
|
|
15485
|
-
"placeholder": "请选择",
|
|
15486
|
-
"allowClear": ""
|
|
15487
|
-
},
|
|
15488
|
-
on: {
|
|
15489
|
-
"change": function change($event) {
|
|
15490
|
-
return _vm.handleSelectExpertChange($event, record);
|
|
15491
|
-
}
|
|
15492
|
-
}
|
|
15493
|
-
}, _vm._l(_vm.experts, function (expert) {
|
|
15494
|
-
return _c('a-select-option', {
|
|
15495
|
-
key: expert.expert_id,
|
|
15496
|
-
attrs: {
|
|
15497
|
-
"value": expert.expert_id
|
|
15498
|
-
}
|
|
15499
|
-
}, [_vm._v(" " + _vm._s(expert.expert_name) + " ")]);
|
|
15500
|
-
}), 1)], 1);
|
|
15501
|
-
}
|
|
15502
|
-
}, {
|
|
15503
|
-
key: "checker",
|
|
15504
|
-
fn: function fn(text, record) {
|
|
15505
|
-
return _c('span', {}, [_c('a-select', {
|
|
15506
|
-
staticStyle: {
|
|
15507
|
-
"width": "120px"
|
|
15508
|
-
},
|
|
15509
|
-
attrs: {
|
|
15510
|
-
"placeholder": "请选择",
|
|
15511
|
-
"allowClear": ""
|
|
15512
|
-
},
|
|
15513
|
-
on: {
|
|
15514
|
-
"change": function change($event) {
|
|
15515
|
-
return _vm.handleSelectCheckerChange($event, record);
|
|
15516
|
-
}
|
|
15517
|
-
}
|
|
15518
|
-
}, _vm._l(_vm.checkers, function (checker) {
|
|
15519
|
-
return _c('a-select-option', {
|
|
15520
|
-
key: checker.uid,
|
|
15521
|
-
attrs: {
|
|
15522
|
-
"value": checker.uid
|
|
15523
|
-
}
|
|
15524
|
-
}, [_vm._v(" " + _vm._s(checker.user_name) + " ")]);
|
|
15525
|
-
}), 1)], 1);
|
|
15526
|
-
}
|
|
15527
|
-
}])
|
|
15528
|
-
});
|
|
15529
|
-
};
|
|
15530
|
-
var PickerSelectViewvue_type_template_id_5f0008cf_staticRenderFns = [];
|
|
15531
|
-
|
|
15532
|
-
// CONCATENATED MODULE: ../src/web/components/forms/PickerSelectView.vue?vue&type=template&id=5f0008cf
|
|
15533
|
-
|
|
15534
|
-
// 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
|
|
15535
|
-
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); }
|
|
15536
|
-
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; }
|
|
15537
|
-
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; }
|
|
15538
|
-
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; }
|
|
15539
|
-
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); }
|
|
15540
|
-
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); }
|
|
15541
|
-
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(); }
|
|
15542
|
-
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."); }
|
|
15543
|
-
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); }
|
|
15544
|
-
function PickerSelectViewvue_type_script_lang_js_iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
15545
|
-
function PickerSelectViewvue_type_script_lang_js_arrayWithoutHoles(arr) { if (Array.isArray(arr)) return PickerSelectViewvue_type_script_lang_js_arrayLikeToArray(arr); }
|
|
15546
|
-
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; }
|
|
15547
|
-
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; }
|
|
15548
|
-
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); } }
|
|
15549
|
-
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); }); }; }
|
|
15550
|
-
|
|
15551
|
-
/* harmony default export */ var PickerSelectViewvue_type_script_lang_js = ({
|
|
15552
|
-
mixins: [form_base],
|
|
15553
|
-
computed: {
|
|
15554
|
-
selectedRowKeys: function selectedRowKeys() {
|
|
15555
|
-
return this.selections.map(function (item) {
|
|
15556
|
-
return item.type_id;
|
|
15557
|
-
});
|
|
15558
|
-
}
|
|
15559
|
-
},
|
|
15560
|
-
data: function data() {
|
|
15561
|
-
return {
|
|
15562
|
-
treeData: this.params.treeData || [],
|
|
15563
|
-
valuesName: this.params.valuesName,
|
|
15564
|
-
cols: [
|
|
15565
|
-
// {
|
|
15566
|
-
// title: '项目类型',
|
|
15567
|
-
// dataIndex: 'project_type',
|
|
15568
|
-
// key: 'project_type'
|
|
15569
|
-
// },
|
|
15570
|
-
{
|
|
15571
|
-
title: '评审技术要求',
|
|
15572
|
-
dataIndex: 'review_tech_require',
|
|
15573
|
-
key: 'review_tech_require'
|
|
15574
|
-
}, {
|
|
15575
|
-
title: '评审专家',
|
|
15576
|
-
key: 'expert',
|
|
15577
|
-
scopedSlots: {
|
|
15578
|
-
customRender: 'expert'
|
|
15579
|
-
}
|
|
15580
|
-
}, {
|
|
15581
|
-
title: '校核人',
|
|
15582
|
-
key: 'checker',
|
|
15583
|
-
scopedSlots: {
|
|
15584
|
-
customRender: 'checker'
|
|
15585
|
-
}
|
|
15586
|
-
}],
|
|
15587
|
-
experts: [],
|
|
15588
|
-
checkers: [],
|
|
15589
|
-
selections: []
|
|
15590
|
-
};
|
|
15591
|
-
},
|
|
15592
|
-
created: function created() {
|
|
15593
|
-
var _this = this;
|
|
15594
|
-
return PickerSelectViewvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/PickerSelectViewvue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
|
|
15595
|
-
return PickerSelectViewvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
15596
|
-
while (1) switch (_context.prev = _context.next) {
|
|
15597
|
-
case 0:
|
|
15598
|
-
_context.next = 2;
|
|
15599
|
-
return _this.getExperts();
|
|
15600
|
-
case 2:
|
|
15601
|
-
_context.next = 4;
|
|
15602
|
-
return _this.getCheckers();
|
|
15603
|
-
case 4:
|
|
15604
|
-
case "end":
|
|
15605
|
-
return _context.stop();
|
|
15606
|
-
}
|
|
15607
|
-
}, _callee);
|
|
15608
|
-
}))();
|
|
15609
|
-
},
|
|
15610
|
-
methods: {
|
|
15611
|
-
getExperts: function getExperts() {
|
|
15612
|
-
var _this2 = this;
|
|
15613
|
-
return PickerSelectViewvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/PickerSelectViewvue_type_script_lang_js_regeneratorRuntime().mark(function _callee2() {
|
|
15614
|
-
var _yield$_this2$$api$ge, collection;
|
|
15615
|
-
return PickerSelectViewvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
15616
|
-
while (1) switch (_context2.prev = _context2.next) {
|
|
15617
|
-
case 0:
|
|
15618
|
-
_context2.prev = 0;
|
|
15619
|
-
_context2.next = 3;
|
|
15620
|
-
return _this2.$api.get('/api/view-select-expert');
|
|
15621
|
-
case 3:
|
|
15622
|
-
_yield$_this2$$api$ge = _context2.sent;
|
|
15623
|
-
collection = _yield$_this2$$api$ge.data.collection;
|
|
15624
|
-
_this2.experts = PickerSelectViewvue_type_script_lang_js_toConsumableArray(collection);
|
|
15625
|
-
_context2.next = 11;
|
|
15626
|
-
break;
|
|
15627
|
-
case 8:
|
|
15628
|
-
_context2.prev = 8;
|
|
15629
|
-
_context2.t0 = _context2["catch"](0);
|
|
15630
|
-
_this2.handleError(_context2.t0);
|
|
15631
|
-
case 11:
|
|
15632
|
-
case "end":
|
|
15633
|
-
return _context2.stop();
|
|
15634
|
-
}
|
|
15635
|
-
}, _callee2, null, [[0, 8]]);
|
|
15636
|
-
}))();
|
|
15637
|
-
},
|
|
15638
|
-
getCheckers: function getCheckers() {
|
|
15639
|
-
var _this3 = this;
|
|
15640
|
-
return PickerSelectViewvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/PickerSelectViewvue_type_script_lang_js_regeneratorRuntime().mark(function _callee3() {
|
|
15641
|
-
var _yield$_this3$$api$ge, collection;
|
|
15642
|
-
return PickerSelectViewvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
15643
|
-
while (1) switch (_context3.prev = _context3.next) {
|
|
15644
|
-
case 0:
|
|
15645
|
-
_context3.prev = 0;
|
|
15646
|
-
_context3.next = 3;
|
|
15647
|
-
return _this3.$api.get('/api/view-select-checker');
|
|
15648
|
-
case 3:
|
|
15649
|
-
_yield$_this3$$api$ge = _context3.sent;
|
|
15650
|
-
collection = _yield$_this3$$api$ge.data.collection;
|
|
15651
|
-
_this3.checkers = PickerSelectViewvue_type_script_lang_js_toConsumableArray(collection);
|
|
15652
|
-
_context3.next = 11;
|
|
15653
|
-
break;
|
|
15654
|
-
case 8:
|
|
15655
|
-
_context3.prev = 8;
|
|
15656
|
-
_context3.t0 = _context3["catch"](0);
|
|
15657
|
-
_this3.handleError(_context3.t0);
|
|
15658
|
-
case 11:
|
|
15659
|
-
case "end":
|
|
15660
|
-
return _context3.stop();
|
|
15661
|
-
}
|
|
15662
|
-
}, _callee3, null, [[0, 8]]);
|
|
15663
|
-
}))();
|
|
15664
|
-
},
|
|
15665
|
-
handleSelectExpertChange: function handleSelectExpertChange(value, record) {
|
|
15666
|
-
var index = this.treeData.findIndex(function (item) {
|
|
15667
|
-
return item.type_id === record.type_id;
|
|
15668
|
-
});
|
|
15669
|
-
if (index !== -1) this.treeData[index].expert_id = value;
|
|
15670
|
-
},
|
|
15671
|
-
handleSelectCheckerChange: function handleSelectCheckerChange(value, record) {
|
|
15672
|
-
var index = this.treeData.findIndex(function (item) {
|
|
15673
|
-
return item.type_id === record.type_id;
|
|
15674
|
-
});
|
|
15675
|
-
if (index !== -1) this.treeData[index].uid = value;
|
|
15676
|
-
},
|
|
15677
|
-
handleSubmit: function handleSubmit() {
|
|
15678
|
-
this.handleCommit();
|
|
15679
|
-
},
|
|
15680
|
-
handleRowChange: function handleRowChange(selectedRowKeys, selectedRows) {
|
|
15681
|
-
this.selections = selectedRows;
|
|
15682
|
-
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));
|
|
15683
|
-
},
|
|
15684
|
-
handleRowSelect: function handleRowSelect(record, selected) {
|
|
15685
|
-
var index = this.treeData.findIndex(function (item) {
|
|
15686
|
-
return item.type_id === record.type_id;
|
|
15687
|
-
});
|
|
15688
|
-
if (index !== -1) this.treeData[index].checked = selected ? 1 : 0;
|
|
15689
|
-
},
|
|
15690
|
-
handleError: function handleError(error) {
|
|
15691
|
-
if (!error.response) {
|
|
15692
|
-
this.$message.error('网络请求错误,请检查您的网络连接。');
|
|
15693
|
-
}
|
|
15694
|
-
var _error$response = error.response,
|
|
15695
|
-
status = _error$response.status,
|
|
15696
|
-
data = _error$response.data;
|
|
15697
|
-
var message = data && data.content || '系统错误请与管理员联系。';
|
|
15698
|
-
this.$message.error("".concat(status, ", ").concat(message));
|
|
15699
|
-
}
|
|
15700
|
-
}
|
|
15701
|
-
});
|
|
15702
|
-
// CONCATENATED MODULE: ../src/web/components/forms/PickerSelectView.vue?vue&type=script&lang=js
|
|
15703
|
-
/* harmony default export */ var forms_PickerSelectViewvue_type_script_lang_js = (PickerSelectViewvue_type_script_lang_js);
|
|
15704
|
-
// CONCATENATED MODULE: ../src/web/components/forms/PickerSelectView.vue
|
|
15705
|
-
|
|
15706
|
-
|
|
15707
|
-
|
|
15708
|
-
|
|
15709
|
-
|
|
15710
|
-
/* normalize component */
|
|
15711
|
-
|
|
15712
|
-
var PickerSelectView_component = normalizeComponent(
|
|
15713
|
-
forms_PickerSelectViewvue_type_script_lang_js,
|
|
15714
|
-
PickerSelectViewvue_type_template_id_5f0008cf_render,
|
|
15715
|
-
PickerSelectViewvue_type_template_id_5f0008cf_staticRenderFns,
|
|
15716
|
-
false,
|
|
15717
|
-
null,
|
|
15718
|
-
null,
|
|
15719
|
-
null
|
|
15720
|
-
|
|
15721
|
-
)
|
|
15722
|
-
|
|
15723
|
-
/* harmony default export */ var PickerSelectView = (PickerSelectView_component.exports);
|
|
15724
15468
|
// 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
|
|
15725
15469
|
var WorkflowReportvue_type_template_id_9c781256_render = function render() {
|
|
15726
15470
|
var _vm = this,
|
|
@@ -16630,6 +16374,7 @@ NodeType_defineProperty(NodeType_NodeType, "START", 'start');
|
|
|
16630
16374
|
NodeType_defineProperty(NodeType_NodeType, "END", 'end');
|
|
16631
16375
|
NodeType_defineProperty(NodeType_NodeType, "CHECK", 'check');
|
|
16632
16376
|
NodeType_defineProperty(NodeType_NodeType, "CC", 'cc');
|
|
16377
|
+
NodeType_defineProperty(NodeType_NodeType, "TASK", 'task');
|
|
16633
16378
|
NodeType_defineProperty(NodeType_NodeType, "TRIGGER", 'trigger');
|
|
16634
16379
|
NodeType_defineProperty(NodeType_NodeType, "DELAY", 'delay');
|
|
16635
16380
|
NodeType_defineProperty(NodeType_NodeType, "PARALLEL_WRAP", 'parallel_wrap');
|
|
@@ -16656,6 +16401,9 @@ function initNodeTypes() {
|
|
|
16656
16401
|
NodeType_NodeType.registerNodeType(NodeType_NodeType.CC, 'single', 'CCNode', function () {
|
|
16657
16402
|
return new designer_NodeItem('抄送人', '抄送人', null, NodeType_NodeType.CC);
|
|
16658
16403
|
});
|
|
16404
|
+
NodeType_NodeType.registerNodeType(NodeType_NodeType.TASK, 'single', 'TaskNode', function () {
|
|
16405
|
+
return new designer_NodeItem('执行人', '执行人', null, NodeType_NodeType.TASK);
|
|
16406
|
+
});
|
|
16659
16407
|
NodeType_NodeType.registerNodeType(NodeType_NodeType.TRIGGER, 'single', 'TriggerNode', function () {
|
|
16660
16408
|
return new designer_NodeItem('触发器', '触发器', null, NodeType_NodeType.TRIGGER);
|
|
16661
16409
|
});
|
|
@@ -17728,8 +17476,8 @@ var _codeIndex = {
|
|
|
17728
17476
|
value: {}
|
|
17729
17477
|
};
|
|
17730
17478
|
/* harmony default export */ var designer_NodeHandler = (NodeHandler_NodeHandler);
|
|
17731
|
-
// 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=
|
|
17732
|
-
var
|
|
17479
|
+
// 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
|
|
17480
|
+
var NodeWrapvue_type_template_id_65e78fbf_scoped_true_render = function render() {
|
|
17733
17481
|
var _vm = this,
|
|
17734
17482
|
_c = _vm._self._c;
|
|
17735
17483
|
return _c('div', {
|
|
@@ -17758,9 +17506,9 @@ var NodeWrapvue_type_template_id_63654330_scoped_true_render = function render()
|
|
|
17758
17506
|
}
|
|
17759
17507
|
}) : _vm._e()], 1);
|
|
17760
17508
|
};
|
|
17761
|
-
var
|
|
17509
|
+
var NodeWrapvue_type_template_id_65e78fbf_scoped_true_staticRenderFns = [];
|
|
17762
17510
|
|
|
17763
|
-
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/NodeWrap.vue?vue&type=template&id=
|
|
17511
|
+
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/NodeWrap.vue?vue&type=template&id=65e78fbf&scoped=true
|
|
17764
17512
|
|
|
17765
17513
|
// 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
|
|
17766
17514
|
var EndNodevue_type_template_id_778e5139_scoped_true_render = function render() {
|
|
@@ -19688,14 +19436,14 @@ var ParallelWrapNode_component = normalizeComponent(
|
|
|
19688
19436
|
)
|
|
19689
19437
|
|
|
19690
19438
|
/* harmony default export */ var ParallelWrapNode = (ParallelWrapNode_component.exports);
|
|
19691
|
-
// 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=
|
|
19692
|
-
function
|
|
19693
|
-
function
|
|
19694
|
-
function
|
|
19695
|
-
function
|
|
19696
|
-
function
|
|
19697
|
-
function
|
|
19698
|
-
var
|
|
19439
|
+
// 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
|
|
19440
|
+
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(); }
|
|
19441
|
+
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."); }
|
|
19442
|
+
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); }
|
|
19443
|
+
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); }
|
|
19444
|
+
function CheckNodevue_type_template_id_0980fb16_scoped_true_arrayWithoutHoles(arr) { if (Array.isArray(arr)) return CheckNodevue_type_template_id_0980fb16_scoped_true_arrayLikeToArray(arr); }
|
|
19445
|
+
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; }
|
|
19446
|
+
var CheckNodevue_type_template_id_0980fb16_scoped_true_render = function render() {
|
|
19699
19447
|
var _vm$nodeHandler, _vm$nodeHandler2, _vm$nodeRef, _vm$nodeRef2, _vm$noticeTemplateAtt;
|
|
19700
19448
|
var _vm = this,
|
|
19701
19449
|
_c = _vm._self._c;
|
|
@@ -20129,7 +19877,7 @@ var CheckNodevue_type_template_id_14b216a6_scoped_true_render = function render(
|
|
|
20129
19877
|
},
|
|
20130
19878
|
attrs: {
|
|
20131
19879
|
"filterOption": _vm.filterUser,
|
|
20132
|
-
"options": [].concat(
|
|
19880
|
+
"options": [].concat(CheckNodevue_type_template_id_0980fb16_scoped_true_toConsumableArray(_vm.businessUserData), CheckNodevue_type_template_id_0980fb16_scoped_true_toConsumableArray(_vm.users)),
|
|
20133
19881
|
"mode": "multiple",
|
|
20134
19882
|
"placeholder": "选择人"
|
|
20135
19883
|
},
|
|
@@ -20157,7 +19905,7 @@ var CheckNodevue_type_template_id_14b216a6_scoped_true_render = function render(
|
|
|
20157
19905
|
maxHeight: '400px',
|
|
20158
19906
|
overflow: 'auto'
|
|
20159
19907
|
},
|
|
20160
|
-
"tree-data": [_vm.businessOrgData].concat(
|
|
19908
|
+
"tree-data": [_vm.businessOrgData].concat(CheckNodevue_type_template_id_0980fb16_scoped_true_toConsumableArray(_vm.orgData)),
|
|
20161
19909
|
"allowClear": "",
|
|
20162
19910
|
"placeholder": "部门",
|
|
20163
19911
|
"tree-default-expand-all": ""
|
|
@@ -21281,9 +21029,9 @@ var CheckNodevue_type_template_id_14b216a6_scoped_true_render = function render(
|
|
|
21281
21029
|
}
|
|
21282
21030
|
}) : _vm._e()], 1)]) : _vm._e()], 1)], 1) : _vm._e()], 1);
|
|
21283
21031
|
};
|
|
21284
|
-
var
|
|
21032
|
+
var CheckNodevue_type_template_id_0980fb16_scoped_true_staticRenderFns = [];
|
|
21285
21033
|
|
|
21286
|
-
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/CheckNode.vue?vue&type=template&id=
|
|
21034
|
+
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/CheckNode.vue?vue&type=template&id=0980fb16&scoped=true
|
|
21287
21035
|
|
|
21288
21036
|
// 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
|
|
21289
21037
|
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); }
|
|
@@ -21381,7 +21129,7 @@ function CheckNodevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Ch
|
|
|
21381
21129
|
nodeHandler = _ref.nodeHandler;
|
|
21382
21130
|
// icon;
|
|
21383
21131
|
var icon = {
|
|
21384
|
-
template: "\n <svg viewBox=\"0 0 1024 1024\">\n <path fill=\"
|
|
21132
|
+
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 "
|
|
21385
21133
|
};
|
|
21386
21134
|
|
|
21387
21135
|
// drawer support
|
|
@@ -22008,8 +21756,8 @@ function CheckNodevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Ch
|
|
|
22008
21756
|
});
|
|
22009
21757
|
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/CheckNode.vue?vue&type=script&lang=js
|
|
22010
21758
|
/* harmony default export */ var node_CheckNodevue_type_script_lang_js = (CheckNodevue_type_script_lang_js);
|
|
22011
|
-
// EXTERNAL MODULE: ../src/web/components/forms/flow/designer/node/CheckNode.vue?vue&type=style&index=0&id=
|
|
22012
|
-
var
|
|
21759
|
+
// EXTERNAL MODULE: ../src/web/components/forms/flow/designer/node/CheckNode.vue?vue&type=style&index=0&id=0980fb16&prod&lang=less&scoped=true
|
|
21760
|
+
var CheckNodevue_type_style_index_0_id_0980fb16_prod_lang_less_scoped_true = __webpack_require__("05ec");
|
|
22013
21761
|
|
|
22014
21762
|
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/CheckNode.vue
|
|
22015
21763
|
|
|
@@ -22022,11 +21770,11 @@ var CheckNodevue_type_style_index_0_id_14b216a6_prod_lang_less_scoped_true = __w
|
|
|
22022
21770
|
|
|
22023
21771
|
var CheckNode_component = normalizeComponent(
|
|
22024
21772
|
node_CheckNodevue_type_script_lang_js,
|
|
22025
|
-
|
|
22026
|
-
|
|
21773
|
+
CheckNodevue_type_template_id_0980fb16_scoped_true_render,
|
|
21774
|
+
CheckNodevue_type_template_id_0980fb16_scoped_true_staticRenderFns,
|
|
22027
21775
|
false,
|
|
22028
21776
|
null,
|
|
22029
|
-
"
|
|
21777
|
+
"0980fb16",
|
|
22030
21778
|
null
|
|
22031
21779
|
|
|
22032
21780
|
)
|
|
@@ -23944,11 +23692,158 @@ var CCNode_component = normalizeComponent(
|
|
|
23944
23692
|
)
|
|
23945
23693
|
|
|
23946
23694
|
/* harmony default export */ var CCNode = (CCNode_component.exports);
|
|
23947
|
-
// 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/
|
|
23948
|
-
|
|
23695
|
+
// 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
|
|
23696
|
+
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(); }
|
|
23697
|
+
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."); }
|
|
23698
|
+
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); }
|
|
23699
|
+
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); }
|
|
23700
|
+
function TaskNodevue_type_template_id_71cd8e14_scoped_true_arrayWithoutHoles(arr) { if (Array.isArray(arr)) return TaskNodevue_type_template_id_71cd8e14_scoped_true_arrayLikeToArray(arr); }
|
|
23701
|
+
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; }
|
|
23702
|
+
var TaskNodevue_type_template_id_71cd8e14_scoped_true_render = function render() {
|
|
23703
|
+
var _vm$nodeHandler, _vm$nodeHandler2, _vm$nodeRef, _vm$nodeRef2, _vm$noticeTemplateAtt;
|
|
23949
23704
|
var _vm = this,
|
|
23950
23705
|
_c = _vm._self._c;
|
|
23951
|
-
return _c('div', [_c('
|
|
23706
|
+
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', {
|
|
23707
|
+
attrs: {
|
|
23708
|
+
"placement": "rightTop"
|
|
23709
|
+
},
|
|
23710
|
+
scopedSlots: _vm._u([{
|
|
23711
|
+
key: "content",
|
|
23712
|
+
fn: function fn() {
|
|
23713
|
+
return [_c('div', {
|
|
23714
|
+
staticStyle: {
|
|
23715
|
+
"min-width": "300px",
|
|
23716
|
+
"max-width": "1200px"
|
|
23717
|
+
}
|
|
23718
|
+
}, [_c('runtime-workflow-actors', {
|
|
23719
|
+
attrs: {
|
|
23720
|
+
"actors": _vm.nodeHandler.runtimeData.actorLogs[_vm.node.code]
|
|
23721
|
+
}
|
|
23722
|
+
})], 1)];
|
|
23723
|
+
},
|
|
23724
|
+
proxy: true
|
|
23725
|
+
}], null, false, 193291077)
|
|
23726
|
+
}, [_c('div', {
|
|
23727
|
+
staticClass: "node",
|
|
23728
|
+
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 : ''],
|
|
23729
|
+
on: {
|
|
23730
|
+
"click": _vm.click
|
|
23731
|
+
}
|
|
23732
|
+
}, [_c('div', {
|
|
23733
|
+
staticClass: "title"
|
|
23734
|
+
}, [_c('span', [_c('a-icon', {
|
|
23735
|
+
attrs: {
|
|
23736
|
+
"component": _vm.icon
|
|
23737
|
+
}
|
|
23738
|
+
})], 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', {
|
|
23739
|
+
attrs: {
|
|
23740
|
+
"type": "control"
|
|
23741
|
+
}
|
|
23742
|
+
})], 1) : _vm._e(), !_vm.nodeHandler.isPreview ? _c('span', {
|
|
23743
|
+
staticClass: "title-right"
|
|
23744
|
+
}, [_c('a-icon', {
|
|
23745
|
+
staticClass: "close",
|
|
23746
|
+
attrs: {
|
|
23747
|
+
"type": "close"
|
|
23748
|
+
},
|
|
23749
|
+
on: {
|
|
23750
|
+
"click": function click($event) {
|
|
23751
|
+
$event.stopPropagation();
|
|
23752
|
+
return _vm.close.apply(null, arguments);
|
|
23753
|
+
}
|
|
23754
|
+
}
|
|
23755
|
+
})], 1) : _vm._e()]), _c('div', {
|
|
23756
|
+
staticClass: "content"
|
|
23757
|
+
}, [_c('span', {
|
|
23758
|
+
staticClass: "content-main"
|
|
23759
|
+
}, [_c('span', {
|
|
23760
|
+
staticClass: "error-tooltip"
|
|
23761
|
+
}, [_c('a-tooltip', [_c('template', {
|
|
23762
|
+
slot: "title"
|
|
23763
|
+
}, [_vm._v(" " + _vm._s(_vm.node.error) + " ")]), _c('a-icon', {
|
|
23764
|
+
attrs: {
|
|
23765
|
+
"theme": "filled",
|
|
23766
|
+
"type": "warning"
|
|
23767
|
+
}
|
|
23768
|
+
})], 2)], 1), _vm.nodeContent ? _c('span', {
|
|
23769
|
+
staticStyle: {
|
|
23770
|
+
"padding-left": "5px"
|
|
23771
|
+
}
|
|
23772
|
+
}, [_c('span', {
|
|
23773
|
+
domProps: {
|
|
23774
|
+
"innerHTML": _vm._s(_vm.nodeContent)
|
|
23775
|
+
}
|
|
23776
|
+
})]) : _c('span', {
|
|
23777
|
+
staticStyle: {
|
|
23778
|
+
"padding-left": "5px",
|
|
23779
|
+
"color": "rgb(164 164 164)"
|
|
23780
|
+
}
|
|
23781
|
+
}, [_vm._v(_vm._s(_vm.defaultContent))])]), _c('span', {
|
|
23782
|
+
staticClass: "content-right"
|
|
23783
|
+
}, [!_vm.nodeHandler.isPreview ? _c('a-popover', {
|
|
23784
|
+
attrs: {
|
|
23785
|
+
"placement": "rightTop",
|
|
23786
|
+
"trigger": "click"
|
|
23787
|
+
},
|
|
23788
|
+
scopedSlots: _vm._u([{
|
|
23789
|
+
key: "title",
|
|
23790
|
+
fn: function fn() {
|
|
23791
|
+
return [_c('span', {
|
|
23792
|
+
staticStyle: {
|
|
23793
|
+
"font-size": "18px"
|
|
23794
|
+
}
|
|
23795
|
+
}, [_vm._v("追加分支")])];
|
|
23796
|
+
},
|
|
23797
|
+
proxy: true
|
|
23798
|
+
}, {
|
|
23799
|
+
key: "content",
|
|
23800
|
+
fn: function fn() {
|
|
23801
|
+
return [_c('div', {
|
|
23802
|
+
staticClass: "add-node-box"
|
|
23803
|
+
}, _vm._l(_vm.nodes, function (node, index) {
|
|
23804
|
+
var _node$icon, _node$icon2;
|
|
23805
|
+
return _c('div', {
|
|
23806
|
+
key: index,
|
|
23807
|
+
staticClass: "add-node-item",
|
|
23808
|
+
on: {
|
|
23809
|
+
"click": function click($event) {
|
|
23810
|
+
return _vm.wrapNode(node.type);
|
|
23811
|
+
}
|
|
23812
|
+
}
|
|
23813
|
+
}, [_c('div', {
|
|
23814
|
+
staticClass: "icon",
|
|
23815
|
+
style: 'color:' + node.color + ';'
|
|
23816
|
+
}, [(_node$icon = node.icon) !== null && _node$icon !== void 0 && _node$icon.component ? _c('a-icon', {
|
|
23817
|
+
attrs: {
|
|
23818
|
+
"component": node.icon.component
|
|
23819
|
+
}
|
|
23820
|
+
}) : _vm._e(), (_node$icon2 = node.icon) !== null && _node$icon2 !== void 0 && _node$icon2.type ? _c('a-icon', {
|
|
23821
|
+
attrs: {
|
|
23822
|
+
"type": node.icon.type
|
|
23823
|
+
}
|
|
23824
|
+
}) : _vm._e()], 1), _c('span', [_vm._v(_vm._s(node.name))])]);
|
|
23825
|
+
}), 0)];
|
|
23826
|
+
},
|
|
23827
|
+
proxy: true
|
|
23828
|
+
}], null, false, 2863198520),
|
|
23829
|
+
model: {
|
|
23830
|
+
value: _vm.visiblePopover,
|
|
23831
|
+
callback: function callback($$v) {
|
|
23832
|
+
_vm.visiblePopover = $$v;
|
|
23833
|
+
},
|
|
23834
|
+
expression: "visiblePopover"
|
|
23835
|
+
}
|
|
23836
|
+
}, [_c('a-icon', {
|
|
23837
|
+
attrs: {
|
|
23838
|
+
"type": "plus"
|
|
23839
|
+
},
|
|
23840
|
+
on: {
|
|
23841
|
+
"click": function click($event) {
|
|
23842
|
+
$event.stopPropagation();
|
|
23843
|
+
return function () {}.apply(null, arguments);
|
|
23844
|
+
}
|
|
23845
|
+
}
|
|
23846
|
+
})], 1) : _vm._e()], 1)])])]) : _c('div', {
|
|
23952
23847
|
staticClass: "node",
|
|
23953
23848
|
class: _vm.getClass(),
|
|
23954
23849
|
on: {
|
|
@@ -23957,10 +23852,2179 @@ var TriggerNodevue_type_template_id_7af4eb1a_scoped_true_render = function rende
|
|
|
23957
23852
|
}, [_c('div', {
|
|
23958
23853
|
staticClass: "title"
|
|
23959
23854
|
}, [_c('span', [_c('a-icon', {
|
|
23855
|
+
attrs: {
|
|
23856
|
+
"component": _vm.icon
|
|
23857
|
+
}
|
|
23858
|
+
})], 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', {
|
|
23960
23859
|
attrs: {
|
|
23961
23860
|
"type": "control"
|
|
23962
23861
|
}
|
|
23963
|
-
})], 1)
|
|
23862
|
+
})], 1) : _vm._e(), !_vm.nodeHandler.isPreview ? _c('span', {
|
|
23863
|
+
staticClass: "title-right"
|
|
23864
|
+
}, [_c('a-icon', {
|
|
23865
|
+
staticClass: "close",
|
|
23866
|
+
attrs: {
|
|
23867
|
+
"type": "close"
|
|
23868
|
+
},
|
|
23869
|
+
on: {
|
|
23870
|
+
"click": function click($event) {
|
|
23871
|
+
$event.stopPropagation();
|
|
23872
|
+
return _vm.close.apply(null, arguments);
|
|
23873
|
+
}
|
|
23874
|
+
}
|
|
23875
|
+
})], 1) : _vm._e()]), _c('div', {
|
|
23876
|
+
staticClass: "content"
|
|
23877
|
+
}, [_c('span', {
|
|
23878
|
+
staticClass: "content-main"
|
|
23879
|
+
}, [_c('span', {
|
|
23880
|
+
staticClass: "error-tooltip"
|
|
23881
|
+
}, [_c('a-tooltip', [_c('template', {
|
|
23882
|
+
slot: "title"
|
|
23883
|
+
}, [_vm._v(" " + _vm._s(_vm.node.error) + " ")]), _c('a-icon', {
|
|
23884
|
+
attrs: {
|
|
23885
|
+
"theme": "filled",
|
|
23886
|
+
"type": "warning"
|
|
23887
|
+
}
|
|
23888
|
+
})], 2)], 1), _vm.nodeContent ? _c('span', {
|
|
23889
|
+
staticStyle: {
|
|
23890
|
+
"padding-left": "5px"
|
|
23891
|
+
}
|
|
23892
|
+
}, [_c('span', {
|
|
23893
|
+
domProps: {
|
|
23894
|
+
"innerHTML": _vm._s(_vm.nodeContent)
|
|
23895
|
+
}
|
|
23896
|
+
})]) : _c('span', {
|
|
23897
|
+
staticStyle: {
|
|
23898
|
+
"padding-left": "5px",
|
|
23899
|
+
"color": "rgb(164 164 164)"
|
|
23900
|
+
}
|
|
23901
|
+
}, [_vm._v(_vm._s(_vm.defaultContent))])]), _c('span', {
|
|
23902
|
+
staticClass: "content-right"
|
|
23903
|
+
}, [!_vm.nodeHandler.isPreview ? _c('a-popover', {
|
|
23904
|
+
attrs: {
|
|
23905
|
+
"placement": "rightTop",
|
|
23906
|
+
"trigger": "click"
|
|
23907
|
+
},
|
|
23908
|
+
scopedSlots: _vm._u([{
|
|
23909
|
+
key: "title",
|
|
23910
|
+
fn: function fn() {
|
|
23911
|
+
return [_c('span', {
|
|
23912
|
+
staticStyle: {
|
|
23913
|
+
"font-size": "18px"
|
|
23914
|
+
}
|
|
23915
|
+
}, [_vm._v("追加分支")])];
|
|
23916
|
+
},
|
|
23917
|
+
proxy: true
|
|
23918
|
+
}, {
|
|
23919
|
+
key: "content",
|
|
23920
|
+
fn: function fn() {
|
|
23921
|
+
return [_c('div', {
|
|
23922
|
+
staticClass: "add-node-box"
|
|
23923
|
+
}, _vm._l(_vm.nodes, function (node, index) {
|
|
23924
|
+
var _node$icon3, _node$icon4;
|
|
23925
|
+
return _c('div', {
|
|
23926
|
+
key: index,
|
|
23927
|
+
staticClass: "add-node-item",
|
|
23928
|
+
on: {
|
|
23929
|
+
"click": function click($event) {
|
|
23930
|
+
return _vm.wrapNode(node.type);
|
|
23931
|
+
}
|
|
23932
|
+
}
|
|
23933
|
+
}, [_c('div', {
|
|
23934
|
+
staticClass: "icon",
|
|
23935
|
+
style: 'color:' + node.color + ';'
|
|
23936
|
+
}, [(_node$icon3 = node.icon) !== null && _node$icon3 !== void 0 && _node$icon3.component ? _c('a-icon', {
|
|
23937
|
+
attrs: {
|
|
23938
|
+
"component": node.icon.component
|
|
23939
|
+
}
|
|
23940
|
+
}) : _vm._e(), (_node$icon4 = node.icon) !== null && _node$icon4 !== void 0 && _node$icon4.type ? _c('a-icon', {
|
|
23941
|
+
attrs: {
|
|
23942
|
+
"type": node.icon.type
|
|
23943
|
+
}
|
|
23944
|
+
}) : _vm._e()], 1), _c('span', [_vm._v(_vm._s(node.name))])]);
|
|
23945
|
+
}), 0)];
|
|
23946
|
+
},
|
|
23947
|
+
proxy: true
|
|
23948
|
+
}], null, false, 2863198520),
|
|
23949
|
+
model: {
|
|
23950
|
+
value: _vm.visiblePopover,
|
|
23951
|
+
callback: function callback($$v) {
|
|
23952
|
+
_vm.visiblePopover = $$v;
|
|
23953
|
+
},
|
|
23954
|
+
expression: "visiblePopover"
|
|
23955
|
+
}
|
|
23956
|
+
}, [_c('a-icon', {
|
|
23957
|
+
attrs: {
|
|
23958
|
+
"type": "plus"
|
|
23959
|
+
},
|
|
23960
|
+
on: {
|
|
23961
|
+
"click": function click($event) {
|
|
23962
|
+
$event.stopPropagation();
|
|
23963
|
+
return function () {}.apply(null, arguments);
|
|
23964
|
+
}
|
|
23965
|
+
}
|
|
23966
|
+
})], 1) : _vm._e()], 1)])]), !_vm.nodeHandler.isPreview ? _c('a-drawer', {
|
|
23967
|
+
attrs: {
|
|
23968
|
+
"closable": true,
|
|
23969
|
+
"visible": _vm.visibleDrawer,
|
|
23970
|
+
"width": 720,
|
|
23971
|
+
"placement": "right"
|
|
23972
|
+
},
|
|
23973
|
+
on: {
|
|
23974
|
+
"close": _vm.hideDrawer
|
|
23975
|
+
}
|
|
23976
|
+
}, [!_vm.editName ? _c('div', {
|
|
23977
|
+
staticClass: "node-drawer-title",
|
|
23978
|
+
on: {
|
|
23979
|
+
"click": _vm.showEditName
|
|
23980
|
+
}
|
|
23981
|
+
}, [_c('a-icon', {
|
|
23982
|
+
attrs: {
|
|
23983
|
+
"type": "edit"
|
|
23984
|
+
}
|
|
23985
|
+
}), _vm._v(" " + _vm._s(_vm.node.name) + " ")], 1) : _vm._e(), _c('a-form-model', {
|
|
23986
|
+
directives: [{
|
|
23987
|
+
name: "show",
|
|
23988
|
+
rawName: "v-show",
|
|
23989
|
+
value: _vm.editName,
|
|
23990
|
+
expression: "editName"
|
|
23991
|
+
}],
|
|
23992
|
+
ref: "nameForm",
|
|
23993
|
+
attrs: {
|
|
23994
|
+
"model": _vm.nodeRef,
|
|
23995
|
+
"rules": {
|
|
23996
|
+
name: [{
|
|
23997
|
+
required: true,
|
|
23998
|
+
message: '请填写节点名称',
|
|
23999
|
+
trigger: 'blur'
|
|
24000
|
+
}, {
|
|
24001
|
+
min: 2,
|
|
24002
|
+
max: 20,
|
|
24003
|
+
message: '2-20个字',
|
|
24004
|
+
trigger: 'blur'
|
|
24005
|
+
}]
|
|
24006
|
+
},
|
|
24007
|
+
"layout": "inline"
|
|
24008
|
+
}
|
|
24009
|
+
}, [_c('a-form-model-item', {
|
|
24010
|
+
ref: "name",
|
|
24011
|
+
attrs: {
|
|
24012
|
+
"prop": "name"
|
|
24013
|
+
}
|
|
24014
|
+
}, [_c('a-input', {
|
|
24015
|
+
ref: "nameInput",
|
|
24016
|
+
attrs: {
|
|
24017
|
+
"placeholder": "节点名称"
|
|
24018
|
+
},
|
|
24019
|
+
on: {
|
|
24020
|
+
"blur": function blur() {
|
|
24021
|
+
_vm.editName = false;
|
|
24022
|
+
}
|
|
24023
|
+
},
|
|
24024
|
+
model: {
|
|
24025
|
+
value: _vm.nodeRef.name,
|
|
24026
|
+
callback: function callback($$v) {
|
|
24027
|
+
_vm.$set(_vm.nodeRef, "name", $$v);
|
|
24028
|
+
},
|
|
24029
|
+
expression: "nodeRef.name"
|
|
24030
|
+
}
|
|
24031
|
+
})], 1)], 1), _c('a-tabs', {
|
|
24032
|
+
attrs: {
|
|
24033
|
+
"default-active-key": "1"
|
|
24034
|
+
},
|
|
24035
|
+
on: {
|
|
24036
|
+
"change": _vm.changeTags
|
|
24037
|
+
},
|
|
24038
|
+
model: {
|
|
24039
|
+
value: _vm.tabKey,
|
|
24040
|
+
callback: function callback($$v) {
|
|
24041
|
+
_vm.tabKey = $$v;
|
|
24042
|
+
},
|
|
24043
|
+
expression: "tabKey"
|
|
24044
|
+
}
|
|
24045
|
+
}, [_c('a-tab-pane', {
|
|
24046
|
+
key: "actors",
|
|
24047
|
+
attrs: {
|
|
24048
|
+
"tab": "设置人"
|
|
24049
|
+
}
|
|
24050
|
+
}, [_c('div', {
|
|
24051
|
+
staticClass: "node-form-item"
|
|
24052
|
+
}, [_vm._v(" 配置执行人策略 "), _c('a-radio-group', {
|
|
24053
|
+
attrs: {
|
|
24054
|
+
"button-style": "solid"
|
|
24055
|
+
},
|
|
24056
|
+
model: {
|
|
24057
|
+
value: _vm.nodeRef.data.actor_config.type,
|
|
24058
|
+
callback: function callback($$v) {
|
|
24059
|
+
_vm.$set(_vm.nodeRef.data.actor_config, "type", $$v);
|
|
24060
|
+
},
|
|
24061
|
+
expression: "nodeRef.data.actor_config.type"
|
|
24062
|
+
}
|
|
24063
|
+
}, [_c('a-radio-button', {
|
|
24064
|
+
attrs: {
|
|
24065
|
+
"value": "expression"
|
|
24066
|
+
}
|
|
24067
|
+
}, [_vm._v(" 表达式 ")]), _c('a-radio-button', {
|
|
24068
|
+
attrs: {
|
|
24069
|
+
"value": "sponsor"
|
|
24070
|
+
}
|
|
24071
|
+
}, [_vm._v(" 发起人自己 ")])], 1)], 1), _vm.nodeRef.data.actor_config.type === 'expression' ? _c('div', {
|
|
24072
|
+
staticStyle: {
|
|
24073
|
+
"width": "100%"
|
|
24074
|
+
}
|
|
24075
|
+
}, [_vm._l(_vm.nodeRef.data.actor_config.expression, function (item, index) {
|
|
24076
|
+
return _c('div', {
|
|
24077
|
+
key: index
|
|
24078
|
+
}, [_c('a-row', {
|
|
24079
|
+
staticClass: "node-form-item",
|
|
24080
|
+
staticStyle: {
|
|
24081
|
+
"display": "flex",
|
|
24082
|
+
"align-items": "center"
|
|
24083
|
+
}
|
|
24084
|
+
}, [_c('a-col', {
|
|
24085
|
+
attrs: {
|
|
24086
|
+
"span": "4"
|
|
24087
|
+
}
|
|
24088
|
+
}, [_c('a-radio-group', {
|
|
24089
|
+
attrs: {
|
|
24090
|
+
"button-style": "solid",
|
|
24091
|
+
"size": "small"
|
|
24092
|
+
},
|
|
24093
|
+
model: {
|
|
24094
|
+
value: item.type,
|
|
24095
|
+
callback: function callback($$v) {
|
|
24096
|
+
_vm.$set(item, "type", $$v);
|
|
24097
|
+
},
|
|
24098
|
+
expression: "item.type"
|
|
24099
|
+
}
|
|
24100
|
+
}, [_c('a-radio-button', {
|
|
24101
|
+
attrs: {
|
|
24102
|
+
"value": "uid"
|
|
24103
|
+
}
|
|
24104
|
+
}, [_c('a-icon', {
|
|
24105
|
+
attrs: {
|
|
24106
|
+
"type": "user"
|
|
24107
|
+
}
|
|
24108
|
+
})], 1), _c('a-radio-button', {
|
|
24109
|
+
attrs: {
|
|
24110
|
+
"value": "org"
|
|
24111
|
+
}
|
|
24112
|
+
}, [_c('a-icon', {
|
|
24113
|
+
attrs: {
|
|
24114
|
+
"type": "team"
|
|
24115
|
+
}
|
|
24116
|
+
})], 1)], 1), _vm.nodeRef.data.actor_config.expression.length > 1 ? _c('a-button', {
|
|
24117
|
+
attrs: {
|
|
24118
|
+
"icon": "delete",
|
|
24119
|
+
"type": "link"
|
|
24120
|
+
},
|
|
24121
|
+
on: {
|
|
24122
|
+
"click": function click() {
|
|
24123
|
+
return _vm.nodeRef.data.actor_config.expression.splice(index, 1);
|
|
24124
|
+
}
|
|
24125
|
+
}
|
|
24126
|
+
}) : _vm._e()], 1), item.type === 'uid' ? _c('a-col', {
|
|
24127
|
+
attrs: {
|
|
24128
|
+
"span": "18"
|
|
24129
|
+
}
|
|
24130
|
+
}, [_c('div', [_c('a-select', {
|
|
24131
|
+
staticStyle: {
|
|
24132
|
+
"width": "100%"
|
|
24133
|
+
},
|
|
24134
|
+
attrs: {
|
|
24135
|
+
"filterOption": _vm.filterUser,
|
|
24136
|
+
"options": [].concat(TaskNodevue_type_template_id_71cd8e14_scoped_true_toConsumableArray(_vm.businessUserData), TaskNodevue_type_template_id_71cd8e14_scoped_true_toConsumableArray(_vm.users)),
|
|
24137
|
+
"mode": "multiple",
|
|
24138
|
+
"placeholder": "选择人"
|
|
24139
|
+
},
|
|
24140
|
+
model: {
|
|
24141
|
+
value: item.user,
|
|
24142
|
+
callback: function callback($$v) {
|
|
24143
|
+
_vm.$set(item, "user", $$v);
|
|
24144
|
+
},
|
|
24145
|
+
expression: "item.user"
|
|
24146
|
+
}
|
|
24147
|
+
})], 1)]) : _vm._e(), item.type === 'org' ? _c('a-col', {
|
|
24148
|
+
attrs: {
|
|
24149
|
+
"span": "18"
|
|
24150
|
+
}
|
|
24151
|
+
}, [_c('div', [_c('a-row', [_c('a-col', {
|
|
24152
|
+
attrs: {
|
|
24153
|
+
"span": 8
|
|
24154
|
+
}
|
|
24155
|
+
}, [_c('a-tree-select', {
|
|
24156
|
+
staticStyle: {
|
|
24157
|
+
"width": "100%"
|
|
24158
|
+
},
|
|
24159
|
+
attrs: {
|
|
24160
|
+
"dropdown-style": {
|
|
24161
|
+
maxHeight: '400px',
|
|
24162
|
+
overflow: 'auto'
|
|
24163
|
+
},
|
|
24164
|
+
"tree-data": [_vm.businessOrgData].concat(TaskNodevue_type_template_id_71cd8e14_scoped_true_toConsumableArray(_vm.orgData)),
|
|
24165
|
+
"allowClear": "",
|
|
24166
|
+
"placeholder": "部门",
|
|
24167
|
+
"tree-default-expand-all": ""
|
|
24168
|
+
},
|
|
24169
|
+
model: {
|
|
24170
|
+
value: item.orgId,
|
|
24171
|
+
callback: function callback($$v) {
|
|
24172
|
+
_vm.$set(item, "orgId", $$v);
|
|
24173
|
+
},
|
|
24174
|
+
expression: "item.orgId"
|
|
24175
|
+
}
|
|
24176
|
+
})], 1), _c('a-col', {
|
|
24177
|
+
attrs: {
|
|
24178
|
+
"span": 8
|
|
24179
|
+
}
|
|
24180
|
+
}, [_c('a-select', {
|
|
24181
|
+
staticStyle: {
|
|
24182
|
+
"width": "100%"
|
|
24183
|
+
},
|
|
24184
|
+
attrs: {
|
|
24185
|
+
"options": _vm.roles,
|
|
24186
|
+
"allowClear": "",
|
|
24187
|
+
"placeholder": "角色"
|
|
24188
|
+
},
|
|
24189
|
+
model: {
|
|
24190
|
+
value: item.roleId,
|
|
24191
|
+
callback: function callback($$v) {
|
|
24192
|
+
_vm.$set(item, "roleId", $$v);
|
|
24193
|
+
},
|
|
24194
|
+
expression: "item.roleId"
|
|
24195
|
+
}
|
|
24196
|
+
})], 1)], 1)], 1)]) : _vm._e(), _vm.nodeRef.data.actor_config.expression.length === index + 1 && _vm.hasExpression(item) ? _c('a-col', {
|
|
24197
|
+
attrs: {
|
|
24198
|
+
"span": "2"
|
|
24199
|
+
}
|
|
24200
|
+
}, [_c('a-button', {
|
|
24201
|
+
attrs: {
|
|
24202
|
+
"icon": "plus",
|
|
24203
|
+
"shape": "circle",
|
|
24204
|
+
"type": "primary"
|
|
24205
|
+
},
|
|
24206
|
+
on: {
|
|
24207
|
+
"click": function click() {
|
|
24208
|
+
_vm.nodeRef.data.actor_config.expression.push({
|
|
24209
|
+
type: 'uid',
|
|
24210
|
+
user: [],
|
|
24211
|
+
orgId: undefined,
|
|
24212
|
+
roleId: undefined,
|
|
24213
|
+
groupId: undefined
|
|
24214
|
+
});
|
|
24215
|
+
}
|
|
24216
|
+
}
|
|
24217
|
+
})], 1) : _vm._e()], 1)], 1);
|
|
24218
|
+
}), _c('div', {
|
|
24219
|
+
staticClass: "node-form-item"
|
|
24220
|
+
}, [_c('a-row', [_c('a-col', {
|
|
24221
|
+
attrs: {
|
|
24222
|
+
"span": 4
|
|
24223
|
+
}
|
|
24224
|
+
}, [_vm._v("自选")]), _c('a-col', {
|
|
24225
|
+
attrs: {
|
|
24226
|
+
"span": 20
|
|
24227
|
+
}
|
|
24228
|
+
}, [_c('a-radio-group', {
|
|
24229
|
+
staticStyle: {
|
|
24230
|
+
"margin-right": "10px"
|
|
24231
|
+
},
|
|
24232
|
+
attrs: {
|
|
24233
|
+
"button-style": "solid"
|
|
24234
|
+
},
|
|
24235
|
+
model: {
|
|
24236
|
+
value: _vm.nodeRef.data.actor_config.optional.enable,
|
|
24237
|
+
callback: function callback($$v) {
|
|
24238
|
+
_vm.$set(_vm.nodeRef.data.actor_config.optional, "enable", $$v);
|
|
24239
|
+
},
|
|
24240
|
+
expression: "nodeRef.data.actor_config.optional.enable"
|
|
24241
|
+
}
|
|
24242
|
+
}, [_c('a-radio-button', {
|
|
24243
|
+
attrs: {
|
|
24244
|
+
"value": false
|
|
24245
|
+
}
|
|
24246
|
+
}, [_vm._v(" 禁用 ")]), _c('a-radio-button', {
|
|
24247
|
+
attrs: {
|
|
24248
|
+
"value": true
|
|
24249
|
+
}
|
|
24250
|
+
}, [_vm._v(" 启用 ")])], 1), _vm.nodeRef.data.actor_config.optional.enable ? _c('a-radio-group', {
|
|
24251
|
+
attrs: {
|
|
24252
|
+
"button-style": "solid"
|
|
24253
|
+
},
|
|
24254
|
+
model: {
|
|
24255
|
+
value: _vm.nodeRef.data.actor_config.optional.multi,
|
|
24256
|
+
callback: function callback($$v) {
|
|
24257
|
+
_vm.$set(_vm.nodeRef.data.actor_config.optional, "multi", $$v);
|
|
24258
|
+
},
|
|
24259
|
+
expression: "nodeRef.data.actor_config.optional.multi"
|
|
24260
|
+
}
|
|
24261
|
+
}, [_c('a-radio-button', {
|
|
24262
|
+
attrs: {
|
|
24263
|
+
"value": false
|
|
24264
|
+
}
|
|
24265
|
+
}, [_vm._v(" 可选单人 ")]), _c('a-radio-button', {
|
|
24266
|
+
attrs: {
|
|
24267
|
+
"value": true
|
|
24268
|
+
}
|
|
24269
|
+
}, [_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', {
|
|
24270
|
+
staticClass: "node-form-item"
|
|
24271
|
+
}, [_c('a-row', [_c('a-col', {
|
|
24272
|
+
attrs: {
|
|
24273
|
+
"span": 4
|
|
24274
|
+
}
|
|
24275
|
+
}, [_vm._v("多人执行模式")]), _c('a-col', {
|
|
24276
|
+
attrs: {
|
|
24277
|
+
"span": 20
|
|
24278
|
+
}
|
|
24279
|
+
}, [_c('a-radio-group', {
|
|
24280
|
+
attrs: {
|
|
24281
|
+
"button-style": "solid"
|
|
24282
|
+
},
|
|
24283
|
+
model: {
|
|
24284
|
+
value: _vm.nodeRef.data.actor_config.check_mode,
|
|
24285
|
+
callback: function callback($$v) {
|
|
24286
|
+
_vm.$set(_vm.nodeRef.data.actor_config, "check_mode", $$v);
|
|
24287
|
+
},
|
|
24288
|
+
expression: "nodeRef.data.actor_config.check_mode"
|
|
24289
|
+
}
|
|
24290
|
+
}, [_c('a-radio-button', {
|
|
24291
|
+
attrs: {
|
|
24292
|
+
"value": "queue"
|
|
24293
|
+
}
|
|
24294
|
+
}, [_vm._v("依次执行")]), _c('a-radio-button', {
|
|
24295
|
+
attrs: {
|
|
24296
|
+
"value": "orsign"
|
|
24297
|
+
}
|
|
24298
|
+
}, [_vm._v("或操")]), _c('a-radio-button', {
|
|
24299
|
+
attrs: {
|
|
24300
|
+
"value": "sign"
|
|
24301
|
+
}
|
|
24302
|
+
}, [_vm._v("会操")])], 1)], 1)], 1)], 1) : _vm._e()], 2) : _vm._e(), _c('a-row', {
|
|
24303
|
+
staticStyle: {
|
|
24304
|
+
"display": "flex",
|
|
24305
|
+
"align-items": "center",
|
|
24306
|
+
"margin-bottom": "5px"
|
|
24307
|
+
}
|
|
24308
|
+
}, [_c('a-col', {
|
|
24309
|
+
attrs: {
|
|
24310
|
+
"span": 4
|
|
24311
|
+
}
|
|
24312
|
+
}, [_vm._v("执行人为空时")]), _c('a-col', {
|
|
24313
|
+
attrs: {
|
|
24314
|
+
"span": 20
|
|
24315
|
+
}
|
|
24316
|
+
}, [_c('a-radio-group', {
|
|
24317
|
+
staticStyle: {
|
|
24318
|
+
"margin-right": "10px"
|
|
24319
|
+
},
|
|
24320
|
+
attrs: {
|
|
24321
|
+
"button-style": "solid"
|
|
24322
|
+
},
|
|
24323
|
+
model: {
|
|
24324
|
+
value: _vm.nodeRef.data.other_options.approverIsNull,
|
|
24325
|
+
callback: function callback($$v) {
|
|
24326
|
+
_vm.$set(_vm.nodeRef.data.other_options, "approverIsNull", $$v);
|
|
24327
|
+
},
|
|
24328
|
+
expression: "nodeRef.data.other_options.approverIsNull"
|
|
24329
|
+
}
|
|
24330
|
+
}, [_c('a-radio-button', {
|
|
24331
|
+
attrs: {
|
|
24332
|
+
"disabled": "",
|
|
24333
|
+
"value": "next"
|
|
24334
|
+
}
|
|
24335
|
+
}, [_vm._v(" 跳过 ")]), _c('a-radio-button', {
|
|
24336
|
+
attrs: {
|
|
24337
|
+
"value": "error"
|
|
24338
|
+
}
|
|
24339
|
+
}, [_vm._v(" 提示错误 ")])], 1)], 1)], 1)], 1), _c('a-tab-pane', {
|
|
24340
|
+
key: "forms",
|
|
24341
|
+
attrs: {
|
|
24342
|
+
"tab": "操作视图"
|
|
24343
|
+
}
|
|
24344
|
+
}, [_c('div', {
|
|
24345
|
+
staticClass: "node-form-item"
|
|
24346
|
+
}, [_c('a-row', {
|
|
24347
|
+
staticStyle: {
|
|
24348
|
+
"display": "flex",
|
|
24349
|
+
"align-items": "center",
|
|
24350
|
+
"margin-bottom": "5px"
|
|
24351
|
+
}
|
|
24352
|
+
}, [_c('a-col', {
|
|
24353
|
+
attrs: {
|
|
24354
|
+
"span": 24
|
|
24355
|
+
}
|
|
24356
|
+
}, [_c('a-radio-group', {
|
|
24357
|
+
staticClass: "node-form-item",
|
|
24358
|
+
on: {
|
|
24359
|
+
"change": _vm.changeViewType
|
|
24360
|
+
},
|
|
24361
|
+
model: {
|
|
24362
|
+
value: _vm.optionViewType,
|
|
24363
|
+
callback: function callback($$v) {
|
|
24364
|
+
_vm.optionViewType = $$v;
|
|
24365
|
+
},
|
|
24366
|
+
expression: "optionViewType"
|
|
24367
|
+
}
|
|
24368
|
+
}, [_c('a-radio', {
|
|
24369
|
+
attrs: {
|
|
24370
|
+
"value": "use_model"
|
|
24371
|
+
}
|
|
24372
|
+
}, [_vm._v(" 沿用工作流模型 ")]), _c('a-radio', {
|
|
24373
|
+
attrs: {
|
|
24374
|
+
"value": "custom"
|
|
24375
|
+
}
|
|
24376
|
+
}, [_vm._v(" 自主选择 ")])], 1)], 1)], 1), _c('a-row', [_c('a-col', {
|
|
24377
|
+
attrs: {
|
|
24378
|
+
"span": 24
|
|
24379
|
+
}
|
|
24380
|
+
}, [_vm.optionViewType === 'custom' ? _c('a-select', {
|
|
24381
|
+
staticClass: "node-form-item",
|
|
24382
|
+
staticStyle: {
|
|
24383
|
+
"width": "100%"
|
|
24384
|
+
},
|
|
24385
|
+
attrs: {
|
|
24386
|
+
"default-active-first-option": false,
|
|
24387
|
+
"filter-option": false,
|
|
24388
|
+
"not-found-content": null,
|
|
24389
|
+
"show-arrow": false,
|
|
24390
|
+
"placeholder": "请输入表单视图名称",
|
|
24391
|
+
"show-search": ""
|
|
24392
|
+
},
|
|
24393
|
+
on: {
|
|
24394
|
+
"change": _vm.optionViewChange,
|
|
24395
|
+
"search": _vm.optionViewSearch
|
|
24396
|
+
},
|
|
24397
|
+
model: {
|
|
24398
|
+
value: _vm.nodeRef.data.option_view_id,
|
|
24399
|
+
callback: function callback($$v) {
|
|
24400
|
+
_vm.$set(_vm.nodeRef.data, "option_view_id", $$v);
|
|
24401
|
+
},
|
|
24402
|
+
expression: "nodeRef.data.option_view_id"
|
|
24403
|
+
}
|
|
24404
|
+
}, _vm._l(_vm.optionViewList, function (d) {
|
|
24405
|
+
return _c('a-select-option', {
|
|
24406
|
+
key: d.value,
|
|
24407
|
+
attrs: {
|
|
24408
|
+
"value": d.value
|
|
24409
|
+
}
|
|
24410
|
+
}, [_vm._v(" " + _vm._s(d.text) + " ")]);
|
|
24411
|
+
}), 1) : _vm._e()], 1)], 1)], 1), _c('div', {
|
|
24412
|
+
key: _vm.nodeRef.data.option_view_id,
|
|
24413
|
+
staticClass: "node-from-item"
|
|
24414
|
+
}, [_c('a-divider', {
|
|
24415
|
+
attrs: {
|
|
24416
|
+
"orientation": "left"
|
|
24417
|
+
}
|
|
24418
|
+
}, [_vm._v("表单权限")]), _vm.optionViewType === 'use_model' || _vm.nodeRef.data.option_view_id ? _c('a-spin', {
|
|
24419
|
+
attrs: {
|
|
24420
|
+
"spinning": _vm.viewAttrLoading
|
|
24421
|
+
}
|
|
24422
|
+
}, [_c('a-row', [_c('a-col', {
|
|
24423
|
+
attrs: {
|
|
24424
|
+
"span": 11
|
|
24425
|
+
}
|
|
24426
|
+
}, [_c('a-input-search', {
|
|
24427
|
+
staticStyle: {
|
|
24428
|
+
"margin-bottom": "8px"
|
|
24429
|
+
},
|
|
24430
|
+
attrs: {
|
|
24431
|
+
"enter-button": "",
|
|
24432
|
+
"placeholder": "搜索表单属性"
|
|
24433
|
+
},
|
|
24434
|
+
on: {
|
|
24435
|
+
"search": function search(value) {
|
|
24436
|
+
return _vm.formsColumnFilter = value;
|
|
24437
|
+
}
|
|
24438
|
+
}
|
|
24439
|
+
})], 1), _c('a-col', {
|
|
24440
|
+
attrs: {
|
|
24441
|
+
"span": 1
|
|
24442
|
+
}
|
|
24443
|
+
}), _c('a-col', {
|
|
24444
|
+
attrs: {
|
|
24445
|
+
"span": 11
|
|
24446
|
+
}
|
|
24447
|
+
}, [_c('a-radio-group', {
|
|
24448
|
+
attrs: {
|
|
24449
|
+
"button-style": "solid"
|
|
24450
|
+
},
|
|
24451
|
+
model: {
|
|
24452
|
+
value: _vm.formsColumnAccess,
|
|
24453
|
+
callback: function callback($$v) {
|
|
24454
|
+
_vm.formsColumnAccess = $$v;
|
|
24455
|
+
},
|
|
24456
|
+
expression: "formsColumnAccess"
|
|
24457
|
+
}
|
|
24458
|
+
}, [_c('a-radio-button', {
|
|
24459
|
+
attrs: {
|
|
24460
|
+
"value": "all"
|
|
24461
|
+
}
|
|
24462
|
+
}, [_vm._v(" 无 ")]), _c('a-radio-button', {
|
|
24463
|
+
attrs: {
|
|
24464
|
+
"value": "none"
|
|
24465
|
+
}
|
|
24466
|
+
}, [_vm._v(" 隐藏 ")]), _c('a-radio-button', {
|
|
24467
|
+
attrs: {
|
|
24468
|
+
"value": "readonly"
|
|
24469
|
+
}
|
|
24470
|
+
}, [_vm._v(" 只读 ")]), _c('a-radio-button', {
|
|
24471
|
+
attrs: {
|
|
24472
|
+
"value": "write"
|
|
24473
|
+
}
|
|
24474
|
+
}, [_vm._v(" 可写 ")]), _c('a-radio-button', {
|
|
24475
|
+
attrs: {
|
|
24476
|
+
"value": "readonlywrite"
|
|
24477
|
+
}
|
|
24478
|
+
}, [_vm._v(" 读写 ")])], 1)], 1)], 1), _c('a-table', {
|
|
24479
|
+
attrs: {
|
|
24480
|
+
"columns": _vm.optionFormsColumns,
|
|
24481
|
+
"data-source": _vm.filterDataset(_vm.formsColumnFilter, _vm.nodeRef.data.option_forms, ['attrName', 'attrCode']),
|
|
24482
|
+
"row-key": function rowKey(record) {
|
|
24483
|
+
return record.attrId;
|
|
24484
|
+
}
|
|
24485
|
+
},
|
|
24486
|
+
scopedSlots: _vm._u([{
|
|
24487
|
+
key: "attrName",
|
|
24488
|
+
fn: function fn(text, record) {
|
|
24489
|
+
return _c('span', {}, [_vm._v(_vm._s(record.attrName) + "(" + _vm._s(record.attrCode) + ")")]);
|
|
24490
|
+
}
|
|
24491
|
+
}, {
|
|
24492
|
+
key: "none",
|
|
24493
|
+
fn: function fn(text, record) {
|
|
24494
|
+
return _c('span', {}, [_c('a-radio', {
|
|
24495
|
+
attrs: {
|
|
24496
|
+
"checked": record.access === 'none',
|
|
24497
|
+
"value": "none"
|
|
24498
|
+
},
|
|
24499
|
+
on: {
|
|
24500
|
+
"change": function change() {
|
|
24501
|
+
return record.access = 'none';
|
|
24502
|
+
}
|
|
24503
|
+
}
|
|
24504
|
+
}, [_vm._v("隐藏")])], 1);
|
|
24505
|
+
}
|
|
24506
|
+
}, {
|
|
24507
|
+
key: "readonly",
|
|
24508
|
+
fn: function fn(text, record) {
|
|
24509
|
+
return _c('span', {}, [_c('a-radio', {
|
|
24510
|
+
attrs: {
|
|
24511
|
+
"checked": record.access === 'readonly',
|
|
24512
|
+
"value": "readonly"
|
|
24513
|
+
},
|
|
24514
|
+
on: {
|
|
24515
|
+
"change": function change() {
|
|
24516
|
+
return record.access = 'readonly';
|
|
24517
|
+
}
|
|
24518
|
+
}
|
|
24519
|
+
}, [_vm._v("只读")])], 1);
|
|
24520
|
+
}
|
|
24521
|
+
}, {
|
|
24522
|
+
key: "write",
|
|
24523
|
+
fn: function fn(text, record) {
|
|
24524
|
+
return _c('span', {}, [_c('a-radio', {
|
|
24525
|
+
attrs: {
|
|
24526
|
+
"checked": record.access === 'write',
|
|
24527
|
+
"value": "write"
|
|
24528
|
+
},
|
|
24529
|
+
on: {
|
|
24530
|
+
"change": function change() {
|
|
24531
|
+
return record.access = 'write';
|
|
24532
|
+
}
|
|
24533
|
+
}
|
|
24534
|
+
}, [_vm._v("可编辑")])], 1);
|
|
24535
|
+
}
|
|
24536
|
+
}, {
|
|
24537
|
+
key: "required",
|
|
24538
|
+
fn: function fn(text, record) {
|
|
24539
|
+
return _c('span', {}, [record.access === 'write' ? _c('a-switch', {
|
|
24540
|
+
model: {
|
|
24541
|
+
value: record.required,
|
|
24542
|
+
callback: function callback($$v) {
|
|
24543
|
+
_vm.$set(record, "required", $$v);
|
|
24544
|
+
},
|
|
24545
|
+
expression: "record.required"
|
|
24546
|
+
}
|
|
24547
|
+
}) : _vm._e()], 1);
|
|
24548
|
+
}
|
|
24549
|
+
}], null, false, 274236117)
|
|
24550
|
+
}, [_c('span', {
|
|
24551
|
+
attrs: {
|
|
24552
|
+
"slot": "noneColumn"
|
|
24553
|
+
},
|
|
24554
|
+
slot: "noneColumn"
|
|
24555
|
+
}, [_c('a-radio', {
|
|
24556
|
+
attrs: {
|
|
24557
|
+
"checked": _vm.optionFormsRadio === 'none',
|
|
24558
|
+
"value": "none"
|
|
24559
|
+
},
|
|
24560
|
+
on: {
|
|
24561
|
+
"change": function change($event) {
|
|
24562
|
+
return _vm.optionFormsRadioChange('none');
|
|
24563
|
+
}
|
|
24564
|
+
}
|
|
24565
|
+
}, [_vm._v("隐藏")])], 1), _c('span', {
|
|
24566
|
+
attrs: {
|
|
24567
|
+
"slot": "readonlyColumn"
|
|
24568
|
+
},
|
|
24569
|
+
slot: "readonlyColumn"
|
|
24570
|
+
}, [_c('a-radio', {
|
|
24571
|
+
attrs: {
|
|
24572
|
+
"checked": _vm.optionFormsRadio === 'readonly',
|
|
24573
|
+
"value": "readonly"
|
|
24574
|
+
},
|
|
24575
|
+
on: {
|
|
24576
|
+
"change": function change($event) {
|
|
24577
|
+
return _vm.optionFormsRadioChange('readonly');
|
|
24578
|
+
}
|
|
24579
|
+
}
|
|
24580
|
+
}, [_vm._v("只读")])], 1), _c('span', {
|
|
24581
|
+
attrs: {
|
|
24582
|
+
"slot": "writeColumn"
|
|
24583
|
+
},
|
|
24584
|
+
slot: "writeColumn"
|
|
24585
|
+
}, [_c('a-radio', {
|
|
24586
|
+
attrs: {
|
|
24587
|
+
"checked": _vm.optionFormsRadio === 'write',
|
|
24588
|
+
"value": "write"
|
|
24589
|
+
},
|
|
24590
|
+
on: {
|
|
24591
|
+
"change": function change($event) {
|
|
24592
|
+
return _vm.optionFormsRadioChange('write');
|
|
24593
|
+
}
|
|
24594
|
+
}
|
|
24595
|
+
}, [_vm._v("可编辑")])], 1)])], 1) : _vm._e()], 1)]), _c('a-tab-pane', {
|
|
24596
|
+
key: "others",
|
|
24597
|
+
attrs: {
|
|
24598
|
+
"tab": "其他配置"
|
|
24599
|
+
}
|
|
24600
|
+
}, [_c('a-card', {
|
|
24601
|
+
staticStyle: {
|
|
24602
|
+
"margin": "5px"
|
|
24603
|
+
},
|
|
24604
|
+
attrs: {
|
|
24605
|
+
"size": "small",
|
|
24606
|
+
"title": "消息配置"
|
|
24607
|
+
}
|
|
24608
|
+
}, [_c('a-input', {
|
|
24609
|
+
staticStyle: {
|
|
24610
|
+
"margin-bottom": "5px"
|
|
24611
|
+
},
|
|
24612
|
+
attrs: {
|
|
24613
|
+
"placeholder": "待办跳转地址;以/结尾,例如:/${appKey}#/res_path/"
|
|
24614
|
+
},
|
|
24615
|
+
model: {
|
|
24616
|
+
value: _vm.nodeRef.data.other_options.resPath,
|
|
24617
|
+
callback: function callback($$v) {
|
|
24618
|
+
_vm.$set(_vm.nodeRef.data.other_options, "resPath", $$v);
|
|
24619
|
+
},
|
|
24620
|
+
expression: "nodeRef.data.other_options.resPath"
|
|
24621
|
+
}
|
|
24622
|
+
}), _c('a-input', {
|
|
24623
|
+
attrs: {
|
|
24624
|
+
"placeholder": "消息跳转地址"
|
|
24625
|
+
},
|
|
24626
|
+
model: {
|
|
24627
|
+
value: _vm.nodeRef.data.other_options.redirectUri,
|
|
24628
|
+
callback: function callback($$v) {
|
|
24629
|
+
_vm.$set(_vm.nodeRef.data.other_options, "redirectUri", $$v);
|
|
24630
|
+
},
|
|
24631
|
+
expression: "nodeRef.data.other_options.redirectUri"
|
|
24632
|
+
}
|
|
24633
|
+
}), _vm.noticeTemplateAttr ? _c('Item', {
|
|
24634
|
+
key: _vm.noticeTemplateAttr.name,
|
|
24635
|
+
staticClass: "node-form-item",
|
|
24636
|
+
attrs: {
|
|
24637
|
+
"formModel": _vm.eadApi.getComponent().actionModel,
|
|
24638
|
+
"params": (_vm$noticeTemplateAtt = _vm.noticeTemplateAttr.params) !== null && _vm$noticeTemplateAtt !== void 0 ? _vm$noticeTemplateAtt : {},
|
|
24639
|
+
"prop": _vm.noticeTemplateAttr.name,
|
|
24640
|
+
"required": false,
|
|
24641
|
+
"schema": _vm.noticeTemplateAttr
|
|
24642
|
+
},
|
|
24643
|
+
on: {
|
|
24644
|
+
"change": function change($event) {
|
|
24645
|
+
return _vm.handleItemChange($event, _vm.noticeTemplateAttr);
|
|
24646
|
+
}
|
|
24647
|
+
},
|
|
24648
|
+
model: {
|
|
24649
|
+
value: _vm.nodeRef.data.notice_template,
|
|
24650
|
+
callback: function callback($$v) {
|
|
24651
|
+
_vm.$set(_vm.nodeRef.data, "notice_template", $$v);
|
|
24652
|
+
},
|
|
24653
|
+
expression: "nodeRef.data.notice_template"
|
|
24654
|
+
}
|
|
24655
|
+
}) : _vm._e(), _c('a-alert', {
|
|
24656
|
+
attrs: {
|
|
24657
|
+
"message": "模板变量:",
|
|
24658
|
+
"type": "success"
|
|
24659
|
+
}
|
|
24660
|
+
}, [_c('div', {
|
|
24661
|
+
attrs: {
|
|
24662
|
+
"slot": "description"
|
|
24663
|
+
},
|
|
24664
|
+
slot: "description"
|
|
24665
|
+
}, [_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', {
|
|
24666
|
+
staticClass: "node-form-item"
|
|
24667
|
+
}, [_c('a-divider', {
|
|
24668
|
+
attrs: {
|
|
24669
|
+
"orientation": "left"
|
|
24670
|
+
}
|
|
24671
|
+
}, [_vm._v("退回配置")]), _c('a-row', {
|
|
24672
|
+
staticStyle: {
|
|
24673
|
+
"display": "flex",
|
|
24674
|
+
"align-items": "center",
|
|
24675
|
+
"margin-bottom": "5px"
|
|
24676
|
+
}
|
|
24677
|
+
}, [_c('a-col', {
|
|
24678
|
+
attrs: {
|
|
24679
|
+
"span": 4
|
|
24680
|
+
}
|
|
24681
|
+
}, [_vm._v("退回配置")]), _c('a-col', {
|
|
24682
|
+
attrs: {
|
|
24683
|
+
"span": 20
|
|
24684
|
+
}
|
|
24685
|
+
}, [_c('a-radio-group', {
|
|
24686
|
+
staticClass: "node-from-item",
|
|
24687
|
+
staticStyle: {
|
|
24688
|
+
"margin-right": "10px"
|
|
24689
|
+
},
|
|
24690
|
+
attrs: {
|
|
24691
|
+
"button-style": "solid"
|
|
24692
|
+
},
|
|
24693
|
+
model: {
|
|
24694
|
+
value: _vm.nodeRef.data.page_options.allowBack,
|
|
24695
|
+
callback: function callback($$v) {
|
|
24696
|
+
_vm.$set(_vm.nodeRef.data.page_options, "allowBack", $$v);
|
|
24697
|
+
},
|
|
24698
|
+
expression: "nodeRef.data.page_options.allowBack"
|
|
24699
|
+
}
|
|
24700
|
+
}, [_c('a-radio-button', {
|
|
24701
|
+
attrs: {
|
|
24702
|
+
"value": false
|
|
24703
|
+
}
|
|
24704
|
+
}, [_vm._v(" 禁止 ")]), _c('a-radio-button', {
|
|
24705
|
+
attrs: {
|
|
24706
|
+
"value": true,
|
|
24707
|
+
"disabled": ""
|
|
24708
|
+
}
|
|
24709
|
+
}, [_vm._v(" 允许 ")])], 1)], 1)], 1), _c('a-row', [_c('a-col', {
|
|
24710
|
+
staticStyle: {
|
|
24711
|
+
"display": "flex",
|
|
24712
|
+
"align-items": "center",
|
|
24713
|
+
"margin-bottom": "5px"
|
|
24714
|
+
},
|
|
24715
|
+
attrs: {
|
|
24716
|
+
"span": 24
|
|
24717
|
+
}
|
|
24718
|
+
}, [_vm.nodeRef.data.page_options.allowBack ? _c('a-radio-group', {
|
|
24719
|
+
attrs: {
|
|
24720
|
+
"button-style": "solid"
|
|
24721
|
+
},
|
|
24722
|
+
model: {
|
|
24723
|
+
value: _vm.nodeRef.data.back_type,
|
|
24724
|
+
callback: function callback($$v) {
|
|
24725
|
+
_vm.$set(_vm.nodeRef.data, "back_type", $$v);
|
|
24726
|
+
},
|
|
24727
|
+
expression: "nodeRef.data.back_type"
|
|
24728
|
+
}
|
|
24729
|
+
}, [_c('a-radio-button', {
|
|
24730
|
+
attrs: {
|
|
24731
|
+
"value": "start"
|
|
24732
|
+
}
|
|
24733
|
+
}, [_vm._v(" 退回发起人 ")]), _c('a-radio-button', {
|
|
24734
|
+
attrs: {
|
|
24735
|
+
"value": "before"
|
|
24736
|
+
}
|
|
24737
|
+
}, [_vm._v(" 退回上一步 ")]), _vm.availableBackStep.length ? _c('a-radio-button', {
|
|
24738
|
+
attrs: {
|
|
24739
|
+
"value": "assign"
|
|
24740
|
+
}
|
|
24741
|
+
}, [_vm._v(" 指定退回节点 ")]) : _vm._e(), _vm.availableBackStep.length ? _c('a-radio-button', {
|
|
24742
|
+
attrs: {
|
|
24743
|
+
"value": "custom"
|
|
24744
|
+
}
|
|
24745
|
+
}, [_vm._v(" 自主选择退回节点 ")]) : _vm._e(), _c('a-radio-button', {
|
|
24746
|
+
attrs: {
|
|
24747
|
+
"value": "bpmn"
|
|
24748
|
+
}
|
|
24749
|
+
}, [_vm._v(" 后续节点控制 ")])], 1) : _vm._e()], 1)], 1), _vm.nodeRef.data.page_options.allowBack && _vm.nodeRef.data.back_type === 'custom' ? _c('a-row', {
|
|
24750
|
+
staticStyle: {
|
|
24751
|
+
"display": "flex",
|
|
24752
|
+
"align-items": "center"
|
|
24753
|
+
}
|
|
24754
|
+
}, [_c('a-col', {
|
|
24755
|
+
attrs: {
|
|
24756
|
+
"span": 5
|
|
24757
|
+
}
|
|
24758
|
+
}, [_vm._v("自主选择退回节点")]), _c('a-col', {
|
|
24759
|
+
attrs: {
|
|
24760
|
+
"span": 19
|
|
24761
|
+
}
|
|
24762
|
+
}, [_c('a-select', {
|
|
24763
|
+
staticStyle: {
|
|
24764
|
+
"width": "100%"
|
|
24765
|
+
},
|
|
24766
|
+
attrs: {
|
|
24767
|
+
"options": _vm.availableBackStep,
|
|
24768
|
+
"mode": "multiple",
|
|
24769
|
+
"placeholder": "可选退回节点"
|
|
24770
|
+
},
|
|
24771
|
+
model: {
|
|
24772
|
+
value: _vm.nodeRef.data.custom_back_nodes,
|
|
24773
|
+
callback: function callback($$v) {
|
|
24774
|
+
_vm.$set(_vm.nodeRef.data, "custom_back_nodes", $$v);
|
|
24775
|
+
},
|
|
24776
|
+
expression: "nodeRef.data.custom_back_nodes"
|
|
24777
|
+
}
|
|
24778
|
+
})], 1)], 1) : _vm._e(), _vm.nodeRef.data.page_options.allowBack && _vm.nodeRef.data.back_type === 'assign' ? _c('a-row', {
|
|
24779
|
+
staticStyle: {
|
|
24780
|
+
"display": "flex",
|
|
24781
|
+
"align-items": "center"
|
|
24782
|
+
}
|
|
24783
|
+
}, [_c('a-col', {
|
|
24784
|
+
attrs: {
|
|
24785
|
+
"span": 4
|
|
24786
|
+
}
|
|
24787
|
+
}, [_vm._v("指定退回节点")]), _c('a-col', {
|
|
24788
|
+
attrs: {
|
|
24789
|
+
"span": 20
|
|
24790
|
+
}
|
|
24791
|
+
}, [_c('a-select', {
|
|
24792
|
+
staticStyle: {
|
|
24793
|
+
"width": "100%"
|
|
24794
|
+
},
|
|
24795
|
+
attrs: {
|
|
24796
|
+
"options": _vm.availableBackStep,
|
|
24797
|
+
"placeholder": "指定退回节点"
|
|
24798
|
+
},
|
|
24799
|
+
model: {
|
|
24800
|
+
value: _vm.nodeRef.data.back_node_id,
|
|
24801
|
+
callback: function callback($$v) {
|
|
24802
|
+
_vm.$set(_vm.nodeRef.data, "back_node_id", $$v);
|
|
24803
|
+
},
|
|
24804
|
+
expression: "nodeRef.data.back_node_id"
|
|
24805
|
+
}
|
|
24806
|
+
})], 1)], 1) : _vm._e(), _vm.nodeRef.data.page_options.allowBack && _vm.nodeRef.data.back_type === 'bpmn' ? _c('a-row', [_c('a-alert', {
|
|
24807
|
+
attrs: {
|
|
24808
|
+
"message": "退回表达式: workflow_req.page_operate.action === 'back'",
|
|
24809
|
+
"type": "success"
|
|
24810
|
+
}
|
|
24811
|
+
})], 1) : _vm._e()], 1), _vm.nodeRef.data.timeout_remind.enable ? _c('div', [_c('a-row', {
|
|
24812
|
+
staticStyle: {
|
|
24813
|
+
"display": "flex",
|
|
24814
|
+
"align-items": "center",
|
|
24815
|
+
"margin-bottom": "5px"
|
|
24816
|
+
}
|
|
24817
|
+
}, [_c('a-col', {
|
|
24818
|
+
attrs: {
|
|
24819
|
+
"span": 4
|
|
24820
|
+
}
|
|
24821
|
+
}, [_vm._v("超时时间")]), _c('a-col', {
|
|
24822
|
+
attrs: {
|
|
24823
|
+
"span": 8
|
|
24824
|
+
}
|
|
24825
|
+
}, [_c('a-input-group', {
|
|
24826
|
+
attrs: {
|
|
24827
|
+
"compact": ""
|
|
24828
|
+
}
|
|
24829
|
+
}, [_c('a-input-number', {
|
|
24830
|
+
staticStyle: {
|
|
24831
|
+
"width": "70%"
|
|
24832
|
+
},
|
|
24833
|
+
attrs: {
|
|
24834
|
+
"max": 100,
|
|
24835
|
+
"min": 1
|
|
24836
|
+
},
|
|
24837
|
+
on: {
|
|
24838
|
+
"change": function change(value) {
|
|
24839
|
+
if (!value) {
|
|
24840
|
+
_vm.nodeRef.data.timeout_remind.outTime.time = 1;
|
|
24841
|
+
}
|
|
24842
|
+
}
|
|
24843
|
+
},
|
|
24844
|
+
model: {
|
|
24845
|
+
value: _vm.nodeRef.data.timeout_remind.outTime.time,
|
|
24846
|
+
callback: function callback($$v) {
|
|
24847
|
+
_vm.$set(_vm.nodeRef.data.timeout_remind.outTime, "time", $$v);
|
|
24848
|
+
},
|
|
24849
|
+
expression: "nodeRef.data.timeout_remind.outTime.time"
|
|
24850
|
+
}
|
|
24851
|
+
}), _c('a-select', {
|
|
24852
|
+
staticStyle: {
|
|
24853
|
+
"width": "30%"
|
|
24854
|
+
},
|
|
24855
|
+
attrs: {
|
|
24856
|
+
"options": [{
|
|
24857
|
+
value: 'minute',
|
|
24858
|
+
label: '分钟'
|
|
24859
|
+
}, {
|
|
24860
|
+
value: 'hour',
|
|
24861
|
+
label: '小时'
|
|
24862
|
+
}, {
|
|
24863
|
+
value: 'day',
|
|
24864
|
+
label: '天'
|
|
24865
|
+
}, {
|
|
24866
|
+
value: 'week',
|
|
24867
|
+
label: '周'
|
|
24868
|
+
}, {
|
|
24869
|
+
value: 'month',
|
|
24870
|
+
label: '月'
|
|
24871
|
+
}, {
|
|
24872
|
+
value: 'year',
|
|
24873
|
+
label: '年'
|
|
24874
|
+
}],
|
|
24875
|
+
"placeholder": "单位"
|
|
24876
|
+
},
|
|
24877
|
+
model: {
|
|
24878
|
+
value: _vm.nodeRef.data.timeout_remind.outTime.unit,
|
|
24879
|
+
callback: function callback($$v) {
|
|
24880
|
+
_vm.$set(_vm.nodeRef.data.timeout_remind.outTime, "unit", $$v);
|
|
24881
|
+
},
|
|
24882
|
+
expression: "nodeRef.data.timeout_remind.outTime.unit"
|
|
24883
|
+
}
|
|
24884
|
+
})], 1)], 1)], 1), _c('a-row', {
|
|
24885
|
+
staticStyle: {
|
|
24886
|
+
"display": "flex",
|
|
24887
|
+
"align-items": "center",
|
|
24888
|
+
"margin-bottom": "5px"
|
|
24889
|
+
}
|
|
24890
|
+
}, [_c('a-col', {
|
|
24891
|
+
attrs: {
|
|
24892
|
+
"span": 4
|
|
24893
|
+
}
|
|
24894
|
+
}, [_vm._v("提醒周期")]), _c('a-col', {
|
|
24895
|
+
attrs: {
|
|
24896
|
+
"span": 20
|
|
24897
|
+
}
|
|
24898
|
+
}, [_c('a-radio-group', {
|
|
24899
|
+
attrs: {
|
|
24900
|
+
"button-style": "solid"
|
|
24901
|
+
},
|
|
24902
|
+
model: {
|
|
24903
|
+
value: _vm.nodeRef.data.timeout_remind.outCycle,
|
|
24904
|
+
callback: function callback($$v) {
|
|
24905
|
+
_vm.$set(_vm.nodeRef.data.timeout_remind, "outCycle", $$v);
|
|
24906
|
+
},
|
|
24907
|
+
expression: "nodeRef.data.timeout_remind.outCycle"
|
|
24908
|
+
}
|
|
24909
|
+
}, [_c('a-radio-button', {
|
|
24910
|
+
attrs: {
|
|
24911
|
+
"value": "once"
|
|
24912
|
+
}
|
|
24913
|
+
}, [_vm._v(" 一次 ")]), _c('a-radio-button', {
|
|
24914
|
+
attrs: {
|
|
24915
|
+
"value": "day"
|
|
24916
|
+
}
|
|
24917
|
+
}, [_vm._v(" 每天 ")]), _c('a-radio-button', {
|
|
24918
|
+
attrs: {
|
|
24919
|
+
"value": "week"
|
|
24920
|
+
}
|
|
24921
|
+
}, [_vm._v(" 每周 ")]), _c('a-radio-button', {
|
|
24922
|
+
attrs: {
|
|
24923
|
+
"value": "month"
|
|
24924
|
+
}
|
|
24925
|
+
}, [_vm._v(" 每月 ")]), _c('a-radio-button', {
|
|
24926
|
+
attrs: {
|
|
24927
|
+
"value": "year"
|
|
24928
|
+
}
|
|
24929
|
+
}, [_vm._v(" 每年 ")])], 1)], 1)], 1), _c('a-row', {
|
|
24930
|
+
staticStyle: {
|
|
24931
|
+
"display": "flex",
|
|
24932
|
+
"align-items": "center",
|
|
24933
|
+
"margin-bottom": "5px"
|
|
24934
|
+
}
|
|
24935
|
+
}, [_c('a-col', {
|
|
24936
|
+
attrs: {
|
|
24937
|
+
"span": 4
|
|
24938
|
+
}
|
|
24939
|
+
}, [_vm._v("超时驱动")]), _c('a-col', {
|
|
24940
|
+
attrs: {
|
|
24941
|
+
"span": 20
|
|
24942
|
+
}
|
|
24943
|
+
}, [_c('a-select', {
|
|
24944
|
+
staticStyle: {
|
|
24945
|
+
"width": "100%"
|
|
24946
|
+
},
|
|
24947
|
+
attrs: {
|
|
24948
|
+
"default-active-first-option": false,
|
|
24949
|
+
"filter-option": false,
|
|
24950
|
+
"not-found-content": null,
|
|
24951
|
+
"options": _vm.driverList,
|
|
24952
|
+
"show-arrow": false,
|
|
24953
|
+
"allowClear": "",
|
|
24954
|
+
"placeholder": "输入驱动",
|
|
24955
|
+
"show-search": ""
|
|
24956
|
+
},
|
|
24957
|
+
on: {
|
|
24958
|
+
"change": _vm.handleDriverChange,
|
|
24959
|
+
"search": _vm.handleDriverSearch
|
|
24960
|
+
},
|
|
24961
|
+
model: {
|
|
24962
|
+
value: _vm.nodeRef.data.timeout_remind.outDriver,
|
|
24963
|
+
callback: function callback($$v) {
|
|
24964
|
+
_vm.$set(_vm.nodeRef.data.timeout_remind, "outDriver", $$v);
|
|
24965
|
+
},
|
|
24966
|
+
expression: "nodeRef.data.timeout_remind.outDriver"
|
|
24967
|
+
}
|
|
24968
|
+
})], 1)], 1)], 1) : _vm._e(), _c('div', {
|
|
24969
|
+
staticClass: "node-form-item"
|
|
24970
|
+
}, [_c('a-divider', {
|
|
24971
|
+
attrs: {
|
|
24972
|
+
"orientation": "left"
|
|
24973
|
+
}
|
|
24974
|
+
}, [_vm._v("转办配置")]), _c('a-row', {
|
|
24975
|
+
staticStyle: {
|
|
24976
|
+
"display": "flex",
|
|
24977
|
+
"align-items": "center",
|
|
24978
|
+
"margin-bottom": "5px"
|
|
24979
|
+
}
|
|
24980
|
+
}, [_c('a-col', {
|
|
24981
|
+
attrs: {
|
|
24982
|
+
"span": 4
|
|
24983
|
+
}
|
|
24984
|
+
}, [_vm._v("允许转办")]), _c('a-col', {
|
|
24985
|
+
attrs: {
|
|
24986
|
+
"span": 20
|
|
24987
|
+
}
|
|
24988
|
+
}, [_c('a-radio-group', {
|
|
24989
|
+
staticStyle: {
|
|
24990
|
+
"margin-right": "10px"
|
|
24991
|
+
},
|
|
24992
|
+
attrs: {
|
|
24993
|
+
"button-style": "solid"
|
|
24994
|
+
},
|
|
24995
|
+
model: {
|
|
24996
|
+
value: _vm.nodeRef.data.page_options.allowReassign,
|
|
24997
|
+
callback: function callback($$v) {
|
|
24998
|
+
_vm.$set(_vm.nodeRef.data.page_options, "allowReassign", $$v);
|
|
24999
|
+
},
|
|
25000
|
+
expression: "nodeRef.data.page_options.allowReassign"
|
|
25001
|
+
}
|
|
25002
|
+
}, [_c('a-radio-button', {
|
|
25003
|
+
attrs: {
|
|
25004
|
+
"value": false
|
|
25005
|
+
}
|
|
25006
|
+
}, [_vm._v(" 禁止 ")]), _c('a-radio-button', {
|
|
25007
|
+
attrs: {
|
|
25008
|
+
"value": true,
|
|
25009
|
+
"disabled": ""
|
|
25010
|
+
}
|
|
25011
|
+
}, [_vm._v(" 允许 ")])], 1)], 1)], 1)], 1), _c('div', {
|
|
25012
|
+
staticClass: "node-form-item"
|
|
25013
|
+
}, [_c('a-divider', {
|
|
25014
|
+
attrs: {
|
|
25015
|
+
"orientation": "left"
|
|
25016
|
+
}
|
|
25017
|
+
}, [_vm._v("加签配置")]), _c('a-row', {
|
|
25018
|
+
staticStyle: {
|
|
25019
|
+
"display": "flex",
|
|
25020
|
+
"align-items": "center",
|
|
25021
|
+
"margin-bottom": "5px"
|
|
25022
|
+
}
|
|
25023
|
+
}, [_c('a-col', {
|
|
25024
|
+
attrs: {
|
|
25025
|
+
"span": 4
|
|
25026
|
+
}
|
|
25027
|
+
}, [_vm._v("允许加签")]), _c('a-col', {
|
|
25028
|
+
attrs: {
|
|
25029
|
+
"span": 20
|
|
25030
|
+
}
|
|
25031
|
+
}, [_c('a-radio-group', {
|
|
25032
|
+
staticStyle: {
|
|
25033
|
+
"margin-right": "10px"
|
|
25034
|
+
},
|
|
25035
|
+
attrs: {
|
|
25036
|
+
"button-style": "solid"
|
|
25037
|
+
},
|
|
25038
|
+
model: {
|
|
25039
|
+
value: _vm.nodeRef.data.page_options.allowInvolve,
|
|
25040
|
+
callback: function callback($$v) {
|
|
25041
|
+
_vm.$set(_vm.nodeRef.data.page_options, "allowInvolve", $$v);
|
|
25042
|
+
},
|
|
25043
|
+
expression: "nodeRef.data.page_options.allowInvolve"
|
|
25044
|
+
}
|
|
25045
|
+
}, [_c('a-radio-button', {
|
|
25046
|
+
attrs: {
|
|
25047
|
+
"value": false
|
|
25048
|
+
}
|
|
25049
|
+
}, [_vm._v(" 禁止 ")]), _c('a-radio-button', {
|
|
25050
|
+
attrs: {
|
|
25051
|
+
"value": true,
|
|
25052
|
+
"disabled": ""
|
|
25053
|
+
}
|
|
25054
|
+
}, [_vm._v(" 允许 ")])], 1)], 1)], 1)], 1), _c('div', {
|
|
25055
|
+
staticClass: "node-form-item"
|
|
25056
|
+
}, [_c('a-divider', {
|
|
25057
|
+
attrs: {
|
|
25058
|
+
"orientation": "left"
|
|
25059
|
+
}
|
|
25060
|
+
}, [_vm._v("流程结束")]), _c('a-row', {
|
|
25061
|
+
staticStyle: {
|
|
25062
|
+
"display": "flex",
|
|
25063
|
+
"align-items": "center",
|
|
25064
|
+
"margin-bottom": "5px"
|
|
25065
|
+
}
|
|
25066
|
+
}, [_c('a-col', {
|
|
25067
|
+
attrs: {
|
|
25068
|
+
"span": 4
|
|
25069
|
+
}
|
|
25070
|
+
}, [_vm._v("允许结束")]), _c('a-col', {
|
|
25071
|
+
attrs: {
|
|
25072
|
+
"span": 20
|
|
25073
|
+
}
|
|
25074
|
+
}, [_c('a-radio-group', {
|
|
25075
|
+
staticStyle: {
|
|
25076
|
+
"margin-right": "10px"
|
|
25077
|
+
},
|
|
25078
|
+
attrs: {
|
|
25079
|
+
"button-style": "solid"
|
|
25080
|
+
},
|
|
25081
|
+
model: {
|
|
25082
|
+
value: _vm.nodeRef.data.page_options.allowEnd,
|
|
25083
|
+
callback: function callback($$v) {
|
|
25084
|
+
_vm.$set(_vm.nodeRef.data.page_options, "allowEnd", $$v);
|
|
25085
|
+
},
|
|
25086
|
+
expression: "nodeRef.data.page_options.allowEnd"
|
|
25087
|
+
}
|
|
25088
|
+
}, [_c('a-radio-button', {
|
|
25089
|
+
attrs: {
|
|
25090
|
+
"value": false
|
|
25091
|
+
}
|
|
25092
|
+
}, [_vm._v(" 禁止 ")]), _c('a-radio-button', {
|
|
25093
|
+
attrs: {
|
|
25094
|
+
"value": true,
|
|
25095
|
+
"disabled": ""
|
|
25096
|
+
}
|
|
25097
|
+
}, [_vm._v(" 允许 ")])], 1)], 1)], 1)], 1), _c('div', [_c('a-divider', {
|
|
25098
|
+
attrs: {
|
|
25099
|
+
"orientation": "left"
|
|
25100
|
+
}
|
|
25101
|
+
}, [_vm._v("超时提醒")])], 1), _c('a-row', {
|
|
25102
|
+
staticStyle: {
|
|
25103
|
+
"display": "flex",
|
|
25104
|
+
"align-items": "center",
|
|
25105
|
+
"margin-bottom": "5px"
|
|
25106
|
+
}
|
|
25107
|
+
}, [_c('a-col', {
|
|
25108
|
+
attrs: {
|
|
25109
|
+
"span": 4
|
|
25110
|
+
}
|
|
25111
|
+
}, [_vm._v("超时提醒设置")]), _c('a-col', {
|
|
25112
|
+
attrs: {
|
|
25113
|
+
"span": 20
|
|
25114
|
+
}
|
|
25115
|
+
}, [_c('a-radio-group', {
|
|
25116
|
+
staticStyle: {
|
|
25117
|
+
"margin-right": "10px"
|
|
25118
|
+
},
|
|
25119
|
+
attrs: {
|
|
25120
|
+
"button-style": "solid"
|
|
25121
|
+
},
|
|
25122
|
+
model: {
|
|
25123
|
+
value: _vm.nodeRef.data.timeout_remind.enable,
|
|
25124
|
+
callback: function callback($$v) {
|
|
25125
|
+
_vm.$set(_vm.nodeRef.data.timeout_remind, "enable", $$v);
|
|
25126
|
+
},
|
|
25127
|
+
expression: "nodeRef.data.timeout_remind.enable"
|
|
25128
|
+
}
|
|
25129
|
+
}, [_c('a-radio-button', {
|
|
25130
|
+
attrs: {
|
|
25131
|
+
"value": false
|
|
25132
|
+
}
|
|
25133
|
+
}, [_vm._v(" 禁用 ")]), _c('a-radio-button', {
|
|
25134
|
+
attrs: {
|
|
25135
|
+
"value": true,
|
|
25136
|
+
"disabled": ""
|
|
25137
|
+
}
|
|
25138
|
+
}, [_vm._v(" 启用 ")])], 1)], 1)], 1), _c('div', {
|
|
25139
|
+
staticClass: "node-form-item"
|
|
25140
|
+
}, [_c('a-divider', {
|
|
25141
|
+
attrs: {
|
|
25142
|
+
"orientation": "left"
|
|
25143
|
+
}
|
|
25144
|
+
}, [_vm._v("其他配置")]), _c('a-row', {
|
|
25145
|
+
staticStyle: {
|
|
25146
|
+
"display": "flex",
|
|
25147
|
+
"align-items": "center",
|
|
25148
|
+
"margin-bottom": "5px"
|
|
25149
|
+
}
|
|
25150
|
+
}, [_c('a-col', {
|
|
25151
|
+
attrs: {
|
|
25152
|
+
"span": 4
|
|
25153
|
+
}
|
|
25154
|
+
}, [_vm._v("是否回执")]), _c('a-col', {
|
|
25155
|
+
attrs: {
|
|
25156
|
+
"span": 20
|
|
25157
|
+
}
|
|
25158
|
+
}, [_c('a-radio-group', {
|
|
25159
|
+
staticStyle: {
|
|
25160
|
+
"margin-right": "10px"
|
|
25161
|
+
},
|
|
25162
|
+
attrs: {
|
|
25163
|
+
"button-style": "solid"
|
|
25164
|
+
},
|
|
25165
|
+
model: {
|
|
25166
|
+
value: _vm.nodeRef.data.other_options.allowReceipt,
|
|
25167
|
+
callback: function callback($$v) {
|
|
25168
|
+
_vm.$set(_vm.nodeRef.data.other_options, "allowReceipt", $$v);
|
|
25169
|
+
},
|
|
25170
|
+
expression: "nodeRef.data.other_options.allowReceipt"
|
|
25171
|
+
}
|
|
25172
|
+
}, [_c('a-radio-button', {
|
|
25173
|
+
attrs: {
|
|
25174
|
+
"value": false
|
|
25175
|
+
}
|
|
25176
|
+
}, [_vm._v(" 禁止 ")]), _c('a-radio-button', {
|
|
25177
|
+
attrs: {
|
|
25178
|
+
"value": true,
|
|
25179
|
+
"disabled": ""
|
|
25180
|
+
}
|
|
25181
|
+
}, [_vm._v(" 允许 ")])], 1)], 1)], 1)], 1), _c('div', {
|
|
25182
|
+
staticClass: "node-form-item"
|
|
25183
|
+
}, [_c('a-divider', {
|
|
25184
|
+
attrs: {
|
|
25185
|
+
"orientation": "left"
|
|
25186
|
+
}
|
|
25187
|
+
}, [_vm._v("自定义参数")]), _c('a-row', {
|
|
25188
|
+
staticStyle: {
|
|
25189
|
+
"display": "flex",
|
|
25190
|
+
"align-items": "center",
|
|
25191
|
+
"margin-bottom": "5px"
|
|
25192
|
+
}
|
|
25193
|
+
}, [_c('a-col', {
|
|
25194
|
+
attrs: {
|
|
25195
|
+
"span": 24
|
|
25196
|
+
}
|
|
25197
|
+
}, [_c('a-textarea', {
|
|
25198
|
+
attrs: {
|
|
25199
|
+
"auto-size": "",
|
|
25200
|
+
"placeholder": "自定义参数(JSONObject); {}"
|
|
25201
|
+
},
|
|
25202
|
+
model: {
|
|
25203
|
+
value: _vm.nodeRef.data.other_options.custom,
|
|
25204
|
+
callback: function callback($$v) {
|
|
25205
|
+
_vm.$set(_vm.nodeRef.data.other_options, "custom", $$v);
|
|
25206
|
+
},
|
|
25207
|
+
expression: "nodeRef.data.other_options.custom"
|
|
25208
|
+
}
|
|
25209
|
+
})], 1)], 1)], 1), _c('div', {
|
|
25210
|
+
staticClass: "node-form-item"
|
|
25211
|
+
}, [_c('a-divider', {
|
|
25212
|
+
attrs: {
|
|
25213
|
+
"orientation": "left"
|
|
25214
|
+
}
|
|
25215
|
+
}, [_vm._v("自定义动作名称")]), _c('a-row', {
|
|
25216
|
+
staticStyle: {
|
|
25217
|
+
"display": "flex",
|
|
25218
|
+
"align-items": "center",
|
|
25219
|
+
"margin-bottom": "5px"
|
|
25220
|
+
}
|
|
25221
|
+
}, [_c('a-col', {
|
|
25222
|
+
staticStyle: {
|
|
25223
|
+
"display": "flex",
|
|
25224
|
+
"align-items": "center"
|
|
25225
|
+
},
|
|
25226
|
+
attrs: {
|
|
25227
|
+
"span": 3
|
|
25228
|
+
}
|
|
25229
|
+
}, [_vm._v("执行:")]), _c('a-col', {
|
|
25230
|
+
staticStyle: {
|
|
25231
|
+
"display": "flex",
|
|
25232
|
+
"align-items": "center"
|
|
25233
|
+
},
|
|
25234
|
+
attrs: {
|
|
25235
|
+
"span": 6
|
|
25236
|
+
}
|
|
25237
|
+
}, [_c('a-input', {
|
|
25238
|
+
attrs: {
|
|
25239
|
+
"placeholder": "执行"
|
|
25240
|
+
},
|
|
25241
|
+
model: {
|
|
25242
|
+
value: _vm.nodeRef.data.other_options.custom_action.pass,
|
|
25243
|
+
callback: function callback($$v) {
|
|
25244
|
+
_vm.$set(_vm.nodeRef.data.other_options.custom_action, "pass", $$v);
|
|
25245
|
+
},
|
|
25246
|
+
expression: "nodeRef.data.other_options.custom_action.pass"
|
|
25247
|
+
}
|
|
25248
|
+
})], 1)], 1)], 1)], 1), _vm.nodeRef.data.other_options.assert ? _c('a-tab-pane', {
|
|
25249
|
+
key: "assert",
|
|
25250
|
+
attrs: {
|
|
25251
|
+
"tab": "断言"
|
|
25252
|
+
}
|
|
25253
|
+
}, [_c('div', [_vm.nodeRef.data.other_options.assert ? _c('assert-designer', {
|
|
25254
|
+
attrs: {
|
|
25255
|
+
"data": _vm.nodeRef.data.other_options.assert,
|
|
25256
|
+
"hide-action": false
|
|
25257
|
+
}
|
|
25258
|
+
}) : _vm._e()], 1)]) : _vm._e()], 1)], 1) : _vm._e()], 1);
|
|
25259
|
+
};
|
|
25260
|
+
var TaskNodevue_type_template_id_71cd8e14_scoped_true_staticRenderFns = [];
|
|
25261
|
+
|
|
25262
|
+
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/TaskNode.vue?vue&type=template&id=71cd8e14&scoped=true
|
|
25263
|
+
|
|
25264
|
+
// 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
|
|
25265
|
+
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); }
|
|
25266
|
+
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; }
|
|
25267
|
+
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); } }
|
|
25268
|
+
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); }); }; }
|
|
25269
|
+
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; } } }; }
|
|
25270
|
+
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); }
|
|
25271
|
+
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; }
|
|
25272
|
+
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; }
|
|
25273
|
+
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; }
|
|
25274
|
+
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; }
|
|
25275
|
+
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); }
|
|
25276
|
+
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); }
|
|
25277
|
+
|
|
25278
|
+
|
|
25279
|
+
|
|
25280
|
+
|
|
25281
|
+
|
|
25282
|
+
|
|
25283
|
+
/* harmony default export */ var TaskNodevue_type_script_lang_js = ({
|
|
25284
|
+
name: 'TaskNode',
|
|
25285
|
+
props: {
|
|
25286
|
+
node: designer_NodeItem,
|
|
25287
|
+
nodeHandler: Object
|
|
25288
|
+
},
|
|
25289
|
+
components: {
|
|
25290
|
+
AssertDesigner: AssertDesigner,
|
|
25291
|
+
RuntimeWorkflowActors: RuntimeWorkFlowActors,
|
|
25292
|
+
Item: Item
|
|
25293
|
+
},
|
|
25294
|
+
data: function data() {
|
|
25295
|
+
return {
|
|
25296
|
+
defaultContent: '请选择',
|
|
25297
|
+
editName: false,
|
|
25298
|
+
tabKey: 'actors',
|
|
25299
|
+
optionViewType: 'use_model',
|
|
25300
|
+
optionViewId: null,
|
|
25301
|
+
// cache 缓存用途,ISSUE: change事件不会返回之前的value
|
|
25302
|
+
optionViewList: [],
|
|
25303
|
+
optionFormsColumns: [{
|
|
25304
|
+
title: '表单属性',
|
|
25305
|
+
key: 'attrName',
|
|
25306
|
+
scopedSlots: {
|
|
25307
|
+
customRender: 'attrName'
|
|
25308
|
+
}
|
|
25309
|
+
}, {
|
|
25310
|
+
key: 'none',
|
|
25311
|
+
slots: {
|
|
25312
|
+
title: 'noneColumn'
|
|
25313
|
+
},
|
|
25314
|
+
scopedSlots: {
|
|
25315
|
+
customRender: 'none'
|
|
25316
|
+
}
|
|
25317
|
+
}, {
|
|
25318
|
+
key: 'readonly',
|
|
25319
|
+
slots: {
|
|
25320
|
+
title: 'readonlyColumn'
|
|
25321
|
+
},
|
|
25322
|
+
scopedSlots: {
|
|
25323
|
+
customRender: 'readonly'
|
|
25324
|
+
}
|
|
25325
|
+
}, {
|
|
25326
|
+
key: 'write',
|
|
25327
|
+
slots: {
|
|
25328
|
+
title: 'writeColumn'
|
|
25329
|
+
},
|
|
25330
|
+
scopedSlots: {
|
|
25331
|
+
customRender: 'write'
|
|
25332
|
+
}
|
|
25333
|
+
}, {
|
|
25334
|
+
title: '必填',
|
|
25335
|
+
dataIndex: 'required',
|
|
25336
|
+
key: 'required',
|
|
25337
|
+
scopedSlots: {
|
|
25338
|
+
customRender: 'required'
|
|
25339
|
+
}
|
|
25340
|
+
}],
|
|
25341
|
+
orgMap: null,
|
|
25342
|
+
orgData: [],
|
|
25343
|
+
roles: [],
|
|
25344
|
+
users: [],
|
|
25345
|
+
viewNameTimeout: null,
|
|
25346
|
+
viewAttrLoading: true,
|
|
25347
|
+
driverList: null,
|
|
25348
|
+
driverTimeout: null,
|
|
25349
|
+
optionFormsCache: {},
|
|
25350
|
+
formsColumnFilter: undefined,
|
|
25351
|
+
formsColumnAccess: 'all'
|
|
25352
|
+
};
|
|
25353
|
+
},
|
|
25354
|
+
// eslint-disable-next-line vue/no-setup-props-destructure
|
|
25355
|
+
setup: function setup(_ref) {
|
|
25356
|
+
var node = _ref.node,
|
|
25357
|
+
nodeHandler = _ref.nodeHandler;
|
|
25358
|
+
// icon;
|
|
25359
|
+
var icon = {
|
|
25360
|
+
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 "
|
|
25361
|
+
};
|
|
25362
|
+
|
|
25363
|
+
// drawer support
|
|
25364
|
+
var visibleDrawer = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["ref"])(false);
|
|
25365
|
+
|
|
25366
|
+
// -------------------------------------------------------------------------------------
|
|
25367
|
+
/**
|
|
25368
|
+
* @type {EadApi}
|
|
25369
|
+
*/
|
|
25370
|
+
// eslint-disable-next-line vue/no-setup-props-destructure
|
|
25371
|
+
var eadApi = nodeHandler.businessAdapter.eadApi;
|
|
25372
|
+
var defaultData = function defaultData() {
|
|
25373
|
+
return {
|
|
25374
|
+
eadCache: {
|
|
25375
|
+
workflow: {}
|
|
25376
|
+
},
|
|
25377
|
+
actor_config: {
|
|
25378
|
+
type: 'expression',
|
|
25379
|
+
// 发起人自己,sponsor
|
|
25380
|
+
expression: [
|
|
25381
|
+
// { type: 'uid', user: [] ,orgId: undefined, roleId: undefined, groupId: undefined}, // {sponsor} 发起人自己
|
|
25382
|
+
{
|
|
25383
|
+
type: 'org',
|
|
25384
|
+
user: [],
|
|
25385
|
+
orgId: undefined,
|
|
25386
|
+
roleId: undefined,
|
|
25387
|
+
groupId: undefined
|
|
25388
|
+
} // {sponsor_org} 发起人所在部门
|
|
25389
|
+
],
|
|
25390
|
+
optional: {
|
|
25391
|
+
enable: false,
|
|
25392
|
+
multi: false
|
|
25393
|
+
},
|
|
25394
|
+
// 自选配置
|
|
25395
|
+
check_mode: 'queue' // 多人审批模式,// 'orsign','sign'
|
|
25396
|
+
},
|
|
25397
|
+
option_view_id: '',
|
|
25398
|
+
option_forms: [],
|
|
25399
|
+
back_type: 'start',
|
|
25400
|
+
// start:退回发起者,before:退回上一步,assign:指定退回节点,custom:自主选择回退节点,bpmn:后续步骤
|
|
25401
|
+
back_node_id: '',
|
|
25402
|
+
custom_back_nodes: [],
|
|
25403
|
+
timeout_remind: {
|
|
25404
|
+
enable: false,
|
|
25405
|
+
outTime: {
|
|
25406
|
+
time: 1,
|
|
25407
|
+
unit: 'day'
|
|
25408
|
+
},
|
|
25409
|
+
// 超时时间, 单位 minute,hour,day,week,month,year
|
|
25410
|
+
outCycle: 'once',
|
|
25411
|
+
// 提醒周期,--once:一次,--day:每日 --week: 每周,--month:每月,==year:每年
|
|
25412
|
+
outDriver: undefined // 超时驱动,--null:default 默认消息通知,-- 自定义驱动名称
|
|
25413
|
+
},
|
|
25414
|
+
page_options: {
|
|
25415
|
+
allowInvolve: false,
|
|
25416
|
+
// 允许加签, -- true:允许, false: 不允许
|
|
25417
|
+
allowReassign: false,
|
|
25418
|
+
// 允许转办, -- true:允许, false: 不允许
|
|
25419
|
+
allowBack: false,
|
|
25420
|
+
// 允许退回, -- true:允许, false: 不允许
|
|
25421
|
+
allowEnd: false // 允许结束, -- true:允许, false: 不允许
|
|
25422
|
+
},
|
|
25423
|
+
other_options: {
|
|
25424
|
+
allowReceipt: false,
|
|
25425
|
+
// 是否回执,
|
|
25426
|
+
allowWithdraw: false,
|
|
25427
|
+
// 允许撤回: false
|
|
25428
|
+
approverIsNull: 'error',
|
|
25429
|
+
// 审批人为空时,next:自动下一步 ,error:提示错误
|
|
25430
|
+
resPath: null,
|
|
25431
|
+
// 视图资源地址
|
|
25432
|
+
redirectUri: null,
|
|
25433
|
+
// 消息地址
|
|
25434
|
+
assert: [],
|
|
25435
|
+
custom_action: {}
|
|
25436
|
+
},
|
|
25437
|
+
notice_template: null
|
|
25438
|
+
};
|
|
25439
|
+
};
|
|
25440
|
+
if (!node.data) {
|
|
25441
|
+
// eslint-disable-next-line vue/no-mutating-props
|
|
25442
|
+
node.data = defaultData();
|
|
25443
|
+
}
|
|
25444
|
+
|
|
25445
|
+
// 兼容更新
|
|
25446
|
+
if (!node.data.other_options.custom_action) {
|
|
25447
|
+
// eslint-disable-next-line vue/no-mutating-props
|
|
25448
|
+
node.data.other_options.custom_action = {};
|
|
25449
|
+
}
|
|
25450
|
+
if (!node.data.other_options.assert) {
|
|
25451
|
+
// eslint-disable-next-line vue/no-mutating-props
|
|
25452
|
+
node.data.other_options.assert = [];
|
|
25453
|
+
}
|
|
25454
|
+
|
|
25455
|
+
// ------------------------------------------------------------------------------------------------
|
|
25456
|
+
|
|
25457
|
+
// eslint-disable-next-line no-return-assign
|
|
25458
|
+
var showDrawer = function showDrawer() {
|
|
25459
|
+
return visibleDrawer.value = true;
|
|
25460
|
+
};
|
|
25461
|
+
var drawer = {
|
|
25462
|
+
visibleDrawer: visibleDrawer,
|
|
25463
|
+
showDrawer: showDrawer
|
|
25464
|
+
};
|
|
25465
|
+
|
|
25466
|
+
// popover support
|
|
25467
|
+
var visiblePopover = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["ref"])(false);
|
|
25468
|
+
// eslint-disable-next-line no-return-assign
|
|
25469
|
+
var hidePopover = function hidePopover() {
|
|
25470
|
+
return visiblePopover.value = false;
|
|
25471
|
+
};
|
|
25472
|
+
// eslint-disable-next-line no-return-assign
|
|
25473
|
+
var showPopover = function showPopover() {
|
|
25474
|
+
return visiblePopover.value = true;
|
|
25475
|
+
};
|
|
25476
|
+
var popover = {
|
|
25477
|
+
visiblePopover: visiblePopover,
|
|
25478
|
+
showPopover: showPopover,
|
|
25479
|
+
hidePopover: hidePopover
|
|
25480
|
+
};
|
|
25481
|
+
|
|
25482
|
+
// wrapNode
|
|
25483
|
+
var nodes = [{
|
|
25484
|
+
name: '条件分支',
|
|
25485
|
+
type: designer_NodeType.JUDGE_WRAP,
|
|
25486
|
+
icon: {
|
|
25487
|
+
type: 'apartment'
|
|
25488
|
+
},
|
|
25489
|
+
color: 'rgb(21, 188, 131)'
|
|
25490
|
+
}, {
|
|
25491
|
+
name: '并行分支',
|
|
25492
|
+
type: designer_NodeType.PARALLEL_WRAP,
|
|
25493
|
+
icon: {
|
|
25494
|
+
type: 'sliders'
|
|
25495
|
+
},
|
|
25496
|
+
color: 'rgb(113, 141, 255)'
|
|
25497
|
+
}];
|
|
25498
|
+
var wrapNode = function wrapNode(type) {
|
|
25499
|
+
nodeHandler.wrapNode(node.code, {
|
|
25500
|
+
type: type
|
|
25501
|
+
});
|
|
25502
|
+
};
|
|
25503
|
+
var wrapNodeR = {
|
|
25504
|
+
nodes: nodes,
|
|
25505
|
+
wrapNode: wrapNode
|
|
25506
|
+
};
|
|
25507
|
+
var noticeTemplateAttr = nodeHandler.isPreview ? null : nodeHandler.businessAdapter.eadApi.getCurrentViewSchema().model.attrs.find(function (attr) {
|
|
25508
|
+
return attr.name === 'notice_template';
|
|
25509
|
+
});
|
|
25510
|
+
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({
|
|
25511
|
+
icon: icon
|
|
25512
|
+
}, drawer), popover), wrapNodeR), {}, {
|
|
25513
|
+
nodeRef: node,
|
|
25514
|
+
eadApi: eadApi,
|
|
25515
|
+
noticeTemplateAttr: noticeTemplateAttr
|
|
25516
|
+
});
|
|
25517
|
+
},
|
|
25518
|
+
computed: {
|
|
25519
|
+
isSingle: function isSingle() {
|
|
25520
|
+
if (this.nodeRef.data.actor_config.type === 'expression') {
|
|
25521
|
+
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;
|
|
25522
|
+
}
|
|
25523
|
+
if (this.nodeRef.data.actor_config.type === 'sponsor') {
|
|
25524
|
+
return true;
|
|
25525
|
+
}
|
|
25526
|
+
return false;
|
|
25527
|
+
},
|
|
25528
|
+
availableBackStep: function availableBackStep() {
|
|
25529
|
+
var availableBackStep = this.nodeHandler.businessAdapter.getAvailableBackStep(this.node.code).map(function (node) {
|
|
25530
|
+
return {
|
|
25531
|
+
value: node.code,
|
|
25532
|
+
label: node.name
|
|
25533
|
+
};
|
|
25534
|
+
});
|
|
25535
|
+
// eslint-disable-next-line vue/no-mutating-props,vue/no-side-effects-in-computed-properties
|
|
25536
|
+
if (availableBackStep.length) {
|
|
25537
|
+
// eslint-disable-next-line vue/no-mutating-props,vue/no-side-effects-in-computed-properties
|
|
25538
|
+
this.node.data.back_node_id = availableBackStep[0].value;
|
|
25539
|
+
// eslint-disable-next-line vue/no-mutating-props,vue/no-side-effects-in-computed-properties
|
|
25540
|
+
this.node.data.custom_back_nodes = availableBackStep.map(function (o) {
|
|
25541
|
+
return o.value;
|
|
25542
|
+
});
|
|
25543
|
+
}
|
|
25544
|
+
return availableBackStep;
|
|
25545
|
+
},
|
|
25546
|
+
'nodeContent': function nodeContent() {
|
|
25547
|
+
var _this = this;
|
|
25548
|
+
if (this.nodeHandler.isPreview) {
|
|
25549
|
+
var _this$nodeHandler, _this$nodeHandler2, _this$nodeHandler4;
|
|
25550
|
+
var html = '';
|
|
25551
|
+
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) {
|
|
25552
|
+
var _this$nodeHandler3;
|
|
25553
|
+
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;
|
|
25554
|
+
actors.forEach(function (actor) {
|
|
25555
|
+
if (html) {
|
|
25556
|
+
html += '、';
|
|
25557
|
+
}
|
|
25558
|
+
html += "<span class=\"actor ".concat(actor.status, "\">").concat(actor.operator.name, "</span>");
|
|
25559
|
+
});
|
|
25560
|
+
if (!html) {
|
|
25561
|
+
html += ' ';
|
|
25562
|
+
}
|
|
25563
|
+
}
|
|
25564
|
+
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) {
|
|
25565
|
+
if (html && html !== ' ') {
|
|
25566
|
+
html += '、';
|
|
25567
|
+
}
|
|
25568
|
+
html += "<span class=\"actor pending\">".concat(this.eadApi.getCurrentUserName(), "</span>");
|
|
25569
|
+
}
|
|
25570
|
+
return html || this.nodeRef.content;
|
|
25571
|
+
}
|
|
25572
|
+
var actorConfig = this.node.data.actor_config;
|
|
25573
|
+
var content = '';
|
|
25574
|
+
if (!this.orgMap || !this.roles || !this.users) {
|
|
25575
|
+
return content;
|
|
25576
|
+
}
|
|
25577
|
+
if (actorConfig.type === 'expression') {
|
|
25578
|
+
var expression = actorConfig.expression;
|
|
25579
|
+
if (expression.length) {
|
|
25580
|
+
if (expression[0].type === 'org') {
|
|
25581
|
+
if (expression[0].orgId) {
|
|
25582
|
+
if (this.orgMap.has(expression[0].orgId)) {
|
|
25583
|
+
content = content += content ? '、' + this.orgMap.get(expression[0].orgId).org_name : this.orgMap.get(expression[0].orgId).org_name;
|
|
25584
|
+
} else {
|
|
25585
|
+
var _this$businessOrgData;
|
|
25586
|
+
var title = (_this$businessOrgData = this.businessOrgData.children.find(function (org0) {
|
|
25587
|
+
return org0.value === expression[0].orgId;
|
|
25588
|
+
})) === null || _this$businessOrgData === void 0 ? void 0 : _this$businessOrgData.title;
|
|
25589
|
+
content = content += content ? '、' + title : title;
|
|
25590
|
+
}
|
|
25591
|
+
}
|
|
25592
|
+
if (expression[0].roleId) {
|
|
25593
|
+
content = content += content ? '-' + this.roles.find(function (role) {
|
|
25594
|
+
return role.value === expression[0].roleId;
|
|
25595
|
+
}).label : this.roles.find(function (role) {
|
|
25596
|
+
return role.value === expression[0].roleId;
|
|
25597
|
+
}).label;
|
|
25598
|
+
}
|
|
25599
|
+
}
|
|
25600
|
+
if (expression[0].type === 'uid') {
|
|
25601
|
+
var busUser = this.businessUserData.map(function (user) {
|
|
25602
|
+
return user.value;
|
|
25603
|
+
});
|
|
25604
|
+
content = expression[0].user.map(function (item) {
|
|
25605
|
+
var label = busUser.includes(item) ? _this.businessUserData.find(function (user) {
|
|
25606
|
+
return user.value === item;
|
|
25607
|
+
}).label : _this.users.find(function (user) {
|
|
25608
|
+
return user.value === item;
|
|
25609
|
+
}).label;
|
|
25610
|
+
return label.substring(0, label.indexOf('('));
|
|
25611
|
+
}).join('、');
|
|
25612
|
+
}
|
|
25613
|
+
}
|
|
25614
|
+
if (expression.length > 1) {
|
|
25615
|
+
content += '...';
|
|
25616
|
+
}
|
|
25617
|
+
}
|
|
25618
|
+
if (actorConfig.type === 'sponsor') {
|
|
25619
|
+
content = '发起人自己';
|
|
25620
|
+
}
|
|
25621
|
+
// eslint-disable-next-line vue/no-side-effects-in-computed-properties
|
|
25622
|
+
this.nodeRef.content = content;
|
|
25623
|
+
return content;
|
|
25624
|
+
},
|
|
25625
|
+
'optionFormsRadio': function optionFormsRadio() {
|
|
25626
|
+
var optionForms = this.node.data.option_forms;
|
|
25627
|
+
if (!optionForms.length) {
|
|
25628
|
+
return '-';
|
|
25629
|
+
}
|
|
25630
|
+
var access = optionForms[0].access;
|
|
25631
|
+
if (optionForms.filter(function (value) {
|
|
25632
|
+
return value.access === access;
|
|
25633
|
+
}).length === optionForms.length) {
|
|
25634
|
+
return access;
|
|
25635
|
+
}
|
|
25636
|
+
return '-';
|
|
25637
|
+
},
|
|
25638
|
+
businessOrgData: function businessOrgData() {
|
|
25639
|
+
var children = [];
|
|
25640
|
+
var org = {
|
|
25641
|
+
title: '操作视图',
|
|
25642
|
+
// eslint-disable-next-line no-template-curly-in-string
|
|
25643
|
+
value: '${form_option_view}',
|
|
25644
|
+
// eslint-disable-next-line no-template-curly-in-string
|
|
25645
|
+
key: '${form_option_view}',
|
|
25646
|
+
disabled: true,
|
|
25647
|
+
children: children
|
|
25648
|
+
};
|
|
25649
|
+
if (!this.nodeRef.data.option_forms || !this.nodeRef.data.option_forms.length) {
|
|
25650
|
+
return org;
|
|
25651
|
+
}
|
|
25652
|
+
this.nodeRef.data.option_forms.forEach(function (attr) {
|
|
25653
|
+
children.push({
|
|
25654
|
+
title: attr.attrName,
|
|
25655
|
+
value: '${' + attr.attrCode + '}',
|
|
25656
|
+
key: '${' + attr.attrCode + '}',
|
|
25657
|
+
children: []
|
|
25658
|
+
});
|
|
25659
|
+
});
|
|
25660
|
+
return org;
|
|
25661
|
+
},
|
|
25662
|
+
businessUserData: function businessUserData() {
|
|
25663
|
+
var users = [];
|
|
25664
|
+
if (!this.nodeRef.data.option_forms || !this.nodeRef.data.option_forms.length) {
|
|
25665
|
+
return users;
|
|
25666
|
+
}
|
|
25667
|
+
this.nodeRef.data.option_forms.forEach(function (attr) {
|
|
25668
|
+
users.push({
|
|
25669
|
+
label: attr.attrName + '(操作视图)',
|
|
25670
|
+
title: attr.attrName + '(操作视图)',
|
|
25671
|
+
value: '${' + attr.attrCode + '}',
|
|
25672
|
+
key: attr.attrName + '-' + attr.attrCode + '(操作视图)',
|
|
25673
|
+
children: []
|
|
25674
|
+
});
|
|
25675
|
+
});
|
|
25676
|
+
return users;
|
|
25677
|
+
}
|
|
25678
|
+
},
|
|
25679
|
+
methods: {
|
|
25680
|
+
filterDataset: function filterDataset(filter, dataset, datasetKeys) {
|
|
25681
|
+
var _this2 = this;
|
|
25682
|
+
if (!filter) {
|
|
25683
|
+
return dataset.filter(function (o) {
|
|
25684
|
+
return _this2.formsColumnAccess === 'all' || _this2.formsColumnAccess.indexOf(o.access.toString()) !== -1;
|
|
25685
|
+
});
|
|
25686
|
+
}
|
|
25687
|
+
return dataset.filter(function (o) {
|
|
25688
|
+
var _iterator = TaskNodevue_type_script_lang_js_createForOfIteratorHelper(datasetKeys),
|
|
25689
|
+
_step;
|
|
25690
|
+
try {
|
|
25691
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
25692
|
+
var key = _step.value;
|
|
25693
|
+
if (o[key].toString().toLowerCase().includes(filter.toLowerCase())) {
|
|
25694
|
+
return true;
|
|
25695
|
+
}
|
|
25696
|
+
}
|
|
25697
|
+
} catch (err) {
|
|
25698
|
+
_iterator.e(err);
|
|
25699
|
+
} finally {
|
|
25700
|
+
_iterator.f();
|
|
25701
|
+
}
|
|
25702
|
+
return false;
|
|
25703
|
+
}).filter(function (o) {
|
|
25704
|
+
return _this2.formsColumnAccess === 'all' || _this2.formsColumnAccess.indexOf(o.access.toString()) !== -1;
|
|
25705
|
+
});
|
|
25706
|
+
},
|
|
25707
|
+
getClass: function getClass() {
|
|
25708
|
+
var _this$nodeHandler5, _this$nodeHandler6, _this$nodeHandler7;
|
|
25709
|
+
var classes = '';
|
|
25710
|
+
if (this.node.error) {
|
|
25711
|
+
classes += ' error';
|
|
25712
|
+
}
|
|
25713
|
+
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) {
|
|
25714
|
+
classes += ' ongoing';
|
|
25715
|
+
} 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) {
|
|
25716
|
+
classes += this.nodeHandler.runtimeData.caseNodes[this.node.code].status;
|
|
25717
|
+
}
|
|
25718
|
+
return classes;
|
|
25719
|
+
},
|
|
25720
|
+
filterUser: function filterUser(input, _ref2) {
|
|
25721
|
+
var data = _ref2.data;
|
|
25722
|
+
return data.key.indexOf(input) !== -1;
|
|
25723
|
+
},
|
|
25724
|
+
/**
|
|
25725
|
+
*
|
|
25726
|
+
* @param node {NodeItem}
|
|
25727
|
+
*/
|
|
25728
|
+
loadCache: function loadCache(node) {
|
|
25729
|
+
var _node$data$eadCache$w, _node$data, _node$data$eadCache$w2, _node$data2, _node$data$eadCache$w3, _node$data3;
|
|
25730
|
+
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;
|
|
25731
|
+
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;
|
|
25732
|
+
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;
|
|
25733
|
+
},
|
|
25734
|
+
handleDriverChange: function handleDriverChange(a, s) {},
|
|
25735
|
+
handleDriverSearch: function handleDriverSearch(s) {
|
|
25736
|
+
var _this3 = this;
|
|
25737
|
+
if (this.driverTimeout) {
|
|
25738
|
+
clearTimeout(this.driverTimeout);
|
|
25739
|
+
this.driverTimeout = null;
|
|
25740
|
+
}
|
|
25741
|
+
var go = function go() {
|
|
25742
|
+
if (!s) {
|
|
25743
|
+
return;
|
|
25744
|
+
}
|
|
25745
|
+
_this3.eadApi.getDrivers(s).then(function (value) {
|
|
25746
|
+
_this3.driverList = value.map(function (item) {
|
|
25747
|
+
return {
|
|
25748
|
+
value: item.driver_id,
|
|
25749
|
+
label: item.driver_name,
|
|
25750
|
+
title: item.driver_name
|
|
25751
|
+
};
|
|
25752
|
+
});
|
|
25753
|
+
_this3.nodeRef.data.eadCache.workflow.driverList = _this3.driverList;
|
|
25754
|
+
});
|
|
25755
|
+
};
|
|
25756
|
+
this.driverTimeout = setTimeout(go, 300);
|
|
25757
|
+
},
|
|
25758
|
+
hasExpression: function hasExpression(item) {
|
|
25759
|
+
if (item.type === 'uid') {
|
|
25760
|
+
return item.user && item.user.length;
|
|
25761
|
+
}
|
|
25762
|
+
if (item.type === 'org') {
|
|
25763
|
+
return item.orgId || item.roleId || item.groupId;
|
|
25764
|
+
}
|
|
25765
|
+
return false;
|
|
25766
|
+
},
|
|
25767
|
+
'handleItemChange': function handleItemChange(d, b) {},
|
|
25768
|
+
'optionFormsRadioChange': function optionFormsRadioChange(type) {
|
|
25769
|
+
// eslint-disable-next-line no-return-assign
|
|
25770
|
+
this.node.data.option_forms.forEach(function (value) {
|
|
25771
|
+
return value.access = type;
|
|
25772
|
+
});
|
|
25773
|
+
},
|
|
25774
|
+
optionViewChange: function optionViewChange(id) {
|
|
25775
|
+
var _this4 = this;
|
|
25776
|
+
return TaskNodevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/TaskNodevue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
|
|
25777
|
+
return TaskNodevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
25778
|
+
while (1) switch (_context.prev = _context.next) {
|
|
25779
|
+
case 0:
|
|
25780
|
+
_this4.formsColumnFilter = undefined;
|
|
25781
|
+
if (_this4.optionViewId) {
|
|
25782
|
+
_this4.optionFormsCache[_this4.optionViewId] = _this4.nodeRef.data.option_forms;
|
|
25783
|
+
}
|
|
25784
|
+
_this4.optionViewId = id;
|
|
25785
|
+
_this4.nodeRef.data.eadCache.workflow.optionViewList = [_this4.optionViewList.find(function (item) {
|
|
25786
|
+
return item.value === id;
|
|
25787
|
+
})];
|
|
25788
|
+
_this4.viewAttrLoading = true;
|
|
25789
|
+
_context.next = 7;
|
|
25790
|
+
return _this4.eadApi.getViewAttrs(id);
|
|
25791
|
+
case 7:
|
|
25792
|
+
_this4.nodeRef.data.option_forms = _context.sent.filter(function (attr) {
|
|
25793
|
+
return attr.type === 'value' && attr.access !== 'none';
|
|
25794
|
+
}).filter(function (attr) {
|
|
25795
|
+
return attr.key_type !== 'primary';
|
|
25796
|
+
}).map(function (attr) {
|
|
25797
|
+
var _this4$optionFormsCac, _cache$access, _ref3;
|
|
25798
|
+
var cache = (_this4$optionFormsCac = _this4.optionFormsCache[id]) === null || _this4$optionFormsCac === void 0 ? void 0 : _this4$optionFormsCac.find(function (attr0) {
|
|
25799
|
+
return attr0.attrId === attr.id;
|
|
25800
|
+
});
|
|
25801
|
+
var access = (_cache$access = cache === null || cache === void 0 ? void 0 : cache.access) !== null && _cache$access !== void 0 ? _cache$access : 'none';
|
|
25802
|
+
attr.required = (_ref3 = (cache === null || cache === void 0 ? void 0 : cache.access) === 'write') !== null && _ref3 !== void 0 ? _ref3 : attr.required;
|
|
25803
|
+
return {
|
|
25804
|
+
attrId: attr.id,
|
|
25805
|
+
attrName: attr.alias,
|
|
25806
|
+
attrCode: attr.name,
|
|
25807
|
+
access: access,
|
|
25808
|
+
required: attr.required
|
|
25809
|
+
};
|
|
25810
|
+
});
|
|
25811
|
+
_this4.$nextTick(function () {
|
|
25812
|
+
_this4.viewAttrLoading = false;
|
|
25813
|
+
});
|
|
25814
|
+
case 9:
|
|
25815
|
+
case "end":
|
|
25816
|
+
return _context.stop();
|
|
25817
|
+
}
|
|
25818
|
+
}, _callee);
|
|
25819
|
+
}))();
|
|
25820
|
+
},
|
|
25821
|
+
'optionViewSearch': function optionViewSearch(s) {
|
|
25822
|
+
var _this5 = this;
|
|
25823
|
+
if (this.viewNameTimeout) {
|
|
25824
|
+
clearTimeout(this.viewNameTimeout);
|
|
25825
|
+
this.viewNameTimeout = null;
|
|
25826
|
+
}
|
|
25827
|
+
var go = function go() {
|
|
25828
|
+
if (!s) {
|
|
25829
|
+
return;
|
|
25830
|
+
}
|
|
25831
|
+
_this5.eadApi.getViews(s).then(function (value) {
|
|
25832
|
+
_this5.optionViewList = value.map(function (item) {
|
|
25833
|
+
return {
|
|
25834
|
+
value: item.view_id,
|
|
25835
|
+
text: item.view_name
|
|
25836
|
+
};
|
|
25837
|
+
});
|
|
25838
|
+
});
|
|
25839
|
+
};
|
|
25840
|
+
this.viewNameTimeout = setTimeout(go, 300);
|
|
25841
|
+
},
|
|
25842
|
+
'changeViewType': function changeViewType(_ref4) {
|
|
25843
|
+
var _this6 = this;
|
|
25844
|
+
return TaskNodevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/TaskNodevue_type_script_lang_js_regeneratorRuntime().mark(function _callee2() {
|
|
25845
|
+
var target, type;
|
|
25846
|
+
return TaskNodevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
25847
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
25848
|
+
case 0:
|
|
25849
|
+
target = _ref4.target;
|
|
25850
|
+
type = target.value;
|
|
25851
|
+
_this6.nodeRef.data.eadCache.workflow.optionViewType = type;
|
|
25852
|
+
if (type === 'custom') {
|
|
25853
|
+
_this6.optionFormsCache[_this6.eadApi.getValues().option_view_id] = _this6.nodeRef.data.option_forms;
|
|
25854
|
+
}
|
|
25855
|
+
if (!(type === 'use_model')) {
|
|
25856
|
+
_context2.next = 13;
|
|
25857
|
+
break;
|
|
25858
|
+
}
|
|
25859
|
+
if (_this6.optionViewId) {
|
|
25860
|
+
_this6.optionFormsCache[_this6.optionViewId] = _this6.nodeRef.data.option_forms;
|
|
25861
|
+
}
|
|
25862
|
+
_this6.optionViewId = null;
|
|
25863
|
+
_this6.nodeRef.data.option_view_id = undefined;
|
|
25864
|
+
_this6.viewAttrLoading = true;
|
|
25865
|
+
_context2.next = 11;
|
|
25866
|
+
return _this6.eadApi.getViewAttrs(_this6.eadApi.getValues().option_view_id);
|
|
25867
|
+
case 11:
|
|
25868
|
+
_this6.nodeRef.data.option_forms = _context2.sent.filter(function (attr) {
|
|
25869
|
+
return attr.type === 'value' && attr.access !== 'none';
|
|
25870
|
+
}).filter(function (attr) {
|
|
25871
|
+
return attr.key_type !== 'primary';
|
|
25872
|
+
}).map(function (attr) {
|
|
25873
|
+
var _this6$optionFormsCac, _cache$access2, _ref5;
|
|
25874
|
+
var cache = (_this6$optionFormsCac = _this6.optionFormsCache[_this6.eadApi.getValues().option_view_id]) === null || _this6$optionFormsCac === void 0 ? void 0 : _this6$optionFormsCac.find(function (attr0) {
|
|
25875
|
+
return attr0.attrId === attr.id;
|
|
25876
|
+
});
|
|
25877
|
+
var access = (_cache$access2 = cache === null || cache === void 0 ? void 0 : cache.access) !== null && _cache$access2 !== void 0 ? _cache$access2 : 'none';
|
|
25878
|
+
attr.required = (_ref5 = (cache === null || cache === void 0 ? void 0 : cache.access) === 'write') !== null && _ref5 !== void 0 ? _ref5 : attr.required;
|
|
25879
|
+
return {
|
|
25880
|
+
attrId: attr.id,
|
|
25881
|
+
attrName: attr.alias,
|
|
25882
|
+
attrCode: attr.name,
|
|
25883
|
+
access: access,
|
|
25884
|
+
required: attr.required
|
|
25885
|
+
};
|
|
25886
|
+
});
|
|
25887
|
+
_this6.viewAttrLoading = false;
|
|
25888
|
+
case 13:
|
|
25889
|
+
case "end":
|
|
25890
|
+
return _context2.stop();
|
|
25891
|
+
}
|
|
25892
|
+
}, _callee2);
|
|
25893
|
+
}))();
|
|
25894
|
+
},
|
|
25895
|
+
hideDrawer: function hideDrawer() {
|
|
25896
|
+
var _this7 = this;
|
|
25897
|
+
var vaildR = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["ref"])(true);
|
|
25898
|
+
this.$refs.nameForm.validate(function (valid) {
|
|
25899
|
+
if (!valid) {
|
|
25900
|
+
vaildR.value = false;
|
|
25901
|
+
_this7.$message.error('节点名称校验不通过');
|
|
25902
|
+
}
|
|
25903
|
+
});
|
|
25904
|
+
|
|
25905
|
+
// hide 即保存
|
|
25906
|
+
if (vaildR.value) {
|
|
25907
|
+
this.visibleDrawer = false;
|
|
25908
|
+
}
|
|
25909
|
+
},
|
|
25910
|
+
changeTags: function changeTags(a) {
|
|
25911
|
+
// console.log(a)
|
|
25912
|
+
},
|
|
25913
|
+
showEditName: function showEditName() {
|
|
25914
|
+
var _this8 = this;
|
|
25915
|
+
this.editName = true;
|
|
25916
|
+
Object(external_commonjs_vue_commonjs2_vue_root_Vue_["nextTick"])(function () {
|
|
25917
|
+
_this8.$refs.nameInput.focus();
|
|
25918
|
+
});
|
|
25919
|
+
},
|
|
25920
|
+
close: function close() {
|
|
25921
|
+
this.nodeHandler.deleteNode(this.node.code);
|
|
25922
|
+
},
|
|
25923
|
+
click: function click() {
|
|
25924
|
+
if (this.nodeHandler.isPreview) {
|
|
25925
|
+
return;
|
|
25926
|
+
}
|
|
25927
|
+
this.nodeRef.error = null;
|
|
25928
|
+
this.showDrawer();
|
|
25929
|
+
},
|
|
25930
|
+
more: function more() {
|
|
25931
|
+
this.showPopover();
|
|
25932
|
+
}
|
|
25933
|
+
},
|
|
25934
|
+
created: function created() {
|
|
25935
|
+
this.loadCache(this.nodeRef);
|
|
25936
|
+
},
|
|
25937
|
+
mounted: function () {
|
|
25938
|
+
var _mounted = TaskNodevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/TaskNodevue_type_script_lang_js_regeneratorRuntime().mark(function _callee3() {
|
|
25939
|
+
var _this$nodeRef$data$op;
|
|
25940
|
+
var _yield$this$nodeHandl, viewAttrs, orgMap, orgData, roles, users;
|
|
25941
|
+
return TaskNodevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
25942
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
25943
|
+
case 0:
|
|
25944
|
+
_context3.next = 2;
|
|
25945
|
+
return this.nodeHandler.businessAdapter.getActorData();
|
|
25946
|
+
case 2:
|
|
25947
|
+
_yield$this$nodeHandl = _context3.sent;
|
|
25948
|
+
viewAttrs = _yield$this$nodeHandl.viewAttrs;
|
|
25949
|
+
orgMap = _yield$this$nodeHandl.orgMap;
|
|
25950
|
+
orgData = _yield$this$nodeHandl.orgData;
|
|
25951
|
+
roles = _yield$this$nodeHandl.roles;
|
|
25952
|
+
users = _yield$this$nodeHandl.users;
|
|
25953
|
+
if (!((_this$nodeRef$data$op = this.nodeRef.data.option_forms) !== null && _this$nodeRef$data$op !== void 0 && _this$nodeRef$data$op.length)) {
|
|
25954
|
+
this.nodeRef.data.option_forms = viewAttrs.filter(function (attr) {
|
|
25955
|
+
return attr.type === 'value' && attr.access !== 'none';
|
|
25956
|
+
}).filter(function (attr) {
|
|
25957
|
+
return attr.key_type !== 'primary';
|
|
25958
|
+
}).map(function (attr) {
|
|
25959
|
+
return {
|
|
25960
|
+
attrId: attr.id,
|
|
25961
|
+
attrName: attr.alias,
|
|
25962
|
+
attrCode: attr.name,
|
|
25963
|
+
access: 'none',
|
|
25964
|
+
required: attr.required
|
|
25965
|
+
};
|
|
25966
|
+
});
|
|
25967
|
+
}
|
|
25968
|
+
this.viewAttrLoading = false;
|
|
25969
|
+
this.orgMap = orgMap;
|
|
25970
|
+
this.orgData = orgData;
|
|
25971
|
+
this.roles = roles;
|
|
25972
|
+
this.users = users;
|
|
25973
|
+
case 14:
|
|
25974
|
+
case "end":
|
|
25975
|
+
return _context3.stop();
|
|
25976
|
+
}
|
|
25977
|
+
}, _callee3, this);
|
|
25978
|
+
}));
|
|
25979
|
+
function mounted() {
|
|
25980
|
+
return _mounted.apply(this, arguments);
|
|
25981
|
+
}
|
|
25982
|
+
return mounted;
|
|
25983
|
+
}()
|
|
25984
|
+
});
|
|
25985
|
+
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/TaskNode.vue?vue&type=script&lang=js
|
|
25986
|
+
/* harmony default export */ var node_TaskNodevue_type_script_lang_js = (TaskNodevue_type_script_lang_js);
|
|
25987
|
+
// EXTERNAL MODULE: ../src/web/components/forms/flow/designer/node/TaskNode.vue?vue&type=style&index=0&id=71cd8e14&prod&lang=less&scoped=true
|
|
25988
|
+
var TaskNodevue_type_style_index_0_id_71cd8e14_prod_lang_less_scoped_true = __webpack_require__("7a33");
|
|
25989
|
+
|
|
25990
|
+
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/TaskNode.vue
|
|
25991
|
+
|
|
25992
|
+
|
|
25993
|
+
|
|
25994
|
+
|
|
25995
|
+
|
|
25996
|
+
|
|
25997
|
+
/* normalize component */
|
|
25998
|
+
|
|
25999
|
+
var TaskNode_component = normalizeComponent(
|
|
26000
|
+
node_TaskNodevue_type_script_lang_js,
|
|
26001
|
+
TaskNodevue_type_template_id_71cd8e14_scoped_true_render,
|
|
26002
|
+
TaskNodevue_type_template_id_71cd8e14_scoped_true_staticRenderFns,
|
|
26003
|
+
false,
|
|
26004
|
+
null,
|
|
26005
|
+
"71cd8e14",
|
|
26006
|
+
null
|
|
26007
|
+
|
|
26008
|
+
)
|
|
26009
|
+
|
|
26010
|
+
/* harmony default export */ var TaskNode = (TaskNode_component.exports);
|
|
26011
|
+
// 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
|
|
26012
|
+
var TriggerNodevue_type_template_id_7af4eb1a_scoped_true_render = function render() {
|
|
26013
|
+
var _vm = this,
|
|
26014
|
+
_c = _vm._self._c;
|
|
26015
|
+
return _c('div', [_c('div', {
|
|
26016
|
+
staticClass: "node",
|
|
26017
|
+
class: _vm.getClass(),
|
|
26018
|
+
on: {
|
|
26019
|
+
"click": _vm.click
|
|
26020
|
+
}
|
|
26021
|
+
}, [_c('div', {
|
|
26022
|
+
staticClass: "title"
|
|
26023
|
+
}, [_c('span', [_c('a-icon', {
|
|
26024
|
+
attrs: {
|
|
26025
|
+
"type": "control"
|
|
26026
|
+
}
|
|
26027
|
+
})], 1), _c('span', [_vm._v(" " + _vm._s(_vm.node.name))]), !_vm.nodeHandler.isPreview ? _c('span', {
|
|
23964
26028
|
staticClass: "title-right"
|
|
23965
26029
|
}, [_c('a-icon', {
|
|
23966
26030
|
staticClass: "close",
|
|
@@ -24956,6 +27020,7 @@ var DelayNode_component = normalizeComponent(
|
|
|
24956
27020
|
|
|
24957
27021
|
|
|
24958
27022
|
|
|
27023
|
+
|
|
24959
27024
|
/* harmony default export */ var designer_node = ({
|
|
24960
27025
|
EndNode: EndNode,
|
|
24961
27026
|
StartNode: StartNode,
|
|
@@ -24965,11 +27030,12 @@ var DelayNode_component = normalizeComponent(
|
|
|
24965
27030
|
JudgeNode: JudgeNode,
|
|
24966
27031
|
JudgeWrapNode: JudgeWrapNode,
|
|
24967
27032
|
CCNode: CCNode,
|
|
27033
|
+
TaskNode: TaskNode,
|
|
24968
27034
|
TriggerNode: TriggerNode,
|
|
24969
27035
|
DelayNode: DelayNode
|
|
24970
27036
|
});
|
|
24971
|
-
// 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=
|
|
24972
|
-
var
|
|
27037
|
+
// 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
|
|
27038
|
+
var AddNodevue_type_template_id_2139642c_scoped_true_render = function render() {
|
|
24973
27039
|
var _vm = this,
|
|
24974
27040
|
_c = _vm._self._c;
|
|
24975
27041
|
return _c('div', {
|
|
@@ -25040,9 +27106,9 @@ var AddNodevue_type_template_id_14eb0ec0_scoped_true_render = function render()
|
|
|
25040
27106
|
}
|
|
25041
27107
|
}) : _vm._e()], 1)], 1)])]);
|
|
25042
27108
|
};
|
|
25043
|
-
var
|
|
27109
|
+
var AddNodevue_type_template_id_2139642c_scoped_true_staticRenderFns = [];
|
|
25044
27110
|
|
|
25045
|
-
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/AddNode.vue?vue&type=template&id=
|
|
27111
|
+
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/AddNode.vue?vue&type=template&id=2139642c&scoped=true
|
|
25046
27112
|
|
|
25047
27113
|
// 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
|
|
25048
27114
|
|
|
@@ -25090,6 +27156,13 @@ var AddNodevue_type_template_id_14eb0ec0_scoped_true_staticRenderFns = [];
|
|
|
25090
27156
|
type: 'mail'
|
|
25091
27157
|
},
|
|
25092
27158
|
color: 'rgb(50, 150, 250)'
|
|
27159
|
+
}, {
|
|
27160
|
+
name: '执行人',
|
|
27161
|
+
type: designer_NodeType.TASK,
|
|
27162
|
+
icon: {
|
|
27163
|
+
type: 'tool'
|
|
27164
|
+
},
|
|
27165
|
+
color: 'rgb(130, 59, 197)'
|
|
25093
27166
|
}, {
|
|
25094
27167
|
name: '触发器',
|
|
25095
27168
|
type: designer_NodeType.TRIGGER,
|
|
@@ -25097,15 +27170,15 @@ var AddNodevue_type_template_id_14eb0ec0_scoped_true_staticRenderFns = [];
|
|
|
25097
27170
|
type: 'control'
|
|
25098
27171
|
},
|
|
25099
27172
|
color: 'rgb(53, 184, 129)'
|
|
25100
|
-
},
|
|
25101
|
-
|
|
25102
|
-
|
|
25103
|
-
|
|
25104
|
-
|
|
25105
|
-
|
|
25106
|
-
|
|
25107
|
-
|
|
25108
|
-
|
|
27173
|
+
},
|
|
27174
|
+
// {
|
|
27175
|
+
// disabled: true,
|
|
27176
|
+
// name: '延迟等待',
|
|
27177
|
+
// type: NodeType.DELAY,
|
|
27178
|
+
// icon: { type: 'clock-circle' },
|
|
27179
|
+
// color: 'rgb(219,86,69)'
|
|
27180
|
+
// },
|
|
27181
|
+
{
|
|
25109
27182
|
name: '条件分支',
|
|
25110
27183
|
type: designer_NodeType.JUDGE_WRAP,
|
|
25111
27184
|
icon: {
|
|
@@ -25153,11 +27226,11 @@ var AddNodevue_type_custom_index_0_blockType_a_icon_default = /*#__PURE__*/__web
|
|
|
25153
27226
|
|
|
25154
27227
|
var AddNode_component = normalizeComponent(
|
|
25155
27228
|
designer_AddNodevue_type_script_lang_js,
|
|
25156
|
-
|
|
25157
|
-
|
|
27229
|
+
AddNodevue_type_template_id_2139642c_scoped_true_render,
|
|
27230
|
+
AddNodevue_type_template_id_2139642c_scoped_true_staticRenderFns,
|
|
25158
27231
|
false,
|
|
25159
27232
|
null,
|
|
25160
|
-
"
|
|
27233
|
+
"2139642c",
|
|
25161
27234
|
null
|
|
25162
27235
|
|
|
25163
27236
|
)
|
|
@@ -25207,7 +27280,7 @@ function NodeWrapvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Nod
|
|
|
25207
27280
|
return uiStyle[o] = 'start-node-box';
|
|
25208
27281
|
});
|
|
25209
27282
|
// eslint-disable-next-line no-return-assign
|
|
25210
|
-
[designer_NodeType.CHECK, designer_NodeType.CC, designer_NodeType.PARALLEL, designer_NodeType.JUDGE, designer_NodeType.TRIGGER, designer_NodeType.DELAY].forEach(function (o) {
|
|
27283
|
+
[designer_NodeType.CHECK, designer_NodeType.CC, designer_NodeType.TASK, designer_NodeType.PARALLEL, designer_NodeType.JUDGE, designer_NodeType.TRIGGER, designer_NodeType.DELAY].forEach(function (o) {
|
|
25211
27284
|
return uiStyle[o] = 'node-box';
|
|
25212
27285
|
});
|
|
25213
27286
|
// eslint-disable-next-line no-return-assign
|
|
@@ -25235,11 +27308,11 @@ function NodeWrapvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Nod
|
|
|
25235
27308
|
|
|
25236
27309
|
var NodeWrap_component = normalizeComponent(
|
|
25237
27310
|
designer_NodeWrapvue_type_script_lang_js,
|
|
25238
|
-
|
|
25239
|
-
|
|
27311
|
+
NodeWrapvue_type_template_id_65e78fbf_scoped_true_render,
|
|
27312
|
+
NodeWrapvue_type_template_id_65e78fbf_scoped_true_staticRenderFns,
|
|
25240
27313
|
false,
|
|
25241
27314
|
null,
|
|
25242
|
-
"
|
|
27315
|
+
"65e78fbf",
|
|
25243
27316
|
null
|
|
25244
27317
|
|
|
25245
27318
|
)
|
|
@@ -25658,9 +27731,8 @@ var EadBusiness_EadBusiness = /*#__PURE__*/function (_BusinessAdapter) {
|
|
|
25658
27731
|
}
|
|
25659
27732
|
}
|
|
25660
27733
|
}
|
|
25661
|
-
|
|
25662
27734
|
// 表单视图为自定义时,必须指定表单视图
|
|
25663
|
-
if ([designer_NodeType.START, designer_NodeType.CHECK, designer_NodeType.CC].includes(node.type)) {
|
|
27735
|
+
if ([designer_NodeType.START, designer_NodeType.CHECK, designer_NodeType.CC, designer_NodeType.TASK].includes(node.type)) {
|
|
25664
27736
|
if (node.data.eadCache.workflow.optionViewType === 'custom') {
|
|
25665
27737
|
if (!node.data.option_view_id) {
|
|
25666
27738
|
node.error += '表单视图为自主选择时,必须指定表单视图;';
|
|
@@ -25670,7 +27742,7 @@ var EadBusiness_EadBusiness = /*#__PURE__*/function (_BusinessAdapter) {
|
|
|
25670
27742
|
}
|
|
25671
27743
|
|
|
25672
27744
|
// 执行人策略为表达式时,表达式必须有值
|
|
25673
|
-
if ([designer_NodeType.CHECK, designer_NodeType.CC].includes(node.type)) {
|
|
27745
|
+
if ([designer_NodeType.CHECK, designer_NodeType.CC, designer_NodeType.TASK].includes(node.type)) {
|
|
25674
27746
|
if (node.data.actor_config.type === 'expression') {
|
|
25675
27747
|
if (!node.data.actor_config.expression.length) {
|
|
25676
27748
|
node.error += '执行人策略为表达式时,表达式必须有值;';
|
|
@@ -25909,7 +27981,7 @@ var EadBusiness_EadBusiness = /*#__PURE__*/function (_BusinessAdapter) {
|
|
|
25909
27981
|
}
|
|
25910
27982
|
}
|
|
25911
27983
|
return nodes.filter(function (node) {
|
|
25912
|
-
return [designer_NodeType.START, designer_NodeType.CHECK].includes(node.type);
|
|
27984
|
+
return [designer_NodeType.START, designer_NodeType.CHECK, designer_NodeType.TASK].includes(node.type);
|
|
25913
27985
|
});
|
|
25914
27986
|
}
|
|
25915
27987
|
}], [{
|
|
@@ -25948,6 +28020,7 @@ function EadApi_classExtractFieldDescriptor(receiver, privateMap, action) { if (
|
|
|
25948
28020
|
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; } }
|
|
25949
28021
|
var _component = /*#__PURE__*/new WeakMap();
|
|
25950
28022
|
var _baseUrl = /*#__PURE__*/new WeakMap();
|
|
28023
|
+
var _workflowUrl = /*#__PURE__*/new WeakMap();
|
|
25951
28024
|
var EadApi = /*#__PURE__*/function () {
|
|
25952
28025
|
function EadApi(vueComponent) {
|
|
25953
28026
|
EadApi_classCallCheck(this, EadApi);
|
|
@@ -25959,8 +28032,13 @@ var EadApi = /*#__PURE__*/function () {
|
|
|
25959
28032
|
writable: true,
|
|
25960
28033
|
value: void 0
|
|
25961
28034
|
});
|
|
28035
|
+
EadApi_classPrivateFieldInitSpec(this, _workflowUrl, {
|
|
28036
|
+
writable: true,
|
|
28037
|
+
value: void 0
|
|
28038
|
+
});
|
|
25962
28039
|
EadApi_classPrivateFieldSet(this, _component, vueComponent);
|
|
25963
28040
|
EadApi_classPrivateFieldSet(this, _baseUrl, window.location.origin + '/ead');
|
|
28041
|
+
EadApi_classPrivateFieldSet(this, _workflowUrl, window.location.origin + '/workflow');
|
|
25964
28042
|
}
|
|
25965
28043
|
EadApi_createClass(EadApi, [{
|
|
25966
28044
|
key: "getComponent",
|
|
@@ -26017,11 +28095,11 @@ var EadApi = /*#__PURE__*/function () {
|
|
|
26017
28095
|
case 0:
|
|
26018
28096
|
_context.prev = 0;
|
|
26019
28097
|
action = EadApi_classPrivateFieldGet(this, _component).action;
|
|
26020
|
-
url = EadApi_classPrivateFieldGet(this, _component)
|
|
28098
|
+
url = EadApi_classPrivateFieldGet(this, _component).view.apiURL.replace(EadApi_classPrivateFieldGet(this, _component).view.apiBaseURL + '/', '');
|
|
26021
28099
|
key = action.key;
|
|
26022
28100
|
method = action.method;
|
|
26023
28101
|
_context.next = 7;
|
|
26024
|
-
return EadApi_classPrivateFieldGet(this, _component).$api[method.toLowerCase()]("
|
|
28102
|
+
return EadApi_classPrivateFieldGet(this, _component).$api[method.toLowerCase()]("".concat(url).concat(key ? "/".concat(key) : ''), EadApi_objectSpread({}, EadApi_classPrivateFieldGet(this, _component).actionModel));
|
|
26025
28103
|
case 7:
|
|
26026
28104
|
_yield$_classPrivateF = _context.sent;
|
|
26027
28105
|
data = _yield$_classPrivateF.data;
|
|
@@ -26083,57 +28161,61 @@ var EadApi = /*#__PURE__*/function () {
|
|
|
26083
28161
|
}
|
|
26084
28162
|
return getViewAttrs;
|
|
26085
28163
|
}()
|
|
28164
|
+
/**
|
|
28165
|
+
* 获取视图schema
|
|
28166
|
+
* @param viewId
|
|
28167
|
+
* @returns {Promise<*[]>}
|
|
28168
|
+
*/
|
|
26086
28169
|
}, {
|
|
26087
|
-
key: "
|
|
26088
|
-
value: function () {
|
|
26089
|
-
var
|
|
26090
|
-
var _yield$_classPrivateF4,
|
|
28170
|
+
key: "getViewSchema",
|
|
28171
|
+
value: (function () {
|
|
28172
|
+
var _getViewSchema = EadApi_asyncToGenerator( /*#__PURE__*/EadApi_regeneratorRuntime().mark(function _callee3(viewId) {
|
|
28173
|
+
var _yield$_classPrivateF4, data, _data2, message;
|
|
26091
28174
|
return EadApi_regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
26092
28175
|
while (1) switch (_context3.prev = _context3.next) {
|
|
26093
28176
|
case 0:
|
|
26094
28177
|
_context3.prev = 0;
|
|
26095
28178
|
_context3.next = 3;
|
|
26096
|
-
return EadApi_classPrivateFieldGet(this, _component).$api.get("".concat(EadApi_classPrivateFieldGet(this,
|
|
28179
|
+
return EadApi_classPrivateFieldGet(this, _component).$api.get("".concat(EadApi_classPrivateFieldGet(this, _workflowUrl), "/api/viewschema/").concat(viewId));
|
|
26097
28180
|
case 3:
|
|
26098
28181
|
_yield$_classPrivateF4 = _context3.sent;
|
|
26099
|
-
|
|
26100
|
-
|
|
26101
|
-
|
|
26102
|
-
|
|
26103
|
-
_context3.prev = 9;
|
|
28182
|
+
data = _yield$_classPrivateF4.data;
|
|
28183
|
+
return _context3.abrupt("return", data);
|
|
28184
|
+
case 8:
|
|
28185
|
+
_context3.prev = 8;
|
|
26104
28186
|
_context3.t0 = _context3["catch"](0);
|
|
26105
|
-
|
|
26106
|
-
message =
|
|
28187
|
+
_data2 = _context3.t0.response.data;
|
|
28188
|
+
message = _data2 && _data2.content || '系统错误请与管理员联系。';
|
|
26107
28189
|
this.$message.error(message);
|
|
26108
|
-
case
|
|
26109
|
-
_context3.prev =
|
|
26110
|
-
return _context3.finish(
|
|
26111
|
-
case
|
|
28190
|
+
case 13:
|
|
28191
|
+
_context3.prev = 13;
|
|
28192
|
+
return _context3.finish(13);
|
|
28193
|
+
case 15:
|
|
26112
28194
|
case "end":
|
|
26113
28195
|
return _context3.stop();
|
|
26114
28196
|
}
|
|
26115
|
-
}, _callee3, this, [[0,
|
|
28197
|
+
}, _callee3, this, [[0, 8, 13, 15]]);
|
|
26116
28198
|
}));
|
|
26117
|
-
function
|
|
26118
|
-
return
|
|
28199
|
+
function getViewSchema(_x2) {
|
|
28200
|
+
return _getViewSchema.apply(this, arguments);
|
|
26119
28201
|
}
|
|
26120
|
-
return
|
|
26121
|
-
}()
|
|
28202
|
+
return getViewSchema;
|
|
28203
|
+
}())
|
|
26122
28204
|
}, {
|
|
26123
|
-
key: "
|
|
28205
|
+
key: "getUsers",
|
|
26124
28206
|
value: function () {
|
|
26125
|
-
var
|
|
26126
|
-
var _yield$
|
|
28207
|
+
var _getUsers = EadApi_asyncToGenerator( /*#__PURE__*/EadApi_regeneratorRuntime().mark(function _callee4() {
|
|
28208
|
+
var _yield$_classPrivateF5, _yield$_classPrivateF6, collection, data, message;
|
|
26127
28209
|
return EadApi_regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
26128
28210
|
while (1) switch (_context4.prev = _context4.next) {
|
|
26129
28211
|
case 0:
|
|
26130
28212
|
_context4.prev = 0;
|
|
26131
28213
|
_context4.next = 3;
|
|
26132
|
-
return EadApi_classPrivateFieldGet(this, _component).$api.get("".concat(EadApi_classPrivateFieldGet(this, _baseUrl), "/api/flowdir-
|
|
28214
|
+
return EadApi_classPrivateFieldGet(this, _component).$api.get("".concat(EadApi_classPrivateFieldGet(this, _baseUrl), "/api/flowdir-user"));
|
|
26133
28215
|
case 3:
|
|
26134
|
-
_yield$
|
|
26135
|
-
_yield$
|
|
26136
|
-
collection = _yield$
|
|
28216
|
+
_yield$_classPrivateF5 = _context4.sent;
|
|
28217
|
+
_yield$_classPrivateF6 = _yield$_classPrivateF5.data.collection;
|
|
28218
|
+
collection = _yield$_classPrivateF6 === void 0 ? [] : _yield$_classPrivateF6;
|
|
26137
28219
|
return _context4.abrupt("return", collection);
|
|
26138
28220
|
case 9:
|
|
26139
28221
|
_context4.prev = 9;
|
|
@@ -26150,26 +28232,26 @@ var EadApi = /*#__PURE__*/function () {
|
|
|
26150
28232
|
}
|
|
26151
28233
|
}, _callee4, this, [[0, 9, 14, 16]]);
|
|
26152
28234
|
}));
|
|
26153
|
-
function
|
|
26154
|
-
return
|
|
28235
|
+
function getUsers() {
|
|
28236
|
+
return _getUsers.apply(this, arguments);
|
|
26155
28237
|
}
|
|
26156
|
-
return
|
|
28238
|
+
return getUsers;
|
|
26157
28239
|
}()
|
|
26158
28240
|
}, {
|
|
26159
|
-
key: "
|
|
28241
|
+
key: "getRoles",
|
|
26160
28242
|
value: function () {
|
|
26161
|
-
var
|
|
26162
|
-
var _yield$
|
|
28243
|
+
var _getRoles = EadApi_asyncToGenerator( /*#__PURE__*/EadApi_regeneratorRuntime().mark(function _callee5(appKey) {
|
|
28244
|
+
var _yield$_classPrivateF7, _yield$_classPrivateF8, collection, data, message;
|
|
26163
28245
|
return EadApi_regeneratorRuntime().wrap(function _callee5$(_context5) {
|
|
26164
28246
|
while (1) switch (_context5.prev = _context5.next) {
|
|
26165
28247
|
case 0:
|
|
26166
28248
|
_context5.prev = 0;
|
|
26167
28249
|
_context5.next = 3;
|
|
26168
|
-
return EadApi_classPrivateFieldGet(this, _component).$api.get("".concat(EadApi_classPrivateFieldGet(this, _baseUrl), "/api/flowdir-
|
|
28250
|
+
return EadApi_classPrivateFieldGet(this, _component).$api.get("".concat(EadApi_classPrivateFieldGet(this, _baseUrl), "/api/flowdir-role?app_key=") + appKey);
|
|
26169
28251
|
case 3:
|
|
26170
|
-
_yield$
|
|
26171
|
-
_yield$
|
|
26172
|
-
collection = _yield$
|
|
28252
|
+
_yield$_classPrivateF7 = _context5.sent;
|
|
28253
|
+
_yield$_classPrivateF8 = _yield$_classPrivateF7.data.collection;
|
|
28254
|
+
collection = _yield$_classPrivateF8 === void 0 ? [] : _yield$_classPrivateF8;
|
|
26173
28255
|
return _context5.abrupt("return", collection);
|
|
26174
28256
|
case 9:
|
|
26175
28257
|
_context5.prev = 9;
|
|
@@ -26186,37 +28268,32 @@ var EadApi = /*#__PURE__*/function () {
|
|
|
26186
28268
|
}
|
|
26187
28269
|
}, _callee5, this, [[0, 9, 14, 16]]);
|
|
26188
28270
|
}));
|
|
26189
|
-
function
|
|
26190
|
-
return
|
|
28271
|
+
function getRoles(_x3) {
|
|
28272
|
+
return _getRoles.apply(this, arguments);
|
|
26191
28273
|
}
|
|
26192
|
-
return
|
|
28274
|
+
return getRoles;
|
|
26193
28275
|
}()
|
|
26194
|
-
/**
|
|
26195
|
-
* @deprecated
|
|
26196
|
-
*/
|
|
26197
28276
|
}, {
|
|
26198
|
-
key: "
|
|
26199
|
-
value:
|
|
26200
|
-
var
|
|
26201
|
-
var _yield$
|
|
28277
|
+
key: "getOrgs",
|
|
28278
|
+
value: function () {
|
|
28279
|
+
var _getOrgs = EadApi_asyncToGenerator( /*#__PURE__*/EadApi_regeneratorRuntime().mark(function _callee6() {
|
|
28280
|
+
var _yield$_classPrivateF9, _yield$_classPrivateF10, collection, data, message;
|
|
26202
28281
|
return EadApi_regeneratorRuntime().wrap(function _callee6$(_context6) {
|
|
26203
28282
|
while (1) switch (_context6.prev = _context6.next) {
|
|
26204
28283
|
case 0:
|
|
26205
28284
|
_context6.prev = 0;
|
|
26206
28285
|
_context6.next = 3;
|
|
26207
|
-
return EadApi_classPrivateFieldGet(this, _component).$api.get("".concat(EadApi_classPrivateFieldGet(this, _baseUrl), "/
|
|
26208
|
-
params: EadApi_objectSpread({}, params)
|
|
26209
|
-
});
|
|
28286
|
+
return EadApi_classPrivateFieldGet(this, _component).$api.get("".concat(EadApi_classPrivateFieldGet(this, _baseUrl), "/api/flowdir-org"));
|
|
26210
28287
|
case 3:
|
|
26211
|
-
_yield$
|
|
26212
|
-
_yield$
|
|
26213
|
-
|
|
26214
|
-
return _context6.abrupt("return",
|
|
28288
|
+
_yield$_classPrivateF9 = _context6.sent;
|
|
28289
|
+
_yield$_classPrivateF10 = _yield$_classPrivateF9.data.collection;
|
|
28290
|
+
collection = _yield$_classPrivateF10 === void 0 ? [] : _yield$_classPrivateF10;
|
|
28291
|
+
return _context6.abrupt("return", collection);
|
|
26215
28292
|
case 9:
|
|
26216
28293
|
_context6.prev = 9;
|
|
26217
28294
|
_context6.t0 = _context6["catch"](0);
|
|
26218
|
-
|
|
26219
|
-
message =
|
|
28295
|
+
data = _context6.t0.response.data;
|
|
28296
|
+
message = data && data.content || '系统错误请与管理员联系。';
|
|
26220
28297
|
this.$message.error(message);
|
|
26221
28298
|
case 14:
|
|
26222
28299
|
_context6.prev = 14;
|
|
@@ -26227,34 +28304,37 @@ var EadApi = /*#__PURE__*/function () {
|
|
|
26227
28304
|
}
|
|
26228
28305
|
}, _callee6, this, [[0, 9, 14, 16]]);
|
|
26229
28306
|
}));
|
|
26230
|
-
function
|
|
26231
|
-
return
|
|
28307
|
+
function getOrgs() {
|
|
28308
|
+
return _getOrgs.apply(this, arguments);
|
|
26232
28309
|
}
|
|
26233
|
-
return
|
|
26234
|
-
}()
|
|
28310
|
+
return getOrgs;
|
|
28311
|
+
}()
|
|
28312
|
+
/**
|
|
28313
|
+
* @deprecated
|
|
28314
|
+
*/
|
|
26235
28315
|
}, {
|
|
26236
|
-
key: "
|
|
26237
|
-
value: function () {
|
|
26238
|
-
var
|
|
26239
|
-
var _yield$
|
|
28316
|
+
key: "getDataset",
|
|
28317
|
+
value: (function () {
|
|
28318
|
+
var _getDataset = EadApi_asyncToGenerator( /*#__PURE__*/EadApi_regeneratorRuntime().mark(function _callee7(datasetName, params) {
|
|
28319
|
+
var _yield$_classPrivateF11, _yield$_classPrivateF12, data, _data3, message;
|
|
26240
28320
|
return EadApi_regeneratorRuntime().wrap(function _callee7$(_context7) {
|
|
26241
28321
|
while (1) switch (_context7.prev = _context7.next) {
|
|
26242
28322
|
case 0:
|
|
26243
28323
|
_context7.prev = 0;
|
|
26244
28324
|
_context7.next = 3;
|
|
26245
|
-
return EadApi_classPrivateFieldGet(this, _component).$api.get("".concat(EadApi_classPrivateFieldGet(this, _baseUrl), "/
|
|
28325
|
+
return EadApi_classPrivateFieldGet(this, _component).$api.get("".concat(EadApi_classPrivateFieldGet(this, _baseUrl), "/dataset/").concat(datasetName), {
|
|
26246
28326
|
params: EadApi_objectSpread({}, params)
|
|
26247
28327
|
});
|
|
26248
28328
|
case 3:
|
|
26249
|
-
_yield$
|
|
26250
|
-
_yield$
|
|
26251
|
-
|
|
26252
|
-
return _context7.abrupt("return",
|
|
28329
|
+
_yield$_classPrivateF11 = _context7.sent;
|
|
28330
|
+
_yield$_classPrivateF12 = _yield$_classPrivateF11.data.data;
|
|
28331
|
+
data = _yield$_classPrivateF12 === void 0 ? [] : _yield$_classPrivateF12;
|
|
28332
|
+
return _context7.abrupt("return", data);
|
|
26253
28333
|
case 9:
|
|
26254
28334
|
_context7.prev = 9;
|
|
26255
28335
|
_context7.t0 = _context7["catch"](0);
|
|
26256
|
-
|
|
26257
|
-
message =
|
|
28336
|
+
_data3 = _context7.t0.response.data;
|
|
28337
|
+
message = _data3 && _data3.content || '系统错误请与管理员联系。';
|
|
26258
28338
|
this.$message.error(message);
|
|
26259
28339
|
case 14:
|
|
26260
28340
|
_context7.prev = 14;
|
|
@@ -26265,26 +28345,28 @@ var EadApi = /*#__PURE__*/function () {
|
|
|
26265
28345
|
}
|
|
26266
28346
|
}, _callee7, this, [[0, 9, 14, 16]]);
|
|
26267
28347
|
}));
|
|
26268
|
-
function
|
|
26269
|
-
return
|
|
28348
|
+
function getDataset(_x4, _x5) {
|
|
28349
|
+
return _getDataset.apply(this, arguments);
|
|
26270
28350
|
}
|
|
26271
|
-
return
|
|
26272
|
-
}()
|
|
28351
|
+
return getDataset;
|
|
28352
|
+
}())
|
|
26273
28353
|
}, {
|
|
26274
|
-
key: "
|
|
28354
|
+
key: "getDatasetApi",
|
|
26275
28355
|
value: function () {
|
|
26276
|
-
var
|
|
26277
|
-
var _yield$
|
|
28356
|
+
var _getDatasetApi = EadApi_asyncToGenerator( /*#__PURE__*/EadApi_regeneratorRuntime().mark(function _callee8(datasetName, params) {
|
|
28357
|
+
var _yield$_classPrivateF13, _yield$_classPrivateF14, collection, data, message;
|
|
26278
28358
|
return EadApi_regeneratorRuntime().wrap(function _callee8$(_context8) {
|
|
26279
28359
|
while (1) switch (_context8.prev = _context8.next) {
|
|
26280
28360
|
case 0:
|
|
26281
28361
|
_context8.prev = 0;
|
|
26282
28362
|
_context8.next = 3;
|
|
26283
|
-
return EadApi_classPrivateFieldGet(this, _component).$api.get("".concat(EadApi_classPrivateFieldGet(this, _baseUrl), "/api/
|
|
28363
|
+
return EadApi_classPrivateFieldGet(this, _component).$api.get("".concat(EadApi_classPrivateFieldGet(this, _baseUrl), "/api/").concat(datasetName), {
|
|
28364
|
+
params: EadApi_objectSpread({}, params)
|
|
28365
|
+
});
|
|
26284
28366
|
case 3:
|
|
26285
|
-
_yield$
|
|
26286
|
-
_yield$
|
|
26287
|
-
collection = _yield$
|
|
28367
|
+
_yield$_classPrivateF13 = _context8.sent;
|
|
28368
|
+
_yield$_classPrivateF14 = _yield$_classPrivateF13.data.collection;
|
|
28369
|
+
collection = _yield$_classPrivateF14 === void 0 ? [] : _yield$_classPrivateF14;
|
|
26288
28370
|
return _context8.abrupt("return", collection);
|
|
26289
28371
|
case 9:
|
|
26290
28372
|
_context8.prev = 9;
|
|
@@ -26301,26 +28383,26 @@ var EadApi = /*#__PURE__*/function () {
|
|
|
26301
28383
|
}
|
|
26302
28384
|
}, _callee8, this, [[0, 9, 14, 16]]);
|
|
26303
28385
|
}));
|
|
26304
|
-
function
|
|
26305
|
-
return
|
|
28386
|
+
function getDatasetApi(_x6, _x7) {
|
|
28387
|
+
return _getDatasetApi.apply(this, arguments);
|
|
26306
28388
|
}
|
|
26307
|
-
return
|
|
28389
|
+
return getDatasetApi;
|
|
26308
28390
|
}()
|
|
26309
28391
|
}, {
|
|
26310
|
-
key: "
|
|
28392
|
+
key: "getViews",
|
|
26311
28393
|
value: function () {
|
|
26312
|
-
var
|
|
26313
|
-
var _yield$
|
|
28394
|
+
var _getViews = EadApi_asyncToGenerator( /*#__PURE__*/EadApi_regeneratorRuntime().mark(function _callee9(name) {
|
|
28395
|
+
var _yield$_classPrivateF15, _yield$_classPrivateF16, collection, data, message;
|
|
26314
28396
|
return EadApi_regeneratorRuntime().wrap(function _callee9$(_context9) {
|
|
26315
28397
|
while (1) switch (_context9.prev = _context9.next) {
|
|
26316
28398
|
case 0:
|
|
26317
28399
|
_context9.prev = 0;
|
|
26318
28400
|
_context9.next = 3;
|
|
26319
|
-
return EadApi_classPrivateFieldGet(this, _component).$api.get("".concat(EadApi_classPrivateFieldGet(this, _baseUrl), "/api/flowdir-
|
|
28401
|
+
return EadApi_classPrivateFieldGet(this, _component).$api.get("".concat(EadApi_classPrivateFieldGet(this, _baseUrl), "/api/flowdir-view?name=") + name);
|
|
26320
28402
|
case 3:
|
|
26321
|
-
_yield$
|
|
26322
|
-
_yield$
|
|
26323
|
-
collection = _yield$
|
|
28403
|
+
_yield$_classPrivateF15 = _context9.sent;
|
|
28404
|
+
_yield$_classPrivateF16 = _yield$_classPrivateF15.data.collection;
|
|
28405
|
+
collection = _yield$_classPrivateF16 === void 0 ? [] : _yield$_classPrivateF16;
|
|
26324
28406
|
return _context9.abrupt("return", collection);
|
|
26325
28407
|
case 9:
|
|
26326
28408
|
_context9.prev = 9;
|
|
@@ -26337,7 +28419,43 @@ var EadApi = /*#__PURE__*/function () {
|
|
|
26337
28419
|
}
|
|
26338
28420
|
}, _callee9, this, [[0, 9, 14, 16]]);
|
|
26339
28421
|
}));
|
|
26340
|
-
function
|
|
28422
|
+
function getViews(_x8) {
|
|
28423
|
+
return _getViews.apply(this, arguments);
|
|
28424
|
+
}
|
|
28425
|
+
return getViews;
|
|
28426
|
+
}()
|
|
28427
|
+
}, {
|
|
28428
|
+
key: "getDrivers",
|
|
28429
|
+
value: function () {
|
|
28430
|
+
var _getDrivers = EadApi_asyncToGenerator( /*#__PURE__*/EadApi_regeneratorRuntime().mark(function _callee10(name) {
|
|
28431
|
+
var _yield$_classPrivateF17, _yield$_classPrivateF18, collection, data, message;
|
|
28432
|
+
return EadApi_regeneratorRuntime().wrap(function _callee10$(_context10) {
|
|
28433
|
+
while (1) switch (_context10.prev = _context10.next) {
|
|
28434
|
+
case 0:
|
|
28435
|
+
_context10.prev = 0;
|
|
28436
|
+
_context10.next = 3;
|
|
28437
|
+
return EadApi_classPrivateFieldGet(this, _component).$api.get("".concat(EadApi_classPrivateFieldGet(this, _baseUrl), "/api/flowdir-driver?name=") + name);
|
|
28438
|
+
case 3:
|
|
28439
|
+
_yield$_classPrivateF17 = _context10.sent;
|
|
28440
|
+
_yield$_classPrivateF18 = _yield$_classPrivateF17.data.collection;
|
|
28441
|
+
collection = _yield$_classPrivateF18 === void 0 ? [] : _yield$_classPrivateF18;
|
|
28442
|
+
return _context10.abrupt("return", collection);
|
|
28443
|
+
case 9:
|
|
28444
|
+
_context10.prev = 9;
|
|
28445
|
+
_context10.t0 = _context10["catch"](0);
|
|
28446
|
+
data = _context10.t0.response.data;
|
|
28447
|
+
message = data && data.content || '系统错误请与管理员联系。';
|
|
28448
|
+
this.$message.error(message);
|
|
28449
|
+
case 14:
|
|
28450
|
+
_context10.prev = 14;
|
|
28451
|
+
return _context10.finish(14);
|
|
28452
|
+
case 16:
|
|
28453
|
+
case "end":
|
|
28454
|
+
return _context10.stop();
|
|
28455
|
+
}
|
|
28456
|
+
}, _callee10, this, [[0, 9, 14, 16]]);
|
|
28457
|
+
}));
|
|
28458
|
+
function getDrivers(_x9) {
|
|
26341
28459
|
return _getDrivers.apply(this, arguments);
|
|
26342
28460
|
}
|
|
26343
28461
|
return getDrivers;
|
|
@@ -26503,8 +28621,8 @@ var WorkFlowDesigner_component = normalizeComponent(
|
|
|
26503
28621
|
)
|
|
26504
28622
|
|
|
26505
28623
|
/* harmony default export */ var WorkFlowDesigner = (WorkFlowDesigner_component.exports);
|
|
26506
|
-
// 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=
|
|
26507
|
-
var
|
|
28624
|
+
// 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
|
|
28625
|
+
var RuntimeWorkFlowvue_type_template_id_4cf1af68_scoped_true_render = function render() {
|
|
26508
28626
|
var _this = this,
|
|
26509
28627
|
_vm$currentNode$data$,
|
|
26510
28628
|
_vm$currentNode$data$2;
|
|
@@ -26561,7 +28679,7 @@ var RuntimeWorkFlowvue_type_template_id_bf3aa83e_scoped_true_render = function r
|
|
|
26561
28679
|
attrs: {
|
|
26562
28680
|
"value": _vm.CHECK_ACTION.PASS
|
|
26563
28681
|
}
|
|
26564
|
-
}, [_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', {
|
|
28682
|
+
}, [_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', {
|
|
26565
28683
|
attrs: {
|
|
26566
28684
|
"value": _vm.CHECK_ACTION.BACK
|
|
26567
28685
|
}
|
|
@@ -26617,7 +28735,7 @@ var RuntimeWorkFlowvue_type_template_id_bf3aa83e_scoped_true_render = function r
|
|
|
26617
28735
|
}
|
|
26618
28736
|
}, [_c('a-form-model-item', {
|
|
26619
28737
|
attrs: {
|
|
26620
|
-
"label": [_vm.CHECK_ACTION.REASSIGN, _vm.CHECK_ACTION.INVOLVE, _vm.CHECK_ACTION.END].includes(_vm.workflowReq.page_operate.action) ? '备注' : '审批意见',
|
|
28738
|
+
"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' ? '备注' : '审批意见',
|
|
26621
28739
|
"prop": "xxx",
|
|
26622
28740
|
"size": "small"
|
|
26623
28741
|
}
|
|
@@ -26627,7 +28745,7 @@ var RuntimeWorkFlowvue_type_template_id_bf3aa83e_scoped_true_render = function r
|
|
|
26627
28745
|
minRows: 4,
|
|
26628
28746
|
maxRows: 6
|
|
26629
28747
|
},
|
|
26630
|
-
"placeholder": "\u8BF7\u8F93\u5165".concat([_vm.CHECK_ACTION.REASSIGN, _vm.CHECK_ACTION.INVOLVE, _vm.CHECK_ACTION.END].includes(_vm.workflowReq.page_operate.action) ? '备注' : '审批或退回意见')
|
|
28748
|
+
"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' ? '备注' : '审批或退回意见')
|
|
26631
28749
|
},
|
|
26632
28750
|
model: {
|
|
26633
28751
|
value: _vm.workflowReq.page_operate.operate_content,
|
|
@@ -27024,7 +29142,7 @@ var RuntimeWorkFlowvue_type_template_id_bf3aa83e_scoped_true_render = function r
|
|
|
27024
29142
|
key: "2",
|
|
27025
29143
|
attrs: {
|
|
27026
29144
|
"force-render": "",
|
|
27027
|
-
"tab": "
|
|
29145
|
+
"tab": "操作记录"
|
|
27028
29146
|
}
|
|
27029
29147
|
}, [_c('a-card', {
|
|
27030
29148
|
attrs: {
|
|
@@ -27063,7 +29181,7 @@ var RuntimeWorkFlowvue_type_template_id_bf3aa83e_scoped_true_render = function r
|
|
|
27063
29181
|
"direction": "vertical"
|
|
27064
29182
|
},
|
|
27065
29183
|
slot: "description"
|
|
27066
|
-
}, [_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', {
|
|
29184
|
+
}, [_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', {
|
|
27067
29185
|
staticStyle: {
|
|
27068
29186
|
"color": "#18274a"
|
|
27069
29187
|
}
|
|
@@ -27091,7 +29209,7 @@ var RuntimeWorkFlowvue_type_template_id_bf3aa83e_scoped_true_render = function r
|
|
|
27091
29209
|
}
|
|
27092
29210
|
}), _vm._v(" " + _vm._s(item.operator.name) + "(" + _vm._s(item.operator.org_name) + ") ")], 1)], 1)], 1)], 1)], 1);
|
|
27093
29211
|
}
|
|
27094
|
-
}], null, false,
|
|
29212
|
+
}], null, false, 1631359906)
|
|
27095
29213
|
})], 1)], 1) : _vm._e(), _vm.paneSet.has('3') ? _c('a-tab-pane', {
|
|
27096
29214
|
key: "3",
|
|
27097
29215
|
attrs: {
|
|
@@ -27185,9 +29303,9 @@ var RuntimeWorkFlowvue_type_template_id_bf3aa83e_scoped_true_render = function r
|
|
|
27185
29303
|
}
|
|
27186
29304
|
}, [_vm._v("关闭")])], 1)], 2)], 1);
|
|
27187
29305
|
};
|
|
27188
|
-
var
|
|
29306
|
+
var RuntimeWorkFlowvue_type_template_id_4cf1af68_scoped_true_staticRenderFns = [];
|
|
27189
29307
|
|
|
27190
|
-
// CONCATENATED MODULE: ../src/web/components/forms/flow/runtime/RuntimeWorkFlow.vue?vue&type=template&id=
|
|
29308
|
+
// CONCATENATED MODULE: ../src/web/components/forms/flow/runtime/RuntimeWorkFlow.vue?vue&type=template&id=4cf1af68&scoped=true
|
|
27191
29309
|
|
|
27192
29310
|
// EXTERNAL MODULE: external {"root":"vuedraggable","commonjs2":"vuedraggable","commonjs":"vuedraggable","amd":"vuedraggable"}
|
|
27193
29311
|
var external_root_vuedraggable_commonjs2_vuedraggable_commonjs_vuedraggable_amd_vuedraggable_ = __webpack_require__("289a");
|
|
@@ -27231,7 +29349,8 @@ var CHECK_ACTION = {
|
|
|
27231
29349
|
BACK: 'back',
|
|
27232
29350
|
REASSIGN: 'reassign',
|
|
27233
29351
|
INVOLVE: 'involve',
|
|
27234
|
-
END: 'end'
|
|
29352
|
+
END: 'end',
|
|
29353
|
+
EXECUTE: 'execute'
|
|
27235
29354
|
};
|
|
27236
29355
|
/* harmony default export */ var RuntimeWorkFlowvue_type_script_lang_js = ({
|
|
27237
29356
|
name: 'runtime-workflow',
|
|
@@ -27489,6 +29608,7 @@ var CHECK_ACTION = {
|
|
|
27489
29608
|
userCache: {},
|
|
27490
29609
|
expressionError: false,
|
|
27491
29610
|
workflow: {},
|
|
29611
|
+
formAttrs: [],
|
|
27492
29612
|
activityColumns: []
|
|
27493
29613
|
};
|
|
27494
29614
|
},
|
|
@@ -27645,7 +29765,6 @@ var CHECK_ACTION = {
|
|
|
27645
29765
|
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;
|
|
27646
29766
|
node = nodeJson ? nodeJson === null || nodeJson === void 0 ? void 0 : nodeJson.node : null;
|
|
27647
29767
|
_this.nodeData = node ? RuntimeWorkFlowvue_type_script_lang_js_toConsumableArray(Object.values(node)) : [];
|
|
27648
|
-
|
|
27649
29768
|
// panes 初始化
|
|
27650
29769
|
paneSet = _this.paneSet;
|
|
27651
29770
|
[OPERATE.START, OPERATE.CHECK].includes(_this.workflowReq.operate) && paneSet.add('1');
|
|
@@ -27914,44 +30033,66 @@ var CHECK_ACTION = {
|
|
|
27914
30033
|
* @param nodeHandler {NodeHandler}
|
|
27915
30034
|
*/
|
|
27916
30035
|
nodeHandlerReady: function nodeHandlerReady(nodeHandler) {
|
|
27917
|
-
var
|
|
27918
|
-
|
|
27919
|
-
|
|
27920
|
-
|
|
27921
|
-
|
|
27922
|
-
|
|
27923
|
-
|
|
27924
|
-
|
|
27925
|
-
|
|
27926
|
-
|
|
27927
|
-
|
|
27928
|
-
|
|
27929
|
-
|
|
27930
|
-
|
|
27931
|
-
|
|
27932
|
-
|
|
27933
|
-
|
|
27934
|
-
|
|
27935
|
-
|
|
27936
|
-
|
|
27937
|
-
|
|
30036
|
+
var _this6 = this;
|
|
30037
|
+
return RuntimeWorkFlowvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/RuntimeWorkFlowvue_type_script_lang_js_regeneratorRuntime().mark(function _callee3() {
|
|
30038
|
+
var _node$data, _this6$runtimeData$cu;
|
|
30039
|
+
var node, columns, schema, optionForms;
|
|
30040
|
+
return RuntimeWorkFlowvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
30041
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
30042
|
+
case 0:
|
|
30043
|
+
_this6.nodeHandler = nodeHandler;
|
|
30044
|
+
node = _this6.currentNode = nodeHandler.getNode(_this6.runtimeData.currentNodeCode); // 健壮考虑
|
|
30045
|
+
if (!_this6.runtimeData.PageOperate && node !== null && node !== void 0 && (_node$data = node.data) !== null && _node$data !== void 0 && _node$data.page_options) {
|
|
30046
|
+
_this6.runtimeData.PageOperate = node.data.page_options;
|
|
30047
|
+
}
|
|
30048
|
+
columns = _this6.columns;
|
|
30049
|
+
if (!(node && node.data.option_view_id)) {
|
|
30050
|
+
_context3.next = 9;
|
|
30051
|
+
break;
|
|
30052
|
+
}
|
|
30053
|
+
_context3.next = 7;
|
|
30054
|
+
return _this6.eadApi.getViewSchema(node.data.option_view_id);
|
|
30055
|
+
case 7:
|
|
30056
|
+
schema = _context3.sent;
|
|
30057
|
+
columns = schema === null || schema === void 0 ? void 0 : schema.model.attrs;
|
|
30058
|
+
case 9:
|
|
30059
|
+
// form load
|
|
30060
|
+
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;
|
|
30061
|
+
_this6.runtimeData.currentNodeFormItem = optionForms.filter(function (value) {
|
|
30062
|
+
return value.access !== 'none';
|
|
30063
|
+
}).map(function (value) {
|
|
30064
|
+
// 【BUG】 全局:const attr = this.view.schema.model.attrs.find(value1 => value1.name === value.attrCode)
|
|
30065
|
+
var attr = columns.find(function (value1) {
|
|
30066
|
+
return value1.name === value.attrCode;
|
|
30067
|
+
});
|
|
30068
|
+
if (attr) {
|
|
30069
|
+
if (!attr.params) {
|
|
30070
|
+
attr.params = {};
|
|
30071
|
+
}
|
|
30072
|
+
attr.params.readonly = value.access === 'readonly';
|
|
30073
|
+
attr.required = value.required;
|
|
30074
|
+
if (node && node.data.option_view_id) {
|
|
30075
|
+
_this6.actionModel[attr.name] = null;
|
|
30076
|
+
}
|
|
30077
|
+
}
|
|
30078
|
+
return attr;
|
|
30079
|
+
}).filter(function (value) {
|
|
30080
|
+
return value;
|
|
30081
|
+
});
|
|
30082
|
+
// back load
|
|
30083
|
+
_this6.isCustomBack = (node === null || node === void 0 ? void 0 : node.data.back_type) === 'custom';
|
|
30084
|
+
if (_this6.isCustomBack) {
|
|
30085
|
+
if (!_this6.runtimeData.customBackNodes) {
|
|
30086
|
+
_this6.runtimeData.customBackNodes = RuntimeWorkFlowvue_type_script_lang_js_toConsumableArray(node === null || node === void 0 ? void 0 : node.data.custom_back_nodes);
|
|
30087
|
+
}
|
|
30088
|
+
_this6.workflowReq.page_operate.custom_back_node_code = _this6.runtimeData.customBackNodes[0];
|
|
30089
|
+
}
|
|
30090
|
+
case 13:
|
|
30091
|
+
case "end":
|
|
30092
|
+
return _context3.stop();
|
|
27938
30093
|
}
|
|
27939
|
-
|
|
27940
|
-
|
|
27941
|
-
}
|
|
27942
|
-
return attr;
|
|
27943
|
-
}).filter(function (value) {
|
|
27944
|
-
return value;
|
|
27945
|
-
});
|
|
27946
|
-
|
|
27947
|
-
// back load
|
|
27948
|
-
this.isCustomBack = (node === null || node === void 0 ? void 0 : node.data.back_type) === 'custom';
|
|
27949
|
-
if (this.isCustomBack) {
|
|
27950
|
-
if (!this.runtimeData.customBackNodes) {
|
|
27951
|
-
this.runtimeData.customBackNodes = RuntimeWorkFlowvue_type_script_lang_js_toConsumableArray(node === null || node === void 0 ? void 0 : node.data.custom_back_nodes);
|
|
27952
|
-
}
|
|
27953
|
-
this.workflowReq.page_operate.custom_back_node_code = this.runtimeData.customBackNodes[0];
|
|
27954
|
-
}
|
|
30094
|
+
}, _callee3);
|
|
30095
|
+
}))();
|
|
27955
30096
|
},
|
|
27956
30097
|
showFullScreenFlow: function showFullScreenFlow() {
|
|
27957
30098
|
var _this7 = this;
|
|
@@ -27968,33 +30109,33 @@ var CHECK_ACTION = {
|
|
|
27968
30109
|
},
|
|
27969
30110
|
handleItemChange: function handleItemChange(value, attr) {
|
|
27970
30111
|
var _this8 = this;
|
|
27971
|
-
return RuntimeWorkFlowvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/RuntimeWorkFlowvue_type_script_lang_js_regeneratorRuntime().mark(function
|
|
30112
|
+
return RuntimeWorkFlowvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/RuntimeWorkFlowvue_type_script_lang_js_regeneratorRuntime().mark(function _callee4() {
|
|
27972
30113
|
var name, fd, res;
|
|
27973
|
-
return RuntimeWorkFlowvue_type_script_lang_js_regeneratorRuntime().wrap(function
|
|
27974
|
-
while (1) switch (
|
|
30114
|
+
return RuntimeWorkFlowvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
30115
|
+
while (1) switch (_context4.prev = _context4.next) {
|
|
27975
30116
|
case 0:
|
|
27976
30117
|
name = attr.name;
|
|
27977
30118
|
if (!(value instanceof FileList)) {
|
|
27978
|
-
|
|
30119
|
+
_context4.next = 14;
|
|
27979
30120
|
break;
|
|
27980
30121
|
}
|
|
27981
30122
|
if (!value[0]) {
|
|
27982
|
-
|
|
30123
|
+
_context4.next = 11;
|
|
27983
30124
|
break;
|
|
27984
30125
|
}
|
|
27985
30126
|
fd = new FormData();
|
|
27986
30127
|
fd.append(name, value[0]);
|
|
27987
|
-
|
|
30128
|
+
_context4.next = 7;
|
|
27988
30129
|
return _this8.$api.post('/upload', fd);
|
|
27989
30130
|
case 7:
|
|
27990
|
-
res =
|
|
30131
|
+
res = _context4.sent;
|
|
27991
30132
|
value = res.data.data[name];
|
|
27992
|
-
|
|
30133
|
+
_context4.next = 12;
|
|
27993
30134
|
break;
|
|
27994
30135
|
case 11:
|
|
27995
30136
|
value = null;
|
|
27996
30137
|
case 12:
|
|
27997
|
-
|
|
30138
|
+
_context4.next = 15;
|
|
27998
30139
|
break;
|
|
27999
30140
|
case 14:
|
|
28000
30141
|
if (value instanceof Date) {
|
|
@@ -28016,9 +30157,9 @@ var CHECK_ACTION = {
|
|
|
28016
30157
|
_this8.loadTodo();
|
|
28017
30158
|
case 19:
|
|
28018
30159
|
case "end":
|
|
28019
|
-
return
|
|
30160
|
+
return _context4.stop();
|
|
28020
30161
|
}
|
|
28021
|
-
},
|
|
30162
|
+
}, _callee4);
|
|
28022
30163
|
}))();
|
|
28023
30164
|
},
|
|
28024
30165
|
validExpression: function validExpression() {
|
|
@@ -28123,8 +30264,8 @@ var CHECK_ACTION = {
|
|
|
28123
30264
|
});
|
|
28124
30265
|
// CONCATENATED MODULE: ../src/web/components/forms/flow/runtime/RuntimeWorkFlow.vue?vue&type=script&lang=js
|
|
28125
30266
|
/* harmony default export */ var runtime_RuntimeWorkFlowvue_type_script_lang_js = (RuntimeWorkFlowvue_type_script_lang_js);
|
|
28126
|
-
// EXTERNAL MODULE: ../src/web/components/forms/flow/runtime/RuntimeWorkFlow.vue?vue&type=style&index=0&id=
|
|
28127
|
-
var
|
|
30267
|
+
// EXTERNAL MODULE: ../src/web/components/forms/flow/runtime/RuntimeWorkFlow.vue?vue&type=style&index=0&id=4cf1af68&prod&lang=less&scoped=true
|
|
30268
|
+
var RuntimeWorkFlowvue_type_style_index_0_id_4cf1af68_prod_lang_less_scoped_true = __webpack_require__("8e2d");
|
|
28128
30269
|
|
|
28129
30270
|
// CONCATENATED MODULE: ../src/web/components/forms/flow/runtime/RuntimeWorkFlow.vue
|
|
28130
30271
|
|
|
@@ -28137,11 +30278,11 @@ var RuntimeWorkFlowvue_type_style_index_0_id_bf3aa83e_prod_lang_less_scoped_true
|
|
|
28137
30278
|
|
|
28138
30279
|
var RuntimeWorkFlow_component = normalizeComponent(
|
|
28139
30280
|
runtime_RuntimeWorkFlowvue_type_script_lang_js,
|
|
28140
|
-
|
|
28141
|
-
|
|
30281
|
+
RuntimeWorkFlowvue_type_template_id_4cf1af68_scoped_true_render,
|
|
30282
|
+
RuntimeWorkFlowvue_type_template_id_4cf1af68_scoped_true_staticRenderFns,
|
|
28142
30283
|
false,
|
|
28143
30284
|
null,
|
|
28144
|
-
"
|
|
30285
|
+
"4cf1af68",
|
|
28145
30286
|
null
|
|
28146
30287
|
|
|
28147
30288
|
)
|
|
@@ -28157,7 +30298,7 @@ var nodeStyle = __webpack_require__("1f51");
|
|
|
28157
30298
|
|
|
28158
30299
|
|
|
28159
30300
|
|
|
28160
|
-
|
|
30301
|
+
// import PickerSelectViewForm from './PickerSelectView'
|
|
28161
30302
|
|
|
28162
30303
|
|
|
28163
30304
|
// 新 workflow
|
|
@@ -28171,7 +30312,7 @@ var nodeStyle = __webpack_require__("1f51");
|
|
|
28171
30312
|
AlgorithmForm: Algorithm,
|
|
28172
30313
|
PickerTransferForm: PickerTransfer,
|
|
28173
30314
|
PickerTreeForm: PickerTree,
|
|
28174
|
-
PickerSelectViewForm
|
|
30315
|
+
// PickerSelectViewForm,
|
|
28175
30316
|
WorkflowReport: WorkflowReport,
|
|
28176
30317
|
WorkflowDesigner: WorkFlowDesigner,
|
|
28177
30318
|
RuntimeWorkflow: RuntimeWorkFlow
|
|
@@ -29531,6 +31672,13 @@ var variable = __webpack_require__("aa23");
|
|
|
29531
31672
|
/* unused harmony reexport * */
|
|
29532
31673
|
|
|
29533
31674
|
|
|
31675
|
+
/***/ }),
|
|
31676
|
+
|
|
31677
|
+
/***/ "1d3f":
|
|
31678
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
31679
|
+
|
|
31680
|
+
// extracted by mini-css-extract-plugin
|
|
31681
|
+
|
|
29534
31682
|
/***/ }),
|
|
29535
31683
|
|
|
29536
31684
|
/***/ "1f44":
|
|
@@ -31244,13 +33392,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__5aeb__;
|
|
|
31244
33392
|
|
|
31245
33393
|
/***/ }),
|
|
31246
33394
|
|
|
31247
|
-
/***/ "6029":
|
|
31248
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
31249
|
-
|
|
31250
|
-
// extracted by mini-css-extract-plugin
|
|
31251
|
-
|
|
31252
|
-
/***/ }),
|
|
31253
|
-
|
|
31254
33395
|
/***/ "6389":
|
|
31255
33396
|
/***/ (function(module, exports) {
|
|
31256
33397
|
|
|
@@ -43424,6 +45565,17 @@ module.exports = __webpack_require__(63);
|
|
|
43424
45565
|
|
|
43425
45566
|
module.exports = __WEBPACK_EXTERNAL_MODULE__796d__;
|
|
43426
45567
|
|
|
45568
|
+
/***/ }),
|
|
45569
|
+
|
|
45570
|
+
/***/ "7a33":
|
|
45571
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
45572
|
+
|
|
45573
|
+
"use strict";
|
|
45574
|
+
/* 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");
|
|
45575
|
+
/* 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__);
|
|
45576
|
+
/* unused harmony reexport * */
|
|
45577
|
+
|
|
45578
|
+
|
|
43427
45579
|
/***/ }),
|
|
43428
45580
|
|
|
43429
45581
|
/***/ "7e40":
|
|
@@ -43560,6 +45712,17 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__8bbf__;
|
|
|
43560
45712
|
/* unused harmony reexport * */
|
|
43561
45713
|
|
|
43562
45714
|
|
|
45715
|
+
/***/ }),
|
|
45716
|
+
|
|
45717
|
+
/***/ "8e2d":
|
|
45718
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
45719
|
+
|
|
45720
|
+
"use strict";
|
|
45721
|
+
/* 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");
|
|
45722
|
+
/* 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__);
|
|
45723
|
+
/* unused harmony reexport * */
|
|
45724
|
+
|
|
45725
|
+
|
|
43563
45726
|
/***/ }),
|
|
43564
45727
|
|
|
43565
45728
|
/***/ "8eee":
|
|
@@ -43579,13 +45742,6 @@ module.exports = Array.isArray || function (arr) {
|
|
|
43579
45742
|
};
|
|
43580
45743
|
|
|
43581
45744
|
|
|
43582
|
-
/***/ }),
|
|
43583
|
-
|
|
43584
|
-
/***/ "91f5":
|
|
43585
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
43586
|
-
|
|
43587
|
-
// extracted by mini-css-extract-plugin
|
|
43588
|
-
|
|
43589
45745
|
/***/ }),
|
|
43590
45746
|
|
|
43591
45747
|
/***/ "93bb":
|
|
@@ -45141,6 +47297,13 @@ module.exports = g;
|
|
|
45141
47297
|
|
|
45142
47298
|
/***/ }),
|
|
45143
47299
|
|
|
47300
|
+
/***/ "b483":
|
|
47301
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
47302
|
+
|
|
47303
|
+
// extracted by mini-css-extract-plugin
|
|
47304
|
+
|
|
47305
|
+
/***/ }),
|
|
47306
|
+
|
|
45144
47307
|
/***/ "b69c":
|
|
45145
47308
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
45146
47309
|
|
|
@@ -48043,6 +50206,13 @@ module.exports = __WEBPACK_EXTERNAL_MODULE_cebe__;
|
|
|
48043
50206
|
|
|
48044
50207
|
/***/ }),
|
|
48045
50208
|
|
|
50209
|
+
/***/ "d6a8":
|
|
50210
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
50211
|
+
|
|
50212
|
+
// extracted by mini-css-extract-plugin
|
|
50213
|
+
|
|
50214
|
+
/***/ }),
|
|
50215
|
+
|
|
48046
50216
|
/***/ "da25":
|
|
48047
50217
|
/***/ (function(module, exports, __webpack_require__) {
|
|
48048
50218
|
|
|
@@ -49166,17 +51336,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE_e39e__;
|
|
|
49166
51336
|
|
|
49167
51337
|
}));
|
|
49168
51338
|
|
|
49169
|
-
/***/ }),
|
|
49170
|
-
|
|
49171
|
-
/***/ "f005":
|
|
49172
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
49173
|
-
|
|
49174
|
-
"use strict";
|
|
49175
|
-
/* 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");
|
|
49176
|
-
/* 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__);
|
|
49177
|
-
/* unused harmony reexport * */
|
|
49178
|
-
|
|
49179
|
-
|
|
49180
51339
|
/***/ }),
|
|
49181
51340
|
|
|
49182
51341
|
/***/ "f0c7":
|
|
@@ -49373,17 +51532,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE_e39e__;
|
|
|
49373
51532
|
|
|
49374
51533
|
// extracted by mini-css-extract-plugin
|
|
49375
51534
|
|
|
49376
|
-
/***/ }),
|
|
49377
|
-
|
|
49378
|
-
/***/ "f2fb":
|
|
49379
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
49380
|
-
|
|
49381
|
-
"use strict";
|
|
49382
|
-
/* 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");
|
|
49383
|
-
/* 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__);
|
|
49384
|
-
/* unused harmony reexport * */
|
|
49385
|
-
|
|
49386
|
-
|
|
49387
51535
|
/***/ }),
|
|
49388
51536
|
|
|
49389
51537
|
/***/ "f39c":
|