@xatlas/rainbow-core 2.4.5 → 2.4.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core.common.js +1352 -256
- package/dist/core.common.js.map +1 -1
- package/dist/core.css +1 -1
- package/dist/core.umd.js +1352 -256
- package/dist/core.umd.js.map +1 -1
- package/dist/core.umd.min.js +4 -4
- package/dist/core.umd.min.js.map +1 -1
- package/package.json +1 -1
package/dist/core.common.js
CHANGED
|
@@ -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":
|
|
@@ -1551,6 +1540,13 @@ exports.write = function (buffer, value, offset, isLE, mLen, nBytes) {
|
|
|
1551
1540
|
}
|
|
1552
1541
|
|
|
1553
1542
|
|
|
1543
|
+
/***/ }),
|
|
1544
|
+
|
|
1545
|
+
/***/ "1810":
|
|
1546
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1547
|
+
|
|
1548
|
+
// extracted by mini-css-extract-plugin
|
|
1549
|
+
|
|
1554
1550
|
/***/ }),
|
|
1555
1551
|
|
|
1556
1552
|
/***/ "1aba":
|
|
@@ -3618,7 +3614,15 @@ function list_toPrimitive(t, r) { if ("object" != list_typeof(t) || !t) return t
|
|
|
3618
3614
|
this.handleAction(action, null, list_defineProperty({}, key, files));
|
|
3619
3615
|
},
|
|
3620
3616
|
editable: function editable(record, action, attr) {
|
|
3621
|
-
var
|
|
3617
|
+
var _action$configs;
|
|
3618
|
+
var configs = list_objectSpread({}, this.configs);
|
|
3619
|
+
if (action !== null && action !== void 0 && (_action$configs = action.configs) !== null && _action$configs !== void 0 && _action$configs.length) {
|
|
3620
|
+
var actionConfigs = Object.fromEntries(action.configs.map(function (c) {
|
|
3621
|
+
return [c.key, c.value];
|
|
3622
|
+
}));
|
|
3623
|
+
configs = list_objectSpread(list_objectSpread({}, configs), actionConfigs);
|
|
3624
|
+
}
|
|
3625
|
+
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
3626
|
if (action !== null && action !== void 0 && action.list) {
|
|
3623
3627
|
var list = action.list.split(',');
|
|
3624
3628
|
return editable && list.includes(attr.name);
|
|
@@ -16378,6 +16382,7 @@ NodeType_defineProperty(NodeType_NodeType, "CC", 'cc');
|
|
|
16378
16382
|
NodeType_defineProperty(NodeType_NodeType, "TASK", 'task');
|
|
16379
16383
|
NodeType_defineProperty(NodeType_NodeType, "TRIGGER", 'trigger');
|
|
16380
16384
|
NodeType_defineProperty(NodeType_NodeType, "DELAY", 'delay');
|
|
16385
|
+
NodeType_defineProperty(NodeType_NodeType, "SUBWORKFLOW", 'subworkflow');
|
|
16381
16386
|
NodeType_defineProperty(NodeType_NodeType, "PARALLEL_WRAP", 'parallel_wrap');
|
|
16382
16387
|
NodeType_defineProperty(NodeType_NodeType, "PARALLEL", 'parallel');
|
|
16383
16388
|
NodeType_defineProperty(NodeType_NodeType, "JUDGE_WRAP", 'judge_wrap');
|
|
@@ -16408,6 +16413,9 @@ function initNodeTypes() {
|
|
|
16408
16413
|
NodeType_NodeType.registerNodeType(NodeType_NodeType.TRIGGER, 'single', 'TriggerNode', function () {
|
|
16409
16414
|
return new designer_NodeItem('触发器', '触发器', null, NodeType_NodeType.TRIGGER);
|
|
16410
16415
|
});
|
|
16416
|
+
NodeType_NodeType.registerNodeType(NodeType_NodeType.SUBWORKFLOW, 'single', 'SubWorkflowNode', function () {
|
|
16417
|
+
return new designer_NodeItem('子流程', '子流程', null, NodeType_NodeType.SUBWORKFLOW);
|
|
16418
|
+
});
|
|
16411
16419
|
NodeType_NodeType.registerNodeType(NodeType_NodeType.DELAY, 'single', 'DelayNode', function () {
|
|
16412
16420
|
return new designer_NodeItem('延迟等待', '延迟等待', null, NodeType_NodeType.DELAY);
|
|
16413
16421
|
});
|
|
@@ -17477,8 +17485,8 @@ var _codeIndex = {
|
|
|
17477
17485
|
value: {}
|
|
17478
17486
|
};
|
|
17479
17487
|
/* 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=
|
|
17481
|
-
var
|
|
17488
|
+
// 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
|
|
17489
|
+
var NodeWrapvue_type_template_id_e1e89f50_scoped_true_render = function render() {
|
|
17482
17490
|
var _vm = this,
|
|
17483
17491
|
_c = _vm._self._c;
|
|
17484
17492
|
return _c('div', {
|
|
@@ -17507,9 +17515,9 @@ var NodeWrapvue_type_template_id_5bf5a14e_scoped_true_render = function render()
|
|
|
17507
17515
|
}
|
|
17508
17516
|
}) : _vm._e()], 1);
|
|
17509
17517
|
};
|
|
17510
|
-
var
|
|
17518
|
+
var NodeWrapvue_type_template_id_e1e89f50_scoped_true_staticRenderFns = [];
|
|
17511
17519
|
|
|
17512
|
-
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/NodeWrap.vue?vue&type=template&id=
|
|
17520
|
+
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/NodeWrap.vue?vue&type=template&id=e1e89f50&scoped=true
|
|
17513
17521
|
|
|
17514
17522
|
// 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
17523
|
var EndNodevue_type_template_id_778e5139_scoped_true_render = function render() {
|
|
@@ -19437,14 +19445,14 @@ var ParallelWrapNode_component = normalizeComponent(
|
|
|
19437
19445
|
)
|
|
19438
19446
|
|
|
19439
19447
|
/* 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=
|
|
19441
|
-
function
|
|
19442
|
-
function
|
|
19443
|
-
function
|
|
19444
|
-
function
|
|
19445
|
-
function
|
|
19446
|
-
function
|
|
19447
|
-
var
|
|
19448
|
+
// 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
|
|
19449
|
+
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(); }
|
|
19450
|
+
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."); }
|
|
19451
|
+
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); }
|
|
19452
|
+
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); }
|
|
19453
|
+
function CheckNodevue_type_template_id_3425760f_scoped_true_arrayWithoutHoles(arr) { if (Array.isArray(arr)) return CheckNodevue_type_template_id_3425760f_scoped_true_arrayLikeToArray(arr); }
|
|
19454
|
+
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; }
|
|
19455
|
+
var CheckNodevue_type_template_id_3425760f_scoped_true_render = function render() {
|
|
19448
19456
|
var _vm$nodeHandler, _vm$nodeHandler2, _vm$nodeRef, _vm$nodeRef2, _vm$nodeRef3, _vm$nodeHandler3, _vm$noticeTemplateAtt;
|
|
19449
19457
|
var _vm = this,
|
|
19450
19458
|
_c = _vm._self._c;
|
|
@@ -19878,7 +19886,7 @@ var CheckNodevue_type_template_id_0e1b910e_scoped_true_render = function render(
|
|
|
19878
19886
|
},
|
|
19879
19887
|
attrs: {
|
|
19880
19888
|
"filterOption": _vm.filterUser,
|
|
19881
|
-
"options": [].concat(
|
|
19889
|
+
"options": [].concat(CheckNodevue_type_template_id_3425760f_scoped_true_toConsumableArray(_vm.businessUserData), CheckNodevue_type_template_id_3425760f_scoped_true_toConsumableArray(_vm.users)),
|
|
19882
19890
|
"mode": "multiple",
|
|
19883
19891
|
"placeholder": "选择人"
|
|
19884
19892
|
},
|
|
@@ -19906,7 +19914,7 @@ var CheckNodevue_type_template_id_0e1b910e_scoped_true_render = function render(
|
|
|
19906
19914
|
maxHeight: '400px',
|
|
19907
19915
|
overflow: 'auto'
|
|
19908
19916
|
},
|
|
19909
|
-
"tree-data": [_vm.businessOrgData].concat(
|
|
19917
|
+
"tree-data": [_vm.businessOrgData].concat(CheckNodevue_type_template_id_3425760f_scoped_true_toConsumableArray(_vm.orgData)),
|
|
19910
19918
|
"allowClear": "",
|
|
19911
19919
|
"placeholder": "部门",
|
|
19912
19920
|
"tree-default-expand-all": ""
|
|
@@ -20087,73 +20095,6 @@ var CheckNodevue_type_template_id_0e1b910e_scoped_true_render = function render(
|
|
|
20087
20095
|
"tab": "操作视图"
|
|
20088
20096
|
}
|
|
20089
20097
|
}, [_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
20098
|
key: _vm.nodeRef.data.option_view_id,
|
|
20158
20099
|
staticClass: "node-from-item"
|
|
20159
20100
|
}, [_c('a-divider', {
|
|
@@ -21072,9 +21013,9 @@ var CheckNodevue_type_template_id_0e1b910e_scoped_true_render = function render(
|
|
|
21072
21013
|
}
|
|
21073
21014
|
}) : _vm._e()], 1)]) : _vm._e()], 1)], 1) : _vm._e()], 1);
|
|
21074
21015
|
};
|
|
21075
|
-
var
|
|
21016
|
+
var CheckNodevue_type_template_id_3425760f_scoped_true_staticRenderFns = [];
|
|
21076
21017
|
|
|
21077
|
-
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/CheckNode.vue?vue&type=template&id=
|
|
21018
|
+
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/CheckNode.vue?vue&type=template&id=3425760f&scoped=true
|
|
21078
21019
|
|
|
21079
21020
|
// 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
21021
|
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 +21741,8 @@ function CheckNodevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Ch
|
|
|
21800
21741
|
});
|
|
21801
21742
|
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/CheckNode.vue?vue&type=script&lang=js
|
|
21802
21743
|
/* 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=
|
|
21804
|
-
var
|
|
21744
|
+
// EXTERNAL MODULE: ../src/web/components/forms/flow/designer/node/CheckNode.vue?vue&type=style&index=0&id=3425760f&prod&lang=less&scoped=true
|
|
21745
|
+
var CheckNodevue_type_style_index_0_id_3425760f_prod_lang_less_scoped_true = __webpack_require__("9632");
|
|
21805
21746
|
|
|
21806
21747
|
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/CheckNode.vue
|
|
21807
21748
|
|
|
@@ -21814,11 +21755,11 @@ var CheckNodevue_type_style_index_0_id_0e1b910e_prod_lang_less_scoped_true = __w
|
|
|
21814
21755
|
|
|
21815
21756
|
var CheckNode_component = normalizeComponent(
|
|
21816
21757
|
node_CheckNodevue_type_script_lang_js,
|
|
21817
|
-
|
|
21818
|
-
|
|
21758
|
+
CheckNodevue_type_template_id_3425760f_scoped_true_render,
|
|
21759
|
+
CheckNodevue_type_template_id_3425760f_scoped_true_staticRenderFns,
|
|
21819
21760
|
false,
|
|
21820
21761
|
null,
|
|
21821
|
-
"
|
|
21762
|
+
"3425760f",
|
|
21822
21763
|
null
|
|
21823
21764
|
|
|
21824
21765
|
)
|
|
@@ -23781,14 +23722,14 @@ var CCNode_component = normalizeComponent(
|
|
|
23781
23722
|
)
|
|
23782
23723
|
|
|
23783
23724
|
/* 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=
|
|
23785
|
-
function
|
|
23786
|
-
function
|
|
23787
|
-
function
|
|
23788
|
-
function
|
|
23789
|
-
function
|
|
23790
|
-
function
|
|
23791
|
-
var
|
|
23725
|
+
// 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
|
|
23726
|
+
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(); }
|
|
23727
|
+
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."); }
|
|
23728
|
+
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); }
|
|
23729
|
+
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); }
|
|
23730
|
+
function TaskNodevue_type_template_id_d7966da8_scoped_true_arrayWithoutHoles(arr) { if (Array.isArray(arr)) return TaskNodevue_type_template_id_d7966da8_scoped_true_arrayLikeToArray(arr); }
|
|
23731
|
+
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; }
|
|
23732
|
+
var TaskNodevue_type_template_id_d7966da8_scoped_true_render = function render() {
|
|
23792
23733
|
var _vm$nodeHandler, _vm$nodeHandler2, _vm$nodeRef, _vm$nodeRef2, _vm$nodeRef3, _vm$nodeHandler3, _vm$noticeTemplateAtt;
|
|
23793
23734
|
var _vm = this,
|
|
23794
23735
|
_c = _vm._self._c;
|
|
@@ -24222,7 +24163,7 @@ var TaskNodevue_type_template_id_13efb06a_scoped_true_render = function render()
|
|
|
24222
24163
|
},
|
|
24223
24164
|
attrs: {
|
|
24224
24165
|
"filterOption": _vm.filterUser,
|
|
24225
|
-
"options": [].concat(
|
|
24166
|
+
"options": [].concat(TaskNodevue_type_template_id_d7966da8_scoped_true_toConsumableArray(_vm.businessUserData), TaskNodevue_type_template_id_d7966da8_scoped_true_toConsumableArray(_vm.users)),
|
|
24226
24167
|
"mode": "multiple",
|
|
24227
24168
|
"placeholder": "选择人"
|
|
24228
24169
|
},
|
|
@@ -24250,7 +24191,7 @@ var TaskNodevue_type_template_id_13efb06a_scoped_true_render = function render()
|
|
|
24250
24191
|
maxHeight: '400px',
|
|
24251
24192
|
overflow: 'auto'
|
|
24252
24193
|
},
|
|
24253
|
-
"tree-data": [_vm.businessOrgData].concat(
|
|
24194
|
+
"tree-data": [_vm.businessOrgData].concat(TaskNodevue_type_template_id_d7966da8_scoped_true_toConsumableArray(_vm.orgData)),
|
|
24254
24195
|
"allowClear": "",
|
|
24255
24196
|
"placeholder": "部门",
|
|
24256
24197
|
"tree-default-expand-all": ""
|
|
@@ -24377,18 +24318,10 @@ var TaskNodevue_type_template_id_13efb06a_scoped_true_render = function render()
|
|
|
24377
24318
|
expression: "nodeRef.data.actor_config.check_mode"
|
|
24378
24319
|
}
|
|
24379
24320
|
}, [_c('a-radio-button', {
|
|
24380
|
-
attrs: {
|
|
24381
|
-
"value": "queue"
|
|
24382
|
-
}
|
|
24383
|
-
}, [_vm._v("依次执行")]), _c('a-radio-button', {
|
|
24384
24321
|
attrs: {
|
|
24385
24322
|
"value": "orsign"
|
|
24386
24323
|
}
|
|
24387
|
-
}, [_vm._v("或操")]), _c('a-
|
|
24388
|
-
attrs: {
|
|
24389
|
-
"value": "sign"
|
|
24390
|
-
}
|
|
24391
|
-
}, [_vm._v("会操")])], 1)], 1)], 1)], 1) : _vm._e()], 2) : _vm._e(), _c('a-row', {
|
|
24324
|
+
}, [_vm._v("或操")])], 1)], 1)], 1)], 1) : _vm._e()], 2) : _vm._e(), _c('a-row', {
|
|
24392
24325
|
staticStyle: {
|
|
24393
24326
|
"display": "flex",
|
|
24394
24327
|
"align-items": "center",
|
|
@@ -25388,9 +25321,9 @@ var TaskNodevue_type_template_id_13efb06a_scoped_true_render = function render()
|
|
|
25388
25321
|
}
|
|
25389
25322
|
}) : _vm._e()], 1)]) : _vm._e()], 1)], 1) : _vm._e()], 1);
|
|
25390
25323
|
};
|
|
25391
|
-
var
|
|
25324
|
+
var TaskNodevue_type_template_id_d7966da8_scoped_true_staticRenderFns = [];
|
|
25392
25325
|
|
|
25393
|
-
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/TaskNode.vue?vue&type=template&id=
|
|
25326
|
+
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/TaskNode.vue?vue&type=template&id=d7966da8&scoped=true
|
|
25394
25327
|
|
|
25395
25328
|
// 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
25329
|
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 +25360,7 @@ function TaskNodevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Tas
|
|
|
25427
25360
|
defaultContent: '请选择',
|
|
25428
25361
|
editName: false,
|
|
25429
25362
|
tabKey: 'actors',
|
|
25430
|
-
optionViewType: '
|
|
25363
|
+
optionViewType: 'custom',
|
|
25431
25364
|
optionViewId: null,
|
|
25432
25365
|
// cache 缓存用途,ISSUE: change事件不会返回之前的value
|
|
25433
25366
|
optionViewList: [],
|
|
@@ -25523,7 +25456,7 @@ function TaskNodevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Tas
|
|
|
25523
25456
|
multi: false
|
|
25524
25457
|
},
|
|
25525
25458
|
// 自选配置
|
|
25526
|
-
check_mode: '
|
|
25459
|
+
check_mode: 'orsign' // 多人审批模式,// 'queue', 'orsign','sign'
|
|
25527
25460
|
},
|
|
25528
25461
|
option_view_id: '',
|
|
25529
25462
|
option_forms: [],
|
|
@@ -25859,10 +25792,11 @@ function TaskNodevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Tas
|
|
|
25859
25792
|
* @param node {NodeItem}
|
|
25860
25793
|
*/
|
|
25861
25794
|
loadCache: function loadCache(node) {
|
|
25862
|
-
var _node$data$eadCache$w, _node$data, _node$data$eadCache$w2, _node$data2, _node$data$eadCache$w3, _node$data3;
|
|
25795
|
+
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
25796
|
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
25797
|
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
25798
|
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;
|
|
25799
|
+
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
25800
|
},
|
|
25867
25801
|
handleDriverChange: function handleDriverChange(a, s) {},
|
|
25868
25802
|
handleDriverSearch: function handleDriverSearch(s) {
|
|
@@ -25975,36 +25909,34 @@ function TaskNodevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Tas
|
|
|
25975
25909
|
'changeViewType': function changeViewType(_ref4) {
|
|
25976
25910
|
var _this6 = this;
|
|
25977
25911
|
return TaskNodevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/TaskNodevue_type_script_lang_js_regeneratorRuntime().mark(function _callee2() {
|
|
25978
|
-
var target, type;
|
|
25912
|
+
var target, type, optionViewId;
|
|
25979
25913
|
return TaskNodevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
25980
25914
|
while (1) switch (_context2.prev = _context2.next) {
|
|
25981
25915
|
case 0:
|
|
25982
25916
|
target = _ref4.target;
|
|
25983
25917
|
type = target.value;
|
|
25984
25918
|
_this6.nodeRef.data.eadCache.workflow.optionViewType = type;
|
|
25919
|
+
optionViewId = '';
|
|
25985
25920
|
if (type === 'custom') {
|
|
25986
25921
|
_this6.optionFormsCache[_this6.eadApi.getValues().option_view_id] = _this6.nodeRef.data.option_forms;
|
|
25987
|
-
|
|
25988
|
-
|
|
25989
|
-
|
|
25990
|
-
break;
|
|
25991
|
-
}
|
|
25992
|
-
if (_this6.optionViewId) {
|
|
25922
|
+
_this6.nodeRef.data.option_view_id = _this6.optionViewId;
|
|
25923
|
+
optionViewId = _this6.optionViewId;
|
|
25924
|
+
} else if (type === 'use_model') {
|
|
25993
25925
|
_this6.optionFormsCache[_this6.optionViewId] = _this6.nodeRef.data.option_forms;
|
|
25926
|
+
_this6.nodeRef.data.option_view_id = null;
|
|
25927
|
+
optionViewId = _this6.eadApi.getValues().option_view_id;
|
|
25994
25928
|
}
|
|
25995
|
-
_this6.optionViewId = null;
|
|
25996
|
-
_this6.nodeRef.data.option_view_id = undefined;
|
|
25997
25929
|
_this6.viewAttrLoading = true;
|
|
25998
|
-
_context2.next =
|
|
25999
|
-
return _this6.eadApi.getViewAttrs(
|
|
26000
|
-
case
|
|
25930
|
+
_context2.next = 8;
|
|
25931
|
+
return _this6.eadApi.getViewAttrs(optionViewId);
|
|
25932
|
+
case 8:
|
|
26001
25933
|
_this6.nodeRef.data.option_forms = _context2.sent.filter(function (attr) {
|
|
26002
25934
|
return attr.type === 'value' && attr.access !== 'none';
|
|
26003
25935
|
}).filter(function (attr) {
|
|
26004
25936
|
return attr.key_type !== 'primary';
|
|
26005
25937
|
}).map(function (attr) {
|
|
26006
25938
|
var _this6$optionFormsCac, _cache$access2, _ref5;
|
|
26007
|
-
var cache = (_this6$optionFormsCac = _this6.optionFormsCache[
|
|
25939
|
+
var cache = (_this6$optionFormsCac = _this6.optionFormsCache[optionViewId]) === null || _this6$optionFormsCac === void 0 ? void 0 : _this6$optionFormsCac.find(function (attr0) {
|
|
26008
25940
|
return attr0.attrId === attr.id;
|
|
26009
25941
|
});
|
|
26010
25942
|
var access = (_cache$access2 = cache === null || cache === void 0 ? void 0 : cache.access) !== null && _cache$access2 !== void 0 ? _cache$access2 : 'none';
|
|
@@ -26018,7 +25950,7 @@ function TaskNodevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Tas
|
|
|
26018
25950
|
};
|
|
26019
25951
|
});
|
|
26020
25952
|
_this6.viewAttrLoading = false;
|
|
26021
|
-
case
|
|
25953
|
+
case 10:
|
|
26022
25954
|
case "end":
|
|
26023
25955
|
return _context2.stop();
|
|
26024
25956
|
}
|
|
@@ -26117,8 +26049,8 @@ function TaskNodevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Tas
|
|
|
26117
26049
|
});
|
|
26118
26050
|
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/TaskNode.vue?vue&type=script&lang=js
|
|
26119
26051
|
/* 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=
|
|
26121
|
-
var
|
|
26052
|
+
// EXTERNAL MODULE: ../src/web/components/forms/flow/designer/node/TaskNode.vue?vue&type=style&index=0&id=d7966da8&prod&lang=less&scoped=true
|
|
26053
|
+
var TaskNodevue_type_style_index_0_id_d7966da8_prod_lang_less_scoped_true = __webpack_require__("2629");
|
|
26122
26054
|
|
|
26123
26055
|
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/TaskNode.vue
|
|
26124
26056
|
|
|
@@ -26131,21 +26063,162 @@ var TaskNodevue_type_style_index_0_id_13efb06a_prod_lang_less_scoped_true = __we
|
|
|
26131
26063
|
|
|
26132
26064
|
var TaskNode_component = normalizeComponent(
|
|
26133
26065
|
node_TaskNodevue_type_script_lang_js,
|
|
26134
|
-
|
|
26135
|
-
|
|
26066
|
+
TaskNodevue_type_template_id_d7966da8_scoped_true_render,
|
|
26067
|
+
TaskNodevue_type_template_id_d7966da8_scoped_true_staticRenderFns,
|
|
26136
26068
|
false,
|
|
26137
26069
|
null,
|
|
26138
|
-
"
|
|
26070
|
+
"d7966da8",
|
|
26139
26071
|
null
|
|
26140
26072
|
|
|
26141
26073
|
)
|
|
26142
26074
|
|
|
26143
26075
|
/* 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/
|
|
26145
|
-
var
|
|
26076
|
+
// 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=b9b07154&scoped=true
|
|
26077
|
+
var SubWorkflowNodevue_type_template_id_b9b07154_scoped_true_render = function render() {
|
|
26078
|
+
var _vm$nodeHandler, _vm$nodeHandler2, _vm$nodeRef, _vm$nodeRef2, _vm$nodeRef3, _vm$nodeHandler3;
|
|
26146
26079
|
var _vm = this,
|
|
26147
26080
|
_c = _vm._self._c;
|
|
26148
|
-
return _c('div', [_c('
|
|
26081
|
+
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', {
|
|
26082
|
+
attrs: {
|
|
26083
|
+
"placement": "rightTop"
|
|
26084
|
+
},
|
|
26085
|
+
scopedSlots: _vm._u([{
|
|
26086
|
+
key: "content",
|
|
26087
|
+
fn: function fn() {
|
|
26088
|
+
return [_c('div', {
|
|
26089
|
+
staticStyle: {
|
|
26090
|
+
"min-width": "300px",
|
|
26091
|
+
"max-width": "1200px"
|
|
26092
|
+
}
|
|
26093
|
+
}, [_c('runtime-workflow-actors', {
|
|
26094
|
+
attrs: {
|
|
26095
|
+
"actors": _vm.nodeHandler.runtimeData.actorLogs[_vm.node.code]
|
|
26096
|
+
}
|
|
26097
|
+
})], 1)];
|
|
26098
|
+
},
|
|
26099
|
+
proxy: true
|
|
26100
|
+
}], null, false, 193291077)
|
|
26101
|
+
}, [_c('div', {
|
|
26102
|
+
staticClass: "node",
|
|
26103
|
+
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 : ''],
|
|
26104
|
+
on: {
|
|
26105
|
+
"click": _vm.click
|
|
26106
|
+
}
|
|
26107
|
+
}, [_c('div', {
|
|
26108
|
+
staticClass: "title"
|
|
26109
|
+
}, [_c('span', [_c('a-icon', {
|
|
26110
|
+
attrs: {
|
|
26111
|
+
"component": _vm.icon
|
|
26112
|
+
}
|
|
26113
|
+
})], 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', {
|
|
26114
|
+
attrs: {
|
|
26115
|
+
"type": "control"
|
|
26116
|
+
}
|
|
26117
|
+
})], 1) : _vm._e(), !_vm.nodeHandler.isPreview ? _c('span', {
|
|
26118
|
+
staticClass: "title-right"
|
|
26119
|
+
}, [_c('a-icon', {
|
|
26120
|
+
staticClass: "close",
|
|
26121
|
+
attrs: {
|
|
26122
|
+
"type": "close"
|
|
26123
|
+
},
|
|
26124
|
+
on: {
|
|
26125
|
+
"click": function click($event) {
|
|
26126
|
+
$event.stopPropagation();
|
|
26127
|
+
return _vm.close.apply(null, arguments);
|
|
26128
|
+
}
|
|
26129
|
+
}
|
|
26130
|
+
})], 1) : _vm._e()]), _c('div', {
|
|
26131
|
+
staticClass: "content"
|
|
26132
|
+
}, [_c('span', {
|
|
26133
|
+
staticClass: "content-main"
|
|
26134
|
+
}, [_c('span', {
|
|
26135
|
+
staticClass: "error-tooltip"
|
|
26136
|
+
}, [_c('a-tooltip', [_c('template', {
|
|
26137
|
+
slot: "title"
|
|
26138
|
+
}, [_vm._v(" " + _vm._s(_vm.node.error) + " ")]), _c('a-icon', {
|
|
26139
|
+
attrs: {
|
|
26140
|
+
"theme": "filled",
|
|
26141
|
+
"type": "warning"
|
|
26142
|
+
}
|
|
26143
|
+
})], 2)], 1), _vm.nodeContent ? _c('span', {
|
|
26144
|
+
staticStyle: {
|
|
26145
|
+
"padding-left": "5px"
|
|
26146
|
+
}
|
|
26147
|
+
}, [_c('span', {
|
|
26148
|
+
domProps: {
|
|
26149
|
+
"innerHTML": _vm._s(_vm.nodeContent)
|
|
26150
|
+
}
|
|
26151
|
+
})]) : _c('span', {
|
|
26152
|
+
staticStyle: {
|
|
26153
|
+
"padding-left": "5px",
|
|
26154
|
+
"color": "rgb(164 164 164)"
|
|
26155
|
+
}
|
|
26156
|
+
}, [_vm._v(_vm._s(_vm.defaultContent))])]), _c('span', {
|
|
26157
|
+
staticClass: "content-right"
|
|
26158
|
+
}, [!_vm.nodeHandler.isPreview ? _c('a-popover', {
|
|
26159
|
+
attrs: {
|
|
26160
|
+
"placement": "rightTop",
|
|
26161
|
+
"trigger": "click"
|
|
26162
|
+
},
|
|
26163
|
+
scopedSlots: _vm._u([{
|
|
26164
|
+
key: "title",
|
|
26165
|
+
fn: function fn() {
|
|
26166
|
+
return [_c('span', {
|
|
26167
|
+
staticStyle: {
|
|
26168
|
+
"font-size": "18px"
|
|
26169
|
+
}
|
|
26170
|
+
}, [_vm._v("追加分支")])];
|
|
26171
|
+
},
|
|
26172
|
+
proxy: true
|
|
26173
|
+
}, {
|
|
26174
|
+
key: "content",
|
|
26175
|
+
fn: function fn() {
|
|
26176
|
+
return [_c('div', {
|
|
26177
|
+
staticClass: "add-node-box"
|
|
26178
|
+
}, _vm._l(_vm.nodes, function (node, index) {
|
|
26179
|
+
var _node$icon, _node$icon2;
|
|
26180
|
+
return _c('div', {
|
|
26181
|
+
key: index,
|
|
26182
|
+
staticClass: "add-node-item",
|
|
26183
|
+
on: {
|
|
26184
|
+
"click": function click($event) {
|
|
26185
|
+
return _vm.wrapNode(node.type);
|
|
26186
|
+
}
|
|
26187
|
+
}
|
|
26188
|
+
}, [_c('div', {
|
|
26189
|
+
staticClass: "icon",
|
|
26190
|
+
style: 'color:' + node.color + ';'
|
|
26191
|
+
}, [(_node$icon = node.icon) !== null && _node$icon !== void 0 && _node$icon.component ? _c('a-icon', {
|
|
26192
|
+
attrs: {
|
|
26193
|
+
"component": node.icon.component
|
|
26194
|
+
}
|
|
26195
|
+
}) : _vm._e(), (_node$icon2 = node.icon) !== null && _node$icon2 !== void 0 && _node$icon2.type ? _c('a-icon', {
|
|
26196
|
+
attrs: {
|
|
26197
|
+
"type": node.icon.type
|
|
26198
|
+
}
|
|
26199
|
+
}) : _vm._e()], 1), _c('span', [_vm._v(_vm._s(node.name))])]);
|
|
26200
|
+
}), 0)];
|
|
26201
|
+
},
|
|
26202
|
+
proxy: true
|
|
26203
|
+
}], null, false, 2863198520),
|
|
26204
|
+
model: {
|
|
26205
|
+
value: _vm.visiblePopover,
|
|
26206
|
+
callback: function callback($$v) {
|
|
26207
|
+
_vm.visiblePopover = $$v;
|
|
26208
|
+
},
|
|
26209
|
+
expression: "visiblePopover"
|
|
26210
|
+
}
|
|
26211
|
+
}, [_c('a-icon', {
|
|
26212
|
+
attrs: {
|
|
26213
|
+
"type": "plus"
|
|
26214
|
+
},
|
|
26215
|
+
on: {
|
|
26216
|
+
"click": function click($event) {
|
|
26217
|
+
$event.stopPropagation();
|
|
26218
|
+
return function () {}.apply(null, arguments);
|
|
26219
|
+
}
|
|
26220
|
+
}
|
|
26221
|
+
})], 1) : _vm._e()], 1)])])]) : _c('div', {
|
|
26149
26222
|
staticClass: "node",
|
|
26150
26223
|
class: _vm.getClass(),
|
|
26151
26224
|
on: {
|
|
@@ -26154,10 +26227,974 @@ var TriggerNodevue_type_template_id_7af4eb1a_scoped_true_render = function rende
|
|
|
26154
26227
|
}, [_c('div', {
|
|
26155
26228
|
staticClass: "title"
|
|
26156
26229
|
}, [_c('span', [_c('a-icon', {
|
|
26230
|
+
attrs: {
|
|
26231
|
+
"component": _vm.icon
|
|
26232
|
+
}
|
|
26233
|
+
})], 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
26234
|
attrs: {
|
|
26158
26235
|
"type": "control"
|
|
26159
26236
|
}
|
|
26160
|
-
})], 1)
|
|
26237
|
+
})], 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', {
|
|
26238
|
+
staticClass: "title-right"
|
|
26239
|
+
}, [_c('a-icon', {
|
|
26240
|
+
staticClass: "close",
|
|
26241
|
+
attrs: {
|
|
26242
|
+
"type": "close"
|
|
26243
|
+
},
|
|
26244
|
+
on: {
|
|
26245
|
+
"click": function click($event) {
|
|
26246
|
+
$event.stopPropagation();
|
|
26247
|
+
return _vm.close.apply(null, arguments);
|
|
26248
|
+
}
|
|
26249
|
+
}
|
|
26250
|
+
})], 1) : _vm._e()]), _c('div', {
|
|
26251
|
+
staticClass: "content"
|
|
26252
|
+
}, [_c('span', {
|
|
26253
|
+
staticClass: "content-main"
|
|
26254
|
+
}, [_c('span', {
|
|
26255
|
+
staticClass: "error-tooltip"
|
|
26256
|
+
}, [_c('a-tooltip', [_c('template', {
|
|
26257
|
+
slot: "title"
|
|
26258
|
+
}, [_vm._v(" " + _vm._s(_vm.node.error) + " ")]), _c('a-icon', {
|
|
26259
|
+
attrs: {
|
|
26260
|
+
"theme": "filled",
|
|
26261
|
+
"type": "warning"
|
|
26262
|
+
}
|
|
26263
|
+
})], 2)], 1), _vm.nodeContent ? _c('span', {
|
|
26264
|
+
staticStyle: {
|
|
26265
|
+
"padding-left": "5px"
|
|
26266
|
+
}
|
|
26267
|
+
}, [_c('span', {
|
|
26268
|
+
domProps: {
|
|
26269
|
+
"innerHTML": _vm._s(_vm.nodeContent)
|
|
26270
|
+
}
|
|
26271
|
+
})]) : _c('span', {
|
|
26272
|
+
staticStyle: {
|
|
26273
|
+
"padding-left": "5px",
|
|
26274
|
+
"color": "rgb(164 164 164)"
|
|
26275
|
+
}
|
|
26276
|
+
}, [_vm._v(_vm._s(_vm.defaultContent))])]), _c('span', {
|
|
26277
|
+
staticClass: "content-right"
|
|
26278
|
+
}, [!_vm.nodeHandler.isPreview ? _c('a-popover', {
|
|
26279
|
+
attrs: {
|
|
26280
|
+
"placement": "rightTop",
|
|
26281
|
+
"trigger": "click"
|
|
26282
|
+
},
|
|
26283
|
+
scopedSlots: _vm._u([{
|
|
26284
|
+
key: "title",
|
|
26285
|
+
fn: function fn() {
|
|
26286
|
+
return [_c('span', {
|
|
26287
|
+
staticStyle: {
|
|
26288
|
+
"font-size": "18px"
|
|
26289
|
+
}
|
|
26290
|
+
}, [_vm._v("追加分支")])];
|
|
26291
|
+
},
|
|
26292
|
+
proxy: true
|
|
26293
|
+
}, {
|
|
26294
|
+
key: "content",
|
|
26295
|
+
fn: function fn() {
|
|
26296
|
+
return [_c('div', {
|
|
26297
|
+
staticClass: "add-node-box"
|
|
26298
|
+
}, _vm._l(_vm.nodes, function (node, index) {
|
|
26299
|
+
var _node$icon3, _node$icon4;
|
|
26300
|
+
return _c('div', {
|
|
26301
|
+
key: index,
|
|
26302
|
+
staticClass: "add-node-item",
|
|
26303
|
+
on: {
|
|
26304
|
+
"click": function click($event) {
|
|
26305
|
+
return _vm.wrapNode(node.type);
|
|
26306
|
+
}
|
|
26307
|
+
}
|
|
26308
|
+
}, [_c('div', {
|
|
26309
|
+
staticClass: "icon",
|
|
26310
|
+
style: 'color:' + node.color + ';'
|
|
26311
|
+
}, [(_node$icon3 = node.icon) !== null && _node$icon3 !== void 0 && _node$icon3.component ? _c('a-icon', {
|
|
26312
|
+
attrs: {
|
|
26313
|
+
"component": node.icon.component
|
|
26314
|
+
}
|
|
26315
|
+
}) : _vm._e(), (_node$icon4 = node.icon) !== null && _node$icon4 !== void 0 && _node$icon4.type ? _c('a-icon', {
|
|
26316
|
+
attrs: {
|
|
26317
|
+
"type": node.icon.type
|
|
26318
|
+
}
|
|
26319
|
+
}) : _vm._e()], 1), _c('span', [_vm._v(_vm._s(node.name))])]);
|
|
26320
|
+
}), 0)];
|
|
26321
|
+
},
|
|
26322
|
+
proxy: true
|
|
26323
|
+
}], null, false, 2863198520),
|
|
26324
|
+
model: {
|
|
26325
|
+
value: _vm.visiblePopover,
|
|
26326
|
+
callback: function callback($$v) {
|
|
26327
|
+
_vm.visiblePopover = $$v;
|
|
26328
|
+
},
|
|
26329
|
+
expression: "visiblePopover"
|
|
26330
|
+
}
|
|
26331
|
+
}, [_c('a-icon', {
|
|
26332
|
+
attrs: {
|
|
26333
|
+
"type": "plus"
|
|
26334
|
+
},
|
|
26335
|
+
on: {
|
|
26336
|
+
"click": function click($event) {
|
|
26337
|
+
$event.stopPropagation();
|
|
26338
|
+
return function () {}.apply(null, arguments);
|
|
26339
|
+
}
|
|
26340
|
+
}
|
|
26341
|
+
})], 1) : _vm._e()], 1)])]), !_vm.nodeHandler.isPreview ? _c('a-drawer', {
|
|
26342
|
+
attrs: {
|
|
26343
|
+
"closable": true,
|
|
26344
|
+
"visible": _vm.visibleDrawer,
|
|
26345
|
+
"width": 720,
|
|
26346
|
+
"placement": "right"
|
|
26347
|
+
},
|
|
26348
|
+
on: {
|
|
26349
|
+
"close": _vm.hideDrawer
|
|
26350
|
+
}
|
|
26351
|
+
}, [!_vm.editName ? _c('div', {
|
|
26352
|
+
staticClass: "node-drawer-title",
|
|
26353
|
+
on: {
|
|
26354
|
+
"click": _vm.showEditName
|
|
26355
|
+
}
|
|
26356
|
+
}, [_c('a-icon', {
|
|
26357
|
+
attrs: {
|
|
26358
|
+
"type": "edit"
|
|
26359
|
+
}
|
|
26360
|
+
}), _vm._v(" " + _vm._s(_vm.node.name) + " ")], 1) : _vm._e(), _c('a-form-model', {
|
|
26361
|
+
directives: [{
|
|
26362
|
+
name: "show",
|
|
26363
|
+
rawName: "v-show",
|
|
26364
|
+
value: _vm.editName,
|
|
26365
|
+
expression: "editName"
|
|
26366
|
+
}],
|
|
26367
|
+
ref: "nameForm",
|
|
26368
|
+
attrs: {
|
|
26369
|
+
"model": _vm.nodeRef,
|
|
26370
|
+
"rules": {
|
|
26371
|
+
name: [{
|
|
26372
|
+
required: true,
|
|
26373
|
+
message: '请填写节点名称',
|
|
26374
|
+
trigger: 'blur'
|
|
26375
|
+
}, {
|
|
26376
|
+
min: 2,
|
|
26377
|
+
max: 20,
|
|
26378
|
+
message: '2-20个字',
|
|
26379
|
+
trigger: 'blur'
|
|
26380
|
+
}]
|
|
26381
|
+
},
|
|
26382
|
+
"layout": "inline"
|
|
26383
|
+
}
|
|
26384
|
+
}, [_c('a-form-model-item', {
|
|
26385
|
+
ref: "name",
|
|
26386
|
+
attrs: {
|
|
26387
|
+
"prop": "name"
|
|
26388
|
+
}
|
|
26389
|
+
}, [_c('a-input', {
|
|
26390
|
+
ref: "nameInput",
|
|
26391
|
+
attrs: {
|
|
26392
|
+
"placeholder": "节点名称"
|
|
26393
|
+
},
|
|
26394
|
+
on: {
|
|
26395
|
+
"blur": function blur() {
|
|
26396
|
+
_vm.editName = false;
|
|
26397
|
+
}
|
|
26398
|
+
},
|
|
26399
|
+
model: {
|
|
26400
|
+
value: _vm.nodeRef.name,
|
|
26401
|
+
callback: function callback($$v) {
|
|
26402
|
+
_vm.$set(_vm.nodeRef, "name", $$v);
|
|
26403
|
+
},
|
|
26404
|
+
expression: "nodeRef.name"
|
|
26405
|
+
}
|
|
26406
|
+
})], 1)], 1), _c('a-tabs', {
|
|
26407
|
+
attrs: {
|
|
26408
|
+
"default-active-key": "1"
|
|
26409
|
+
},
|
|
26410
|
+
on: {
|
|
26411
|
+
"change": _vm.changeTags
|
|
26412
|
+
},
|
|
26413
|
+
model: {
|
|
26414
|
+
value: _vm.tabKey,
|
|
26415
|
+
callback: function callback($$v) {
|
|
26416
|
+
_vm.tabKey = $$v;
|
|
26417
|
+
},
|
|
26418
|
+
expression: "tabKey"
|
|
26419
|
+
}
|
|
26420
|
+
}, [_c('a-tab-pane', {
|
|
26421
|
+
key: "configs",
|
|
26422
|
+
attrs: {
|
|
26423
|
+
"tab": "相关配置"
|
|
26424
|
+
}
|
|
26425
|
+
}, [_c('div', {
|
|
26426
|
+
staticClass: "node-form-item"
|
|
26427
|
+
}, [_c('a-divider', {
|
|
26428
|
+
attrs: {
|
|
26429
|
+
"orientation": "left"
|
|
26430
|
+
}
|
|
26431
|
+
}, [_vm._v("选择子流程")]), _c('a-row', [_c('a-col', {
|
|
26432
|
+
attrs: {
|
|
26433
|
+
"span": 24
|
|
26434
|
+
}
|
|
26435
|
+
}, [_c('a-select', {
|
|
26436
|
+
staticClass: "node-form-item",
|
|
26437
|
+
staticStyle: {
|
|
26438
|
+
"width": "100%"
|
|
26439
|
+
},
|
|
26440
|
+
attrs: {
|
|
26441
|
+
"default-active-first-option": false,
|
|
26442
|
+
"filter-option": false,
|
|
26443
|
+
"not-found-content": null,
|
|
26444
|
+
"show-arrow": false,
|
|
26445
|
+
"placeholder": "请输入表单流程名称",
|
|
26446
|
+
"show-search": ""
|
|
26447
|
+
},
|
|
26448
|
+
on: {
|
|
26449
|
+
"change": _vm.optionModelChange,
|
|
26450
|
+
"search": _vm.optionModelSearch
|
|
26451
|
+
},
|
|
26452
|
+
model: {
|
|
26453
|
+
value: _vm.nodeRef.data.sub_model_id,
|
|
26454
|
+
callback: function callback($$v) {
|
|
26455
|
+
_vm.$set(_vm.nodeRef.data, "sub_model_id", $$v);
|
|
26456
|
+
},
|
|
26457
|
+
expression: "nodeRef.data.sub_model_id"
|
|
26458
|
+
}
|
|
26459
|
+
}, _vm._l(_vm.optionModelList, function (d) {
|
|
26460
|
+
return _c('a-select-option', {
|
|
26461
|
+
key: d.value,
|
|
26462
|
+
attrs: {
|
|
26463
|
+
"value": d.value
|
|
26464
|
+
}
|
|
26465
|
+
}, [_vm._v(" " + _vm._s(d.text) + " ")]);
|
|
26466
|
+
}), 1)], 1)], 1)], 1), _c('div', {
|
|
26467
|
+
staticClass: "node-form-item"
|
|
26468
|
+
}, [_c('a-divider', {
|
|
26469
|
+
attrs: {
|
|
26470
|
+
"orientation": "left"
|
|
26471
|
+
}
|
|
26472
|
+
}, [_vm._v("启动模式")]), _c('a-row', {
|
|
26473
|
+
staticStyle: {
|
|
26474
|
+
"display": "flex",
|
|
26475
|
+
"align-items": "center",
|
|
26476
|
+
"margin-bottom": "5px"
|
|
26477
|
+
}
|
|
26478
|
+
}, [_c('a-col', {
|
|
26479
|
+
attrs: {
|
|
26480
|
+
"span": 4
|
|
26481
|
+
}
|
|
26482
|
+
}, [_vm._v("启动模式")]), _c('a-col', {
|
|
26483
|
+
attrs: {
|
|
26484
|
+
"span": 20
|
|
26485
|
+
}
|
|
26486
|
+
}, [_c('a-radio-group', {
|
|
26487
|
+
staticStyle: {
|
|
26488
|
+
"margin-right": "10px"
|
|
26489
|
+
},
|
|
26490
|
+
attrs: {
|
|
26491
|
+
"button-style": "solid"
|
|
26492
|
+
},
|
|
26493
|
+
model: {
|
|
26494
|
+
value: _vm.nodeRef.data.other_options.startMode,
|
|
26495
|
+
callback: function callback($$v) {
|
|
26496
|
+
_vm.$set(_vm.nodeRef.data.other_options, "startMode", $$v);
|
|
26497
|
+
},
|
|
26498
|
+
expression: "nodeRef.data.other_options.startMode"
|
|
26499
|
+
}
|
|
26500
|
+
}, [_c('a-radio-button', {
|
|
26501
|
+
attrs: {
|
|
26502
|
+
"value": "auto"
|
|
26503
|
+
}
|
|
26504
|
+
}, [_vm._v(" 自动 ")]), _c('a-radio-button', {
|
|
26505
|
+
attrs: {
|
|
26506
|
+
"value": "handler"
|
|
26507
|
+
}
|
|
26508
|
+
}, [_vm._v(" 手动 ")])], 1)], 1)], 1)], 1), _c('div', {
|
|
26509
|
+
staticClass: "node-form-item"
|
|
26510
|
+
}, [_c('a-divider', {
|
|
26511
|
+
attrs: {
|
|
26512
|
+
"orientation": "left"
|
|
26513
|
+
}
|
|
26514
|
+
}, [_vm._v("运行模式")]), _c('a-row', {
|
|
26515
|
+
staticStyle: {
|
|
26516
|
+
"display": "flex",
|
|
26517
|
+
"align-items": "center",
|
|
26518
|
+
"margin-bottom": "5px"
|
|
26519
|
+
}
|
|
26520
|
+
}, [_c('a-col', {
|
|
26521
|
+
attrs: {
|
|
26522
|
+
"span": 4
|
|
26523
|
+
}
|
|
26524
|
+
}, [_vm._v("运行模式")]), _c('a-col', {
|
|
26525
|
+
attrs: {
|
|
26526
|
+
"span": 20
|
|
26527
|
+
}
|
|
26528
|
+
}, [_c('a-radio-group', {
|
|
26529
|
+
staticStyle: {
|
|
26530
|
+
"margin-right": "10px"
|
|
26531
|
+
},
|
|
26532
|
+
attrs: {
|
|
26533
|
+
"button-style": "solid"
|
|
26534
|
+
},
|
|
26535
|
+
model: {
|
|
26536
|
+
value: _vm.nodeRef.data.other_options.operateMode,
|
|
26537
|
+
callback: function callback($$v) {
|
|
26538
|
+
_vm.$set(_vm.nodeRef.data.other_options, "operateMode", $$v);
|
|
26539
|
+
},
|
|
26540
|
+
expression: "nodeRef.data.other_options.operateMode"
|
|
26541
|
+
}
|
|
26542
|
+
}, [_c('a-radio-button', {
|
|
26543
|
+
attrs: {
|
|
26544
|
+
"value": "sync"
|
|
26545
|
+
}
|
|
26546
|
+
}, [_vm._v(" 同步 ")]), _c('a-radio-button', {
|
|
26547
|
+
attrs: {
|
|
26548
|
+
"value": "async"
|
|
26549
|
+
}
|
|
26550
|
+
}, [_vm._v(" 异步 ")])], 1)], 1)], 1)], 1), _c('div', {
|
|
26551
|
+
staticClass: "node-form-item"
|
|
26552
|
+
}, [_c('a-divider', {
|
|
26553
|
+
attrs: {
|
|
26554
|
+
"orientation": "left"
|
|
26555
|
+
}
|
|
26556
|
+
}, [_vm._v("传入数据")]), _c('a-row', {
|
|
26557
|
+
staticStyle: {
|
|
26558
|
+
"display": "flex",
|
|
26559
|
+
"align-items": "center",
|
|
26560
|
+
"margin-bottom": "5px"
|
|
26561
|
+
}
|
|
26562
|
+
}, [_c('a-col', {
|
|
26563
|
+
attrs: {
|
|
26564
|
+
"span": 4
|
|
26565
|
+
}
|
|
26566
|
+
}, [_vm._v("传入数据")]), _c('a-col', {
|
|
26567
|
+
attrs: {
|
|
26568
|
+
"span": 20
|
|
26569
|
+
}
|
|
26570
|
+
}, [_c('a-radio-group', {
|
|
26571
|
+
staticStyle: {
|
|
26572
|
+
"margin-right": "10px"
|
|
26573
|
+
},
|
|
26574
|
+
attrs: {
|
|
26575
|
+
"button-style": "solid"
|
|
26576
|
+
},
|
|
26577
|
+
model: {
|
|
26578
|
+
value: _vm.nodeRef.data.other_options.inputData,
|
|
26579
|
+
callback: function callback($$v) {
|
|
26580
|
+
_vm.$set(_vm.nodeRef.data.other_options, "inputData", $$v);
|
|
26581
|
+
},
|
|
26582
|
+
expression: "nodeRef.data.other_options.inputData"
|
|
26583
|
+
}
|
|
26584
|
+
}, [_c('a-radio-button', {
|
|
26585
|
+
attrs: {
|
|
26586
|
+
"value": "before"
|
|
26587
|
+
}
|
|
26588
|
+
}, [_vm._v(" 上一节点 ")]), _c('a-radio-button', {
|
|
26589
|
+
attrs: {
|
|
26590
|
+
"value": "host"
|
|
26591
|
+
}
|
|
26592
|
+
}, [_vm._v(" 主流程 ")])], 1)], 1)], 1)], 1)])], 1)], 1) : _vm._e()], 1);
|
|
26593
|
+
};
|
|
26594
|
+
var SubWorkflowNodevue_type_template_id_b9b07154_scoped_true_staticRenderFns = [];
|
|
26595
|
+
|
|
26596
|
+
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/SubWorkflowNode.vue?vue&type=template&id=b9b07154&scoped=true
|
|
26597
|
+
|
|
26598
|
+
// 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
|
|
26599
|
+
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); }
|
|
26600
|
+
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; }
|
|
26601
|
+
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); } }
|
|
26602
|
+
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); }); }; }
|
|
26603
|
+
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; } } }; }
|
|
26604
|
+
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); }
|
|
26605
|
+
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; }
|
|
26606
|
+
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; }
|
|
26607
|
+
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; }
|
|
26608
|
+
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; }
|
|
26609
|
+
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); }
|
|
26610
|
+
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); }
|
|
26611
|
+
|
|
26612
|
+
|
|
26613
|
+
|
|
26614
|
+
|
|
26615
|
+
/* harmony default export */ var SubWorkflowNodevue_type_script_lang_js = ({
|
|
26616
|
+
name: 'SubWorkflowNode',
|
|
26617
|
+
props: {
|
|
26618
|
+
node: designer_NodeItem,
|
|
26619
|
+
nodeHandler: Object
|
|
26620
|
+
},
|
|
26621
|
+
components: {
|
|
26622
|
+
RuntimeWorkflowActors: RuntimeWorkFlowActors
|
|
26623
|
+
},
|
|
26624
|
+
data: function data() {
|
|
26625
|
+
return {
|
|
26626
|
+
defaultContent: '请选择',
|
|
26627
|
+
editName: false,
|
|
26628
|
+
tabKey: 'configs',
|
|
26629
|
+
optionModelId: null,
|
|
26630
|
+
// cache 缓存用途,ISSUE: change事件不会返回之前的value
|
|
26631
|
+
optionModelList: [],
|
|
26632
|
+
optionFormsColumns: [{
|
|
26633
|
+
title: '表单属性',
|
|
26634
|
+
key: 'attrName',
|
|
26635
|
+
scopedSlots: {
|
|
26636
|
+
customRender: 'attrName'
|
|
26637
|
+
}
|
|
26638
|
+
}, {
|
|
26639
|
+
key: 'none',
|
|
26640
|
+
slots: {
|
|
26641
|
+
title: 'noneColumn'
|
|
26642
|
+
},
|
|
26643
|
+
scopedSlots: {
|
|
26644
|
+
customRender: 'none'
|
|
26645
|
+
}
|
|
26646
|
+
}, {
|
|
26647
|
+
key: 'readonly',
|
|
26648
|
+
slots: {
|
|
26649
|
+
title: 'readonlyColumn'
|
|
26650
|
+
},
|
|
26651
|
+
scopedSlots: {
|
|
26652
|
+
customRender: 'readonly'
|
|
26653
|
+
}
|
|
26654
|
+
}, {
|
|
26655
|
+
key: 'write',
|
|
26656
|
+
slots: {
|
|
26657
|
+
title: 'writeColumn'
|
|
26658
|
+
},
|
|
26659
|
+
scopedSlots: {
|
|
26660
|
+
customRender: 'write'
|
|
26661
|
+
}
|
|
26662
|
+
}, {
|
|
26663
|
+
title: '必填',
|
|
26664
|
+
dataIndex: 'required',
|
|
26665
|
+
key: 'required',
|
|
26666
|
+
scopedSlots: {
|
|
26667
|
+
customRender: 'required'
|
|
26668
|
+
}
|
|
26669
|
+
}],
|
|
26670
|
+
orgMap: null,
|
|
26671
|
+
orgData: [],
|
|
26672
|
+
roles: [],
|
|
26673
|
+
users: [],
|
|
26674
|
+
viewNameTimeout: null,
|
|
26675
|
+
viewAttrLoading: true,
|
|
26676
|
+
driverList: null,
|
|
26677
|
+
driverTimeout: null,
|
|
26678
|
+
optionFormsCache: {},
|
|
26679
|
+
formsColumnFilter: undefined,
|
|
26680
|
+
formsColumnAccess: 'all'
|
|
26681
|
+
};
|
|
26682
|
+
},
|
|
26683
|
+
// eslint-disable-next-line vue/no-setup-props-destructure
|
|
26684
|
+
setup: function setup(_ref) {
|
|
26685
|
+
var node = _ref.node,
|
|
26686
|
+
nodeHandler = _ref.nodeHandler;
|
|
26687
|
+
// icon;
|
|
26688
|
+
var icon = {
|
|
26689
|
+
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 "
|
|
26690
|
+
};
|
|
26691
|
+
|
|
26692
|
+
// drawer support
|
|
26693
|
+
var visibleDrawer = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["ref"])(false);
|
|
26694
|
+
|
|
26695
|
+
// -------------------------------------------------------------------------------------
|
|
26696
|
+
/**
|
|
26697
|
+
* @type {EadApi}
|
|
26698
|
+
*/
|
|
26699
|
+
// eslint-disable-next-line vue/no-setup-props-destructure
|
|
26700
|
+
var eadApi = nodeHandler.businessAdapter.eadApi;
|
|
26701
|
+
var defaultData = function defaultData() {
|
|
26702
|
+
return {
|
|
26703
|
+
eadCache: {
|
|
26704
|
+
workflow: {}
|
|
26705
|
+
},
|
|
26706
|
+
actor_config: {
|
|
26707
|
+
type: 'expression',
|
|
26708
|
+
// 发起人自己,sponsor
|
|
26709
|
+
expression: [
|
|
26710
|
+
// { type: 'uid', user: [] ,orgId: undefined, roleId: undefined, groupId: undefined}, // {sponsor} 发起人自己
|
|
26711
|
+
{
|
|
26712
|
+
type: 'org',
|
|
26713
|
+
user: [],
|
|
26714
|
+
orgId: undefined,
|
|
26715
|
+
roleId: undefined,
|
|
26716
|
+
groupId: undefined
|
|
26717
|
+
} // {sponsor_org} 发起人所在部门
|
|
26718
|
+
],
|
|
26719
|
+
optional: {
|
|
26720
|
+
enable: false,
|
|
26721
|
+
multi: false
|
|
26722
|
+
},
|
|
26723
|
+
// 自选配置
|
|
26724
|
+
check_mode: 'queue' // 多人审批模式,// 'orsign','sign'
|
|
26725
|
+
},
|
|
26726
|
+
option_view_id: '',
|
|
26727
|
+
option_forms: [],
|
|
26728
|
+
back_type: 'start',
|
|
26729
|
+
// start:退回发起者,before:退回上一步,assign:指定退回节点,custom:自主选择回退节点,bpmn:后续步骤
|
|
26730
|
+
back_node_id: '',
|
|
26731
|
+
custom_back_nodes: [],
|
|
26732
|
+
timeout_remind: {
|
|
26733
|
+
enable: false,
|
|
26734
|
+
outTime: {
|
|
26735
|
+
time: 1,
|
|
26736
|
+
unit: 'day'
|
|
26737
|
+
},
|
|
26738
|
+
// 超时时间, 单位 minute,hour,day,week,month,year
|
|
26739
|
+
outCycle: 'once',
|
|
26740
|
+
// 提醒周期,--once:一次,--day:每日 --week: 每周,--month:每月,==year:每年
|
|
26741
|
+
outDriver: undefined // 超时驱动,--null:default 默认消息通知,-- 自定义驱动名称
|
|
26742
|
+
},
|
|
26743
|
+
page_options: {
|
|
26744
|
+
allowEdit: false,
|
|
26745
|
+
// 允许编辑, -- true:允许, false: 不允许
|
|
26746
|
+
allowInvolve: false,
|
|
26747
|
+
// 允许加签, -- true:允许, false: 不允许
|
|
26748
|
+
allowReassign: false,
|
|
26749
|
+
// 允许转办, -- true:允许, false: 不允许
|
|
26750
|
+
allowBack: false,
|
|
26751
|
+
// 允许退回, -- true:允许, false: 不允许
|
|
26752
|
+
allowEnd: false // 允许结束, -- true:允许, false: 不允许
|
|
26753
|
+
},
|
|
26754
|
+
other_options: {
|
|
26755
|
+
allowReceipt: false,
|
|
26756
|
+
// 是否回执,
|
|
26757
|
+
allowWithdraw: false,
|
|
26758
|
+
// 允许撤回: false
|
|
26759
|
+
approverIsNull: 'error',
|
|
26760
|
+
// 审批人为空时,next:自动下一步 ,error:提示错误
|
|
26761
|
+
resPath: null,
|
|
26762
|
+
// 视图资源地址
|
|
26763
|
+
redirectUri: null,
|
|
26764
|
+
// 消息地址
|
|
26765
|
+
assert: [],
|
|
26766
|
+
custom_action: {},
|
|
26767
|
+
subModelName: '',
|
|
26768
|
+
// 子流程模式名称
|
|
26769
|
+
startMode: 'auto',
|
|
26770
|
+
// 启动模式, "auto": 自动, "handler": 手动
|
|
26771
|
+
operateMode: 'sync',
|
|
26772
|
+
// 运行模式,"sync":同步,"async":异步
|
|
26773
|
+
inputData: 'before' // 传入数据, "before":上一节点,"host":主流程
|
|
26774
|
+
},
|
|
26775
|
+
notice_template: null
|
|
26776
|
+
};
|
|
26777
|
+
};
|
|
26778
|
+
if (!node.data) {
|
|
26779
|
+
// eslint-disable-next-line vue/no-mutating-props
|
|
26780
|
+
node.data = defaultData();
|
|
26781
|
+
}
|
|
26782
|
+
|
|
26783
|
+
// 兼容更新
|
|
26784
|
+
if (!node.data.other_options.custom_action) {
|
|
26785
|
+
// eslint-disable-next-line vue/no-mutating-props
|
|
26786
|
+
node.data.other_options.custom_action = {};
|
|
26787
|
+
}
|
|
26788
|
+
if (!node.data.other_options.assert) {
|
|
26789
|
+
// eslint-disable-next-line vue/no-mutating-props
|
|
26790
|
+
node.data.other_options.assert = [];
|
|
26791
|
+
}
|
|
26792
|
+
|
|
26793
|
+
// ------------------------------------------------------------------------------------------------
|
|
26794
|
+
|
|
26795
|
+
// eslint-disable-next-line no-return-assign
|
|
26796
|
+
var showDrawer = function showDrawer() {
|
|
26797
|
+
return visibleDrawer.value = true;
|
|
26798
|
+
};
|
|
26799
|
+
var drawer = {
|
|
26800
|
+
visibleDrawer: visibleDrawer,
|
|
26801
|
+
showDrawer: showDrawer
|
|
26802
|
+
};
|
|
26803
|
+
|
|
26804
|
+
// popover support
|
|
26805
|
+
var visiblePopover = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["ref"])(false);
|
|
26806
|
+
// eslint-disable-next-line no-return-assign
|
|
26807
|
+
var hidePopover = function hidePopover() {
|
|
26808
|
+
return visiblePopover.value = false;
|
|
26809
|
+
};
|
|
26810
|
+
// eslint-disable-next-line no-return-assign
|
|
26811
|
+
var showPopover = function showPopover() {
|
|
26812
|
+
return visiblePopover.value = true;
|
|
26813
|
+
};
|
|
26814
|
+
var popover = {
|
|
26815
|
+
visiblePopover: visiblePopover,
|
|
26816
|
+
showPopover: showPopover,
|
|
26817
|
+
hidePopover: hidePopover
|
|
26818
|
+
};
|
|
26819
|
+
|
|
26820
|
+
// wrapNode
|
|
26821
|
+
var nodes = [{
|
|
26822
|
+
name: '条件分支',
|
|
26823
|
+
type: designer_NodeType.JUDGE_WRAP,
|
|
26824
|
+
icon: {
|
|
26825
|
+
type: 'apartment'
|
|
26826
|
+
},
|
|
26827
|
+
color: 'rgb(21, 188, 131)'
|
|
26828
|
+
}, {
|
|
26829
|
+
name: '并行分支',
|
|
26830
|
+
type: designer_NodeType.PARALLEL_WRAP,
|
|
26831
|
+
icon: {
|
|
26832
|
+
type: 'sliders'
|
|
26833
|
+
},
|
|
26834
|
+
color: 'rgb(113, 141, 255)'
|
|
26835
|
+
}];
|
|
26836
|
+
var wrapNode = function wrapNode(type) {
|
|
26837
|
+
nodeHandler.wrapNode(node.code, {
|
|
26838
|
+
type: type
|
|
26839
|
+
});
|
|
26840
|
+
};
|
|
26841
|
+
var wrapNodeR = {
|
|
26842
|
+
nodes: nodes,
|
|
26843
|
+
wrapNode: wrapNode
|
|
26844
|
+
};
|
|
26845
|
+
var noticeTemplateAttr = nodeHandler.isPreview ? null : nodeHandler.businessAdapter.eadApi.getCurrentViewSchema().model.attrs.find(function (attr) {
|
|
26846
|
+
return attr.name === 'notice_template';
|
|
26847
|
+
});
|
|
26848
|
+
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({
|
|
26849
|
+
icon: icon
|
|
26850
|
+
}, drawer), popover), wrapNodeR), {}, {
|
|
26851
|
+
nodeRef: node,
|
|
26852
|
+
eadApi: eadApi,
|
|
26853
|
+
noticeTemplateAttr: noticeTemplateAttr
|
|
26854
|
+
});
|
|
26855
|
+
},
|
|
26856
|
+
computed: {
|
|
26857
|
+
isSingle: function isSingle() {
|
|
26858
|
+
if (this.nodeRef.data.actor_config.type === 'expression') {
|
|
26859
|
+
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;
|
|
26860
|
+
}
|
|
26861
|
+
if (this.nodeRef.data.actor_config.type === 'sponsor') {
|
|
26862
|
+
return true;
|
|
26863
|
+
}
|
|
26864
|
+
return false;
|
|
26865
|
+
},
|
|
26866
|
+
availableBackStep: function availableBackStep() {
|
|
26867
|
+
var availableBackStep = this.nodeHandler.businessAdapter.getAvailableBackStep(this.node.code).map(function (node) {
|
|
26868
|
+
return {
|
|
26869
|
+
value: node.code,
|
|
26870
|
+
label: node.name
|
|
26871
|
+
};
|
|
26872
|
+
});
|
|
26873
|
+
// eslint-disable-next-line vue/no-mutating-props,vue/no-side-effects-in-computed-properties
|
|
26874
|
+
if (availableBackStep.length) {
|
|
26875
|
+
// eslint-disable-next-line vue/no-mutating-props,vue/no-side-effects-in-computed-properties
|
|
26876
|
+
this.node.data.back_node_id = availableBackStep[0].value;
|
|
26877
|
+
// eslint-disable-next-line vue/no-mutating-props,vue/no-side-effects-in-computed-properties
|
|
26878
|
+
this.node.data.custom_back_nodes = availableBackStep.map(function (o) {
|
|
26879
|
+
return o.value;
|
|
26880
|
+
});
|
|
26881
|
+
}
|
|
26882
|
+
return availableBackStep;
|
|
26883
|
+
},
|
|
26884
|
+
'nodeContent': function nodeContent() {
|
|
26885
|
+
var _this$nodeRef;
|
|
26886
|
+
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;
|
|
26887
|
+
},
|
|
26888
|
+
'optionFormsRadio': function optionFormsRadio() {
|
|
26889
|
+
var optionForms = this.node.data.option_forms;
|
|
26890
|
+
if (!optionForms.length) {
|
|
26891
|
+
return '-';
|
|
26892
|
+
}
|
|
26893
|
+
var access = optionForms[0].access;
|
|
26894
|
+
if (optionForms.filter(function (value) {
|
|
26895
|
+
return value.access === access;
|
|
26896
|
+
}).length === optionForms.length) {
|
|
26897
|
+
return access;
|
|
26898
|
+
}
|
|
26899
|
+
return '-';
|
|
26900
|
+
},
|
|
26901
|
+
businessOrgData: function businessOrgData() {
|
|
26902
|
+
var children = [];
|
|
26903
|
+
var org = {
|
|
26904
|
+
title: '操作视图',
|
|
26905
|
+
// eslint-disable-next-line no-template-curly-in-string
|
|
26906
|
+
value: '${form_option_view}',
|
|
26907
|
+
// eslint-disable-next-line no-template-curly-in-string
|
|
26908
|
+
key: '${form_option_view}',
|
|
26909
|
+
disabled: true,
|
|
26910
|
+
children: children
|
|
26911
|
+
};
|
|
26912
|
+
if (!this.nodeRef.data.option_forms || !this.nodeRef.data.option_forms.length) {
|
|
26913
|
+
return org;
|
|
26914
|
+
}
|
|
26915
|
+
this.nodeRef.data.option_forms.forEach(function (attr) {
|
|
26916
|
+
children.push({
|
|
26917
|
+
title: attr.attrName,
|
|
26918
|
+
value: '${' + attr.attrCode + '}',
|
|
26919
|
+
key: '${' + attr.attrCode + '}',
|
|
26920
|
+
children: []
|
|
26921
|
+
});
|
|
26922
|
+
});
|
|
26923
|
+
return org;
|
|
26924
|
+
},
|
|
26925
|
+
businessUserData: function businessUserData() {
|
|
26926
|
+
var users = [];
|
|
26927
|
+
if (!this.nodeRef.data.option_forms || !this.nodeRef.data.option_forms.length) {
|
|
26928
|
+
return users;
|
|
26929
|
+
}
|
|
26930
|
+
this.nodeRef.data.option_forms.forEach(function (attr) {
|
|
26931
|
+
users.push({
|
|
26932
|
+
label: attr.attrName + '(操作视图)',
|
|
26933
|
+
title: attr.attrName + '(操作视图)',
|
|
26934
|
+
value: '${' + attr.attrCode + '}',
|
|
26935
|
+
key: attr.attrName + '-' + attr.attrCode + '(操作视图)',
|
|
26936
|
+
children: []
|
|
26937
|
+
});
|
|
26938
|
+
});
|
|
26939
|
+
return users;
|
|
26940
|
+
}
|
|
26941
|
+
},
|
|
26942
|
+
methods: {
|
|
26943
|
+
filterDataset: function filterDataset(filter, dataset, datasetKeys) {
|
|
26944
|
+
var _this = this;
|
|
26945
|
+
if (!filter) {
|
|
26946
|
+
return dataset.filter(function (o) {
|
|
26947
|
+
return _this.formsColumnAccess === 'all' || _this.formsColumnAccess.indexOf(o.access.toString()) !== -1;
|
|
26948
|
+
});
|
|
26949
|
+
}
|
|
26950
|
+
return dataset.filter(function (o) {
|
|
26951
|
+
var _iterator = SubWorkflowNodevue_type_script_lang_js_createForOfIteratorHelper(datasetKeys),
|
|
26952
|
+
_step;
|
|
26953
|
+
try {
|
|
26954
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
26955
|
+
var key = _step.value;
|
|
26956
|
+
if (o[key].toString().toLowerCase().includes(filter.toLowerCase())) {
|
|
26957
|
+
return true;
|
|
26958
|
+
}
|
|
26959
|
+
}
|
|
26960
|
+
} catch (err) {
|
|
26961
|
+
_iterator.e(err);
|
|
26962
|
+
} finally {
|
|
26963
|
+
_iterator.f();
|
|
26964
|
+
}
|
|
26965
|
+
return false;
|
|
26966
|
+
}).filter(function (o) {
|
|
26967
|
+
return _this.formsColumnAccess === 'all' || _this.formsColumnAccess.indexOf(o.access.toString()) !== -1;
|
|
26968
|
+
});
|
|
26969
|
+
},
|
|
26970
|
+
getClass: function getClass() {
|
|
26971
|
+
var _this$nodeHandler, _this$nodeHandler2, _this$nodeHandler3;
|
|
26972
|
+
var classes = '';
|
|
26973
|
+
if (this.node.error) {
|
|
26974
|
+
classes += ' error';
|
|
26975
|
+
}
|
|
26976
|
+
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) {
|
|
26977
|
+
classes += ' ongoing';
|
|
26978
|
+
} 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) {
|
|
26979
|
+
classes += this.nodeHandler.runtimeData.caseNodes[this.node.code].status;
|
|
26980
|
+
}
|
|
26981
|
+
return classes;
|
|
26982
|
+
},
|
|
26983
|
+
filterUser: function filterUser(input, _ref2) {
|
|
26984
|
+
var data = _ref2.data;
|
|
26985
|
+
return data.key.indexOf(input) !== -1;
|
|
26986
|
+
},
|
|
26987
|
+
/**
|
|
26988
|
+
*
|
|
26989
|
+
* @param node {NodeItem}
|
|
26990
|
+
*/
|
|
26991
|
+
loadCache: function loadCache(node) {
|
|
26992
|
+
var _node$data$eadCache$w, _node$data, _node$data$eadCache$w2, _node$data2;
|
|
26993
|
+
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;
|
|
26994
|
+
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;
|
|
26995
|
+
},
|
|
26996
|
+
handleDriverChange: function handleDriverChange(a, s) {},
|
|
26997
|
+
handleDriverSearch: function handleDriverSearch(s) {
|
|
26998
|
+
var _this2 = this;
|
|
26999
|
+
if (this.driverTimeout) {
|
|
27000
|
+
clearTimeout(this.driverTimeout);
|
|
27001
|
+
this.driverTimeout = null;
|
|
27002
|
+
}
|
|
27003
|
+
var go = function go() {
|
|
27004
|
+
if (!s) {
|
|
27005
|
+
return;
|
|
27006
|
+
}
|
|
27007
|
+
_this2.eadApi.getDrivers(s).then(function (value) {
|
|
27008
|
+
_this2.driverList = value.map(function (item) {
|
|
27009
|
+
return {
|
|
27010
|
+
value: item.driver_id,
|
|
27011
|
+
label: item.driver_name,
|
|
27012
|
+
title: item.driver_name
|
|
27013
|
+
};
|
|
27014
|
+
});
|
|
27015
|
+
_this2.nodeRef.data.eadCache.workflow.driverList = _this2.driverList;
|
|
27016
|
+
});
|
|
27017
|
+
};
|
|
27018
|
+
this.driverTimeout = setTimeout(go, 300);
|
|
27019
|
+
},
|
|
27020
|
+
hasExpression: function hasExpression(item) {
|
|
27021
|
+
if (item.type === 'uid') {
|
|
27022
|
+
return item.user && item.user.length;
|
|
27023
|
+
}
|
|
27024
|
+
if (item.type === 'org') {
|
|
27025
|
+
return item.orgId || item.roleId || item.groupId;
|
|
27026
|
+
}
|
|
27027
|
+
return false;
|
|
27028
|
+
},
|
|
27029
|
+
'handleItemChange': function handleItemChange(d, b) {},
|
|
27030
|
+
'optionFormsRadioChange': function optionFormsRadioChange(type) {
|
|
27031
|
+
// eslint-disable-next-line no-return-assign
|
|
27032
|
+
this.node.data.option_forms.forEach(function (value) {
|
|
27033
|
+
return value.access = type;
|
|
27034
|
+
});
|
|
27035
|
+
},
|
|
27036
|
+
optionModelChange: function optionModelChange(id) {
|
|
27037
|
+
var item = this.optionModelList.find(function (value) {
|
|
27038
|
+
return value.value === id;
|
|
27039
|
+
});
|
|
27040
|
+
this.defaultContent = item.text;
|
|
27041
|
+
this.nodeRef.data.other_options.subModelName = item.text;
|
|
27042
|
+
this.nodeRef.data.eadCache.workflow.optionModelList = [item];
|
|
27043
|
+
},
|
|
27044
|
+
optionModelSearch: function optionModelSearch(s) {
|
|
27045
|
+
var _this3 = this;
|
|
27046
|
+
if (this.viewNameTimeout) {
|
|
27047
|
+
clearTimeout(this.viewNameTimeout);
|
|
27048
|
+
this.viewNameTimeout = null;
|
|
27049
|
+
}
|
|
27050
|
+
var go = function go() {
|
|
27051
|
+
if (!s) {
|
|
27052
|
+
return;
|
|
27053
|
+
}
|
|
27054
|
+
_this3.eadApi.getModels(s).then(function (value) {
|
|
27055
|
+
_this3.optionModelList = value.map(function (item) {
|
|
27056
|
+
return {
|
|
27057
|
+
value: item.model_id,
|
|
27058
|
+
text: item.model_name
|
|
27059
|
+
};
|
|
27060
|
+
});
|
|
27061
|
+
});
|
|
27062
|
+
};
|
|
27063
|
+
this.viewNameTimeout = setTimeout(go, 300);
|
|
27064
|
+
},
|
|
27065
|
+
hideDrawer: function hideDrawer() {
|
|
27066
|
+
var _this4 = this;
|
|
27067
|
+
var vaildR = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["ref"])(true);
|
|
27068
|
+
this.$refs.nameForm.validate(function (valid) {
|
|
27069
|
+
if (!valid) {
|
|
27070
|
+
vaildR.value = false;
|
|
27071
|
+
_this4.$message.error('节点名称校验不通过');
|
|
27072
|
+
}
|
|
27073
|
+
});
|
|
27074
|
+
|
|
27075
|
+
// hide 即保存
|
|
27076
|
+
if (vaildR.value) {
|
|
27077
|
+
this.visibleDrawer = false;
|
|
27078
|
+
}
|
|
27079
|
+
},
|
|
27080
|
+
changeTags: function changeTags(a) {
|
|
27081
|
+
// console.log(a)
|
|
27082
|
+
},
|
|
27083
|
+
showEditName: function showEditName() {
|
|
27084
|
+
var _this5 = this;
|
|
27085
|
+
this.editName = true;
|
|
27086
|
+
Object(external_commonjs_vue_commonjs2_vue_root_Vue_["nextTick"])(function () {
|
|
27087
|
+
_this5.$refs.nameInput.focus();
|
|
27088
|
+
});
|
|
27089
|
+
},
|
|
27090
|
+
close: function close() {
|
|
27091
|
+
this.nodeHandler.deleteNode(this.node.code);
|
|
27092
|
+
},
|
|
27093
|
+
click: function click() {
|
|
27094
|
+
if (this.nodeHandler.isPreview) {
|
|
27095
|
+
return;
|
|
27096
|
+
}
|
|
27097
|
+
this.nodeRef.error = null;
|
|
27098
|
+
this.showDrawer();
|
|
27099
|
+
},
|
|
27100
|
+
more: function more() {
|
|
27101
|
+
this.showPopover();
|
|
27102
|
+
}
|
|
27103
|
+
},
|
|
27104
|
+
created: function created() {
|
|
27105
|
+
this.loadCache(this.nodeRef);
|
|
27106
|
+
},
|
|
27107
|
+
mounted: function () {
|
|
27108
|
+
var _mounted = SubWorkflowNodevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/SubWorkflowNodevue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
|
|
27109
|
+
var _this$nodeRef$data$op;
|
|
27110
|
+
var _yield$this$nodeHandl, viewAttrs, orgMap, orgData, roles, users;
|
|
27111
|
+
return SubWorkflowNodevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
27112
|
+
while (1) switch (_context.prev = _context.next) {
|
|
27113
|
+
case 0:
|
|
27114
|
+
_context.next = 2;
|
|
27115
|
+
return this.nodeHandler.businessAdapter.getActorData();
|
|
27116
|
+
case 2:
|
|
27117
|
+
_yield$this$nodeHandl = _context.sent;
|
|
27118
|
+
viewAttrs = _yield$this$nodeHandl.viewAttrs;
|
|
27119
|
+
orgMap = _yield$this$nodeHandl.orgMap;
|
|
27120
|
+
orgData = _yield$this$nodeHandl.orgData;
|
|
27121
|
+
roles = _yield$this$nodeHandl.roles;
|
|
27122
|
+
users = _yield$this$nodeHandl.users;
|
|
27123
|
+
if (!((_this$nodeRef$data$op = this.nodeRef.data.option_forms) !== null && _this$nodeRef$data$op !== void 0 && _this$nodeRef$data$op.length)) {
|
|
27124
|
+
this.nodeRef.data.option_forms = viewAttrs.filter(function (attr) {
|
|
27125
|
+
return attr.type === 'value' && attr.access !== 'none';
|
|
27126
|
+
}).filter(function (attr) {
|
|
27127
|
+
return attr.key_type !== 'primary';
|
|
27128
|
+
}).map(function (attr) {
|
|
27129
|
+
return {
|
|
27130
|
+
attrId: attr.id,
|
|
27131
|
+
attrName: attr.alias,
|
|
27132
|
+
attrCode: attr.name,
|
|
27133
|
+
access: 'none',
|
|
27134
|
+
required: attr.required
|
|
27135
|
+
};
|
|
27136
|
+
});
|
|
27137
|
+
}
|
|
27138
|
+
this.viewAttrLoading = false;
|
|
27139
|
+
this.orgMap = orgMap;
|
|
27140
|
+
this.orgData = orgData;
|
|
27141
|
+
this.roles = roles;
|
|
27142
|
+
this.users = users;
|
|
27143
|
+
case 14:
|
|
27144
|
+
case "end":
|
|
27145
|
+
return _context.stop();
|
|
27146
|
+
}
|
|
27147
|
+
}, _callee, this);
|
|
27148
|
+
}));
|
|
27149
|
+
function mounted() {
|
|
27150
|
+
return _mounted.apply(this, arguments);
|
|
27151
|
+
}
|
|
27152
|
+
return mounted;
|
|
27153
|
+
}()
|
|
27154
|
+
});
|
|
27155
|
+
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/SubWorkflowNode.vue?vue&type=script&lang=js
|
|
27156
|
+
/* harmony default export */ var node_SubWorkflowNodevue_type_script_lang_js = (SubWorkflowNodevue_type_script_lang_js);
|
|
27157
|
+
// EXTERNAL MODULE: ../src/web/components/forms/flow/designer/node/SubWorkflowNode.vue?vue&type=style&index=0&id=b9b07154&prod&lang=less&scoped=true
|
|
27158
|
+
var SubWorkflowNodevue_type_style_index_0_id_b9b07154_prod_lang_less_scoped_true = __webpack_require__("e502");
|
|
27159
|
+
|
|
27160
|
+
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/SubWorkflowNode.vue
|
|
27161
|
+
|
|
27162
|
+
|
|
27163
|
+
|
|
27164
|
+
|
|
27165
|
+
|
|
27166
|
+
|
|
27167
|
+
/* normalize component */
|
|
27168
|
+
|
|
27169
|
+
var SubWorkflowNode_component = normalizeComponent(
|
|
27170
|
+
node_SubWorkflowNodevue_type_script_lang_js,
|
|
27171
|
+
SubWorkflowNodevue_type_template_id_b9b07154_scoped_true_render,
|
|
27172
|
+
SubWorkflowNodevue_type_template_id_b9b07154_scoped_true_staticRenderFns,
|
|
27173
|
+
false,
|
|
27174
|
+
null,
|
|
27175
|
+
"b9b07154",
|
|
27176
|
+
null
|
|
27177
|
+
|
|
27178
|
+
)
|
|
27179
|
+
|
|
27180
|
+
/* harmony default export */ var SubWorkflowNode = (SubWorkflowNode_component.exports);
|
|
27181
|
+
// 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
|
|
27182
|
+
var TriggerNodevue_type_template_id_7af4eb1a_scoped_true_render = function render() {
|
|
27183
|
+
var _vm = this,
|
|
27184
|
+
_c = _vm._self._c;
|
|
27185
|
+
return _c('div', [_c('div', {
|
|
27186
|
+
staticClass: "node",
|
|
27187
|
+
class: _vm.getClass(),
|
|
27188
|
+
on: {
|
|
27189
|
+
"click": _vm.click
|
|
27190
|
+
}
|
|
27191
|
+
}, [_c('div', {
|
|
27192
|
+
staticClass: "title"
|
|
27193
|
+
}, [_c('span', [_c('a-icon', {
|
|
27194
|
+
attrs: {
|
|
27195
|
+
"type": "control"
|
|
27196
|
+
}
|
|
27197
|
+
})], 1), _c('span', [_vm._v(" " + _vm._s(_vm.node.name))]), !_vm.nodeHandler.isPreview ? _c('span', {
|
|
26161
27198
|
staticClass: "title-right"
|
|
26162
27199
|
}, [_c('a-icon', {
|
|
26163
27200
|
staticClass: "close",
|
|
@@ -27154,6 +28191,7 @@ var DelayNode_component = normalizeComponent(
|
|
|
27154
28191
|
|
|
27155
28192
|
|
|
27156
28193
|
|
|
28194
|
+
|
|
27157
28195
|
/* harmony default export */ var designer_node = ({
|
|
27158
28196
|
EndNode: EndNode,
|
|
27159
28197
|
StartNode: StartNode,
|
|
@@ -27165,10 +28203,11 @@ var DelayNode_component = normalizeComponent(
|
|
|
27165
28203
|
CCNode: CCNode,
|
|
27166
28204
|
TaskNode: TaskNode,
|
|
27167
28205
|
TriggerNode: TriggerNode,
|
|
28206
|
+
SubWorkflowNode: SubWorkflowNode,
|
|
27168
28207
|
DelayNode: DelayNode
|
|
27169
28208
|
});
|
|
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=
|
|
27171
|
-
var
|
|
28209
|
+
// 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
|
|
28210
|
+
var AddNodevue_type_template_id_b7697036_scoped_true_render = function render() {
|
|
27172
28211
|
var _vm = this,
|
|
27173
28212
|
_c = _vm._self._c;
|
|
27174
28213
|
return _c('div', {
|
|
@@ -27239,9 +28278,9 @@ var AddNodevue_type_template_id_2139642c_scoped_true_render = function render()
|
|
|
27239
28278
|
}
|
|
27240
28279
|
}) : _vm._e()], 1)], 1)])]);
|
|
27241
28280
|
};
|
|
27242
|
-
var
|
|
28281
|
+
var AddNodevue_type_template_id_b7697036_scoped_true_staticRenderFns = [];
|
|
27243
28282
|
|
|
27244
|
-
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/AddNode.vue?vue&type=template&id=
|
|
28283
|
+
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/AddNode.vue?vue&type=template&id=b7697036&scoped=true
|
|
27245
28284
|
|
|
27246
28285
|
// 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
28286
|
|
|
@@ -27303,19 +28342,11 @@ var AddNodevue_type_template_id_2139642c_scoped_true_staticRenderFns = [];
|
|
|
27303
28342
|
type: 'control'
|
|
27304
28343
|
},
|
|
27305
28344
|
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
|
-
{
|
|
28345
|
+
}, {
|
|
27315
28346
|
name: '条件分支',
|
|
27316
28347
|
type: designer_NodeType.JUDGE_WRAP,
|
|
27317
28348
|
icon: {
|
|
27318
|
-
type: '
|
|
28349
|
+
type: 'branches'
|
|
27319
28350
|
},
|
|
27320
28351
|
color: 'rgb(21, 188, 131)'
|
|
27321
28352
|
}, {
|
|
@@ -27325,6 +28356,21 @@ var AddNodevue_type_template_id_2139642c_scoped_true_staticRenderFns = [];
|
|
|
27325
28356
|
type: 'sliders'
|
|
27326
28357
|
},
|
|
27327
28358
|
color: 'rgb(113, 141, 255)'
|
|
28359
|
+
}, {
|
|
28360
|
+
name: '子流程',
|
|
28361
|
+
type: designer_NodeType.SUBWORKFLOW,
|
|
28362
|
+
icon: {
|
|
28363
|
+
type: 'apartment'
|
|
28364
|
+
},
|
|
28365
|
+
color: 'rgb(50, 80, 235)'
|
|
28366
|
+
}, {
|
|
28367
|
+
disabled: true,
|
|
28368
|
+
name: '延迟等待',
|
|
28369
|
+
type: designer_NodeType.DELAY,
|
|
28370
|
+
icon: {
|
|
28371
|
+
type: 'clock-circle'
|
|
28372
|
+
},
|
|
28373
|
+
color: 'rgb(219,86,69)'
|
|
27328
28374
|
}];
|
|
27329
28375
|
var addNode = function addNode(type) {
|
|
27330
28376
|
if (nodes.find(function (node0) {
|
|
@@ -27359,11 +28405,11 @@ var AddNodevue_type_custom_index_0_blockType_a_icon_default = /*#__PURE__*/__web
|
|
|
27359
28405
|
|
|
27360
28406
|
var AddNode_component = normalizeComponent(
|
|
27361
28407
|
designer_AddNodevue_type_script_lang_js,
|
|
27362
|
-
|
|
27363
|
-
|
|
28408
|
+
AddNodevue_type_template_id_b7697036_scoped_true_render,
|
|
28409
|
+
AddNodevue_type_template_id_b7697036_scoped_true_staticRenderFns,
|
|
27364
28410
|
false,
|
|
27365
28411
|
null,
|
|
27366
|
-
"
|
|
28412
|
+
"b7697036",
|
|
27367
28413
|
null
|
|
27368
28414
|
|
|
27369
28415
|
)
|
|
@@ -27413,7 +28459,7 @@ function NodeWrapvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Nod
|
|
|
27413
28459
|
return uiStyle[o] = 'start-node-box';
|
|
27414
28460
|
});
|
|
27415
28461
|
// 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) {
|
|
28462
|
+
[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
28463
|
return uiStyle[o] = 'node-box';
|
|
27418
28464
|
});
|
|
27419
28465
|
// eslint-disable-next-line no-return-assign
|
|
@@ -27441,11 +28487,11 @@ function NodeWrapvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Nod
|
|
|
27441
28487
|
|
|
27442
28488
|
var NodeWrap_component = normalizeComponent(
|
|
27443
28489
|
designer_NodeWrapvue_type_script_lang_js,
|
|
27444
|
-
|
|
27445
|
-
|
|
28490
|
+
NodeWrapvue_type_template_id_e1e89f50_scoped_true_render,
|
|
28491
|
+
NodeWrapvue_type_template_id_e1e89f50_scoped_true_staticRenderFns,
|
|
27446
28492
|
false,
|
|
27447
28493
|
null,
|
|
27448
|
-
"
|
|
28494
|
+
"e1e89f50",
|
|
27449
28495
|
null
|
|
27450
28496
|
|
|
27451
28497
|
)
|
|
@@ -28558,17 +29604,22 @@ var EadApi = /*#__PURE__*/function () {
|
|
|
28558
29604
|
}
|
|
28559
29605
|
return getViews;
|
|
28560
29606
|
}()
|
|
29607
|
+
/**
|
|
29608
|
+
* 获取流程模型
|
|
29609
|
+
* @param {*} name
|
|
29610
|
+
* @returns
|
|
29611
|
+
*/
|
|
28561
29612
|
}, {
|
|
28562
|
-
key: "
|
|
28563
|
-
value: function () {
|
|
28564
|
-
var
|
|
29613
|
+
key: "getModels",
|
|
29614
|
+
value: (function () {
|
|
29615
|
+
var _getModels = EadApi_asyncToGenerator( /*#__PURE__*/EadApi_regeneratorRuntime().mark(function _callee10(name) {
|
|
28565
29616
|
var _yield$_classPrivateF17, _yield$_classPrivateF18, collection, data, message;
|
|
28566
29617
|
return EadApi_regeneratorRuntime().wrap(function _callee10$(_context10) {
|
|
28567
29618
|
while (1) switch (_context10.prev = _context10.next) {
|
|
28568
29619
|
case 0:
|
|
28569
29620
|
_context10.prev = 0;
|
|
28570
29621
|
_context10.next = 3;
|
|
28571
|
-
return EadApi_classPrivateFieldGet(this, _component).$api.get("".concat(EadApi_classPrivateFieldGet(this, _baseUrl), "/api/flowdir-
|
|
29622
|
+
return EadApi_classPrivateFieldGet(this, _component).$api.get("".concat(EadApi_classPrivateFieldGet(this, _baseUrl), "/api/flowdir-model?name=") + name);
|
|
28572
29623
|
case 3:
|
|
28573
29624
|
_yield$_classPrivateF17 = _context10.sent;
|
|
28574
29625
|
_yield$_classPrivateF18 = _yield$_classPrivateF17.data.collection;
|
|
@@ -28589,7 +29640,43 @@ var EadApi = /*#__PURE__*/function () {
|
|
|
28589
29640
|
}
|
|
28590
29641
|
}, _callee10, this, [[0, 9, 14, 16]]);
|
|
28591
29642
|
}));
|
|
28592
|
-
function
|
|
29643
|
+
function getModels(_x9) {
|
|
29644
|
+
return _getModels.apply(this, arguments);
|
|
29645
|
+
}
|
|
29646
|
+
return getModels;
|
|
29647
|
+
}())
|
|
29648
|
+
}, {
|
|
29649
|
+
key: "getDrivers",
|
|
29650
|
+
value: function () {
|
|
29651
|
+
var _getDrivers = EadApi_asyncToGenerator( /*#__PURE__*/EadApi_regeneratorRuntime().mark(function _callee11(name) {
|
|
29652
|
+
var _yield$_classPrivateF19, _yield$_classPrivateF20, collection, data, message;
|
|
29653
|
+
return EadApi_regeneratorRuntime().wrap(function _callee11$(_context11) {
|
|
29654
|
+
while (1) switch (_context11.prev = _context11.next) {
|
|
29655
|
+
case 0:
|
|
29656
|
+
_context11.prev = 0;
|
|
29657
|
+
_context11.next = 3;
|
|
29658
|
+
return EadApi_classPrivateFieldGet(this, _component).$api.get("".concat(EadApi_classPrivateFieldGet(this, _baseUrl), "/api/flowdir-driver?name=") + name);
|
|
29659
|
+
case 3:
|
|
29660
|
+
_yield$_classPrivateF19 = _context11.sent;
|
|
29661
|
+
_yield$_classPrivateF20 = _yield$_classPrivateF19.data.collection;
|
|
29662
|
+
collection = _yield$_classPrivateF20 === void 0 ? [] : _yield$_classPrivateF20;
|
|
29663
|
+
return _context11.abrupt("return", collection);
|
|
29664
|
+
case 9:
|
|
29665
|
+
_context11.prev = 9;
|
|
29666
|
+
_context11.t0 = _context11["catch"](0);
|
|
29667
|
+
data = _context11.t0.response.data;
|
|
29668
|
+
message = data && data.content || '系统错误请与管理员联系。';
|
|
29669
|
+
this.$message.error(message);
|
|
29670
|
+
case 14:
|
|
29671
|
+
_context11.prev = 14;
|
|
29672
|
+
return _context11.finish(14);
|
|
29673
|
+
case 16:
|
|
29674
|
+
case "end":
|
|
29675
|
+
return _context11.stop();
|
|
29676
|
+
}
|
|
29677
|
+
}, _callee11, this, [[0, 9, 14, 16]]);
|
|
29678
|
+
}));
|
|
29679
|
+
function getDrivers(_x10) {
|
|
28593
29680
|
return _getDrivers.apply(this, arguments);
|
|
28594
29681
|
}
|
|
28595
29682
|
return getDrivers;
|
|
@@ -28755,8 +29842,8 @@ var WorkFlowDesigner_component = normalizeComponent(
|
|
|
28755
29842
|
)
|
|
28756
29843
|
|
|
28757
29844
|
/* 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=
|
|
28759
|
-
var
|
|
29845
|
+
// 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=ba455af4&scoped=true
|
|
29846
|
+
var RuntimeWorkFlowvue_type_template_id_ba455af4_scoped_true_render = function render() {
|
|
28760
29847
|
var _this = this,
|
|
28761
29848
|
_vm$currentNode$data$,
|
|
28762
29849
|
_vm$currentNode$data$2;
|
|
@@ -29483,9 +30570,9 @@ var RuntimeWorkFlowvue_type_template_id_5970b818_scoped_true_render = function r
|
|
|
29483
30570
|
}
|
|
29484
30571
|
}, [_vm._v("关闭")])], 1)], 2)], 1);
|
|
29485
30572
|
};
|
|
29486
|
-
var
|
|
30573
|
+
var RuntimeWorkFlowvue_type_template_id_ba455af4_scoped_true_staticRenderFns = [];
|
|
29487
30574
|
|
|
29488
|
-
// CONCATENATED MODULE: ../src/web/components/forms/flow/runtime/RuntimeWorkFlow.vue?vue&type=template&id=
|
|
30575
|
+
// CONCATENATED MODULE: ../src/web/components/forms/flow/runtime/RuntimeWorkFlow.vue?vue&type=template&id=ba455af4&scoped=true
|
|
29489
30576
|
|
|
29490
30577
|
// EXTERNAL MODULE: external {"root":"vuedraggable","commonjs2":"vuedraggable","commonjs":"vuedraggable","amd":"vuedraggable"}
|
|
29491
30578
|
var external_root_vuedraggable_commonjs2_vuedraggable_commonjs_vuedraggable_amd_vuedraggable_ = __webpack_require__("289a");
|
|
@@ -30445,52 +31532,39 @@ var CHECK_ACTION = {
|
|
|
30445
31532
|
handleItemChange: function handleItemChange(value, attr) {
|
|
30446
31533
|
var _this10 = this;
|
|
30447
31534
|
return RuntimeWorkFlowvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/RuntimeWorkFlowvue_type_script_lang_js_regeneratorRuntime().mark(function _callee6() {
|
|
30448
|
-
var name, fd, res;
|
|
30449
31535
|
return RuntimeWorkFlowvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee6$(_context6) {
|
|
30450
31536
|
while (1) switch (_context6.prev = _context6.next) {
|
|
30451
31537
|
case 0:
|
|
30452
|
-
|
|
30453
|
-
|
|
30454
|
-
|
|
30455
|
-
|
|
30456
|
-
|
|
30457
|
-
|
|
30458
|
-
|
|
30459
|
-
|
|
30460
|
-
|
|
30461
|
-
fd
|
|
30462
|
-
|
|
30463
|
-
|
|
30464
|
-
|
|
30465
|
-
|
|
30466
|
-
|
|
30467
|
-
value
|
|
30468
|
-
|
|
30469
|
-
|
|
30470
|
-
|
|
30471
|
-
value = null;
|
|
30472
|
-
case 12:
|
|
30473
|
-
_context6.next = 15;
|
|
30474
|
-
break;
|
|
30475
|
-
case 14:
|
|
30476
|
-
if (value instanceof Date) {
|
|
30477
|
-
value = _this10.moment(value).format('YYYY-MM-DD');
|
|
30478
|
-
}
|
|
30479
|
-
case 15:
|
|
30480
|
-
// this.actionModel.data[name] = value
|
|
30481
|
-
|
|
30482
|
-
// ISSUE:1 兼容格式化 ---------------------------------------------------
|
|
30483
|
-
if (['time', 'datetime'].includes(attr.dataType)) {
|
|
30484
|
-
value = _this10.moment(value, 'YYYY-MM-DD HH:mm').valueOf();
|
|
30485
|
-
}
|
|
30486
|
-
if (['date'].includes(attr.dataType)) {
|
|
30487
|
-
value = _this10.moment(value, 'YYYY-MM-DD').valueOf();
|
|
30488
|
-
}
|
|
30489
|
-
// -----------------------------------------------------------
|
|
31538
|
+
// console.log(value)
|
|
31539
|
+
_this10.setModel(value, attr.name);
|
|
31540
|
+
// const name = attr.name
|
|
31541
|
+
// attr.value = value
|
|
31542
|
+
// this.actionModel[name] = value
|
|
31543
|
+
// console.log('this.actionModel[name]', this.actionModel[name])
|
|
31544
|
+
// if (value instanceof FileList) {
|
|
31545
|
+
// if (value[0]) {
|
|
31546
|
+
// const fd = new FormData()
|
|
31547
|
+
// fd.append(name, value[0])
|
|
31548
|
+
// const res = await this.$api.post('/upload', fd)
|
|
31549
|
+
// value = res.data.data[name]
|
|
31550
|
+
// } else {
|
|
31551
|
+
// value = null
|
|
31552
|
+
// }
|
|
31553
|
+
// } else if (value instanceof Date) {
|
|
31554
|
+
// value = this.moment(value).format('YYYY-MM-DD')
|
|
31555
|
+
// }
|
|
31556
|
+
// // this.actionModel.data[name] = value
|
|
30490
31557
|
|
|
30491
|
-
|
|
31558
|
+
// // ISSUE:1 兼容格式化 ---------------------------------------------------
|
|
31559
|
+
// if (['time', 'datetime'].includes(attr.dataType)) {
|
|
31560
|
+
// value = this.moment(value, 'YYYY-MM-DD HH:mm').valueOf()
|
|
31561
|
+
// }
|
|
31562
|
+
// if (['date'].includes(attr.dataType)) {
|
|
31563
|
+
// value = this.moment(value, 'YYYY-MM-DD').valueOf()
|
|
31564
|
+
// }
|
|
31565
|
+
// // -----------------------------------------------------------
|
|
30492
31566
|
_this10.loadTodo();
|
|
30493
|
-
case
|
|
31567
|
+
case 2:
|
|
30494
31568
|
case "end":
|
|
30495
31569
|
return _context6.stop();
|
|
30496
31570
|
}
|
|
@@ -30599,8 +31673,8 @@ var CHECK_ACTION = {
|
|
|
30599
31673
|
});
|
|
30600
31674
|
// CONCATENATED MODULE: ../src/web/components/forms/flow/runtime/RuntimeWorkFlow.vue?vue&type=script&lang=js
|
|
30601
31675
|
/* harmony default export */ var runtime_RuntimeWorkFlowvue_type_script_lang_js = (RuntimeWorkFlowvue_type_script_lang_js);
|
|
30602
|
-
// EXTERNAL MODULE: ../src/web/components/forms/flow/runtime/RuntimeWorkFlow.vue?vue&type=style&index=0&id=
|
|
30603
|
-
var
|
|
31676
|
+
// EXTERNAL MODULE: ../src/web/components/forms/flow/runtime/RuntimeWorkFlow.vue?vue&type=style&index=0&id=ba455af4&prod&lang=less&scoped=true
|
|
31677
|
+
var RuntimeWorkFlowvue_type_style_index_0_id_ba455af4_prod_lang_less_scoped_true = __webpack_require__("3a3d");
|
|
30604
31678
|
|
|
30605
31679
|
// CONCATENATED MODULE: ../src/web/components/forms/flow/runtime/RuntimeWorkFlow.vue
|
|
30606
31680
|
|
|
@@ -30613,11 +31687,11 @@ var RuntimeWorkFlowvue_type_style_index_0_id_5970b818_prod_lang_less_scoped_true
|
|
|
30613
31687
|
|
|
30614
31688
|
var RuntimeWorkFlow_component = normalizeComponent(
|
|
30615
31689
|
runtime_RuntimeWorkFlowvue_type_script_lang_js,
|
|
30616
|
-
|
|
30617
|
-
|
|
31690
|
+
RuntimeWorkFlowvue_type_template_id_ba455af4_scoped_true_render,
|
|
31691
|
+
RuntimeWorkFlowvue_type_template_id_ba455af4_scoped_true_staticRenderFns,
|
|
30618
31692
|
false,
|
|
30619
31693
|
null,
|
|
30620
|
-
"
|
|
31694
|
+
"ba455af4",
|
|
30621
31695
|
null
|
|
30622
31696
|
|
|
30623
31697
|
)
|
|
@@ -32309,6 +33383,17 @@ module.exports = require("monaco-editor");
|
|
|
32309
33383
|
|
|
32310
33384
|
}));
|
|
32311
33385
|
|
|
33386
|
+
/***/ }),
|
|
33387
|
+
|
|
33388
|
+
/***/ "2629":
|
|
33389
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
33390
|
+
|
|
33391
|
+
"use strict";
|
|
33392
|
+
/* 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");
|
|
33393
|
+
/* 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__);
|
|
33394
|
+
/* unused harmony reexport * */
|
|
33395
|
+
|
|
33396
|
+
|
|
32312
33397
|
/***/ }),
|
|
32313
33398
|
|
|
32314
33399
|
/***/ "289a":
|
|
@@ -33153,6 +34238,17 @@ module.exports = require("@antv/g6");
|
|
|
33153
34238
|
|
|
33154
34239
|
// extracted by mini-css-extract-plugin
|
|
33155
34240
|
|
|
34241
|
+
/***/ }),
|
|
34242
|
+
|
|
34243
|
+
/***/ "3a3d":
|
|
34244
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
34245
|
+
|
|
34246
|
+
"use strict";
|
|
34247
|
+
/* 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_ba455af4_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("4c0a");
|
|
34248
|
+
/* 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_ba455af4_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_ba455af4_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
34249
|
+
/* unused harmony reexport * */
|
|
34250
|
+
|
|
34251
|
+
|
|
33156
34252
|
/***/ }),
|
|
33157
34253
|
|
|
33158
34254
|
/***/ "3cd6":
|
|
@@ -33162,7 +34258,7 @@ module.exports = require("@antv/g6");
|
|
|
33162
34258
|
|
|
33163
34259
|
/***/ }),
|
|
33164
34260
|
|
|
33165
|
-
/***/ "
|
|
34261
|
+
/***/ "41a6":
|
|
33166
34262
|
/***/ (function(module, exports, __webpack_require__) {
|
|
33167
34263
|
|
|
33168
34264
|
// extracted by mini-css-extract-plugin
|
|
@@ -33205,6 +34301,13 @@ module.exports = require("@antv/g6");
|
|
|
33205
34301
|
|
|
33206
34302
|
/***/ }),
|
|
33207
34303
|
|
|
34304
|
+
/***/ "4c0a":
|
|
34305
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
34306
|
+
|
|
34307
|
+
// extracted by mini-css-extract-plugin
|
|
34308
|
+
|
|
34309
|
+
/***/ }),
|
|
34310
|
+
|
|
33208
34311
|
/***/ "4c29":
|
|
33209
34312
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
33210
34313
|
|
|
@@ -33245,21 +34348,21 @@ module.exports = require("@antv/g6");
|
|
|
33245
34348
|
|
|
33246
34349
|
/***/ }),
|
|
33247
34350
|
|
|
33248
|
-
/***/ "
|
|
34351
|
+
/***/ "5104":
|
|
33249
34352
|
/***/ (function(module, exports, __webpack_require__) {
|
|
33250
34353
|
|
|
33251
34354
|
// extracted by mini-css-extract-plugin
|
|
33252
34355
|
|
|
33253
34356
|
/***/ }),
|
|
33254
34357
|
|
|
33255
|
-
/***/ "
|
|
34358
|
+
/***/ "517c":
|
|
33256
34359
|
/***/ (function(module, exports, __webpack_require__) {
|
|
33257
34360
|
|
|
33258
34361
|
// extracted by mini-css-extract-plugin
|
|
33259
34362
|
|
|
33260
34363
|
/***/ }),
|
|
33261
34364
|
|
|
33262
|
-
/***/ "
|
|
34365
|
+
/***/ "521b":
|
|
33263
34366
|
/***/ (function(module, exports, __webpack_require__) {
|
|
33264
34367
|
|
|
33265
34368
|
// extracted by mini-css-extract-plugin
|
|
@@ -34073,13 +35176,6 @@ module.exports = require("vue-router");
|
|
|
34073
35176
|
|
|
34074
35177
|
/***/ }),
|
|
34075
35178
|
|
|
34076
|
-
/***/ "6d01":
|
|
34077
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
34078
|
-
|
|
34079
|
-
// extracted by mini-css-extract-plugin
|
|
34080
|
-
|
|
34081
|
-
/***/ }),
|
|
34082
|
-
|
|
34083
35179
|
/***/ "6d57":
|
|
34084
35180
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
34085
35181
|
|
|
@@ -46025,17 +47121,6 @@ module.exports = require("qs");
|
|
|
46025
47121
|
|
|
46026
47122
|
}));
|
|
46027
47123
|
|
|
46028
|
-
/***/ }),
|
|
46029
|
-
|
|
46030
|
-
/***/ "865a":
|
|
46031
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
46032
|
-
|
|
46033
|
-
"use strict";
|
|
46034
|
-
/* 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");
|
|
46035
|
-
/* 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__);
|
|
46036
|
-
/* unused harmony reexport * */
|
|
46037
|
-
|
|
46038
|
-
|
|
46039
47124
|
/***/ }),
|
|
46040
47125
|
|
|
46041
47126
|
/***/ "8bbf":
|
|
@@ -46065,17 +47150,6 @@ module.exports = require("vue");
|
|
|
46065
47150
|
/* unused harmony reexport * */
|
|
46066
47151
|
|
|
46067
47152
|
|
|
46068
|
-
/***/ }),
|
|
46069
|
-
|
|
46070
|
-
/***/ "8e84":
|
|
46071
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
46072
|
-
|
|
46073
|
-
"use strict";
|
|
46074
|
-
/* 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");
|
|
46075
|
-
/* 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__);
|
|
46076
|
-
/* unused harmony reexport * */
|
|
46077
|
-
|
|
46078
|
-
|
|
46079
47153
|
/***/ }),
|
|
46080
47154
|
|
|
46081
47155
|
/***/ "8eee":
|
|
@@ -46102,6 +47176,17 @@ module.exports = Array.isArray || function (arr) {
|
|
|
46102
47176
|
|
|
46103
47177
|
// extracted by mini-css-extract-plugin
|
|
46104
47178
|
|
|
47179
|
+
/***/ }),
|
|
47180
|
+
|
|
47181
|
+
/***/ "9632":
|
|
47182
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
47183
|
+
|
|
47184
|
+
"use strict";
|
|
47185
|
+
/* 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");
|
|
47186
|
+
/* 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__);
|
|
47187
|
+
/* unused harmony reexport * */
|
|
47188
|
+
|
|
47189
|
+
|
|
46105
47190
|
/***/ }),
|
|
46106
47191
|
|
|
46107
47192
|
/***/ "9707":
|
|
@@ -51087,6 +52172,17 @@ module.exports = require("vuex/dist/logger");
|
|
|
51087
52172
|
|
|
51088
52173
|
}));
|
|
51089
52174
|
|
|
52175
|
+
/***/ }),
|
|
52176
|
+
|
|
52177
|
+
/***/ "e502":
|
|
52178
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
52179
|
+
|
|
52180
|
+
"use strict";
|
|
52181
|
+
/* 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_b9b07154_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1810");
|
|
52182
|
+
/* 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_b9b07154_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_b9b07154_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
52183
|
+
/* unused harmony reexport * */
|
|
52184
|
+
|
|
52185
|
+
|
|
51090
52186
|
/***/ }),
|
|
51091
52187
|
|
|
51092
52188
|
/***/ "e993":
|