@xatlas/rainbow-core 2.4.4 → 2.4.6

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.
@@ -1437,17 +1437,6 @@ module.exports =
1437
1437
 
1438
1438
  }));
1439
1439
 
1440
- /***/ }),
1441
-
1442
- /***/ "128b":
1443
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
1444
-
1445
- "use strict";
1446
- /* 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_0e1b910e_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("40db");
1447
- /* 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_0e1b910e_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_0e1b910e_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
1448
- /* unused harmony reexport * */
1449
-
1450
-
1451
1440
  /***/ }),
1452
1441
 
1453
1442
  /***/ "13e9":
@@ -3618,7 +3607,15 @@ function list_toPrimitive(t, r) { if ("object" != list_typeof(t) || !t) return t
3618
3607
  this.handleAction(action, null, list_defineProperty({}, key, files));
3619
3608
  },
3620
3609
  editable: function editable(record, action, attr) {
3621
- var editable = this.configs['list.actionRowNotEditing.key'] && this.configs['list.actionRowNotEditing.value'] ? this.actionRowEditing && !this.configs['list.actionRowNotEditing.value'].split(',').includes(record[this.configs['list.actionRowNotEditing.key']]) : this.actionRowEditing;
3610
+ var _action$configs;
3611
+ var configs = list_objectSpread({}, this.configs);
3612
+ if (action !== null && action !== void 0 && (_action$configs = action.configs) !== null && _action$configs !== void 0 && _action$configs.length) {
3613
+ var actionConfigs = Object.fromEntries(action.configs.map(function (c) {
3614
+ return [c.key, c.value];
3615
+ }));
3616
+ configs = list_objectSpread(list_objectSpread({}, configs), actionConfigs);
3617
+ }
3618
+ var editable = configs['list.actionRowNotEditing.key'] && configs['list.actionRowNotEditing.value'] ? this.actionRowEditing && !configs['list.actionRowNotEditing.value'].split(',').includes(record[configs['list.actionRowNotEditing.key']]) : this.actionRowEditing;
3622
3619
  if (action !== null && action !== void 0 && action.list) {
3623
3620
  var list = action.list.split(',');
3624
3621
  return editable && list.includes(attr.name);
@@ -16378,6 +16375,7 @@ NodeType_defineProperty(NodeType_NodeType, "CC", 'cc');
16378
16375
  NodeType_defineProperty(NodeType_NodeType, "TASK", 'task');
16379
16376
  NodeType_defineProperty(NodeType_NodeType, "TRIGGER", 'trigger');
16380
16377
  NodeType_defineProperty(NodeType_NodeType, "DELAY", 'delay');
16378
+ NodeType_defineProperty(NodeType_NodeType, "SUBWORKFLOW", 'subworkflow');
16381
16379
  NodeType_defineProperty(NodeType_NodeType, "PARALLEL_WRAP", 'parallel_wrap');
16382
16380
  NodeType_defineProperty(NodeType_NodeType, "PARALLEL", 'parallel');
16383
16381
  NodeType_defineProperty(NodeType_NodeType, "JUDGE_WRAP", 'judge_wrap');
@@ -16408,6 +16406,9 @@ function initNodeTypes() {
16408
16406
  NodeType_NodeType.registerNodeType(NodeType_NodeType.TRIGGER, 'single', 'TriggerNode', function () {
16409
16407
  return new designer_NodeItem('触发器', '触发器', null, NodeType_NodeType.TRIGGER);
16410
16408
  });
16409
+ NodeType_NodeType.registerNodeType(NodeType_NodeType.SUBWORKFLOW, 'single', 'SubWorkflowNode', function () {
16410
+ return new designer_NodeItem('子流程', '子流程', null, NodeType_NodeType.SUBWORKFLOW);
16411
+ });
16411
16412
  NodeType_NodeType.registerNodeType(NodeType_NodeType.DELAY, 'single', 'DelayNode', function () {
16412
16413
  return new designer_NodeItem('延迟等待', '延迟等待', null, NodeType_NodeType.DELAY);
16413
16414
  });
@@ -17477,8 +17478,8 @@ var _codeIndex = {
17477
17478
  value: {}
17478
17479
  };
17479
17480
  /* harmony default export */ var designer_NodeHandler = (NodeHandler_NodeHandler);
17480
- // 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=5bf5a14e&scoped=true
17481
- var NodeWrapvue_type_template_id_5bf5a14e_scoped_true_render = function render() {
17481
+ // 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=e1e89f50&scoped=true
17482
+ var NodeWrapvue_type_template_id_e1e89f50_scoped_true_render = function render() {
17482
17483
  var _vm = this,
17483
17484
  _c = _vm._self._c;
17484
17485
  return _c('div', {
@@ -17507,9 +17508,9 @@ var NodeWrapvue_type_template_id_5bf5a14e_scoped_true_render = function render()
17507
17508
  }
17508
17509
  }) : _vm._e()], 1);
17509
17510
  };
17510
- var NodeWrapvue_type_template_id_5bf5a14e_scoped_true_staticRenderFns = [];
17511
+ var NodeWrapvue_type_template_id_e1e89f50_scoped_true_staticRenderFns = [];
17511
17512
 
17512
- // CONCATENATED MODULE: ../src/web/components/forms/flow/designer/NodeWrap.vue?vue&type=template&id=5bf5a14e&scoped=true
17513
+ // CONCATENATED MODULE: ../src/web/components/forms/flow/designer/NodeWrap.vue?vue&type=template&id=e1e89f50&scoped=true
17513
17514
 
17514
17515
  // 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
17515
17516
  var EndNodevue_type_template_id_778e5139_scoped_true_render = function render() {
@@ -19437,14 +19438,14 @@ var ParallelWrapNode_component = normalizeComponent(
19437
19438
  )
19438
19439
 
19439
19440
  /* harmony default export */ var ParallelWrapNode = (ParallelWrapNode_component.exports);
19440
- // 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=0e1b910e&scoped=true
19441
- function CheckNodevue_type_template_id_0e1b910e_scoped_true_toConsumableArray(arr) { return CheckNodevue_type_template_id_0e1b910e_scoped_true_arrayWithoutHoles(arr) || CheckNodevue_type_template_id_0e1b910e_scoped_true_iterableToArray(arr) || CheckNodevue_type_template_id_0e1b910e_scoped_true_unsupportedIterableToArray(arr) || CheckNodevue_type_template_id_0e1b910e_scoped_true_nonIterableSpread(); }
19442
- function CheckNodevue_type_template_id_0e1b910e_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."); }
19443
- function CheckNodevue_type_template_id_0e1b910e_scoped_true_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return CheckNodevue_type_template_id_0e1b910e_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_0e1b910e_scoped_true_arrayLikeToArray(o, minLen); }
19444
- function CheckNodevue_type_template_id_0e1b910e_scoped_true_iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
19445
- function CheckNodevue_type_template_id_0e1b910e_scoped_true_arrayWithoutHoles(arr) { if (Array.isArray(arr)) return CheckNodevue_type_template_id_0e1b910e_scoped_true_arrayLikeToArray(arr); }
19446
- function CheckNodevue_type_template_id_0e1b910e_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; }
19447
- var CheckNodevue_type_template_id_0e1b910e_scoped_true_render = function render() {
19441
+ // 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=3425760f&scoped=true
19442
+ function CheckNodevue_type_template_id_3425760f_scoped_true_toConsumableArray(arr) { return CheckNodevue_type_template_id_3425760f_scoped_true_arrayWithoutHoles(arr) || CheckNodevue_type_template_id_3425760f_scoped_true_iterableToArray(arr) || CheckNodevue_type_template_id_3425760f_scoped_true_unsupportedIterableToArray(arr) || CheckNodevue_type_template_id_3425760f_scoped_true_nonIterableSpread(); }
19443
+ function CheckNodevue_type_template_id_3425760f_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."); }
19444
+ function CheckNodevue_type_template_id_3425760f_scoped_true_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return CheckNodevue_type_template_id_3425760f_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_3425760f_scoped_true_arrayLikeToArray(o, minLen); }
19445
+ function CheckNodevue_type_template_id_3425760f_scoped_true_iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
19446
+ function CheckNodevue_type_template_id_3425760f_scoped_true_arrayWithoutHoles(arr) { if (Array.isArray(arr)) return CheckNodevue_type_template_id_3425760f_scoped_true_arrayLikeToArray(arr); }
19447
+ function CheckNodevue_type_template_id_3425760f_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; }
19448
+ var CheckNodevue_type_template_id_3425760f_scoped_true_render = function render() {
19448
19449
  var _vm$nodeHandler, _vm$nodeHandler2, _vm$nodeRef, _vm$nodeRef2, _vm$nodeRef3, _vm$nodeHandler3, _vm$noticeTemplateAtt;
19449
19450
  var _vm = this,
19450
19451
  _c = _vm._self._c;
@@ -19878,7 +19879,7 @@ var CheckNodevue_type_template_id_0e1b910e_scoped_true_render = function render(
19878
19879
  },
19879
19880
  attrs: {
19880
19881
  "filterOption": _vm.filterUser,
19881
- "options": [].concat(CheckNodevue_type_template_id_0e1b910e_scoped_true_toConsumableArray(_vm.businessUserData), CheckNodevue_type_template_id_0e1b910e_scoped_true_toConsumableArray(_vm.users)),
19882
+ "options": [].concat(CheckNodevue_type_template_id_3425760f_scoped_true_toConsumableArray(_vm.businessUserData), CheckNodevue_type_template_id_3425760f_scoped_true_toConsumableArray(_vm.users)),
19882
19883
  "mode": "multiple",
19883
19884
  "placeholder": "选择人"
19884
19885
  },
@@ -19906,7 +19907,7 @@ var CheckNodevue_type_template_id_0e1b910e_scoped_true_render = function render(
19906
19907
  maxHeight: '400px',
19907
19908
  overflow: 'auto'
19908
19909
  },
19909
- "tree-data": [_vm.businessOrgData].concat(CheckNodevue_type_template_id_0e1b910e_scoped_true_toConsumableArray(_vm.orgData)),
19910
+ "tree-data": [_vm.businessOrgData].concat(CheckNodevue_type_template_id_3425760f_scoped_true_toConsumableArray(_vm.orgData)),
19910
19911
  "allowClear": "",
19911
19912
  "placeholder": "部门",
19912
19913
  "tree-default-expand-all": ""
@@ -20087,73 +20088,6 @@ var CheckNodevue_type_template_id_0e1b910e_scoped_true_render = function render(
20087
20088
  "tab": "操作视图"
20088
20089
  }
20089
20090
  }, [_c('div', {
20090
- staticClass: "node-form-item"
20091
- }, [_c('a-row', {
20092
- staticStyle: {
20093
- "display": "flex",
20094
- "align-items": "center",
20095
- "margin-bottom": "5px"
20096
- }
20097
- }, [_c('a-col', {
20098
- attrs: {
20099
- "span": 24
20100
- }
20101
- }, [_c('a-radio-group', {
20102
- staticClass: "node-form-item",
20103
- on: {
20104
- "change": _vm.changeViewType
20105
- },
20106
- model: {
20107
- value: _vm.optionViewType,
20108
- callback: function callback($$v) {
20109
- _vm.optionViewType = $$v;
20110
- },
20111
- expression: "optionViewType"
20112
- }
20113
- }, [_c('a-radio', {
20114
- attrs: {
20115
- "value": "use_model"
20116
- }
20117
- }, [_vm._v(" 沿用工作流模型 ")]), _c('a-radio', {
20118
- attrs: {
20119
- "value": "custom"
20120
- }
20121
- }, [_vm._v(" 自主选择 ")])], 1)], 1)], 1), _c('a-row', [_c('a-col', {
20122
- attrs: {
20123
- "span": 24
20124
- }
20125
- }, [_vm.optionViewType === 'custom' ? _c('a-select', {
20126
- staticClass: "node-form-item",
20127
- staticStyle: {
20128
- "width": "100%"
20129
- },
20130
- attrs: {
20131
- "default-active-first-option": false,
20132
- "filter-option": false,
20133
- "not-found-content": null,
20134
- "show-arrow": false,
20135
- "placeholder": "请输入表单视图名称",
20136
- "show-search": ""
20137
- },
20138
- on: {
20139
- "change": _vm.optionViewChange,
20140
- "search": _vm.optionViewSearch
20141
- },
20142
- model: {
20143
- value: _vm.nodeRef.data.option_view_id,
20144
- callback: function callback($$v) {
20145
- _vm.$set(_vm.nodeRef.data, "option_view_id", $$v);
20146
- },
20147
- expression: "nodeRef.data.option_view_id"
20148
- }
20149
- }, _vm._l(_vm.optionViewList, function (d) {
20150
- return _c('a-select-option', {
20151
- key: d.value,
20152
- attrs: {
20153
- "value": d.value
20154
- }
20155
- }, [_vm._v(" " + _vm._s(d.text) + " ")]);
20156
- }), 1) : _vm._e()], 1)], 1)], 1), _c('div', {
20157
20091
  key: _vm.nodeRef.data.option_view_id,
20158
20092
  staticClass: "node-from-item"
20159
20093
  }, [_c('a-divider', {
@@ -21072,9 +21006,9 @@ var CheckNodevue_type_template_id_0e1b910e_scoped_true_render = function render(
21072
21006
  }
21073
21007
  }) : _vm._e()], 1)]) : _vm._e()], 1)], 1) : _vm._e()], 1);
21074
21008
  };
21075
- var CheckNodevue_type_template_id_0e1b910e_scoped_true_staticRenderFns = [];
21009
+ var CheckNodevue_type_template_id_3425760f_scoped_true_staticRenderFns = [];
21076
21010
 
21077
- // CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/CheckNode.vue?vue&type=template&id=0e1b910e&scoped=true
21011
+ // CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/CheckNode.vue?vue&type=template&id=3425760f&scoped=true
21078
21012
 
21079
21013
  // 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
21080
21014
  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); }
@@ -21800,8 +21734,8 @@ function CheckNodevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Ch
21800
21734
  });
21801
21735
  // CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/CheckNode.vue?vue&type=script&lang=js
21802
21736
  /* harmony default export */ var node_CheckNodevue_type_script_lang_js = (CheckNodevue_type_script_lang_js);
21803
- // EXTERNAL MODULE: ../src/web/components/forms/flow/designer/node/CheckNode.vue?vue&type=style&index=0&id=0e1b910e&prod&lang=less&scoped=true
21804
- var CheckNodevue_type_style_index_0_id_0e1b910e_prod_lang_less_scoped_true = __webpack_require__("128b");
21737
+ // EXTERNAL MODULE: ../src/web/components/forms/flow/designer/node/CheckNode.vue?vue&type=style&index=0&id=3425760f&prod&lang=less&scoped=true
21738
+ var CheckNodevue_type_style_index_0_id_3425760f_prod_lang_less_scoped_true = __webpack_require__("9632");
21805
21739
 
21806
21740
  // CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/CheckNode.vue
21807
21741
 
@@ -21814,11 +21748,11 @@ var CheckNodevue_type_style_index_0_id_0e1b910e_prod_lang_less_scoped_true = __w
21814
21748
 
21815
21749
  var CheckNode_component = normalizeComponent(
21816
21750
  node_CheckNodevue_type_script_lang_js,
21817
- CheckNodevue_type_template_id_0e1b910e_scoped_true_render,
21818
- CheckNodevue_type_template_id_0e1b910e_scoped_true_staticRenderFns,
21751
+ CheckNodevue_type_template_id_3425760f_scoped_true_render,
21752
+ CheckNodevue_type_template_id_3425760f_scoped_true_staticRenderFns,
21819
21753
  false,
21820
21754
  null,
21821
- "0e1b910e",
21755
+ "3425760f",
21822
21756
  null
21823
21757
 
21824
21758
  )
@@ -23781,14 +23715,14 @@ var CCNode_component = normalizeComponent(
23781
23715
  )
23782
23716
 
23783
23717
  /* harmony default export */ var CCNode = (CCNode_component.exports);
23784
- // 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=13efb06a&scoped=true
23785
- function TaskNodevue_type_template_id_13efb06a_scoped_true_toConsumableArray(arr) { return TaskNodevue_type_template_id_13efb06a_scoped_true_arrayWithoutHoles(arr) || TaskNodevue_type_template_id_13efb06a_scoped_true_iterableToArray(arr) || TaskNodevue_type_template_id_13efb06a_scoped_true_unsupportedIterableToArray(arr) || TaskNodevue_type_template_id_13efb06a_scoped_true_nonIterableSpread(); }
23786
- function TaskNodevue_type_template_id_13efb06a_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."); }
23787
- function TaskNodevue_type_template_id_13efb06a_scoped_true_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return TaskNodevue_type_template_id_13efb06a_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_13efb06a_scoped_true_arrayLikeToArray(o, minLen); }
23788
- function TaskNodevue_type_template_id_13efb06a_scoped_true_iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
23789
- function TaskNodevue_type_template_id_13efb06a_scoped_true_arrayWithoutHoles(arr) { if (Array.isArray(arr)) return TaskNodevue_type_template_id_13efb06a_scoped_true_arrayLikeToArray(arr); }
23790
- function TaskNodevue_type_template_id_13efb06a_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; }
23791
- var TaskNodevue_type_template_id_13efb06a_scoped_true_render = function render() {
23718
+ // 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=d7966da8&scoped=true
23719
+ function TaskNodevue_type_template_id_d7966da8_scoped_true_toConsumableArray(arr) { return TaskNodevue_type_template_id_d7966da8_scoped_true_arrayWithoutHoles(arr) || TaskNodevue_type_template_id_d7966da8_scoped_true_iterableToArray(arr) || TaskNodevue_type_template_id_d7966da8_scoped_true_unsupportedIterableToArray(arr) || TaskNodevue_type_template_id_d7966da8_scoped_true_nonIterableSpread(); }
23720
+ function TaskNodevue_type_template_id_d7966da8_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."); }
23721
+ function TaskNodevue_type_template_id_d7966da8_scoped_true_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return TaskNodevue_type_template_id_d7966da8_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_d7966da8_scoped_true_arrayLikeToArray(o, minLen); }
23722
+ function TaskNodevue_type_template_id_d7966da8_scoped_true_iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
23723
+ function TaskNodevue_type_template_id_d7966da8_scoped_true_arrayWithoutHoles(arr) { if (Array.isArray(arr)) return TaskNodevue_type_template_id_d7966da8_scoped_true_arrayLikeToArray(arr); }
23724
+ function TaskNodevue_type_template_id_d7966da8_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; }
23725
+ var TaskNodevue_type_template_id_d7966da8_scoped_true_render = function render() {
23792
23726
  var _vm$nodeHandler, _vm$nodeHandler2, _vm$nodeRef, _vm$nodeRef2, _vm$nodeRef3, _vm$nodeHandler3, _vm$noticeTemplateAtt;
23793
23727
  var _vm = this,
23794
23728
  _c = _vm._self._c;
@@ -24222,7 +24156,7 @@ var TaskNodevue_type_template_id_13efb06a_scoped_true_render = function render()
24222
24156
  },
24223
24157
  attrs: {
24224
24158
  "filterOption": _vm.filterUser,
24225
- "options": [].concat(TaskNodevue_type_template_id_13efb06a_scoped_true_toConsumableArray(_vm.businessUserData), TaskNodevue_type_template_id_13efb06a_scoped_true_toConsumableArray(_vm.users)),
24159
+ "options": [].concat(TaskNodevue_type_template_id_d7966da8_scoped_true_toConsumableArray(_vm.businessUserData), TaskNodevue_type_template_id_d7966da8_scoped_true_toConsumableArray(_vm.users)),
24226
24160
  "mode": "multiple",
24227
24161
  "placeholder": "选择人"
24228
24162
  },
@@ -24250,7 +24184,7 @@ var TaskNodevue_type_template_id_13efb06a_scoped_true_render = function render()
24250
24184
  maxHeight: '400px',
24251
24185
  overflow: 'auto'
24252
24186
  },
24253
- "tree-data": [_vm.businessOrgData].concat(TaskNodevue_type_template_id_13efb06a_scoped_true_toConsumableArray(_vm.orgData)),
24187
+ "tree-data": [_vm.businessOrgData].concat(TaskNodevue_type_template_id_d7966da8_scoped_true_toConsumableArray(_vm.orgData)),
24254
24188
  "allowClear": "",
24255
24189
  "placeholder": "部门",
24256
24190
  "tree-default-expand-all": ""
@@ -24377,18 +24311,10 @@ var TaskNodevue_type_template_id_13efb06a_scoped_true_render = function render()
24377
24311
  expression: "nodeRef.data.actor_config.check_mode"
24378
24312
  }
24379
24313
  }, [_c('a-radio-button', {
24380
- attrs: {
24381
- "value": "queue"
24382
- }
24383
- }, [_vm._v("依次执行")]), _c('a-radio-button', {
24384
24314
  attrs: {
24385
24315
  "value": "orsign"
24386
24316
  }
24387
- }, [_vm._v("或操")]), _c('a-radio-button', {
24388
- attrs: {
24389
- "value": "sign"
24390
- }
24391
- }, [_vm._v("会操")])], 1)], 1)], 1)], 1) : _vm._e()], 2) : _vm._e(), _c('a-row', {
24317
+ }, [_vm._v("或操")])], 1)], 1)], 1)], 1) : _vm._e()], 2) : _vm._e(), _c('a-row', {
24392
24318
  staticStyle: {
24393
24319
  "display": "flex",
24394
24320
  "align-items": "center",
@@ -25388,9 +25314,9 @@ var TaskNodevue_type_template_id_13efb06a_scoped_true_render = function render()
25388
25314
  }
25389
25315
  }) : _vm._e()], 1)]) : _vm._e()], 1)], 1) : _vm._e()], 1);
25390
25316
  };
25391
- var TaskNodevue_type_template_id_13efb06a_scoped_true_staticRenderFns = [];
25317
+ var TaskNodevue_type_template_id_d7966da8_scoped_true_staticRenderFns = [];
25392
25318
 
25393
- // CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/TaskNode.vue?vue&type=template&id=13efb06a&scoped=true
25319
+ // CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/TaskNode.vue?vue&type=template&id=d7966da8&scoped=true
25394
25320
 
25395
25321
  // 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
25396
25322
  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); }
@@ -25427,7 +25353,7 @@ function TaskNodevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Tas
25427
25353
  defaultContent: '请选择',
25428
25354
  editName: false,
25429
25355
  tabKey: 'actors',
25430
- optionViewType: 'use_model',
25356
+ optionViewType: 'custom',
25431
25357
  optionViewId: null,
25432
25358
  // cache 缓存用途,ISSUE: change事件不会返回之前的value
25433
25359
  optionViewList: [],
@@ -25523,7 +25449,7 @@ function TaskNodevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Tas
25523
25449
  multi: false
25524
25450
  },
25525
25451
  // 自选配置
25526
- check_mode: 'queue' // 多人审批模式,// 'orsign','sign'
25452
+ check_mode: 'orsign' // 多人审批模式,// 'queue', 'orsign','sign'
25527
25453
  },
25528
25454
  option_view_id: '',
25529
25455
  option_forms: [],
@@ -25859,10 +25785,11 @@ function TaskNodevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Tas
25859
25785
  * @param node {NodeItem}
25860
25786
  */
25861
25787
  loadCache: function loadCache(node) {
25862
- var _node$data$eadCache$w, _node$data, _node$data$eadCache$w2, _node$data2, _node$data$eadCache$w3, _node$data3;
25788
+ var _node$data$eadCache$w, _node$data, _node$data$eadCache$w2, _node$data2, _node$data$eadCache$w3, _node$data3, _node$data$option_vie, _node$data4;
25863
25789
  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;
25864
25790
  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;
25865
25791
  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;
25792
+ this.optionViewId = (_node$data$option_vie = (_node$data4 = node.data) === null || _node$data4 === void 0 ? void 0 : _node$data4.option_view_id) !== null && _node$data$option_vie !== void 0 ? _node$data$option_vie : this.optionViewId;
25866
25793
  },
25867
25794
  handleDriverChange: function handleDriverChange(a, s) {},
25868
25795
  handleDriverSearch: function handleDriverSearch(s) {
@@ -25975,36 +25902,34 @@ function TaskNodevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Tas
25975
25902
  'changeViewType': function changeViewType(_ref4) {
25976
25903
  var _this6 = this;
25977
25904
  return TaskNodevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/TaskNodevue_type_script_lang_js_regeneratorRuntime().mark(function _callee2() {
25978
- var target, type;
25905
+ var target, type, optionViewId;
25979
25906
  return TaskNodevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee2$(_context2) {
25980
25907
  while (1) switch (_context2.prev = _context2.next) {
25981
25908
  case 0:
25982
25909
  target = _ref4.target;
25983
25910
  type = target.value;
25984
25911
  _this6.nodeRef.data.eadCache.workflow.optionViewType = type;
25912
+ optionViewId = '';
25985
25913
  if (type === 'custom') {
25986
25914
  _this6.optionFormsCache[_this6.eadApi.getValues().option_view_id] = _this6.nodeRef.data.option_forms;
25987
- }
25988
- if (!(type === 'use_model')) {
25989
- _context2.next = 13;
25990
- break;
25991
- }
25992
- if (_this6.optionViewId) {
25915
+ _this6.nodeRef.data.option_view_id = _this6.optionViewId;
25916
+ optionViewId = _this6.optionViewId;
25917
+ } else if (type === 'use_model') {
25993
25918
  _this6.optionFormsCache[_this6.optionViewId] = _this6.nodeRef.data.option_forms;
25919
+ _this6.nodeRef.data.option_view_id = null;
25920
+ optionViewId = _this6.eadApi.getValues().option_view_id;
25994
25921
  }
25995
- _this6.optionViewId = null;
25996
- _this6.nodeRef.data.option_view_id = undefined;
25997
25922
  _this6.viewAttrLoading = true;
25998
- _context2.next = 11;
25999
- return _this6.eadApi.getViewAttrs(_this6.eadApi.getValues().option_view_id);
26000
- case 11:
25923
+ _context2.next = 8;
25924
+ return _this6.eadApi.getViewAttrs(optionViewId);
25925
+ case 8:
26001
25926
  _this6.nodeRef.data.option_forms = _context2.sent.filter(function (attr) {
26002
25927
  return attr.type === 'value' && attr.access !== 'none';
26003
25928
  }).filter(function (attr) {
26004
25929
  return attr.key_type !== 'primary';
26005
25930
  }).map(function (attr) {
26006
25931
  var _this6$optionFormsCac, _cache$access2, _ref5;
26007
- var cache = (_this6$optionFormsCac = _this6.optionFormsCache[_this6.eadApi.getValues().option_view_id]) === null || _this6$optionFormsCac === void 0 ? void 0 : _this6$optionFormsCac.find(function (attr0) {
25932
+ var cache = (_this6$optionFormsCac = _this6.optionFormsCache[optionViewId]) === null || _this6$optionFormsCac === void 0 ? void 0 : _this6$optionFormsCac.find(function (attr0) {
26008
25933
  return attr0.attrId === attr.id;
26009
25934
  });
26010
25935
  var access = (_cache$access2 = cache === null || cache === void 0 ? void 0 : cache.access) !== null && _cache$access2 !== void 0 ? _cache$access2 : 'none';
@@ -26018,7 +25943,7 @@ function TaskNodevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Tas
26018
25943
  };
26019
25944
  });
26020
25945
  _this6.viewAttrLoading = false;
26021
- case 13:
25946
+ case 10:
26022
25947
  case "end":
26023
25948
  return _context2.stop();
26024
25949
  }
@@ -26117,8 +26042,8 @@ function TaskNodevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Tas
26117
26042
  });
26118
26043
  // CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/TaskNode.vue?vue&type=script&lang=js
26119
26044
  /* harmony default export */ var node_TaskNodevue_type_script_lang_js = (TaskNodevue_type_script_lang_js);
26120
- // EXTERNAL MODULE: ../src/web/components/forms/flow/designer/node/TaskNode.vue?vue&type=style&index=0&id=13efb06a&prod&lang=less&scoped=true
26121
- var TaskNodevue_type_style_index_0_id_13efb06a_prod_lang_less_scoped_true = __webpack_require__("865a");
26045
+ // EXTERNAL MODULE: ../src/web/components/forms/flow/designer/node/TaskNode.vue?vue&type=style&index=0&id=d7966da8&prod&lang=less&scoped=true
26046
+ var TaskNodevue_type_style_index_0_id_d7966da8_prod_lang_less_scoped_true = __webpack_require__("2629");
26122
26047
 
26123
26048
  // CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/TaskNode.vue
26124
26049
 
@@ -26131,21 +26056,162 @@ var TaskNodevue_type_style_index_0_id_13efb06a_prod_lang_less_scoped_true = __we
26131
26056
 
26132
26057
  var TaskNode_component = normalizeComponent(
26133
26058
  node_TaskNodevue_type_script_lang_js,
26134
- TaskNodevue_type_template_id_13efb06a_scoped_true_render,
26135
- TaskNodevue_type_template_id_13efb06a_scoped_true_staticRenderFns,
26059
+ TaskNodevue_type_template_id_d7966da8_scoped_true_render,
26060
+ TaskNodevue_type_template_id_d7966da8_scoped_true_staticRenderFns,
26136
26061
  false,
26137
26062
  null,
26138
- "13efb06a",
26063
+ "d7966da8",
26139
26064
  null
26140
26065
 
26141
26066
  )
26142
26067
 
26143
26068
  /* harmony default export */ var TaskNode = (TaskNode_component.exports);
26144
- // 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
26145
- var TriggerNodevue_type_template_id_7af4eb1a_scoped_true_render = function render() {
26069
+ // 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/SubWorkflowNode.vue?vue&type=template&id=423eb6bc&scoped=true
26070
+ var SubWorkflowNodevue_type_template_id_423eb6bc_scoped_true_render = function render() {
26071
+ var _vm$nodeHandler, _vm$nodeHandler2, _vm$nodeRef, _vm$nodeRef2, _vm$nodeRef3, _vm$nodeHandler3;
26146
26072
  var _vm = this,
26147
26073
  _c = _vm._self._c;
26148
- return _c('div', [_c('div', {
26074
+ 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', {
26075
+ attrs: {
26076
+ "placement": "rightTop"
26077
+ },
26078
+ scopedSlots: _vm._u([{
26079
+ key: "content",
26080
+ fn: function fn() {
26081
+ return [_c('div', {
26082
+ staticStyle: {
26083
+ "min-width": "300px",
26084
+ "max-width": "1200px"
26085
+ }
26086
+ }, [_c('runtime-workflow-actors', {
26087
+ attrs: {
26088
+ "actors": _vm.nodeHandler.runtimeData.actorLogs[_vm.node.code]
26089
+ }
26090
+ })], 1)];
26091
+ },
26092
+ proxy: true
26093
+ }], null, false, 193291077)
26094
+ }, [_c('div', {
26095
+ staticClass: "node",
26096
+ 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 : ''],
26097
+ on: {
26098
+ "click": _vm.click
26099
+ }
26100
+ }, [_c('div', {
26101
+ staticClass: "title"
26102
+ }, [_c('span', [_c('a-icon', {
26103
+ attrs: {
26104
+ "component": _vm.icon
26105
+ }
26106
+ })], 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', {
26107
+ attrs: {
26108
+ "type": "control"
26109
+ }
26110
+ })], 1) : _vm._e(), !_vm.nodeHandler.isPreview ? _c('span', {
26111
+ staticClass: "title-right"
26112
+ }, [_c('a-icon', {
26113
+ staticClass: "close",
26114
+ attrs: {
26115
+ "type": "close"
26116
+ },
26117
+ on: {
26118
+ "click": function click($event) {
26119
+ $event.stopPropagation();
26120
+ return _vm.close.apply(null, arguments);
26121
+ }
26122
+ }
26123
+ })], 1) : _vm._e()]), _c('div', {
26124
+ staticClass: "content"
26125
+ }, [_c('span', {
26126
+ staticClass: "content-main"
26127
+ }, [_c('span', {
26128
+ staticClass: "error-tooltip"
26129
+ }, [_c('a-tooltip', [_c('template', {
26130
+ slot: "title"
26131
+ }, [_vm._v(" " + _vm._s(_vm.node.error) + " ")]), _c('a-icon', {
26132
+ attrs: {
26133
+ "theme": "filled",
26134
+ "type": "warning"
26135
+ }
26136
+ })], 2)], 1), _vm.nodeContent ? _c('span', {
26137
+ staticStyle: {
26138
+ "padding-left": "5px"
26139
+ }
26140
+ }, [_c('span', {
26141
+ domProps: {
26142
+ "innerHTML": _vm._s(_vm.nodeContent)
26143
+ }
26144
+ })]) : _c('span', {
26145
+ staticStyle: {
26146
+ "padding-left": "5px",
26147
+ "color": "rgb(164 164 164)"
26148
+ }
26149
+ }, [_vm._v(_vm._s(_vm.defaultContent))])]), _c('span', {
26150
+ staticClass: "content-right"
26151
+ }, [!_vm.nodeHandler.isPreview ? _c('a-popover', {
26152
+ attrs: {
26153
+ "placement": "rightTop",
26154
+ "trigger": "click"
26155
+ },
26156
+ scopedSlots: _vm._u([{
26157
+ key: "title",
26158
+ fn: function fn() {
26159
+ return [_c('span', {
26160
+ staticStyle: {
26161
+ "font-size": "18px"
26162
+ }
26163
+ }, [_vm._v("追加分支")])];
26164
+ },
26165
+ proxy: true
26166
+ }, {
26167
+ key: "content",
26168
+ fn: function fn() {
26169
+ return [_c('div', {
26170
+ staticClass: "add-node-box"
26171
+ }, _vm._l(_vm.nodes, function (node, index) {
26172
+ var _node$icon, _node$icon2;
26173
+ return _c('div', {
26174
+ key: index,
26175
+ staticClass: "add-node-item",
26176
+ on: {
26177
+ "click": function click($event) {
26178
+ return _vm.wrapNode(node.type);
26179
+ }
26180
+ }
26181
+ }, [_c('div', {
26182
+ staticClass: "icon",
26183
+ style: 'color:' + node.color + ';'
26184
+ }, [(_node$icon = node.icon) !== null && _node$icon !== void 0 && _node$icon.component ? _c('a-icon', {
26185
+ attrs: {
26186
+ "component": node.icon.component
26187
+ }
26188
+ }) : _vm._e(), (_node$icon2 = node.icon) !== null && _node$icon2 !== void 0 && _node$icon2.type ? _c('a-icon', {
26189
+ attrs: {
26190
+ "type": node.icon.type
26191
+ }
26192
+ }) : _vm._e()], 1), _c('span', [_vm._v(_vm._s(node.name))])]);
26193
+ }), 0)];
26194
+ },
26195
+ proxy: true
26196
+ }], null, false, 2863198520),
26197
+ model: {
26198
+ value: _vm.visiblePopover,
26199
+ callback: function callback($$v) {
26200
+ _vm.visiblePopover = $$v;
26201
+ },
26202
+ expression: "visiblePopover"
26203
+ }
26204
+ }, [_c('a-icon', {
26205
+ attrs: {
26206
+ "type": "plus"
26207
+ },
26208
+ on: {
26209
+ "click": function click($event) {
26210
+ $event.stopPropagation();
26211
+ return function () {}.apply(null, arguments);
26212
+ }
26213
+ }
26214
+ })], 1) : _vm._e()], 1)])])]) : _c('div', {
26149
26215
  staticClass: "node",
26150
26216
  class: _vm.getClass(),
26151
26217
  on: {
@@ -26154,10 +26220,14 @@ var TriggerNodevue_type_template_id_7af4eb1a_scoped_true_render = function rende
26154
26220
  }, [_c('div', {
26155
26221
  staticClass: "title"
26156
26222
  }, [_c('span', [_c('a-icon', {
26223
+ attrs: {
26224
+ "component": _vm.icon
26225
+ }
26226
+ })], 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', {
26157
26227
  attrs: {
26158
26228
  "type": "control"
26159
26229
  }
26160
- })], 1), _c('span', [_vm._v(" " + _vm._s(_vm.node.name))]), !_vm.nodeHandler.isPreview ? _c('span', {
26230
+ })], 1) : _vm._e(), !_vm.nodeHandler.isPreview || (_vm$nodeRef3 = _vm.nodeRef) !== null && _vm$nodeRef3 !== void 0 && (_vm$nodeRef3 = _vm$nodeRef3.data) !== null && _vm$nodeRef3 !== void 0 && (_vm$nodeRef3 = _vm$nodeRef3.page_options) !== null && _vm$nodeRef3 !== void 0 && _vm$nodeRef3.allowEdit && ((_vm$nodeHandler3 = _vm.nodeHandler) === null || _vm$nodeHandler3 === void 0 || (_vm$nodeHandler3 = _vm$nodeHandler3.runtimeData) === null || _vm$nodeHandler3 === void 0 ? void 0 : _vm$nodeHandler3.currentNodeType) === 'start' ? _c('span', {
26161
26231
  staticClass: "title-right"
26162
26232
  }, [_c('a-icon', {
26163
26233
  staticClass: "close",
@@ -26187,7 +26257,970 @@ var TriggerNodevue_type_template_id_7af4eb1a_scoped_true_render = function rende
26187
26257
  staticStyle: {
26188
26258
  "padding-left": "5px"
26189
26259
  }
26190
- }, [_vm._v(_vm._s(_vm.nodeContent))]) : _c('span', {
26260
+ }, [_c('span', {
26261
+ domProps: {
26262
+ "innerHTML": _vm._s(_vm.nodeContent)
26263
+ }
26264
+ })]) : _c('span', {
26265
+ staticStyle: {
26266
+ "padding-left": "5px",
26267
+ "color": "rgb(164 164 164)"
26268
+ }
26269
+ }, [_vm._v(_vm._s(_vm.defaultContent))])]), _c('span', {
26270
+ staticClass: "content-right"
26271
+ }, [!_vm.nodeHandler.isPreview ? _c('a-popover', {
26272
+ attrs: {
26273
+ "placement": "rightTop",
26274
+ "trigger": "click"
26275
+ },
26276
+ scopedSlots: _vm._u([{
26277
+ key: "title",
26278
+ fn: function fn() {
26279
+ return [_c('span', {
26280
+ staticStyle: {
26281
+ "font-size": "18px"
26282
+ }
26283
+ }, [_vm._v("追加分支")])];
26284
+ },
26285
+ proxy: true
26286
+ }, {
26287
+ key: "content",
26288
+ fn: function fn() {
26289
+ return [_c('div', {
26290
+ staticClass: "add-node-box"
26291
+ }, _vm._l(_vm.nodes, function (node, index) {
26292
+ var _node$icon3, _node$icon4;
26293
+ return _c('div', {
26294
+ key: index,
26295
+ staticClass: "add-node-item",
26296
+ on: {
26297
+ "click": function click($event) {
26298
+ return _vm.wrapNode(node.type);
26299
+ }
26300
+ }
26301
+ }, [_c('div', {
26302
+ staticClass: "icon",
26303
+ style: 'color:' + node.color + ';'
26304
+ }, [(_node$icon3 = node.icon) !== null && _node$icon3 !== void 0 && _node$icon3.component ? _c('a-icon', {
26305
+ attrs: {
26306
+ "component": node.icon.component
26307
+ }
26308
+ }) : _vm._e(), (_node$icon4 = node.icon) !== null && _node$icon4 !== void 0 && _node$icon4.type ? _c('a-icon', {
26309
+ attrs: {
26310
+ "type": node.icon.type
26311
+ }
26312
+ }) : _vm._e()], 1), _c('span', [_vm._v(_vm._s(node.name))])]);
26313
+ }), 0)];
26314
+ },
26315
+ proxy: true
26316
+ }], null, false, 2863198520),
26317
+ model: {
26318
+ value: _vm.visiblePopover,
26319
+ callback: function callback($$v) {
26320
+ _vm.visiblePopover = $$v;
26321
+ },
26322
+ expression: "visiblePopover"
26323
+ }
26324
+ }, [_c('a-icon', {
26325
+ attrs: {
26326
+ "type": "plus"
26327
+ },
26328
+ on: {
26329
+ "click": function click($event) {
26330
+ $event.stopPropagation();
26331
+ return function () {}.apply(null, arguments);
26332
+ }
26333
+ }
26334
+ })], 1) : _vm._e()], 1)])]), !_vm.nodeHandler.isPreview ? _c('a-drawer', {
26335
+ attrs: {
26336
+ "closable": true,
26337
+ "visible": _vm.visibleDrawer,
26338
+ "width": 720,
26339
+ "placement": "right"
26340
+ },
26341
+ on: {
26342
+ "close": _vm.hideDrawer
26343
+ }
26344
+ }, [!_vm.editName ? _c('div', {
26345
+ staticClass: "node-drawer-title",
26346
+ on: {
26347
+ "click": _vm.showEditName
26348
+ }
26349
+ }, [_c('a-icon', {
26350
+ attrs: {
26351
+ "type": "edit"
26352
+ }
26353
+ }), _vm._v(" " + _vm._s(_vm.node.name) + " ")], 1) : _vm._e(), _c('a-form-model', {
26354
+ directives: [{
26355
+ name: "show",
26356
+ rawName: "v-show",
26357
+ value: _vm.editName,
26358
+ expression: "editName"
26359
+ }],
26360
+ ref: "nameForm",
26361
+ attrs: {
26362
+ "model": _vm.nodeRef,
26363
+ "rules": {
26364
+ name: [{
26365
+ required: true,
26366
+ message: '请填写节点名称',
26367
+ trigger: 'blur'
26368
+ }, {
26369
+ min: 2,
26370
+ max: 20,
26371
+ message: '2-20个字',
26372
+ trigger: 'blur'
26373
+ }]
26374
+ },
26375
+ "layout": "inline"
26376
+ }
26377
+ }, [_c('a-form-model-item', {
26378
+ ref: "name",
26379
+ attrs: {
26380
+ "prop": "name"
26381
+ }
26382
+ }, [_c('a-input', {
26383
+ ref: "nameInput",
26384
+ attrs: {
26385
+ "placeholder": "节点名称"
26386
+ },
26387
+ on: {
26388
+ "blur": function blur() {
26389
+ _vm.editName = false;
26390
+ }
26391
+ },
26392
+ model: {
26393
+ value: _vm.nodeRef.name,
26394
+ callback: function callback($$v) {
26395
+ _vm.$set(_vm.nodeRef, "name", $$v);
26396
+ },
26397
+ expression: "nodeRef.name"
26398
+ }
26399
+ })], 1)], 1), _c('a-tabs', {
26400
+ attrs: {
26401
+ "default-active-key": "1"
26402
+ },
26403
+ on: {
26404
+ "change": _vm.changeTags
26405
+ },
26406
+ model: {
26407
+ value: _vm.tabKey,
26408
+ callback: function callback($$v) {
26409
+ _vm.tabKey = $$v;
26410
+ },
26411
+ expression: "tabKey"
26412
+ }
26413
+ }, [_c('a-tab-pane', {
26414
+ key: "configs",
26415
+ attrs: {
26416
+ "tab": "相关配置"
26417
+ }
26418
+ }, [_c('div', {
26419
+ staticClass: "node-form-item"
26420
+ }, [_c('a-divider', {
26421
+ attrs: {
26422
+ "orientation": "left"
26423
+ }
26424
+ }, [_vm._v("选择子流程")]), _c('a-row', [_c('a-col', {
26425
+ attrs: {
26426
+ "span": 24
26427
+ }
26428
+ }, [_c('a-select', {
26429
+ staticClass: "node-form-item",
26430
+ staticStyle: {
26431
+ "width": "100%"
26432
+ },
26433
+ attrs: {
26434
+ "default-active-first-option": false,
26435
+ "filter-option": false,
26436
+ "not-found-content": null,
26437
+ "show-arrow": false,
26438
+ "placeholder": "请输入表单流程名称",
26439
+ "show-search": ""
26440
+ },
26441
+ on: {
26442
+ "change": _vm.optionModelChange,
26443
+ "search": _vm.optionModelSearch
26444
+ },
26445
+ model: {
26446
+ value: _vm.nodeRef.data.sub_model_id,
26447
+ callback: function callback($$v) {
26448
+ _vm.$set(_vm.nodeRef.data, "sub_model_id", $$v);
26449
+ },
26450
+ expression: "nodeRef.data.sub_model_id"
26451
+ }
26452
+ }, _vm._l(_vm.optionModelList, function (d) {
26453
+ return _c('a-select-option', {
26454
+ key: d.value,
26455
+ attrs: {
26456
+ "value": d.value
26457
+ }
26458
+ }, [_vm._v(" " + _vm._s(d.text) + " ")]);
26459
+ }), 1)], 1)], 1)], 1), _c('div', {
26460
+ staticClass: "node-form-item"
26461
+ }, [_c('a-divider', {
26462
+ attrs: {
26463
+ "orientation": "left"
26464
+ }
26465
+ }, [_vm._v("启动模式")]), _c('a-row', {
26466
+ staticStyle: {
26467
+ "display": "flex",
26468
+ "align-items": "center",
26469
+ "margin-bottom": "5px"
26470
+ }
26471
+ }, [_c('a-col', {
26472
+ attrs: {
26473
+ "span": 4
26474
+ }
26475
+ }, [_vm._v("启动模式")]), _c('a-col', {
26476
+ attrs: {
26477
+ "span": 20
26478
+ }
26479
+ }, [_c('a-radio-group', {
26480
+ staticStyle: {
26481
+ "margin-right": "10px"
26482
+ },
26483
+ attrs: {
26484
+ "button-style": "solid"
26485
+ },
26486
+ model: {
26487
+ value: _vm.nodeRef.data.other_options.startMode,
26488
+ callback: function callback($$v) {
26489
+ _vm.$set(_vm.nodeRef.data.other_options, "startMode", $$v);
26490
+ },
26491
+ expression: "nodeRef.data.other_options.startMode"
26492
+ }
26493
+ }, [_c('a-radio-button', {
26494
+ attrs: {
26495
+ "value": "auto"
26496
+ }
26497
+ }, [_vm._v(" 自动 ")]), _c('a-radio-button', {
26498
+ attrs: {
26499
+ "value": "handler",
26500
+ "disabled": ""
26501
+ }
26502
+ }, [_vm._v(" 手动 ")])], 1)], 1)], 1)], 1), _c('div', {
26503
+ staticClass: "node-form-item"
26504
+ }, [_c('a-divider', {
26505
+ attrs: {
26506
+ "orientation": "left"
26507
+ }
26508
+ }, [_vm._v("运行模式")]), _c('a-row', {
26509
+ staticStyle: {
26510
+ "display": "flex",
26511
+ "align-items": "center",
26512
+ "margin-bottom": "5px"
26513
+ }
26514
+ }, [_c('a-col', {
26515
+ attrs: {
26516
+ "span": 4
26517
+ }
26518
+ }, [_vm._v("运行模式")]), _c('a-col', {
26519
+ attrs: {
26520
+ "span": 20
26521
+ }
26522
+ }, [_c('a-radio-group', {
26523
+ staticStyle: {
26524
+ "margin-right": "10px"
26525
+ },
26526
+ attrs: {
26527
+ "button-style": "solid"
26528
+ },
26529
+ model: {
26530
+ value: _vm.nodeRef.data.other_options.operateMode,
26531
+ callback: function callback($$v) {
26532
+ _vm.$set(_vm.nodeRef.data.other_options, "operateMode", $$v);
26533
+ },
26534
+ expression: "nodeRef.data.other_options.operateMode"
26535
+ }
26536
+ }, [_c('a-radio-button', {
26537
+ attrs: {
26538
+ "value": "sync"
26539
+ }
26540
+ }, [_vm._v(" 同步 ")]), _c('a-radio-button', {
26541
+ attrs: {
26542
+ "value": "async",
26543
+ "disabled": ""
26544
+ }
26545
+ }, [_vm._v(" 异步 ")])], 1)], 1)], 1)], 1), _c('div', {
26546
+ staticClass: "node-form-item"
26547
+ }, [_c('a-divider', {
26548
+ attrs: {
26549
+ "orientation": "left"
26550
+ }
26551
+ }, [_vm._v("传入数据")]), _c('a-row', {
26552
+ staticStyle: {
26553
+ "display": "flex",
26554
+ "align-items": "center",
26555
+ "margin-bottom": "5px"
26556
+ }
26557
+ }, [_c('a-col', {
26558
+ attrs: {
26559
+ "span": 4
26560
+ }
26561
+ }, [_vm._v("传入数据")]), _c('a-col', {
26562
+ attrs: {
26563
+ "span": 20
26564
+ }
26565
+ }, [_c('a-radio-group', {
26566
+ staticStyle: {
26567
+ "margin-right": "10px"
26568
+ },
26569
+ attrs: {
26570
+ "button-style": "solid"
26571
+ },
26572
+ model: {
26573
+ value: _vm.nodeRef.data.other_options.inputData,
26574
+ callback: function callback($$v) {
26575
+ _vm.$set(_vm.nodeRef.data.other_options, "inputData", $$v);
26576
+ },
26577
+ expression: "nodeRef.data.other_options.inputData"
26578
+ }
26579
+ }, [_c('a-radio-button', {
26580
+ attrs: {
26581
+ "value": "before"
26582
+ }
26583
+ }, [_vm._v(" 上一节点 ")]), _c('a-radio-button', {
26584
+ attrs: {
26585
+ "value": "host",
26586
+ "disabled": ""
26587
+ }
26588
+ }, [_vm._v(" 主流程 ")])], 1)], 1)], 1)], 1)])], 1)], 1) : _vm._e()], 1);
26589
+ };
26590
+ var SubWorkflowNodevue_type_template_id_423eb6bc_scoped_true_staticRenderFns = [];
26591
+
26592
+ // CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/SubWorkflowNode.vue?vue&type=template&id=423eb6bc&scoped=true
26593
+
26594
+ // 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/SubWorkflowNode.vue?vue&type=script&lang=js
26595
+ function SubWorkflowNodevue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return SubWorkflowNodevue_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; }, SubWorkflowNodevue_type_script_lang_js_typeof(o); }
26596
+ function SubWorkflowNodevue_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 */ SubWorkflowNodevue_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" == SubWorkflowNodevue_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(SubWorkflowNodevue_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; }
26597
+ function SubWorkflowNodevue_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); } }
26598
+ function SubWorkflowNodevue_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) { SubWorkflowNodevue_type_script_lang_js_asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { SubWorkflowNodevue_type_script_lang_js_asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
26599
+ function SubWorkflowNodevue_type_script_lang_js_createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = SubWorkflowNodevue_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; } } }; }
26600
+ function SubWorkflowNodevue_type_script_lang_js_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return SubWorkflowNodevue_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 SubWorkflowNodevue_type_script_lang_js_arrayLikeToArray(o, minLen); }
26601
+ function SubWorkflowNodevue_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; }
26602
+ function SubWorkflowNodevue_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; }
26603
+ function SubWorkflowNodevue_type_script_lang_js_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? SubWorkflowNodevue_type_script_lang_js_ownKeys(Object(t), !0).forEach(function (r) { SubWorkflowNodevue_type_script_lang_js_defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : SubWorkflowNodevue_type_script_lang_js_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
26604
+ function SubWorkflowNodevue_type_script_lang_js_defineProperty(obj, key, value) { key = SubWorkflowNodevue_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; }
26605
+ function SubWorkflowNodevue_type_script_lang_js_toPropertyKey(t) { var i = SubWorkflowNodevue_type_script_lang_js_toPrimitive(t, "string"); return "symbol" == SubWorkflowNodevue_type_script_lang_js_typeof(i) ? i : String(i); }
26606
+ function SubWorkflowNodevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != SubWorkflowNodevue_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" != SubWorkflowNodevue_type_script_lang_js_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
26607
+
26608
+
26609
+
26610
+
26611
+ /* harmony default export */ var SubWorkflowNodevue_type_script_lang_js = ({
26612
+ name: 'SubWorkflowNode',
26613
+ props: {
26614
+ node: designer_NodeItem,
26615
+ nodeHandler: Object
26616
+ },
26617
+ components: {
26618
+ RuntimeWorkflowActors: RuntimeWorkFlowActors
26619
+ },
26620
+ data: function data() {
26621
+ return {
26622
+ defaultContent: '请选择',
26623
+ editName: false,
26624
+ tabKey: 'configs',
26625
+ optionModelId: null,
26626
+ // cache 缓存用途,ISSUE: change事件不会返回之前的value
26627
+ optionModelList: [],
26628
+ optionFormsColumns: [{
26629
+ title: '表单属性',
26630
+ key: 'attrName',
26631
+ scopedSlots: {
26632
+ customRender: 'attrName'
26633
+ }
26634
+ }, {
26635
+ key: 'none',
26636
+ slots: {
26637
+ title: 'noneColumn'
26638
+ },
26639
+ scopedSlots: {
26640
+ customRender: 'none'
26641
+ }
26642
+ }, {
26643
+ key: 'readonly',
26644
+ slots: {
26645
+ title: 'readonlyColumn'
26646
+ },
26647
+ scopedSlots: {
26648
+ customRender: 'readonly'
26649
+ }
26650
+ }, {
26651
+ key: 'write',
26652
+ slots: {
26653
+ title: 'writeColumn'
26654
+ },
26655
+ scopedSlots: {
26656
+ customRender: 'write'
26657
+ }
26658
+ }, {
26659
+ title: '必填',
26660
+ dataIndex: 'required',
26661
+ key: 'required',
26662
+ scopedSlots: {
26663
+ customRender: 'required'
26664
+ }
26665
+ }],
26666
+ orgMap: null,
26667
+ orgData: [],
26668
+ roles: [],
26669
+ users: [],
26670
+ viewNameTimeout: null,
26671
+ viewAttrLoading: true,
26672
+ driverList: null,
26673
+ driverTimeout: null,
26674
+ optionFormsCache: {},
26675
+ formsColumnFilter: undefined,
26676
+ formsColumnAccess: 'all'
26677
+ };
26678
+ },
26679
+ // eslint-disable-next-line vue/no-setup-props-destructure
26680
+ setup: function setup(_ref) {
26681
+ var node = _ref.node,
26682
+ nodeHandler = _ref.nodeHandler;
26683
+ // icon;
26684
+ var icon = {
26685
+ 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 "
26686
+ };
26687
+
26688
+ // drawer support
26689
+ var visibleDrawer = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["ref"])(false);
26690
+
26691
+ // -------------------------------------------------------------------------------------
26692
+ /**
26693
+ * @type {EadApi}
26694
+ */
26695
+ // eslint-disable-next-line vue/no-setup-props-destructure
26696
+ var eadApi = nodeHandler.businessAdapter.eadApi;
26697
+ var defaultData = function defaultData() {
26698
+ return {
26699
+ eadCache: {
26700
+ workflow: {}
26701
+ },
26702
+ actor_config: {
26703
+ type: 'expression',
26704
+ // 发起人自己,sponsor
26705
+ expression: [
26706
+ // { type: 'uid', user: [] ,orgId: undefined, roleId: undefined, groupId: undefined}, // {sponsor} 发起人自己
26707
+ {
26708
+ type: 'org',
26709
+ user: [],
26710
+ orgId: undefined,
26711
+ roleId: undefined,
26712
+ groupId: undefined
26713
+ } // {sponsor_org} 发起人所在部门
26714
+ ],
26715
+ optional: {
26716
+ enable: false,
26717
+ multi: false
26718
+ },
26719
+ // 自选配置
26720
+ check_mode: 'queue' // 多人审批模式,// 'orsign','sign'
26721
+ },
26722
+ option_view_id: '',
26723
+ option_forms: [],
26724
+ back_type: 'start',
26725
+ // start:退回发起者,before:退回上一步,assign:指定退回节点,custom:自主选择回退节点,bpmn:后续步骤
26726
+ back_node_id: '',
26727
+ custom_back_nodes: [],
26728
+ timeout_remind: {
26729
+ enable: false,
26730
+ outTime: {
26731
+ time: 1,
26732
+ unit: 'day'
26733
+ },
26734
+ // 超时时间, 单位 minute,hour,day,week,month,year
26735
+ outCycle: 'once',
26736
+ // 提醒周期,--once:一次,--day:每日 --week: 每周,--month:每月,==year:每年
26737
+ outDriver: undefined // 超时驱动,--null:default 默认消息通知,-- 自定义驱动名称
26738
+ },
26739
+ page_options: {
26740
+ allowEdit: false,
26741
+ // 允许编辑, -- true:允许, false: 不允许
26742
+ allowInvolve: false,
26743
+ // 允许加签, -- true:允许, false: 不允许
26744
+ allowReassign: false,
26745
+ // 允许转办, -- true:允许, false: 不允许
26746
+ allowBack: false,
26747
+ // 允许退回, -- true:允许, false: 不允许
26748
+ allowEnd: false // 允许结束, -- true:允许, false: 不允许
26749
+ },
26750
+ other_options: {
26751
+ allowReceipt: false,
26752
+ // 是否回执,
26753
+ allowWithdraw: false,
26754
+ // 允许撤回: false
26755
+ approverIsNull: 'error',
26756
+ // 审批人为空时,next:自动下一步 ,error:提示错误
26757
+ resPath: null,
26758
+ // 视图资源地址
26759
+ redirectUri: null,
26760
+ // 消息地址
26761
+ assert: [],
26762
+ custom_action: {},
26763
+ subModelName: '',
26764
+ // 子流程模式名称
26765
+ startMode: 'auto',
26766
+ // 启动模式, "auto": 自动, "handler": 手动
26767
+ operateMode: 'sync',
26768
+ // 运行模式,"sync":同步,"async":异步
26769
+ inputData: 'before' // 传入数据, "before":上一节点,"host":主流程
26770
+ },
26771
+ notice_template: null
26772
+ };
26773
+ };
26774
+ if (!node.data) {
26775
+ // eslint-disable-next-line vue/no-mutating-props
26776
+ node.data = defaultData();
26777
+ }
26778
+
26779
+ // 兼容更新
26780
+ if (!node.data.other_options.custom_action) {
26781
+ // eslint-disable-next-line vue/no-mutating-props
26782
+ node.data.other_options.custom_action = {};
26783
+ }
26784
+ if (!node.data.other_options.assert) {
26785
+ // eslint-disable-next-line vue/no-mutating-props
26786
+ node.data.other_options.assert = [];
26787
+ }
26788
+
26789
+ // ------------------------------------------------------------------------------------------------
26790
+
26791
+ // eslint-disable-next-line no-return-assign
26792
+ var showDrawer = function showDrawer() {
26793
+ return visibleDrawer.value = true;
26794
+ };
26795
+ var drawer = {
26796
+ visibleDrawer: visibleDrawer,
26797
+ showDrawer: showDrawer
26798
+ };
26799
+
26800
+ // popover support
26801
+ var visiblePopover = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["ref"])(false);
26802
+ // eslint-disable-next-line no-return-assign
26803
+ var hidePopover = function hidePopover() {
26804
+ return visiblePopover.value = false;
26805
+ };
26806
+ // eslint-disable-next-line no-return-assign
26807
+ var showPopover = function showPopover() {
26808
+ return visiblePopover.value = true;
26809
+ };
26810
+ var popover = {
26811
+ visiblePopover: visiblePopover,
26812
+ showPopover: showPopover,
26813
+ hidePopover: hidePopover
26814
+ };
26815
+
26816
+ // wrapNode
26817
+ var nodes = [{
26818
+ name: '条件分支',
26819
+ type: designer_NodeType.JUDGE_WRAP,
26820
+ icon: {
26821
+ type: 'apartment'
26822
+ },
26823
+ color: 'rgb(21, 188, 131)'
26824
+ }, {
26825
+ name: '并行分支',
26826
+ type: designer_NodeType.PARALLEL_WRAP,
26827
+ icon: {
26828
+ type: 'sliders'
26829
+ },
26830
+ color: 'rgb(113, 141, 255)'
26831
+ }];
26832
+ var wrapNode = function wrapNode(type) {
26833
+ nodeHandler.wrapNode(node.code, {
26834
+ type: type
26835
+ });
26836
+ };
26837
+ var wrapNodeR = {
26838
+ nodes: nodes,
26839
+ wrapNode: wrapNode
26840
+ };
26841
+ var noticeTemplateAttr = nodeHandler.isPreview ? null : nodeHandler.businessAdapter.eadApi.getCurrentViewSchema().model.attrs.find(function (attr) {
26842
+ return attr.name === 'notice_template';
26843
+ });
26844
+ return SubWorkflowNodevue_type_script_lang_js_objectSpread(SubWorkflowNodevue_type_script_lang_js_objectSpread(SubWorkflowNodevue_type_script_lang_js_objectSpread(SubWorkflowNodevue_type_script_lang_js_objectSpread({
26845
+ icon: icon
26846
+ }, drawer), popover), wrapNodeR), {}, {
26847
+ nodeRef: node,
26848
+ eadApi: eadApi,
26849
+ noticeTemplateAttr: noticeTemplateAttr
26850
+ });
26851
+ },
26852
+ computed: {
26853
+ isSingle: function isSingle() {
26854
+ if (this.nodeRef.data.actor_config.type === 'expression') {
26855
+ 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;
26856
+ }
26857
+ if (this.nodeRef.data.actor_config.type === 'sponsor') {
26858
+ return true;
26859
+ }
26860
+ return false;
26861
+ },
26862
+ availableBackStep: function availableBackStep() {
26863
+ var availableBackStep = this.nodeHandler.businessAdapter.getAvailableBackStep(this.node.code).map(function (node) {
26864
+ return {
26865
+ value: node.code,
26866
+ label: node.name
26867
+ };
26868
+ });
26869
+ // eslint-disable-next-line vue/no-mutating-props,vue/no-side-effects-in-computed-properties
26870
+ if (availableBackStep.length) {
26871
+ // eslint-disable-next-line vue/no-mutating-props,vue/no-side-effects-in-computed-properties
26872
+ this.node.data.back_node_id = availableBackStep[0].value;
26873
+ // eslint-disable-next-line vue/no-mutating-props,vue/no-side-effects-in-computed-properties
26874
+ this.node.data.custom_back_nodes = availableBackStep.map(function (o) {
26875
+ return o.value;
26876
+ });
26877
+ }
26878
+ return availableBackStep;
26879
+ },
26880
+ 'nodeContent': function nodeContent() {
26881
+ var _this$nodeRef;
26882
+ return (_this$nodeRef = this.nodeRef) === null || _this$nodeRef === void 0 || (_this$nodeRef = _this$nodeRef.data) === null || _this$nodeRef === void 0 || (_this$nodeRef = _this$nodeRef.other_options) === null || _this$nodeRef === void 0 ? void 0 : _this$nodeRef.subModelName;
26883
+ },
26884
+ 'optionFormsRadio': function optionFormsRadio() {
26885
+ var optionForms = this.node.data.option_forms;
26886
+ if (!optionForms.length) {
26887
+ return '-';
26888
+ }
26889
+ var access = optionForms[0].access;
26890
+ if (optionForms.filter(function (value) {
26891
+ return value.access === access;
26892
+ }).length === optionForms.length) {
26893
+ return access;
26894
+ }
26895
+ return '-';
26896
+ },
26897
+ businessOrgData: function businessOrgData() {
26898
+ var children = [];
26899
+ var org = {
26900
+ title: '操作视图',
26901
+ // eslint-disable-next-line no-template-curly-in-string
26902
+ value: '${form_option_view}',
26903
+ // eslint-disable-next-line no-template-curly-in-string
26904
+ key: '${form_option_view}',
26905
+ disabled: true,
26906
+ children: children
26907
+ };
26908
+ if (!this.nodeRef.data.option_forms || !this.nodeRef.data.option_forms.length) {
26909
+ return org;
26910
+ }
26911
+ this.nodeRef.data.option_forms.forEach(function (attr) {
26912
+ children.push({
26913
+ title: attr.attrName,
26914
+ value: '${' + attr.attrCode + '}',
26915
+ key: '${' + attr.attrCode + '}',
26916
+ children: []
26917
+ });
26918
+ });
26919
+ return org;
26920
+ },
26921
+ businessUserData: function businessUserData() {
26922
+ var users = [];
26923
+ if (!this.nodeRef.data.option_forms || !this.nodeRef.data.option_forms.length) {
26924
+ return users;
26925
+ }
26926
+ this.nodeRef.data.option_forms.forEach(function (attr) {
26927
+ users.push({
26928
+ label: attr.attrName + '(操作视图)',
26929
+ title: attr.attrName + '(操作视图)',
26930
+ value: '${' + attr.attrCode + '}',
26931
+ key: attr.attrName + '-' + attr.attrCode + '(操作视图)',
26932
+ children: []
26933
+ });
26934
+ });
26935
+ return users;
26936
+ }
26937
+ },
26938
+ methods: {
26939
+ filterDataset: function filterDataset(filter, dataset, datasetKeys) {
26940
+ var _this = this;
26941
+ if (!filter) {
26942
+ return dataset.filter(function (o) {
26943
+ return _this.formsColumnAccess === 'all' || _this.formsColumnAccess.indexOf(o.access.toString()) !== -1;
26944
+ });
26945
+ }
26946
+ return dataset.filter(function (o) {
26947
+ var _iterator = SubWorkflowNodevue_type_script_lang_js_createForOfIteratorHelper(datasetKeys),
26948
+ _step;
26949
+ try {
26950
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
26951
+ var key = _step.value;
26952
+ if (o[key].toString().toLowerCase().includes(filter.toLowerCase())) {
26953
+ return true;
26954
+ }
26955
+ }
26956
+ } catch (err) {
26957
+ _iterator.e(err);
26958
+ } finally {
26959
+ _iterator.f();
26960
+ }
26961
+ return false;
26962
+ }).filter(function (o) {
26963
+ return _this.formsColumnAccess === 'all' || _this.formsColumnAccess.indexOf(o.access.toString()) !== -1;
26964
+ });
26965
+ },
26966
+ getClass: function getClass() {
26967
+ var _this$nodeHandler, _this$nodeHandler2, _this$nodeHandler3;
26968
+ var classes = '';
26969
+ if (this.node.error) {
26970
+ classes += ' error';
26971
+ }
26972
+ if (((_this$nodeHandler = this.nodeHandler) === null || _this$nodeHandler === void 0 || (_this$nodeHandler = _this$nodeHandler.runtimeData) === null || _this$nodeHandler === void 0 ? void 0 : _this$nodeHandler.currentNodeCode) === this.node.code) {
26973
+ classes += ' ongoing';
26974
+ } else if ((_this$nodeHandler2 = this.nodeHandler) !== null && _this$nodeHandler2 !== void 0 && (_this$nodeHandler2 = _this$nodeHandler2.runtimeData) !== null && _this$nodeHandler2 !== void 0 && _this$nodeHandler2.caseNodes && (_this$nodeHandler3 = this.nodeHandler) !== null && _this$nodeHandler3 !== void 0 && (_this$nodeHandler3 = _this$nodeHandler3.runtimeData) !== null && _this$nodeHandler3 !== void 0 && (_this$nodeHandler3 = _this$nodeHandler3.caseNodes[this.node.code]) !== null && _this$nodeHandler3 !== void 0 && _this$nodeHandler3.status) {
26975
+ classes += this.nodeHandler.runtimeData.caseNodes[this.node.code].status;
26976
+ }
26977
+ return classes;
26978
+ },
26979
+ filterUser: function filterUser(input, _ref2) {
26980
+ var data = _ref2.data;
26981
+ return data.key.indexOf(input) !== -1;
26982
+ },
26983
+ /**
26984
+ *
26985
+ * @param node {NodeItem}
26986
+ */
26987
+ loadCache: function loadCache(node) {
26988
+ var _node$data$eadCache$w, _node$data, _node$data$eadCache$w2, _node$data2;
26989
+ this.optionModelList = (_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.optionModelList) !== null && _node$data$eadCache$w !== void 0 ? _node$data$eadCache$w : this.optionModelList;
26990
+ this.driverList = (_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.driverList) !== null && _node$data$eadCache$w2 !== void 0 ? _node$data$eadCache$w2 : this.driverList;
26991
+ },
26992
+ handleDriverChange: function handleDriverChange(a, s) {},
26993
+ handleDriverSearch: function handleDriverSearch(s) {
26994
+ var _this2 = this;
26995
+ if (this.driverTimeout) {
26996
+ clearTimeout(this.driverTimeout);
26997
+ this.driverTimeout = null;
26998
+ }
26999
+ var go = function go() {
27000
+ if (!s) {
27001
+ return;
27002
+ }
27003
+ _this2.eadApi.getDrivers(s).then(function (value) {
27004
+ _this2.driverList = value.map(function (item) {
27005
+ return {
27006
+ value: item.driver_id,
27007
+ label: item.driver_name,
27008
+ title: item.driver_name
27009
+ };
27010
+ });
27011
+ _this2.nodeRef.data.eadCache.workflow.driverList = _this2.driverList;
27012
+ });
27013
+ };
27014
+ this.driverTimeout = setTimeout(go, 300);
27015
+ },
27016
+ hasExpression: function hasExpression(item) {
27017
+ if (item.type === 'uid') {
27018
+ return item.user && item.user.length;
27019
+ }
27020
+ if (item.type === 'org') {
27021
+ return item.orgId || item.roleId || item.groupId;
27022
+ }
27023
+ return false;
27024
+ },
27025
+ 'handleItemChange': function handleItemChange(d, b) {},
27026
+ 'optionFormsRadioChange': function optionFormsRadioChange(type) {
27027
+ // eslint-disable-next-line no-return-assign
27028
+ this.node.data.option_forms.forEach(function (value) {
27029
+ return value.access = type;
27030
+ });
27031
+ },
27032
+ optionModelChange: function optionModelChange(id) {
27033
+ var item = this.optionModelList.find(function (value) {
27034
+ return value.value === id;
27035
+ });
27036
+ this.defaultContent = item.text;
27037
+ this.nodeRef.data.other_options.subModelName = item.text;
27038
+ this.nodeRef.data.eadCache.workflow.optionModelList = [item];
27039
+ },
27040
+ optionModelSearch: function optionModelSearch(s) {
27041
+ var _this3 = this;
27042
+ if (this.viewNameTimeout) {
27043
+ clearTimeout(this.viewNameTimeout);
27044
+ this.viewNameTimeout = null;
27045
+ }
27046
+ var go = function go() {
27047
+ if (!s) {
27048
+ return;
27049
+ }
27050
+ _this3.eadApi.getModels(s).then(function (value) {
27051
+ _this3.optionModelList = value.map(function (item) {
27052
+ return {
27053
+ value: item.model_id,
27054
+ text: item.model_name
27055
+ };
27056
+ });
27057
+ });
27058
+ };
27059
+ this.viewNameTimeout = setTimeout(go, 300);
27060
+ },
27061
+ hideDrawer: function hideDrawer() {
27062
+ var _this4 = this;
27063
+ var vaildR = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["ref"])(true);
27064
+ this.$refs.nameForm.validate(function (valid) {
27065
+ if (!valid) {
27066
+ vaildR.value = false;
27067
+ _this4.$message.error('节点名称校验不通过');
27068
+ }
27069
+ });
27070
+
27071
+ // hide 即保存
27072
+ if (vaildR.value) {
27073
+ this.visibleDrawer = false;
27074
+ }
27075
+ },
27076
+ changeTags: function changeTags(a) {
27077
+ // console.log(a)
27078
+ },
27079
+ showEditName: function showEditName() {
27080
+ var _this5 = this;
27081
+ this.editName = true;
27082
+ Object(external_commonjs_vue_commonjs2_vue_root_Vue_["nextTick"])(function () {
27083
+ _this5.$refs.nameInput.focus();
27084
+ });
27085
+ },
27086
+ close: function close() {
27087
+ this.nodeHandler.deleteNode(this.node.code);
27088
+ },
27089
+ click: function click() {
27090
+ if (this.nodeHandler.isPreview) {
27091
+ return;
27092
+ }
27093
+ this.nodeRef.error = null;
27094
+ this.showDrawer();
27095
+ },
27096
+ more: function more() {
27097
+ this.showPopover();
27098
+ }
27099
+ },
27100
+ created: function created() {
27101
+ this.loadCache(this.nodeRef);
27102
+ },
27103
+ mounted: function () {
27104
+ var _mounted = SubWorkflowNodevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/SubWorkflowNodevue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
27105
+ var _this$nodeRef$data$op;
27106
+ var _yield$this$nodeHandl, viewAttrs, orgMap, orgData, roles, users;
27107
+ return SubWorkflowNodevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
27108
+ while (1) switch (_context.prev = _context.next) {
27109
+ case 0:
27110
+ _context.next = 2;
27111
+ return this.nodeHandler.businessAdapter.getActorData();
27112
+ case 2:
27113
+ _yield$this$nodeHandl = _context.sent;
27114
+ viewAttrs = _yield$this$nodeHandl.viewAttrs;
27115
+ orgMap = _yield$this$nodeHandl.orgMap;
27116
+ orgData = _yield$this$nodeHandl.orgData;
27117
+ roles = _yield$this$nodeHandl.roles;
27118
+ users = _yield$this$nodeHandl.users;
27119
+ if (!((_this$nodeRef$data$op = this.nodeRef.data.option_forms) !== null && _this$nodeRef$data$op !== void 0 && _this$nodeRef$data$op.length)) {
27120
+ this.nodeRef.data.option_forms = viewAttrs.filter(function (attr) {
27121
+ return attr.type === 'value' && attr.access !== 'none';
27122
+ }).filter(function (attr) {
27123
+ return attr.key_type !== 'primary';
27124
+ }).map(function (attr) {
27125
+ return {
27126
+ attrId: attr.id,
27127
+ attrName: attr.alias,
27128
+ attrCode: attr.name,
27129
+ access: 'none',
27130
+ required: attr.required
27131
+ };
27132
+ });
27133
+ }
27134
+ this.viewAttrLoading = false;
27135
+ this.orgMap = orgMap;
27136
+ this.orgData = orgData;
27137
+ this.roles = roles;
27138
+ this.users = users;
27139
+ case 14:
27140
+ case "end":
27141
+ return _context.stop();
27142
+ }
27143
+ }, _callee, this);
27144
+ }));
27145
+ function mounted() {
27146
+ return _mounted.apply(this, arguments);
27147
+ }
27148
+ return mounted;
27149
+ }()
27150
+ });
27151
+ // CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/SubWorkflowNode.vue?vue&type=script&lang=js
27152
+ /* harmony default export */ var node_SubWorkflowNodevue_type_script_lang_js = (SubWorkflowNodevue_type_script_lang_js);
27153
+ // EXTERNAL MODULE: ../src/web/components/forms/flow/designer/node/SubWorkflowNode.vue?vue&type=style&index=0&id=423eb6bc&prod&lang=less&scoped=true
27154
+ var SubWorkflowNodevue_type_style_index_0_id_423eb6bc_prod_lang_less_scoped_true = __webpack_require__("8b26");
27155
+
27156
+ // CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/SubWorkflowNode.vue
27157
+
27158
+
27159
+
27160
+
27161
+
27162
+
27163
+ /* normalize component */
27164
+
27165
+ var SubWorkflowNode_component = normalizeComponent(
27166
+ node_SubWorkflowNodevue_type_script_lang_js,
27167
+ SubWorkflowNodevue_type_template_id_423eb6bc_scoped_true_render,
27168
+ SubWorkflowNodevue_type_template_id_423eb6bc_scoped_true_staticRenderFns,
27169
+ false,
27170
+ null,
27171
+ "423eb6bc",
27172
+ null
27173
+
27174
+ )
27175
+
27176
+ /* harmony default export */ var SubWorkflowNode = (SubWorkflowNode_component.exports);
27177
+ // 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
27178
+ var TriggerNodevue_type_template_id_7af4eb1a_scoped_true_render = function render() {
27179
+ var _vm = this,
27180
+ _c = _vm._self._c;
27181
+ return _c('div', [_c('div', {
27182
+ staticClass: "node",
27183
+ class: _vm.getClass(),
27184
+ on: {
27185
+ "click": _vm.click
27186
+ }
27187
+ }, [_c('div', {
27188
+ staticClass: "title"
27189
+ }, [_c('span', [_c('a-icon', {
27190
+ attrs: {
27191
+ "type": "control"
27192
+ }
27193
+ })], 1), _c('span', [_vm._v(" " + _vm._s(_vm.node.name))]), !_vm.nodeHandler.isPreview ? _c('span', {
27194
+ staticClass: "title-right"
27195
+ }, [_c('a-icon', {
27196
+ staticClass: "close",
27197
+ attrs: {
27198
+ "type": "close"
27199
+ },
27200
+ on: {
27201
+ "click": function click($event) {
27202
+ $event.stopPropagation();
27203
+ return _vm.close.apply(null, arguments);
27204
+ }
27205
+ }
27206
+ })], 1) : _vm._e()]), _c('div', {
27207
+ staticClass: "content"
27208
+ }, [_c('span', {
27209
+ staticClass: "content-main"
27210
+ }, [_c('span', {
27211
+ staticClass: "error-tooltip"
27212
+ }, [_c('a-tooltip', [_c('template', {
27213
+ slot: "title"
27214
+ }, [_vm._v(" " + _vm._s(_vm.node.error) + " ")]), _c('a-icon', {
27215
+ attrs: {
27216
+ "theme": "filled",
27217
+ "type": "warning"
27218
+ }
27219
+ })], 2)], 1), _vm.nodeContent ? _c('span', {
27220
+ staticStyle: {
27221
+ "padding-left": "5px"
27222
+ }
27223
+ }, [_vm._v(_vm._s(_vm.nodeContent))]) : _c('span', {
26191
27224
  staticStyle: {
26192
27225
  "padding-left": "5px",
26193
27226
  "color": "rgb(164 164 164)"
@@ -27154,6 +28187,7 @@ var DelayNode_component = normalizeComponent(
27154
28187
 
27155
28188
 
27156
28189
 
28190
+
27157
28191
  /* harmony default export */ var designer_node = ({
27158
28192
  EndNode: EndNode,
27159
28193
  StartNode: StartNode,
@@ -27165,10 +28199,11 @@ var DelayNode_component = normalizeComponent(
27165
28199
  CCNode: CCNode,
27166
28200
  TaskNode: TaskNode,
27167
28201
  TriggerNode: TriggerNode,
28202
+ SubWorkflowNode: SubWorkflowNode,
27168
28203
  DelayNode: DelayNode
27169
28204
  });
27170
- // 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
27171
- var AddNodevue_type_template_id_2139642c_scoped_true_render = function render() {
28205
+ // 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=b7697036&scoped=true
28206
+ var AddNodevue_type_template_id_b7697036_scoped_true_render = function render() {
27172
28207
  var _vm = this,
27173
28208
  _c = _vm._self._c;
27174
28209
  return _c('div', {
@@ -27239,9 +28274,9 @@ var AddNodevue_type_template_id_2139642c_scoped_true_render = function render()
27239
28274
  }
27240
28275
  }) : _vm._e()], 1)], 1)])]);
27241
28276
  };
27242
- var AddNodevue_type_template_id_2139642c_scoped_true_staticRenderFns = [];
28277
+ var AddNodevue_type_template_id_b7697036_scoped_true_staticRenderFns = [];
27243
28278
 
27244
- // CONCATENATED MODULE: ../src/web/components/forms/flow/designer/AddNode.vue?vue&type=template&id=2139642c&scoped=true
28279
+ // CONCATENATED MODULE: ../src/web/components/forms/flow/designer/AddNode.vue?vue&type=template&id=b7697036&scoped=true
27245
28280
 
27246
28281
  // 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
27247
28282
 
@@ -27303,19 +28338,11 @@ var AddNodevue_type_template_id_2139642c_scoped_true_staticRenderFns = [];
27303
28338
  type: 'control'
27304
28339
  },
27305
28340
  color: 'rgb(53, 184, 129)'
27306
- },
27307
- // {
27308
- // disabled: true,
27309
- // name: '延迟等待',
27310
- // type: NodeType.DELAY,
27311
- // icon: { type: 'clock-circle' },
27312
- // color: 'rgb(219,86,69)'
27313
- // },
27314
- {
28341
+ }, {
27315
28342
  name: '条件分支',
27316
28343
  type: designer_NodeType.JUDGE_WRAP,
27317
28344
  icon: {
27318
- type: 'apartment'
28345
+ type: 'branches'
27319
28346
  },
27320
28347
  color: 'rgb(21, 188, 131)'
27321
28348
  }, {
@@ -27325,6 +28352,21 @@ var AddNodevue_type_template_id_2139642c_scoped_true_staticRenderFns = [];
27325
28352
  type: 'sliders'
27326
28353
  },
27327
28354
  color: 'rgb(113, 141, 255)'
28355
+ }, {
28356
+ name: '子流程',
28357
+ type: designer_NodeType.SUBWORKFLOW,
28358
+ icon: {
28359
+ type: 'apartment'
28360
+ },
28361
+ color: 'rgb(50, 80, 235)'
28362
+ }, {
28363
+ disabled: true,
28364
+ name: '延迟等待',
28365
+ type: designer_NodeType.DELAY,
28366
+ icon: {
28367
+ type: 'clock-circle'
28368
+ },
28369
+ color: 'rgb(219,86,69)'
27328
28370
  }];
27329
28371
  var addNode = function addNode(type) {
27330
28372
  if (nodes.find(function (node0) {
@@ -27359,11 +28401,11 @@ var AddNodevue_type_custom_index_0_blockType_a_icon_default = /*#__PURE__*/__web
27359
28401
 
27360
28402
  var AddNode_component = normalizeComponent(
27361
28403
  designer_AddNodevue_type_script_lang_js,
27362
- AddNodevue_type_template_id_2139642c_scoped_true_render,
27363
- AddNodevue_type_template_id_2139642c_scoped_true_staticRenderFns,
28404
+ AddNodevue_type_template_id_b7697036_scoped_true_render,
28405
+ AddNodevue_type_template_id_b7697036_scoped_true_staticRenderFns,
27364
28406
  false,
27365
28407
  null,
27366
- "2139642c",
28408
+ "b7697036",
27367
28409
  null
27368
28410
 
27369
28411
  )
@@ -27413,7 +28455,7 @@ function NodeWrapvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Nod
27413
28455
  return uiStyle[o] = 'start-node-box';
27414
28456
  });
27415
28457
  // eslint-disable-next-line no-return-assign
27416
- [designer_NodeType.CHECK, designer_NodeType.CC, designer_NodeType.TASK, designer_NodeType.PARALLEL, designer_NodeType.JUDGE, designer_NodeType.TRIGGER, designer_NodeType.DELAY].forEach(function (o) {
28458
+ [designer_NodeType.CHECK, designer_NodeType.CC, designer_NodeType.TASK, designer_NodeType.PARALLEL, designer_NodeType.JUDGE, designer_NodeType.TRIGGER, designer_NodeType.DELAY, designer_NodeType.SUBWORKFLOW].forEach(function (o) {
27417
28459
  return uiStyle[o] = 'node-box';
27418
28460
  });
27419
28461
  // eslint-disable-next-line no-return-assign
@@ -27441,11 +28483,11 @@ function NodeWrapvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Nod
27441
28483
 
27442
28484
  var NodeWrap_component = normalizeComponent(
27443
28485
  designer_NodeWrapvue_type_script_lang_js,
27444
- NodeWrapvue_type_template_id_5bf5a14e_scoped_true_render,
27445
- NodeWrapvue_type_template_id_5bf5a14e_scoped_true_staticRenderFns,
28486
+ NodeWrapvue_type_template_id_e1e89f50_scoped_true_render,
28487
+ NodeWrapvue_type_template_id_e1e89f50_scoped_true_staticRenderFns,
27446
28488
  false,
27447
28489
  null,
27448
- "5bf5a14e",
28490
+ "e1e89f50",
27449
28491
  null
27450
28492
 
27451
28493
  )
@@ -28558,17 +29600,22 @@ var EadApi = /*#__PURE__*/function () {
28558
29600
  }
28559
29601
  return getViews;
28560
29602
  }()
29603
+ /**
29604
+ * 获取流程模型
29605
+ * @param {*} name
29606
+ * @returns
29607
+ */
28561
29608
  }, {
28562
- key: "getDrivers",
28563
- value: function () {
28564
- var _getDrivers = EadApi_asyncToGenerator( /*#__PURE__*/EadApi_regeneratorRuntime().mark(function _callee10(name) {
29609
+ key: "getModels",
29610
+ value: (function () {
29611
+ var _getModels = EadApi_asyncToGenerator( /*#__PURE__*/EadApi_regeneratorRuntime().mark(function _callee10(name) {
28565
29612
  var _yield$_classPrivateF17, _yield$_classPrivateF18, collection, data, message;
28566
29613
  return EadApi_regeneratorRuntime().wrap(function _callee10$(_context10) {
28567
29614
  while (1) switch (_context10.prev = _context10.next) {
28568
29615
  case 0:
28569
29616
  _context10.prev = 0;
28570
29617
  _context10.next = 3;
28571
- return EadApi_classPrivateFieldGet(this, _component).$api.get("".concat(EadApi_classPrivateFieldGet(this, _baseUrl), "/api/flowdir-driver?name=") + name);
29618
+ return EadApi_classPrivateFieldGet(this, _component).$api.get("".concat(EadApi_classPrivateFieldGet(this, _baseUrl), "/api/flowdir-model?name=") + name);
28572
29619
  case 3:
28573
29620
  _yield$_classPrivateF17 = _context10.sent;
28574
29621
  _yield$_classPrivateF18 = _yield$_classPrivateF17.data.collection;
@@ -28589,7 +29636,43 @@ var EadApi = /*#__PURE__*/function () {
28589
29636
  }
28590
29637
  }, _callee10, this, [[0, 9, 14, 16]]);
28591
29638
  }));
28592
- function getDrivers(_x9) {
29639
+ function getModels(_x9) {
29640
+ return _getModels.apply(this, arguments);
29641
+ }
29642
+ return getModels;
29643
+ }())
29644
+ }, {
29645
+ key: "getDrivers",
29646
+ value: function () {
29647
+ var _getDrivers = EadApi_asyncToGenerator( /*#__PURE__*/EadApi_regeneratorRuntime().mark(function _callee11(name) {
29648
+ var _yield$_classPrivateF19, _yield$_classPrivateF20, collection, data, message;
29649
+ return EadApi_regeneratorRuntime().wrap(function _callee11$(_context11) {
29650
+ while (1) switch (_context11.prev = _context11.next) {
29651
+ case 0:
29652
+ _context11.prev = 0;
29653
+ _context11.next = 3;
29654
+ return EadApi_classPrivateFieldGet(this, _component).$api.get("".concat(EadApi_classPrivateFieldGet(this, _baseUrl), "/api/flowdir-driver?name=") + name);
29655
+ case 3:
29656
+ _yield$_classPrivateF19 = _context11.sent;
29657
+ _yield$_classPrivateF20 = _yield$_classPrivateF19.data.collection;
29658
+ collection = _yield$_classPrivateF20 === void 0 ? [] : _yield$_classPrivateF20;
29659
+ return _context11.abrupt("return", collection);
29660
+ case 9:
29661
+ _context11.prev = 9;
29662
+ _context11.t0 = _context11["catch"](0);
29663
+ data = _context11.t0.response.data;
29664
+ message = data && data.content || '系统错误请与管理员联系。';
29665
+ this.$message.error(message);
29666
+ case 14:
29667
+ _context11.prev = 14;
29668
+ return _context11.finish(14);
29669
+ case 16:
29670
+ case "end":
29671
+ return _context11.stop();
29672
+ }
29673
+ }, _callee11, this, [[0, 9, 14, 16]]);
29674
+ }));
29675
+ function getDrivers(_x10) {
28593
29676
  return _getDrivers.apply(this, arguments);
28594
29677
  }
28595
29678
  return getDrivers;
@@ -28755,8 +29838,8 @@ var WorkFlowDesigner_component = normalizeComponent(
28755
29838
  )
28756
29839
 
28757
29840
  /* harmony default export */ var WorkFlowDesigner = (WorkFlowDesigner_component.exports);
28758
- // 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=3f2edf36&scoped=true
28759
- var RuntimeWorkFlowvue_type_template_id_3f2edf36_scoped_true_render = function render() {
29841
+ // 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=5970b818&scoped=true
29842
+ var RuntimeWorkFlowvue_type_template_id_5970b818_scoped_true_render = function render() {
28760
29843
  var _this = this,
28761
29844
  _vm$currentNode$data$,
28762
29845
  _vm$currentNode$data$2;
@@ -29297,7 +30380,23 @@ var RuntimeWorkFlowvue_type_template_id_3f2edf36_scoped_true_render = function r
29297
30380
  "slot": "title"
29298
30381
  },
29299
30382
  slot: "title"
29300
- }, [_vm._v(" " + _vm._s(item.node_name) + " ")]), _vm.$store.state.app.icon ? _c('a-avatar', {
30383
+ }, [_vm._v(" " + _vm._s(item.node_name) + " "), _c('a-button', {
30384
+ directives: [{
30385
+ name: "show",
30386
+ rawName: "v-show",
30387
+ value: item.operate_data,
30388
+ expression: "item.operate_data"
30389
+ }],
30390
+ attrs: {
30391
+ "icon": "read",
30392
+ "type": "link"
30393
+ },
30394
+ on: {
30395
+ "click": function click($event) {
30396
+ return _vm.showOperateData(item);
30397
+ }
30398
+ }
30399
+ })], 1), _vm.$store.state.app.icon ? _c('a-avatar', {
29301
30400
  attrs: {
29302
30401
  "slot": "avatar",
29303
30402
  "src": _vm.$store.state.app.icon
@@ -29343,7 +30442,7 @@ var RuntimeWorkFlowvue_type_template_id_3f2edf36_scoped_true_render = function r
29343
30442
  }
29344
30443
  }), _vm._v(" " + _vm._s(item.operator.name) + "(" + _vm._s(item.operator.org_name) + ") ")], 1)], 1)], 1)], 1)], 1);
29345
30444
  }
29346
- }], null, false, 1631359906)
30445
+ }], null, false, 542072683)
29347
30446
  })], 1)], 1) : _vm._e(), _vm.paneSet.has('3') ? _c('a-tab-pane', {
29348
30447
  key: "3",
29349
30448
  attrs: {
@@ -29403,6 +30502,35 @@ var RuntimeWorkFlowvue_type_template_id_3f2edf36_scoped_true_render = function r
29403
30502
  "nodeHandlerChange": _vm.nodeHandlerChange
29404
30503
  }
29405
30504
  }) : _vm._e()], 1)], 1) : _vm._e()], 1)], 1), _c('a-modal', {
30505
+ attrs: {
30506
+ "title": "操作表单",
30507
+ "visible": _vm.isShowOperateData,
30508
+ "footer": null,
30509
+ "width": "50%"
30510
+ },
30511
+ on: {
30512
+ "cancel": _vm.hideOperateData
30513
+ }
30514
+ }, [_c('a-descriptions', {
30515
+ attrs: {
30516
+ "bordered": "",
30517
+ "column": {
30518
+ xxl: 2,
30519
+ xl: 2,
30520
+ lg: 2,
30521
+ md: 2,
30522
+ sm: 2,
30523
+ xs: 1
30524
+ }
30525
+ }
30526
+ }, _vm._l(_vm.operateDataItems, function (attr) {
30527
+ return _c('a-descriptions-item', {
30528
+ key: attr.id,
30529
+ attrs: {
30530
+ "label": attr.alias
30531
+ }
30532
+ }, [_vm._v(" " + _vm._s(_vm.formatter(attr, attr.value, attr)) + " ")]);
30533
+ }), 1)], 1), _c('a-modal', {
29406
30534
  staticClass: "jjh-fullscreen",
29407
30535
  attrs: {
29408
30536
  "bodyStyle": {
@@ -29438,9 +30566,9 @@ var RuntimeWorkFlowvue_type_template_id_3f2edf36_scoped_true_render = function r
29438
30566
  }
29439
30567
  }, [_vm._v("关闭")])], 1)], 2)], 1);
29440
30568
  };
29441
- var RuntimeWorkFlowvue_type_template_id_3f2edf36_scoped_true_staticRenderFns = [];
30569
+ var RuntimeWorkFlowvue_type_template_id_5970b818_scoped_true_staticRenderFns = [];
29442
30570
 
29443
- // CONCATENATED MODULE: ../src/web/components/forms/flow/runtime/RuntimeWorkFlow.vue?vue&type=template&id=3f2edf36&scoped=true
30571
+ // CONCATENATED MODULE: ../src/web/components/forms/flow/runtime/RuntimeWorkFlow.vue?vue&type=template&id=5970b818&scoped=true
29444
30572
 
29445
30573
  // EXTERNAL MODULE: external {"root":"vuedraggable","commonjs2":"vuedraggable","commonjs":"vuedraggable","amd":"vuedraggable"}
29446
30574
  var external_root_vuedraggable_commonjs2_vuedraggable_commonjs_vuedraggable_amd_vuedraggable_ = __webpack_require__("289a");
@@ -29470,6 +30598,7 @@ function RuntimeWorkFlowvue_type_script_lang_js_asyncToGenerator(fn) { return fu
29470
30598
 
29471
30599
 
29472
30600
 
30601
+
29473
30602
  var OPERATE = {
29474
30603
  START: 'start',
29475
30604
  CHECK: 'check',
@@ -29489,7 +30618,7 @@ var CHECK_ACTION = {
29489
30618
  };
29490
30619
  /* harmony default export */ var RuntimeWorkFlowvue_type_script_lang_js = ({
29491
30620
  name: 'runtime-workflow',
29492
- mixins: [form_base],
30621
+ mixins: [form_base, cell],
29493
30622
  components: {
29494
30623
  NodeContainer: NodeContainer,
29495
30624
  Item: Item,
@@ -29509,6 +30638,8 @@ var CHECK_ACTION = {
29509
30638
  initNodeContainer: false,
29510
30639
  fullscreen: false,
29511
30640
  fullscreenLoading: false,
30641
+ isShowOperateData: false,
30642
+ operateDataItems: [],
29512
30643
  nodeData: null,
29513
30644
  paneKey: '3',
29514
30645
  /**
@@ -29761,7 +30892,8 @@ var CHECK_ACTION = {
29761
30892
  custom_back_node_code: undefined,
29762
30893
  todos: undefined,
29763
30894
  involve: undefined,
29764
- reassign: undefined
30895
+ reassign: undefined,
30896
+ form_data: {}
29765
30897
  },
29766
30898
  model_id: null,
29767
30899
  data_id: null
@@ -29954,19 +31086,57 @@ var CHECK_ACTION = {
29954
31086
  }
29955
31087
  });
29956
31088
  },
29957
- fetchReassignUser: function fetchReassignUser() {
31089
+ showOperateData: function showOperateData(data) {
29958
31090
  var _this2 = this;
31091
+ return RuntimeWorkFlowvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/RuntimeWorkFlowvue_type_script_lang_js_regeneratorRuntime().mark(function _callee2() {
31092
+ var columns, schema, operateData;
31093
+ return RuntimeWorkFlowvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee2$(_context2) {
31094
+ while (1) switch (_context2.prev = _context2.next) {
31095
+ case 0:
31096
+ columns = _this2.columns;
31097
+ if (!data.option_view_id) {
31098
+ _context2.next = 6;
31099
+ break;
31100
+ }
31101
+ _context2.next = 4;
31102
+ return _this2.eadApi.getViewSchema(data.option_view_id);
31103
+ case 4:
31104
+ schema = _context2.sent;
31105
+ columns = schema === null || schema === void 0 ? void 0 : schema.model.attrs;
31106
+ case 6:
31107
+ operateData = JSON.parse(data.operate_data);
31108
+ _this2.operateDataItems = [];
31109
+ columns.forEach(function (column) {
31110
+ if (column.name in operateData) {
31111
+ var item = RuntimeWorkFlowvue_type_script_lang_js_objectSpread({}, column);
31112
+ item.value = operateData[column.name];
31113
+ _this2.operateDataItems.push(item);
31114
+ }
31115
+ });
31116
+ _this2.isShowOperateData = true;
31117
+ case 10:
31118
+ case "end":
31119
+ return _context2.stop();
31120
+ }
31121
+ }, _callee2);
31122
+ }))();
31123
+ },
31124
+ hideOperateData: function hideOperateData() {
31125
+ this.isShowOperateData = false;
31126
+ },
31127
+ fetchReassignUser: function fetchReassignUser() {
31128
+ var _this3 = this;
29959
31129
  var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {
29960
31130
  userName: this.reassignUserFilter,
29961
31131
  pagination: this.reassignUserPagination
29962
31132
  };
29963
31133
  this.loadingReassignUser = true;
29964
31134
  this.getAllUsers(params.userName, params.pagination).then(function (data) {
29965
- var pagination = RuntimeWorkFlowvue_type_script_lang_js_objectSpread({}, _this2.reassignUserPagination);
31135
+ var pagination = RuntimeWorkFlowvue_type_script_lang_js_objectSpread({}, _this3.reassignUserPagination);
29966
31136
  pagination.total = data.count;
29967
- _this2.loadingReassignUser = false;
29968
- _this2.reassignUserData = data.results;
29969
- _this2.reassignUserPagination = pagination;
31137
+ _this3.loadingReassignUser = false;
31138
+ _this3.reassignUserData = data.results;
31139
+ _this3.reassignUserPagination = pagination;
29970
31140
  });
29971
31141
  },
29972
31142
  handleTableChangeInvolveUser: function handleTableChangeInvolveUser(pagination) {
@@ -29982,57 +31152,57 @@ var CHECK_ACTION = {
29982
31152
  });
29983
31153
  },
29984
31154
  fetchInvolveUser: function fetchInvolveUser() {
29985
- var _this3 = this;
31155
+ var _this4 = this;
29986
31156
  var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {
29987
31157
  userName: this.involveUserFilter,
29988
31158
  pagination: this.involveUserPagination
29989
31159
  };
29990
31160
  this.loadingInvolveUser = true;
29991
31161
  this.getAllUsers(params.userName, params.pagination).then(function (data) {
29992
- var pagination = RuntimeWorkFlowvue_type_script_lang_js_objectSpread({}, _this3.involveUserPagination);
31162
+ var pagination = RuntimeWorkFlowvue_type_script_lang_js_objectSpread({}, _this4.involveUserPagination);
29993
31163
  pagination.total = data.count;
29994
- _this3.loadingInvolveUser = false;
29995
- _this3.involveUserData = data.results;
29996
- _this3.involveUserPagination = pagination;
31164
+ _this4.loadingInvolveUser = false;
31165
+ _this4.involveUserData = data.results;
31166
+ _this4.involveUserPagination = pagination;
29997
31167
  });
29998
31168
  },
29999
31169
  getAllUsers: function getAllUsers(userName, pagination) {
30000
- var _this4 = this;
30001
- return RuntimeWorkFlowvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/RuntimeWorkFlowvue_type_script_lang_js_regeneratorRuntime().mark(function _callee2() {
31170
+ var _this5 = this;
31171
+ return RuntimeWorkFlowvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/RuntimeWorkFlowvue_type_script_lang_js_regeneratorRuntime().mark(function _callee3() {
30002
31172
  var data1, data;
30003
- return RuntimeWorkFlowvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee2$(_context2) {
30004
- while (1) switch (_context2.prev = _context2.next) {
31173
+ return RuntimeWorkFlowvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee3$(_context3) {
31174
+ while (1) switch (_context3.prev = _context3.next) {
30005
31175
  case 0:
30006
- _context2.next = 2;
30007
- return _this4.eadApi.getDatasetApi('flowdir-allusercount', {
31176
+ _context3.next = 2;
31177
+ return _this5.eadApi.getDatasetApi('flowdir-allusercount', {
30008
31178
  user_name: userName
30009
31179
  });
30010
31180
  case 2:
30011
- data1 = _context2.sent;
30012
- _context2.next = 5;
30013
- return _this4.eadApi.getDatasetApi('flowdir-alluser', {
31181
+ data1 = _context3.sent;
31182
+ _context3.next = 5;
31183
+ return _this5.eadApi.getDatasetApi('flowdir-alluser', {
30014
31184
  user_name: userName,
30015
31185
  limit_index: (pagination.current - 1) * pagination.pageSize,
30016
31186
  limit_num: pagination.pageSize
30017
31187
  });
30018
31188
  case 5:
30019
- data = _context2.sent;
30020
- return _context2.abrupt("return", {
31189
+ data = _context3.sent;
31190
+ return _context3.abrupt("return", {
30021
31191
  count: data1[0].count,
30022
31192
  results: data
30023
31193
  });
30024
31194
  case 7:
30025
31195
  case "end":
30026
- return _context2.stop();
31196
+ return _context3.stop();
30027
31197
  }
30028
- }, _callee2);
31198
+ }, _callee3);
30029
31199
  }))();
30030
31200
  },
30031
31201
  /**
30032
31202
  * 请求前最后的校验
30033
31203
  */
30034
31204
  handleCommit: function handleCommit() {
30035
- var _this5 = this;
31205
+ var _this6 = this;
30036
31206
  // this.$message.error('校验未通过')
30037
31207
  // 上报
30038
31208
  var isBpmnBack = false;
@@ -30116,7 +31286,7 @@ var CHECK_ACTION = {
30116
31286
  }
30117
31287
  if (this.currentNode.data.other_options.assert && this.currentNode.data.other_options.assert.length) {
30118
31288
  var needAssert = this.currentNode.data.other_options.assert.filter(function (assertItem) {
30119
- return assertItem.action === 'all' || assertItem.action === _this5.workflowReq.page_operate.action;
31289
+ return assertItem.action === 'all' || assertItem.action === _this6.workflowReq.page_operate.action;
30120
31290
  }).filter(function (assertItem) {
30121
31291
  return assertItem.expression && assertItem.message;
30122
31292
  });
@@ -30128,20 +31298,20 @@ var CHECK_ACTION = {
30128
31298
  try {
30129
31299
  var data = {};
30130
31300
  // eslint-disable-next-line no-return-assign
30131
- _this5.activityColumns.forEach(function (column) {
30132
- return data[column] = _this5.actionModel[column];
31301
+ _this6.activityColumns.forEach(function (column) {
31302
+ return data[column] = _this6.actionModel[column];
30133
31303
  });
30134
31304
  // eslint-disable-next-line no-new-func
30135
31305
  var expressionFn = new Function(Object.keys(data), 'return ' + item.expression);
30136
31306
  var isOk = expressionFn.apply(void 0, RuntimeWorkFlowvue_type_script_lang_js_toConsumableArray(Object.values(data)));
30137
31307
  if (!isOk) {
30138
- _this5.$message.error(item.message);
31308
+ _this6.$message.error(item.message);
30139
31309
  return {
30140
31310
  v: void 0
30141
31311
  };
30142
31312
  }
30143
31313
  } catch (e) {
30144
- _this5.$message.error('断言表达式配置错误,' + item.message);
31314
+ _this6.$message.error('断言表达式配置错误,' + item.message);
30145
31315
  return {
30146
31316
  v: void 0
30147
31317
  };
@@ -30158,6 +31328,11 @@ var CHECK_ACTION = {
30158
31328
  _iterator.f();
30159
31329
  }
30160
31330
  }
31331
+ if (this.runtimeData.currentNodeFormItem) {
31332
+ this.runtimeData.currentNodeFormItem.forEach(function (item) {
31333
+ _this6.workflowReq.page_operate.form_data[item.name] = _this6.actionModel[item.name];
31334
+ });
31335
+ }
30161
31336
  this.actionModel.workflow = this.workflow;
30162
31337
  this.actionModel.workflow_req = this.workflowReq;
30163
31338
  var actionModel = RuntimeWorkFlowvue_type_script_lang_js_objectSpread({}, this.actionModel);
@@ -30174,32 +31349,32 @@ var CHECK_ACTION = {
30174
31349
  * @param nodeHandler {NodeHandler}
30175
31350
  */
30176
31351
  nodeHandlerReady: function nodeHandlerReady(nodeHandler) {
30177
- var _this6 = this;
30178
- return RuntimeWorkFlowvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/RuntimeWorkFlowvue_type_script_lang_js_regeneratorRuntime().mark(function _callee3() {
30179
- var _node$data, _this6$runtimeData$cu;
31352
+ var _this7 = this;
31353
+ return RuntimeWorkFlowvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/RuntimeWorkFlowvue_type_script_lang_js_regeneratorRuntime().mark(function _callee4() {
31354
+ var _node$data, _this7$runtimeData$cu;
30180
31355
  var node, columns, schema, optionForms;
30181
- return RuntimeWorkFlowvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee3$(_context3) {
30182
- while (1) switch (_context3.prev = _context3.next) {
31356
+ return RuntimeWorkFlowvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee4$(_context4) {
31357
+ while (1) switch (_context4.prev = _context4.next) {
30183
31358
  case 0:
30184
- _this6.nodeHandler = nodeHandler;
30185
- node = _this6.currentNode = nodeHandler.getNode(_this6.runtimeData.currentNodeCode); // 健壮考虑
30186
- if (!_this6.runtimeData.PageOperate && node !== null && node !== void 0 && (_node$data = node.data) !== null && _node$data !== void 0 && _node$data.page_options) {
30187
- _this6.runtimeData.PageOperate = node.data.page_options;
31359
+ _this7.nodeHandler = nodeHandler;
31360
+ node = _this7.currentNode = nodeHandler.getNode(_this7.runtimeData.currentNodeCode); // 健壮考虑
31361
+ if (!_this7.runtimeData.PageOperate && node !== null && node !== void 0 && (_node$data = node.data) !== null && _node$data !== void 0 && _node$data.page_options) {
31362
+ _this7.runtimeData.PageOperate = node.data.page_options;
30188
31363
  }
30189
- columns = _this6.columns;
31364
+ columns = _this7.columns;
30190
31365
  if (!(node && node.data.option_view_id)) {
30191
- _context3.next = 9;
31366
+ _context4.next = 9;
30192
31367
  break;
30193
31368
  }
30194
- _context3.next = 7;
30195
- return _this6.eadApi.getViewSchema(node.data.option_view_id);
31369
+ _context4.next = 7;
31370
+ return _this7.eadApi.getViewSchema(node.data.option_view_id);
30196
31371
  case 7:
30197
- schema = _context3.sent;
31372
+ schema = _context4.sent;
30198
31373
  columns = schema === null || schema === void 0 ? void 0 : schema.model.attrs;
30199
31374
  case 9:
30200
31375
  // form load
30201
- 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;
30202
- _this6.runtimeData.currentNodeFormItem = optionForms.filter(function (value) {
31376
+ optionForms = (_this7$runtimeData$cu = _this7.runtimeData.currentNodeOptionForms) !== null && _this7$runtimeData$cu !== void 0 ? _this7$runtimeData$cu : node === null || node === void 0 ? void 0 : node.data.option_forms;
31377
+ _this7.runtimeData.currentNodeFormItem = optionForms.filter(function (value) {
30203
31378
  return value.access !== 'none';
30204
31379
  }).map(function (value) {
30205
31380
  // 【BUG】 全局:const attr = this.view.schema.model.attrs.find(value1 => value1.name === value.attrCode)
@@ -30213,7 +31388,7 @@ var CHECK_ACTION = {
30213
31388
  attr.params.readonly = value.access === 'readonly';
30214
31389
  attr.required = value.required;
30215
31390
  if (node && node.data.option_view_id) {
30216
- _this6.actionModel[attr.name] = null;
31391
+ _this7.actionModel[attr.name] = null;
30217
31392
  }
30218
31393
  }
30219
31394
  return attr;
@@ -30221,18 +31396,18 @@ var CHECK_ACTION = {
30221
31396
  return value;
30222
31397
  });
30223
31398
  // back load
30224
- _this6.isCustomBack = (node === null || node === void 0 ? void 0 : node.data.back_type) === 'custom';
30225
- if (_this6.isCustomBack) {
30226
- if (!_this6.runtimeData.customBackNodes) {
30227
- _this6.runtimeData.customBackNodes = RuntimeWorkFlowvue_type_script_lang_js_toConsumableArray(node === null || node === void 0 ? void 0 : node.data.custom_back_nodes);
31399
+ _this7.isCustomBack = (node === null || node === void 0 ? void 0 : node.data.back_type) === 'custom';
31400
+ if (_this7.isCustomBack) {
31401
+ if (!_this7.runtimeData.customBackNodes) {
31402
+ _this7.runtimeData.customBackNodes = RuntimeWorkFlowvue_type_script_lang_js_toConsumableArray(node === null || node === void 0 ? void 0 : node.data.custom_back_nodes);
30228
31403
  }
30229
- _this6.workflowReq.page_operate.custom_back_node_code = _this6.runtimeData.customBackNodes[0];
31404
+ _this7.workflowReq.page_operate.custom_back_node_code = _this7.runtimeData.customBackNodes[0];
30230
31405
  }
30231
31406
  case 13:
30232
31407
  case "end":
30233
- return _context3.stop();
31408
+ return _context4.stop();
30234
31409
  }
30235
- }, _callee3);
31410
+ }, _callee4);
30236
31411
  }))();
30237
31412
  },
30238
31413
  /**
@@ -30240,47 +31415,47 @@ var CHECK_ACTION = {
30240
31415
  * @param nodeHandler {NodeHandler}
30241
31416
  */
30242
31417
  nodeHandlerChange: function nodeHandlerChange(nodeHandler) {
30243
- var _this7 = this;
30244
- return RuntimeWorkFlowvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/RuntimeWorkFlowvue_type_script_lang_js_regeneratorRuntime().mark(function _callee4() {
30245
- var _data$data4, _data$data5, _this7$runtimeData, _this7$runtimeData2;
31418
+ var _this8 = this;
31419
+ return RuntimeWorkFlowvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/RuntimeWorkFlowvue_type_script_lang_js_regeneratorRuntime().mark(function _callee5() {
31420
+ var _data$data4, _data$data5, _this8$runtimeData, _this8$runtimeData2;
30246
31421
  var map, result, data, runtimeData, users;
30247
- return RuntimeWorkFlowvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee4$(_context4) {
30248
- while (1) switch (_context4.prev = _context4.next) {
31422
+ return RuntimeWorkFlowvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee5$(_context5) {
31423
+ while (1) switch (_context5.prev = _context5.next) {
30249
31424
  case 0:
30250
31425
  map = nodeHandler.map();
30251
- if (!(map.node.size === Object.keys(_this7.workflow.node_json.node).length)) {
30252
- _context4.next = 3;
31426
+ if (!(map.node.size === Object.keys(_this8.workflow.node_json.node).length)) {
31427
+ _context5.next = 3;
30253
31428
  break;
30254
31429
  }
30255
- return _context4.abrupt("return");
31430
+ return _context5.abrupt("return");
30256
31431
  case 3:
30257
31432
  result = {};
30258
31433
  Object.keys(map).forEach(function (key) {
30259
31434
  result[key] = Object.fromEntries(map[key]);
30260
31435
  });
30261
- _this7.workflowReq.node_json = result;
30262
- _this7.eadApi.getModelValues().workflow_req = _this7.workflowReq;
30263
- _context4.next = 9;
30264
- return _this7.eadApi.runCurrentAction();
31436
+ _this8.workflowReq.node_json = result;
31437
+ _this8.eadApi.getModelValues().workflow_req = _this8.workflowReq;
31438
+ _context5.next = 9;
31439
+ return _this8.eadApi.runCurrentAction();
30265
31440
  case 9:
30266
- data = _context4.sent;
31441
+ data = _context5.sent;
30267
31442
  if (data) {
30268
- _context4.next = 14;
31443
+ _context5.next = 14;
30269
31444
  break;
30270
31445
  }
30271
- _this7.loading = false;
30272
- _this7.$emit('close');
30273
- return _context4.abrupt("return");
31446
+ _this8.loading = false;
31447
+ _this8.$emit('close');
31448
+ return _context5.abrupt("return");
30274
31449
  case 14:
30275
31450
  // runtime数据
30276
- _this7.workflow = data === null || data === void 0 || (_data$data4 = data.data) === null || _data$data4 === void 0 ? void 0 : _data$data4.workflow;
31451
+ _this8.workflow = data === null || data === void 0 || (_data$data4 = data.data) === null || _data$data4 === void 0 ? void 0 : _data$data4.workflow;
30277
31452
  runtimeData = data === null || data === void 0 || (_data$data5 = data.data) === null || _data$data5 === void 0 || (_data$data5 = _data$data5.workflow) === null || _data$data5 === void 0 ? void 0 : _data$data5.runtime_data;
30278
31453
  if (runtimeData && Object.keys(runtimeData).length) {
30279
- _this7.runtimeData = runtimeData;
31454
+ _this8.runtimeData = runtimeData;
30280
31455
  }
30281
31456
  // 后续步骤默认执行人配置 selected init
30282
- if (_this7.runtimeData.todos) {
30283
- _this7.runtimeData.todos.forEach(function (item) {
31457
+ if (_this8.runtimeData.todos) {
31458
+ _this8.runtimeData.todos.forEach(function (item) {
30284
31459
  // 非自选 且 选择的为空,默认全选
30285
31460
  if (!item.optional || item.optional && !item.optional.enable) {
30286
31461
  if (!item.selected || !item.selected.length) {
@@ -30303,46 +31478,46 @@ var CHECK_ACTION = {
30303
31478
  }
30304
31479
  // item filter
30305
31480
  // 【FEATURE】响应式更新支持
30306
- if (_this7.runtimeData.todos) {
30307
- _this7.runtimeData.todos.forEach(function (item) {
31481
+ if (_this8.runtimeData.todos) {
31482
+ _this8.runtimeData.todos.forEach(function (item) {
30308
31483
  if (!item.actorfilter) item.actorfilter = '';
30309
31484
  item.actorsf = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["ref"])(RuntimeWorkFlowvue_type_script_lang_js_toConsumableArray(item.actors));
30310
31485
  });
30311
31486
  }
30312
31487
  // user cache
30313
31488
  users = [];
30314
- if ((_this7$runtimeData = _this7.runtimeData) !== null && _this7$runtimeData !== void 0 && (_this7$runtimeData = _this7$runtimeData.involve) !== null && _this7$runtimeData !== void 0 && _this7$runtimeData.actors) {
30315
- users.push.apply(users, RuntimeWorkFlowvue_type_script_lang_js_toConsumableArray(_this7.runtimeData.involve.actors));
31489
+ if ((_this8$runtimeData = _this8.runtimeData) !== null && _this8$runtimeData !== void 0 && (_this8$runtimeData = _this8$runtimeData.involve) !== null && _this8$runtimeData !== void 0 && _this8$runtimeData.actors) {
31490
+ users.push.apply(users, RuntimeWorkFlowvue_type_script_lang_js_toConsumableArray(_this8.runtimeData.involve.actors));
30316
31491
  }
30317
- if ((_this7$runtimeData2 = _this7.runtimeData) !== null && _this7$runtimeData2 !== void 0 && (_this7$runtimeData2 = _this7$runtimeData2.reassign) !== null && _this7$runtimeData2 !== void 0 && _this7$runtimeData2.actors) {
30318
- users.push.apply(users, RuntimeWorkFlowvue_type_script_lang_js_toConsumableArray(_this7.runtimeData.reassign.actors));
31492
+ if ((_this8$runtimeData2 = _this8.runtimeData) !== null && _this8$runtimeData2 !== void 0 && (_this8$runtimeData2 = _this8$runtimeData2.reassign) !== null && _this8$runtimeData2 !== void 0 && _this8$runtimeData2.actors) {
31493
+ users.push.apply(users, RuntimeWorkFlowvue_type_script_lang_js_toConsumableArray(_this8.runtimeData.reassign.actors));
30319
31494
  }
30320
- if (_this7.runtimeData.todos) {
30321
- _this7.runtimeData.todos.forEach(function (item) {
31495
+ if (_this8.runtimeData.todos) {
31496
+ _this8.runtimeData.todos.forEach(function (item) {
30322
31497
  users.push.apply(users, RuntimeWorkFlowvue_type_script_lang_js_toConsumableArray(item.actors));
30323
31498
  });
30324
31499
  }
30325
- _this7.userCache = {};
31500
+ _this8.userCache = {};
30326
31501
  users.forEach(function (user) {
30327
- _this7.userCache[user.uid] = "".concat(user.name, "\uFF08").concat(user.org_name, "\uFF09");
31502
+ _this8.userCache[user.uid] = "".concat(user.name, "\uFF08").concat(user.org_name, "\uFF09");
30328
31503
  });
30329
31504
  // 后续步骤处理
30330
- _this7.currentTodo = null;
30331
- _this7.validExpression();
30332
- _this7.loadTodo();
31505
+ _this8.currentTodo = null;
31506
+ _this8.validExpression();
31507
+ _this8.loadTodo();
30333
31508
  case 28:
30334
31509
  case "end":
30335
- return _context4.stop();
31510
+ return _context5.stop();
30336
31511
  }
30337
- }, _callee4);
31512
+ }, _callee5);
30338
31513
  }))();
30339
31514
  },
30340
31515
  showFullScreenFlow: function showFullScreenFlow() {
30341
- var _this8 = this;
31516
+ var _this9 = this;
30342
31517
  this.fullscreenLoading = true;
30343
31518
  setTimeout(function () {
30344
- _this8.$nextTick(function () {
30345
- _this8.fullscreen = true;
31519
+ _this9.$nextTick(function () {
31520
+ _this9.fullscreen = true;
30346
31521
  });
30347
31522
  }, 50);
30348
31523
  },
@@ -30351,58 +31526,58 @@ var CHECK_ACTION = {
30351
31526
  this.fullscreen = false;
30352
31527
  },
30353
31528
  handleItemChange: function handleItemChange(value, attr) {
30354
- var _this9 = this;
30355
- return RuntimeWorkFlowvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/RuntimeWorkFlowvue_type_script_lang_js_regeneratorRuntime().mark(function _callee5() {
31529
+ var _this10 = this;
31530
+ return RuntimeWorkFlowvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/RuntimeWorkFlowvue_type_script_lang_js_regeneratorRuntime().mark(function _callee6() {
30356
31531
  var name, fd, res;
30357
- return RuntimeWorkFlowvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee5$(_context5) {
30358
- while (1) switch (_context5.prev = _context5.next) {
31532
+ return RuntimeWorkFlowvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee6$(_context6) {
31533
+ while (1) switch (_context6.prev = _context6.next) {
30359
31534
  case 0:
30360
31535
  name = attr.name;
30361
31536
  if (!(value instanceof FileList)) {
30362
- _context5.next = 14;
31537
+ _context6.next = 14;
30363
31538
  break;
30364
31539
  }
30365
31540
  if (!value[0]) {
30366
- _context5.next = 11;
31541
+ _context6.next = 11;
30367
31542
  break;
30368
31543
  }
30369
31544
  fd = new FormData();
30370
31545
  fd.append(name, value[0]);
30371
- _context5.next = 7;
30372
- return _this9.$api.post('/upload', fd);
31546
+ _context6.next = 7;
31547
+ return _this10.$api.post('/upload', fd);
30373
31548
  case 7:
30374
- res = _context5.sent;
31549
+ res = _context6.sent;
30375
31550
  value = res.data.data[name];
30376
- _context5.next = 12;
31551
+ _context6.next = 12;
30377
31552
  break;
30378
31553
  case 11:
30379
31554
  value = null;
30380
31555
  case 12:
30381
- _context5.next = 15;
31556
+ _context6.next = 15;
30382
31557
  break;
30383
31558
  case 14:
30384
31559
  if (value instanceof Date) {
30385
- value = _this9.moment(value).format('YYYY-MM-DD');
31560
+ value = _this10.moment(value).format('YYYY-MM-DD');
30386
31561
  }
30387
31562
  case 15:
30388
31563
  // this.actionModel.data[name] = value
30389
31564
 
30390
31565
  // ISSUE:1 兼容格式化 ---------------------------------------------------
30391
31566
  if (['time', 'datetime'].includes(attr.dataType)) {
30392
- value = _this9.moment(value, 'YYYY-MM-DD HH:mm').valueOf();
31567
+ value = _this10.moment(value, 'YYYY-MM-DD HH:mm').valueOf();
30393
31568
  }
30394
31569
  if (['date'].includes(attr.dataType)) {
30395
- value = _this9.moment(value, 'YYYY-MM-DD').valueOf();
31570
+ value = _this10.moment(value, 'YYYY-MM-DD').valueOf();
30396
31571
  }
30397
31572
  // -----------------------------------------------------------
30398
31573
 
30399
- _this9.actionModel[name] = value;
30400
- _this9.loadTodo();
31574
+ _this10.actionModel[name] = value;
31575
+ _this10.loadTodo();
30401
31576
  case 19:
30402
31577
  case "end":
30403
- return _context5.stop();
31578
+ return _context6.stop();
30404
31579
  }
30405
- }, _callee5);
31580
+ }, _callee6);
30406
31581
  }))();
30407
31582
  },
30408
31583
  validExpression: function validExpression() {
@@ -30446,7 +31621,7 @@ var CHECK_ACTION = {
30446
31621
  return list;
30447
31622
  },
30448
31623
  loadTodo: function loadTodo() {
30449
- var _this10 = this;
31624
+ var _this11 = this;
30450
31625
  if (!this.runtimeData.todos) {
30451
31626
  return;
30452
31627
  }
@@ -30470,7 +31645,7 @@ var CHECK_ACTION = {
30470
31645
  }
30471
31646
  } else {
30472
31647
  if (!this.availableTodo(this.runtimeData.todos.find(function (todo) {
30473
- return todo.node_code === _this10.currentTodo;
31648
+ return todo.node_code === _this11.currentTodo;
30474
31649
  }))) {
30475
31650
  this.currentTodo = null;
30476
31651
  this.loadTodo();
@@ -30478,7 +31653,7 @@ var CHECK_ACTION = {
30478
31653
  }
30479
31654
  },
30480
31655
  availableTodo: function availableTodo(todo) {
30481
- var _this11 = this;
31656
+ var _this12 = this;
30482
31657
  if (this.expressionError) {
30483
31658
  return false;
30484
31659
  }
@@ -30490,7 +31665,7 @@ var CHECK_ACTION = {
30490
31665
  var data = {};
30491
31666
  // eslint-disable-next-line no-return-assign
30492
31667
  this.activityColumns.forEach(function (column) {
30493
- return data[column] = _this11.actionModel[column];
31668
+ return data[column] = _this12.actionModel[column];
30494
31669
  });
30495
31670
  // eslint-disable-next-line no-new-func
30496
31671
  var expressionFn = new Function(Object.keys(data), 'return ' + expression);
@@ -30507,8 +31682,8 @@ var CHECK_ACTION = {
30507
31682
  });
30508
31683
  // CONCATENATED MODULE: ../src/web/components/forms/flow/runtime/RuntimeWorkFlow.vue?vue&type=script&lang=js
30509
31684
  /* harmony default export */ var runtime_RuntimeWorkFlowvue_type_script_lang_js = (RuntimeWorkFlowvue_type_script_lang_js);
30510
- // EXTERNAL MODULE: ../src/web/components/forms/flow/runtime/RuntimeWorkFlow.vue?vue&type=style&index=0&id=3f2edf36&prod&lang=less&scoped=true
30511
- var RuntimeWorkFlowvue_type_style_index_0_id_3f2edf36_prod_lang_less_scoped_true = __webpack_require__("1c5f");
31685
+ // EXTERNAL MODULE: ../src/web/components/forms/flow/runtime/RuntimeWorkFlow.vue?vue&type=style&index=0&id=5970b818&prod&lang=less&scoped=true
31686
+ var RuntimeWorkFlowvue_type_style_index_0_id_5970b818_prod_lang_less_scoped_true = __webpack_require__("8e84");
30512
31687
 
30513
31688
  // CONCATENATED MODULE: ../src/web/components/forms/flow/runtime/RuntimeWorkFlow.vue
30514
31689
 
@@ -30521,11 +31696,11 @@ var RuntimeWorkFlowvue_type_style_index_0_id_3f2edf36_prod_lang_less_scoped_true
30521
31696
 
30522
31697
  var RuntimeWorkFlow_component = normalizeComponent(
30523
31698
  runtime_RuntimeWorkFlowvue_type_script_lang_js,
30524
- RuntimeWorkFlowvue_type_template_id_3f2edf36_scoped_true_render,
30525
- RuntimeWorkFlowvue_type_template_id_3f2edf36_scoped_true_staticRenderFns,
31699
+ RuntimeWorkFlowvue_type_template_id_5970b818_scoped_true_render,
31700
+ RuntimeWorkFlowvue_type_template_id_5970b818_scoped_true_staticRenderFns,
30526
31701
  false,
30527
31702
  null,
30528
- "3f2edf36",
31703
+ "5970b818",
30529
31704
  null
30530
31705
 
30531
31706
  )
@@ -31915,17 +33090,6 @@ var variable = __webpack_require__("aa23");
31915
33090
  /* unused harmony reexport * */
31916
33091
 
31917
33092
 
31918
- /***/ }),
31919
-
31920
- /***/ "1c5f":
31921
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
31922
-
31923
- "use strict";
31924
- /* 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_3f2edf36_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("feb3");
31925
- /* 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_3f2edf36_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_3f2edf36_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
31926
- /* unused harmony reexport * */
31927
-
31928
-
31929
33093
  /***/ }),
31930
33094
 
31931
33095
  /***/ "1f44":
@@ -32228,6 +33392,17 @@ module.exports = require("monaco-editor");
32228
33392
 
32229
33393
  }));
32230
33394
 
33395
+ /***/ }),
33396
+
33397
+ /***/ "2629":
33398
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
33399
+
33400
+ "use strict";
33401
+ /* 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_d7966da8_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("41a6");
33402
+ /* 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_d7966da8_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_d7966da8_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
33403
+ /* unused harmony reexport * */
33404
+
33405
+
32231
33406
  /***/ }),
32232
33407
 
32233
33408
  /***/ "289a":
@@ -33081,7 +34256,7 @@ module.exports = require("@antv/g6");
33081
34256
 
33082
34257
  /***/ }),
33083
34258
 
33084
- /***/ "40db":
34259
+ /***/ "41a6":
33085
34260
  /***/ (function(module, exports, __webpack_require__) {
33086
34261
 
33087
34262
  // extracted by mini-css-extract-plugin
@@ -33164,6 +34339,13 @@ module.exports = require("@antv/g6");
33164
34339
 
33165
34340
  /***/ }),
33166
34341
 
34342
+ /***/ "5104":
34343
+ /***/ (function(module, exports, __webpack_require__) {
34344
+
34345
+ // extracted by mini-css-extract-plugin
34346
+
34347
+ /***/ }),
34348
+
33167
34349
  /***/ "517c":
33168
34350
  /***/ (function(module, exports, __webpack_require__) {
33169
34351
 
@@ -33178,6 +34360,13 @@ module.exports = require("@antv/g6");
33178
34360
 
33179
34361
  /***/ }),
33180
34362
 
34363
+ /***/ "5304":
34364
+ /***/ (function(module, exports, __webpack_require__) {
34365
+
34366
+ // extracted by mini-css-extract-plugin
34367
+
34368
+ /***/ }),
34369
+
33181
34370
  /***/ "5596":
33182
34371
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
33183
34372
 
@@ -33985,13 +35174,6 @@ module.exports = require("vue-router");
33985
35174
 
33986
35175
  /***/ }),
33987
35176
 
33988
- /***/ "6d01":
33989
- /***/ (function(module, exports, __webpack_require__) {
33990
-
33991
- // extracted by mini-css-extract-plugin
33992
-
33993
- /***/ }),
33994
-
33995
35177
  /***/ "6d57":
33996
35178
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
33997
35179
 
@@ -45939,12 +47121,12 @@ module.exports = require("qs");
45939
47121
 
45940
47122
  /***/ }),
45941
47123
 
45942
- /***/ "865a":
47124
+ /***/ "8b26":
45943
47125
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
45944
47126
 
45945
47127
  "use strict";
45946
- /* 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_13efb06a_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("6d01");
45947
- /* 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_13efb06a_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_13efb06a_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
47128
+ /* 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_SubWorkflowNode_vue_vue_type_style_index_0_id_423eb6bc_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("aa7e");
47129
+ /* 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_SubWorkflowNode_vue_vue_type_style_index_0_id_423eb6bc_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_SubWorkflowNode_vue_vue_type_style_index_0_id_423eb6bc_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
45948
47130
  /* unused harmony reexport * */
45949
47131
 
45950
47132
 
@@ -45977,6 +47159,17 @@ module.exports = require("vue");
45977
47159
  /* unused harmony reexport * */
45978
47160
 
45979
47161
 
47162
+ /***/ }),
47163
+
47164
+ /***/ "8e84":
47165
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
47166
+
47167
+ "use strict";
47168
+ /* 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_5970b818_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5304");
47169
+ /* 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_5970b818_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_5970b818_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
47170
+ /* unused harmony reexport * */
47171
+
47172
+
45980
47173
  /***/ }),
45981
47174
 
45982
47175
  /***/ "8eee":
@@ -46003,6 +47196,17 @@ module.exports = Array.isArray || function (arr) {
46003
47196
 
46004
47197
  // extracted by mini-css-extract-plugin
46005
47198
 
47199
+ /***/ }),
47200
+
47201
+ /***/ "9632":
47202
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
47203
+
47204
+ "use strict";
47205
+ /* 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_3425760f_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5104");
47206
+ /* 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_3425760f_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_3425760f_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
47207
+ /* unused harmony reexport * */
47208
+
47209
+
46006
47210
  /***/ }),
46007
47211
 
46008
47212
  /***/ "9707":
@@ -46428,6 +47632,13 @@ module.exports = g;
46428
47632
 
46429
47633
  /***/ }),
46430
47634
 
47635
+ /***/ "aa7e":
47636
+ /***/ (function(module, exports, __webpack_require__) {
47637
+
47638
+ // extracted by mini-css-extract-plugin
47639
+
47640
+ /***/ }),
47641
+
46431
47642
  /***/ "ad71":
46432
47643
  /***/ (function(module, exports, __webpack_require__) {
46433
47644
 
@@ -52065,13 +53276,6 @@ module.exports = require("vuex/dist/logger");
52065
53276
 
52066
53277
  /***/ }),
52067
53278
 
52068
- /***/ "feb3":
52069
- /***/ (function(module, exports, __webpack_require__) {
52070
-
52071
- // extracted by mini-css-extract-plugin
52072
-
52073
- /***/ }),
52074
-
52075
53279
  /***/ "ff21":
52076
53280
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
52077
53281