@xatlas/rainbow-core 2.4.5 → 2.4.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core.common.js +1297 -185
- package/dist/core.common.js.map +1 -1
- package/dist/core.css +1 -1
- package/dist/core.umd.js +1297 -185
- package/dist/core.umd.js.map +1 -1
- package/dist/core.umd.min.js +5 -5
- package/dist/core.umd.min.js.map +1 -1
- package/package.json +1 -1
package/dist/core.umd.js
CHANGED
|
@@ -1446,17 +1446,6 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
1446
1446
|
|
|
1447
1447
|
}));
|
|
1448
1448
|
|
|
1449
|
-
/***/ }),
|
|
1450
|
-
|
|
1451
|
-
/***/ "128b":
|
|
1452
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1453
|
-
|
|
1454
|
-
"use strict";
|
|
1455
|
-
/* 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");
|
|
1456
|
-
/* 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__);
|
|
1457
|
-
/* unused harmony reexport * */
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
1449
|
/***/ }),
|
|
1461
1450
|
|
|
1462
1451
|
/***/ "13e9":
|
|
@@ -3627,7 +3616,15 @@ function list_toPrimitive(t, r) { if ("object" != list_typeof(t) || !t) return t
|
|
|
3627
3616
|
this.handleAction(action, null, list_defineProperty({}, key, files));
|
|
3628
3617
|
},
|
|
3629
3618
|
editable: function editable(record, action, attr) {
|
|
3630
|
-
var
|
|
3619
|
+
var _action$configs;
|
|
3620
|
+
var configs = list_objectSpread({}, this.configs);
|
|
3621
|
+
if (action !== null && action !== void 0 && (_action$configs = action.configs) !== null && _action$configs !== void 0 && _action$configs.length) {
|
|
3622
|
+
var actionConfigs = Object.fromEntries(action.configs.map(function (c) {
|
|
3623
|
+
return [c.key, c.value];
|
|
3624
|
+
}));
|
|
3625
|
+
configs = list_objectSpread(list_objectSpread({}, configs), actionConfigs);
|
|
3626
|
+
}
|
|
3627
|
+
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;
|
|
3631
3628
|
if (action !== null && action !== void 0 && action.list) {
|
|
3632
3629
|
var list = action.list.split(',');
|
|
3633
3630
|
return editable && list.includes(attr.name);
|
|
@@ -16387,6 +16384,7 @@ NodeType_defineProperty(NodeType_NodeType, "CC", 'cc');
|
|
|
16387
16384
|
NodeType_defineProperty(NodeType_NodeType, "TASK", 'task');
|
|
16388
16385
|
NodeType_defineProperty(NodeType_NodeType, "TRIGGER", 'trigger');
|
|
16389
16386
|
NodeType_defineProperty(NodeType_NodeType, "DELAY", 'delay');
|
|
16387
|
+
NodeType_defineProperty(NodeType_NodeType, "SUBWORKFLOW", 'subworkflow');
|
|
16390
16388
|
NodeType_defineProperty(NodeType_NodeType, "PARALLEL_WRAP", 'parallel_wrap');
|
|
16391
16389
|
NodeType_defineProperty(NodeType_NodeType, "PARALLEL", 'parallel');
|
|
16392
16390
|
NodeType_defineProperty(NodeType_NodeType, "JUDGE_WRAP", 'judge_wrap');
|
|
@@ -16417,6 +16415,9 @@ function initNodeTypes() {
|
|
|
16417
16415
|
NodeType_NodeType.registerNodeType(NodeType_NodeType.TRIGGER, 'single', 'TriggerNode', function () {
|
|
16418
16416
|
return new designer_NodeItem('触发器', '触发器', null, NodeType_NodeType.TRIGGER);
|
|
16419
16417
|
});
|
|
16418
|
+
NodeType_NodeType.registerNodeType(NodeType_NodeType.SUBWORKFLOW, 'single', 'SubWorkflowNode', function () {
|
|
16419
|
+
return new designer_NodeItem('子流程', '子流程', null, NodeType_NodeType.SUBWORKFLOW);
|
|
16420
|
+
});
|
|
16420
16421
|
NodeType_NodeType.registerNodeType(NodeType_NodeType.DELAY, 'single', 'DelayNode', function () {
|
|
16421
16422
|
return new designer_NodeItem('延迟等待', '延迟等待', null, NodeType_NodeType.DELAY);
|
|
16422
16423
|
});
|
|
@@ -17486,8 +17487,8 @@ var _codeIndex = {
|
|
|
17486
17487
|
value: {}
|
|
17487
17488
|
};
|
|
17488
17489
|
/* harmony default export */ var designer_NodeHandler = (NodeHandler_NodeHandler);
|
|
17489
|
-
// 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=
|
|
17490
|
-
var
|
|
17490
|
+
// 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
|
|
17491
|
+
var NodeWrapvue_type_template_id_e1e89f50_scoped_true_render = function render() {
|
|
17491
17492
|
var _vm = this,
|
|
17492
17493
|
_c = _vm._self._c;
|
|
17493
17494
|
return _c('div', {
|
|
@@ -17516,9 +17517,9 @@ var NodeWrapvue_type_template_id_5bf5a14e_scoped_true_render = function render()
|
|
|
17516
17517
|
}
|
|
17517
17518
|
}) : _vm._e()], 1);
|
|
17518
17519
|
};
|
|
17519
|
-
var
|
|
17520
|
+
var NodeWrapvue_type_template_id_e1e89f50_scoped_true_staticRenderFns = [];
|
|
17520
17521
|
|
|
17521
|
-
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/NodeWrap.vue?vue&type=template&id=
|
|
17522
|
+
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/NodeWrap.vue?vue&type=template&id=e1e89f50&scoped=true
|
|
17522
17523
|
|
|
17523
17524
|
// 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
|
|
17524
17525
|
var EndNodevue_type_template_id_778e5139_scoped_true_render = function render() {
|
|
@@ -19446,14 +19447,14 @@ var ParallelWrapNode_component = normalizeComponent(
|
|
|
19446
19447
|
)
|
|
19447
19448
|
|
|
19448
19449
|
/* harmony default export */ var ParallelWrapNode = (ParallelWrapNode_component.exports);
|
|
19449
|
-
// 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=
|
|
19450
|
-
function
|
|
19451
|
-
function
|
|
19452
|
-
function
|
|
19453
|
-
function
|
|
19454
|
-
function
|
|
19455
|
-
function
|
|
19456
|
-
var
|
|
19450
|
+
// 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
|
|
19451
|
+
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(); }
|
|
19452
|
+
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."); }
|
|
19453
|
+
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); }
|
|
19454
|
+
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); }
|
|
19455
|
+
function CheckNodevue_type_template_id_3425760f_scoped_true_arrayWithoutHoles(arr) { if (Array.isArray(arr)) return CheckNodevue_type_template_id_3425760f_scoped_true_arrayLikeToArray(arr); }
|
|
19456
|
+
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; }
|
|
19457
|
+
var CheckNodevue_type_template_id_3425760f_scoped_true_render = function render() {
|
|
19457
19458
|
var _vm$nodeHandler, _vm$nodeHandler2, _vm$nodeRef, _vm$nodeRef2, _vm$nodeRef3, _vm$nodeHandler3, _vm$noticeTemplateAtt;
|
|
19458
19459
|
var _vm = this,
|
|
19459
19460
|
_c = _vm._self._c;
|
|
@@ -19887,7 +19888,7 @@ var CheckNodevue_type_template_id_0e1b910e_scoped_true_render = function render(
|
|
|
19887
19888
|
},
|
|
19888
19889
|
attrs: {
|
|
19889
19890
|
"filterOption": _vm.filterUser,
|
|
19890
|
-
"options": [].concat(
|
|
19891
|
+
"options": [].concat(CheckNodevue_type_template_id_3425760f_scoped_true_toConsumableArray(_vm.businessUserData), CheckNodevue_type_template_id_3425760f_scoped_true_toConsumableArray(_vm.users)),
|
|
19891
19892
|
"mode": "multiple",
|
|
19892
19893
|
"placeholder": "选择人"
|
|
19893
19894
|
},
|
|
@@ -19915,7 +19916,7 @@ var CheckNodevue_type_template_id_0e1b910e_scoped_true_render = function render(
|
|
|
19915
19916
|
maxHeight: '400px',
|
|
19916
19917
|
overflow: 'auto'
|
|
19917
19918
|
},
|
|
19918
|
-
"tree-data": [_vm.businessOrgData].concat(
|
|
19919
|
+
"tree-data": [_vm.businessOrgData].concat(CheckNodevue_type_template_id_3425760f_scoped_true_toConsumableArray(_vm.orgData)),
|
|
19919
19920
|
"allowClear": "",
|
|
19920
19921
|
"placeholder": "部门",
|
|
19921
19922
|
"tree-default-expand-all": ""
|
|
@@ -20096,73 +20097,6 @@ var CheckNodevue_type_template_id_0e1b910e_scoped_true_render = function render(
|
|
|
20096
20097
|
"tab": "操作视图"
|
|
20097
20098
|
}
|
|
20098
20099
|
}, [_c('div', {
|
|
20099
|
-
staticClass: "node-form-item"
|
|
20100
|
-
}, [_c('a-row', {
|
|
20101
|
-
staticStyle: {
|
|
20102
|
-
"display": "flex",
|
|
20103
|
-
"align-items": "center",
|
|
20104
|
-
"margin-bottom": "5px"
|
|
20105
|
-
}
|
|
20106
|
-
}, [_c('a-col', {
|
|
20107
|
-
attrs: {
|
|
20108
|
-
"span": 24
|
|
20109
|
-
}
|
|
20110
|
-
}, [_c('a-radio-group', {
|
|
20111
|
-
staticClass: "node-form-item",
|
|
20112
|
-
on: {
|
|
20113
|
-
"change": _vm.changeViewType
|
|
20114
|
-
},
|
|
20115
|
-
model: {
|
|
20116
|
-
value: _vm.optionViewType,
|
|
20117
|
-
callback: function callback($$v) {
|
|
20118
|
-
_vm.optionViewType = $$v;
|
|
20119
|
-
},
|
|
20120
|
-
expression: "optionViewType"
|
|
20121
|
-
}
|
|
20122
|
-
}, [_c('a-radio', {
|
|
20123
|
-
attrs: {
|
|
20124
|
-
"value": "use_model"
|
|
20125
|
-
}
|
|
20126
|
-
}, [_vm._v(" 沿用工作流模型 ")]), _c('a-radio', {
|
|
20127
|
-
attrs: {
|
|
20128
|
-
"value": "custom"
|
|
20129
|
-
}
|
|
20130
|
-
}, [_vm._v(" 自主选择 ")])], 1)], 1)], 1), _c('a-row', [_c('a-col', {
|
|
20131
|
-
attrs: {
|
|
20132
|
-
"span": 24
|
|
20133
|
-
}
|
|
20134
|
-
}, [_vm.optionViewType === 'custom' ? _c('a-select', {
|
|
20135
|
-
staticClass: "node-form-item",
|
|
20136
|
-
staticStyle: {
|
|
20137
|
-
"width": "100%"
|
|
20138
|
-
},
|
|
20139
|
-
attrs: {
|
|
20140
|
-
"default-active-first-option": false,
|
|
20141
|
-
"filter-option": false,
|
|
20142
|
-
"not-found-content": null,
|
|
20143
|
-
"show-arrow": false,
|
|
20144
|
-
"placeholder": "请输入表单视图名称",
|
|
20145
|
-
"show-search": ""
|
|
20146
|
-
},
|
|
20147
|
-
on: {
|
|
20148
|
-
"change": _vm.optionViewChange,
|
|
20149
|
-
"search": _vm.optionViewSearch
|
|
20150
|
-
},
|
|
20151
|
-
model: {
|
|
20152
|
-
value: _vm.nodeRef.data.option_view_id,
|
|
20153
|
-
callback: function callback($$v) {
|
|
20154
|
-
_vm.$set(_vm.nodeRef.data, "option_view_id", $$v);
|
|
20155
|
-
},
|
|
20156
|
-
expression: "nodeRef.data.option_view_id"
|
|
20157
|
-
}
|
|
20158
|
-
}, _vm._l(_vm.optionViewList, function (d) {
|
|
20159
|
-
return _c('a-select-option', {
|
|
20160
|
-
key: d.value,
|
|
20161
|
-
attrs: {
|
|
20162
|
-
"value": d.value
|
|
20163
|
-
}
|
|
20164
|
-
}, [_vm._v(" " + _vm._s(d.text) + " ")]);
|
|
20165
|
-
}), 1) : _vm._e()], 1)], 1)], 1), _c('div', {
|
|
20166
20100
|
key: _vm.nodeRef.data.option_view_id,
|
|
20167
20101
|
staticClass: "node-from-item"
|
|
20168
20102
|
}, [_c('a-divider', {
|
|
@@ -21081,9 +21015,9 @@ var CheckNodevue_type_template_id_0e1b910e_scoped_true_render = function render(
|
|
|
21081
21015
|
}
|
|
21082
21016
|
}) : _vm._e()], 1)]) : _vm._e()], 1)], 1) : _vm._e()], 1);
|
|
21083
21017
|
};
|
|
21084
|
-
var
|
|
21018
|
+
var CheckNodevue_type_template_id_3425760f_scoped_true_staticRenderFns = [];
|
|
21085
21019
|
|
|
21086
|
-
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/CheckNode.vue?vue&type=template&id=
|
|
21020
|
+
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/CheckNode.vue?vue&type=template&id=3425760f&scoped=true
|
|
21087
21021
|
|
|
21088
21022
|
// 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
|
|
21089
21023
|
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); }
|
|
@@ -21809,8 +21743,8 @@ function CheckNodevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Ch
|
|
|
21809
21743
|
});
|
|
21810
21744
|
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/CheckNode.vue?vue&type=script&lang=js
|
|
21811
21745
|
/* harmony default export */ var node_CheckNodevue_type_script_lang_js = (CheckNodevue_type_script_lang_js);
|
|
21812
|
-
// EXTERNAL MODULE: ../src/web/components/forms/flow/designer/node/CheckNode.vue?vue&type=style&index=0&id=
|
|
21813
|
-
var
|
|
21746
|
+
// EXTERNAL MODULE: ../src/web/components/forms/flow/designer/node/CheckNode.vue?vue&type=style&index=0&id=3425760f&prod&lang=less&scoped=true
|
|
21747
|
+
var CheckNodevue_type_style_index_0_id_3425760f_prod_lang_less_scoped_true = __webpack_require__("9632");
|
|
21814
21748
|
|
|
21815
21749
|
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/CheckNode.vue
|
|
21816
21750
|
|
|
@@ -21823,11 +21757,11 @@ var CheckNodevue_type_style_index_0_id_0e1b910e_prod_lang_less_scoped_true = __w
|
|
|
21823
21757
|
|
|
21824
21758
|
var CheckNode_component = normalizeComponent(
|
|
21825
21759
|
node_CheckNodevue_type_script_lang_js,
|
|
21826
|
-
|
|
21827
|
-
|
|
21760
|
+
CheckNodevue_type_template_id_3425760f_scoped_true_render,
|
|
21761
|
+
CheckNodevue_type_template_id_3425760f_scoped_true_staticRenderFns,
|
|
21828
21762
|
false,
|
|
21829
21763
|
null,
|
|
21830
|
-
"
|
|
21764
|
+
"3425760f",
|
|
21831
21765
|
null
|
|
21832
21766
|
|
|
21833
21767
|
)
|
|
@@ -23790,14 +23724,14 @@ var CCNode_component = normalizeComponent(
|
|
|
23790
23724
|
)
|
|
23791
23725
|
|
|
23792
23726
|
/* harmony default export */ var CCNode = (CCNode_component.exports);
|
|
23793
|
-
// 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=
|
|
23794
|
-
function
|
|
23795
|
-
function
|
|
23796
|
-
function
|
|
23797
|
-
function
|
|
23798
|
-
function
|
|
23799
|
-
function
|
|
23800
|
-
var
|
|
23727
|
+
// 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
|
|
23728
|
+
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(); }
|
|
23729
|
+
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."); }
|
|
23730
|
+
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); }
|
|
23731
|
+
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); }
|
|
23732
|
+
function TaskNodevue_type_template_id_d7966da8_scoped_true_arrayWithoutHoles(arr) { if (Array.isArray(arr)) return TaskNodevue_type_template_id_d7966da8_scoped_true_arrayLikeToArray(arr); }
|
|
23733
|
+
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; }
|
|
23734
|
+
var TaskNodevue_type_template_id_d7966da8_scoped_true_render = function render() {
|
|
23801
23735
|
var _vm$nodeHandler, _vm$nodeHandler2, _vm$nodeRef, _vm$nodeRef2, _vm$nodeRef3, _vm$nodeHandler3, _vm$noticeTemplateAtt;
|
|
23802
23736
|
var _vm = this,
|
|
23803
23737
|
_c = _vm._self._c;
|
|
@@ -24231,7 +24165,7 @@ var TaskNodevue_type_template_id_13efb06a_scoped_true_render = function render()
|
|
|
24231
24165
|
},
|
|
24232
24166
|
attrs: {
|
|
24233
24167
|
"filterOption": _vm.filterUser,
|
|
24234
|
-
"options": [].concat(
|
|
24168
|
+
"options": [].concat(TaskNodevue_type_template_id_d7966da8_scoped_true_toConsumableArray(_vm.businessUserData), TaskNodevue_type_template_id_d7966da8_scoped_true_toConsumableArray(_vm.users)),
|
|
24235
24169
|
"mode": "multiple",
|
|
24236
24170
|
"placeholder": "选择人"
|
|
24237
24171
|
},
|
|
@@ -24259,7 +24193,7 @@ var TaskNodevue_type_template_id_13efb06a_scoped_true_render = function render()
|
|
|
24259
24193
|
maxHeight: '400px',
|
|
24260
24194
|
overflow: 'auto'
|
|
24261
24195
|
},
|
|
24262
|
-
"tree-data": [_vm.businessOrgData].concat(
|
|
24196
|
+
"tree-data": [_vm.businessOrgData].concat(TaskNodevue_type_template_id_d7966da8_scoped_true_toConsumableArray(_vm.orgData)),
|
|
24263
24197
|
"allowClear": "",
|
|
24264
24198
|
"placeholder": "部门",
|
|
24265
24199
|
"tree-default-expand-all": ""
|
|
@@ -24386,18 +24320,10 @@ var TaskNodevue_type_template_id_13efb06a_scoped_true_render = function render()
|
|
|
24386
24320
|
expression: "nodeRef.data.actor_config.check_mode"
|
|
24387
24321
|
}
|
|
24388
24322
|
}, [_c('a-radio-button', {
|
|
24389
|
-
attrs: {
|
|
24390
|
-
"value": "queue"
|
|
24391
|
-
}
|
|
24392
|
-
}, [_vm._v("依次执行")]), _c('a-radio-button', {
|
|
24393
24323
|
attrs: {
|
|
24394
24324
|
"value": "orsign"
|
|
24395
24325
|
}
|
|
24396
|
-
}, [_vm._v("或操")]), _c('a-
|
|
24397
|
-
attrs: {
|
|
24398
|
-
"value": "sign"
|
|
24399
|
-
}
|
|
24400
|
-
}, [_vm._v("会操")])], 1)], 1)], 1)], 1) : _vm._e()], 2) : _vm._e(), _c('a-row', {
|
|
24326
|
+
}, [_vm._v("或操")])], 1)], 1)], 1)], 1) : _vm._e()], 2) : _vm._e(), _c('a-row', {
|
|
24401
24327
|
staticStyle: {
|
|
24402
24328
|
"display": "flex",
|
|
24403
24329
|
"align-items": "center",
|
|
@@ -25397,9 +25323,9 @@ var TaskNodevue_type_template_id_13efb06a_scoped_true_render = function render()
|
|
|
25397
25323
|
}
|
|
25398
25324
|
}) : _vm._e()], 1)]) : _vm._e()], 1)], 1) : _vm._e()], 1);
|
|
25399
25325
|
};
|
|
25400
|
-
var
|
|
25326
|
+
var TaskNodevue_type_template_id_d7966da8_scoped_true_staticRenderFns = [];
|
|
25401
25327
|
|
|
25402
|
-
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/TaskNode.vue?vue&type=template&id=
|
|
25328
|
+
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/TaskNode.vue?vue&type=template&id=d7966da8&scoped=true
|
|
25403
25329
|
|
|
25404
25330
|
// 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
|
|
25405
25331
|
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); }
|
|
@@ -25436,7 +25362,7 @@ function TaskNodevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Tas
|
|
|
25436
25362
|
defaultContent: '请选择',
|
|
25437
25363
|
editName: false,
|
|
25438
25364
|
tabKey: 'actors',
|
|
25439
|
-
optionViewType: '
|
|
25365
|
+
optionViewType: 'custom',
|
|
25440
25366
|
optionViewId: null,
|
|
25441
25367
|
// cache 缓存用途,ISSUE: change事件不会返回之前的value
|
|
25442
25368
|
optionViewList: [],
|
|
@@ -25532,7 +25458,7 @@ function TaskNodevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Tas
|
|
|
25532
25458
|
multi: false
|
|
25533
25459
|
},
|
|
25534
25460
|
// 自选配置
|
|
25535
|
-
check_mode: '
|
|
25461
|
+
check_mode: 'orsign' // 多人审批模式,// 'queue', 'orsign','sign'
|
|
25536
25462
|
},
|
|
25537
25463
|
option_view_id: '',
|
|
25538
25464
|
option_forms: [],
|
|
@@ -25868,10 +25794,11 @@ function TaskNodevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Tas
|
|
|
25868
25794
|
* @param node {NodeItem}
|
|
25869
25795
|
*/
|
|
25870
25796
|
loadCache: function loadCache(node) {
|
|
25871
|
-
var _node$data$eadCache$w, _node$data, _node$data$eadCache$w2, _node$data2, _node$data$eadCache$w3, _node$data3;
|
|
25797
|
+
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;
|
|
25872
25798
|
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;
|
|
25873
25799
|
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;
|
|
25874
25800
|
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;
|
|
25801
|
+
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;
|
|
25875
25802
|
},
|
|
25876
25803
|
handleDriverChange: function handleDriverChange(a, s) {},
|
|
25877
25804
|
handleDriverSearch: function handleDriverSearch(s) {
|
|
@@ -25984,36 +25911,34 @@ function TaskNodevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Tas
|
|
|
25984
25911
|
'changeViewType': function changeViewType(_ref4) {
|
|
25985
25912
|
var _this6 = this;
|
|
25986
25913
|
return TaskNodevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/TaskNodevue_type_script_lang_js_regeneratorRuntime().mark(function _callee2() {
|
|
25987
|
-
var target, type;
|
|
25914
|
+
var target, type, optionViewId;
|
|
25988
25915
|
return TaskNodevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
25989
25916
|
while (1) switch (_context2.prev = _context2.next) {
|
|
25990
25917
|
case 0:
|
|
25991
25918
|
target = _ref4.target;
|
|
25992
25919
|
type = target.value;
|
|
25993
25920
|
_this6.nodeRef.data.eadCache.workflow.optionViewType = type;
|
|
25921
|
+
optionViewId = '';
|
|
25994
25922
|
if (type === 'custom') {
|
|
25995
25923
|
_this6.optionFormsCache[_this6.eadApi.getValues().option_view_id] = _this6.nodeRef.data.option_forms;
|
|
25996
|
-
|
|
25997
|
-
|
|
25998
|
-
|
|
25999
|
-
break;
|
|
26000
|
-
}
|
|
26001
|
-
if (_this6.optionViewId) {
|
|
25924
|
+
_this6.nodeRef.data.option_view_id = _this6.optionViewId;
|
|
25925
|
+
optionViewId = _this6.optionViewId;
|
|
25926
|
+
} else if (type === 'use_model') {
|
|
26002
25927
|
_this6.optionFormsCache[_this6.optionViewId] = _this6.nodeRef.data.option_forms;
|
|
25928
|
+
_this6.nodeRef.data.option_view_id = null;
|
|
25929
|
+
optionViewId = _this6.eadApi.getValues().option_view_id;
|
|
26003
25930
|
}
|
|
26004
|
-
_this6.optionViewId = null;
|
|
26005
|
-
_this6.nodeRef.data.option_view_id = undefined;
|
|
26006
25931
|
_this6.viewAttrLoading = true;
|
|
26007
|
-
_context2.next =
|
|
26008
|
-
return _this6.eadApi.getViewAttrs(
|
|
26009
|
-
case
|
|
25932
|
+
_context2.next = 8;
|
|
25933
|
+
return _this6.eadApi.getViewAttrs(optionViewId);
|
|
25934
|
+
case 8:
|
|
26010
25935
|
_this6.nodeRef.data.option_forms = _context2.sent.filter(function (attr) {
|
|
26011
25936
|
return attr.type === 'value' && attr.access !== 'none';
|
|
26012
25937
|
}).filter(function (attr) {
|
|
26013
25938
|
return attr.key_type !== 'primary';
|
|
26014
25939
|
}).map(function (attr) {
|
|
26015
25940
|
var _this6$optionFormsCac, _cache$access2, _ref5;
|
|
26016
|
-
var cache = (_this6$optionFormsCac = _this6.optionFormsCache[
|
|
25941
|
+
var cache = (_this6$optionFormsCac = _this6.optionFormsCache[optionViewId]) === null || _this6$optionFormsCac === void 0 ? void 0 : _this6$optionFormsCac.find(function (attr0) {
|
|
26017
25942
|
return attr0.attrId === attr.id;
|
|
26018
25943
|
});
|
|
26019
25944
|
var access = (_cache$access2 = cache === null || cache === void 0 ? void 0 : cache.access) !== null && _cache$access2 !== void 0 ? _cache$access2 : 'none';
|
|
@@ -26027,7 +25952,7 @@ function TaskNodevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Tas
|
|
|
26027
25952
|
};
|
|
26028
25953
|
});
|
|
26029
25954
|
_this6.viewAttrLoading = false;
|
|
26030
|
-
case
|
|
25955
|
+
case 10:
|
|
26031
25956
|
case "end":
|
|
26032
25957
|
return _context2.stop();
|
|
26033
25958
|
}
|
|
@@ -26126,8 +26051,8 @@ function TaskNodevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Tas
|
|
|
26126
26051
|
});
|
|
26127
26052
|
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/TaskNode.vue?vue&type=script&lang=js
|
|
26128
26053
|
/* harmony default export */ var node_TaskNodevue_type_script_lang_js = (TaskNodevue_type_script_lang_js);
|
|
26129
|
-
// EXTERNAL MODULE: ../src/web/components/forms/flow/designer/node/TaskNode.vue?vue&type=style&index=0&id=
|
|
26130
|
-
var
|
|
26054
|
+
// EXTERNAL MODULE: ../src/web/components/forms/flow/designer/node/TaskNode.vue?vue&type=style&index=0&id=d7966da8&prod&lang=less&scoped=true
|
|
26055
|
+
var TaskNodevue_type_style_index_0_id_d7966da8_prod_lang_less_scoped_true = __webpack_require__("2629");
|
|
26131
26056
|
|
|
26132
26057
|
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/TaskNode.vue
|
|
26133
26058
|
|
|
@@ -26140,21 +26065,162 @@ var TaskNodevue_type_style_index_0_id_13efb06a_prod_lang_less_scoped_true = __we
|
|
|
26140
26065
|
|
|
26141
26066
|
var TaskNode_component = normalizeComponent(
|
|
26142
26067
|
node_TaskNodevue_type_script_lang_js,
|
|
26143
|
-
|
|
26144
|
-
|
|
26068
|
+
TaskNodevue_type_template_id_d7966da8_scoped_true_render,
|
|
26069
|
+
TaskNodevue_type_template_id_d7966da8_scoped_true_staticRenderFns,
|
|
26145
26070
|
false,
|
|
26146
26071
|
null,
|
|
26147
|
-
"
|
|
26072
|
+
"d7966da8",
|
|
26148
26073
|
null
|
|
26149
26074
|
|
|
26150
26075
|
)
|
|
26151
26076
|
|
|
26152
26077
|
/* harmony default export */ var TaskNode = (TaskNode_component.exports);
|
|
26153
|
-
// 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/
|
|
26154
|
-
var
|
|
26078
|
+
// CONCATENATED MODULE: ../node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"f0c52eea-vue-loader-template"}!../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/babel-loader/lib!../node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib??vue-loader-options!../src/web/components/forms/flow/designer/node/SubWorkflowNode.vue?vue&type=template&id=423eb6bc&scoped=true
|
|
26079
|
+
var SubWorkflowNodevue_type_template_id_423eb6bc_scoped_true_render = function render() {
|
|
26080
|
+
var _vm$nodeHandler, _vm$nodeHandler2, _vm$nodeRef, _vm$nodeRef2, _vm$nodeRef3, _vm$nodeHandler3;
|
|
26155
26081
|
var _vm = this,
|
|
26156
26082
|
_c = _vm._self._c;
|
|
26157
|
-
return _c('div', [_c('
|
|
26083
|
+
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', {
|
|
26084
|
+
attrs: {
|
|
26085
|
+
"placement": "rightTop"
|
|
26086
|
+
},
|
|
26087
|
+
scopedSlots: _vm._u([{
|
|
26088
|
+
key: "content",
|
|
26089
|
+
fn: function fn() {
|
|
26090
|
+
return [_c('div', {
|
|
26091
|
+
staticStyle: {
|
|
26092
|
+
"min-width": "300px",
|
|
26093
|
+
"max-width": "1200px"
|
|
26094
|
+
}
|
|
26095
|
+
}, [_c('runtime-workflow-actors', {
|
|
26096
|
+
attrs: {
|
|
26097
|
+
"actors": _vm.nodeHandler.runtimeData.actorLogs[_vm.node.code]
|
|
26098
|
+
}
|
|
26099
|
+
})], 1)];
|
|
26100
|
+
},
|
|
26101
|
+
proxy: true
|
|
26102
|
+
}], null, false, 193291077)
|
|
26103
|
+
}, [_c('div', {
|
|
26104
|
+
staticClass: "node",
|
|
26105
|
+
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 : ''],
|
|
26106
|
+
on: {
|
|
26107
|
+
"click": _vm.click
|
|
26108
|
+
}
|
|
26109
|
+
}, [_c('div', {
|
|
26110
|
+
staticClass: "title"
|
|
26111
|
+
}, [_c('span', [_c('a-icon', {
|
|
26112
|
+
attrs: {
|
|
26113
|
+
"component": _vm.icon
|
|
26114
|
+
}
|
|
26115
|
+
})], 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', {
|
|
26116
|
+
attrs: {
|
|
26117
|
+
"type": "control"
|
|
26118
|
+
}
|
|
26119
|
+
})], 1) : _vm._e(), !_vm.nodeHandler.isPreview ? _c('span', {
|
|
26120
|
+
staticClass: "title-right"
|
|
26121
|
+
}, [_c('a-icon', {
|
|
26122
|
+
staticClass: "close",
|
|
26123
|
+
attrs: {
|
|
26124
|
+
"type": "close"
|
|
26125
|
+
},
|
|
26126
|
+
on: {
|
|
26127
|
+
"click": function click($event) {
|
|
26128
|
+
$event.stopPropagation();
|
|
26129
|
+
return _vm.close.apply(null, arguments);
|
|
26130
|
+
}
|
|
26131
|
+
}
|
|
26132
|
+
})], 1) : _vm._e()]), _c('div', {
|
|
26133
|
+
staticClass: "content"
|
|
26134
|
+
}, [_c('span', {
|
|
26135
|
+
staticClass: "content-main"
|
|
26136
|
+
}, [_c('span', {
|
|
26137
|
+
staticClass: "error-tooltip"
|
|
26138
|
+
}, [_c('a-tooltip', [_c('template', {
|
|
26139
|
+
slot: "title"
|
|
26140
|
+
}, [_vm._v(" " + _vm._s(_vm.node.error) + " ")]), _c('a-icon', {
|
|
26141
|
+
attrs: {
|
|
26142
|
+
"theme": "filled",
|
|
26143
|
+
"type": "warning"
|
|
26144
|
+
}
|
|
26145
|
+
})], 2)], 1), _vm.nodeContent ? _c('span', {
|
|
26146
|
+
staticStyle: {
|
|
26147
|
+
"padding-left": "5px"
|
|
26148
|
+
}
|
|
26149
|
+
}, [_c('span', {
|
|
26150
|
+
domProps: {
|
|
26151
|
+
"innerHTML": _vm._s(_vm.nodeContent)
|
|
26152
|
+
}
|
|
26153
|
+
})]) : _c('span', {
|
|
26154
|
+
staticStyle: {
|
|
26155
|
+
"padding-left": "5px",
|
|
26156
|
+
"color": "rgb(164 164 164)"
|
|
26157
|
+
}
|
|
26158
|
+
}, [_vm._v(_vm._s(_vm.defaultContent))])]), _c('span', {
|
|
26159
|
+
staticClass: "content-right"
|
|
26160
|
+
}, [!_vm.nodeHandler.isPreview ? _c('a-popover', {
|
|
26161
|
+
attrs: {
|
|
26162
|
+
"placement": "rightTop",
|
|
26163
|
+
"trigger": "click"
|
|
26164
|
+
},
|
|
26165
|
+
scopedSlots: _vm._u([{
|
|
26166
|
+
key: "title",
|
|
26167
|
+
fn: function fn() {
|
|
26168
|
+
return [_c('span', {
|
|
26169
|
+
staticStyle: {
|
|
26170
|
+
"font-size": "18px"
|
|
26171
|
+
}
|
|
26172
|
+
}, [_vm._v("追加分支")])];
|
|
26173
|
+
},
|
|
26174
|
+
proxy: true
|
|
26175
|
+
}, {
|
|
26176
|
+
key: "content",
|
|
26177
|
+
fn: function fn() {
|
|
26178
|
+
return [_c('div', {
|
|
26179
|
+
staticClass: "add-node-box"
|
|
26180
|
+
}, _vm._l(_vm.nodes, function (node, index) {
|
|
26181
|
+
var _node$icon, _node$icon2;
|
|
26182
|
+
return _c('div', {
|
|
26183
|
+
key: index,
|
|
26184
|
+
staticClass: "add-node-item",
|
|
26185
|
+
on: {
|
|
26186
|
+
"click": function click($event) {
|
|
26187
|
+
return _vm.wrapNode(node.type);
|
|
26188
|
+
}
|
|
26189
|
+
}
|
|
26190
|
+
}, [_c('div', {
|
|
26191
|
+
staticClass: "icon",
|
|
26192
|
+
style: 'color:' + node.color + ';'
|
|
26193
|
+
}, [(_node$icon = node.icon) !== null && _node$icon !== void 0 && _node$icon.component ? _c('a-icon', {
|
|
26194
|
+
attrs: {
|
|
26195
|
+
"component": node.icon.component
|
|
26196
|
+
}
|
|
26197
|
+
}) : _vm._e(), (_node$icon2 = node.icon) !== null && _node$icon2 !== void 0 && _node$icon2.type ? _c('a-icon', {
|
|
26198
|
+
attrs: {
|
|
26199
|
+
"type": node.icon.type
|
|
26200
|
+
}
|
|
26201
|
+
}) : _vm._e()], 1), _c('span', [_vm._v(_vm._s(node.name))])]);
|
|
26202
|
+
}), 0)];
|
|
26203
|
+
},
|
|
26204
|
+
proxy: true
|
|
26205
|
+
}], null, false, 2863198520),
|
|
26206
|
+
model: {
|
|
26207
|
+
value: _vm.visiblePopover,
|
|
26208
|
+
callback: function callback($$v) {
|
|
26209
|
+
_vm.visiblePopover = $$v;
|
|
26210
|
+
},
|
|
26211
|
+
expression: "visiblePopover"
|
|
26212
|
+
}
|
|
26213
|
+
}, [_c('a-icon', {
|
|
26214
|
+
attrs: {
|
|
26215
|
+
"type": "plus"
|
|
26216
|
+
},
|
|
26217
|
+
on: {
|
|
26218
|
+
"click": function click($event) {
|
|
26219
|
+
$event.stopPropagation();
|
|
26220
|
+
return function () {}.apply(null, arguments);
|
|
26221
|
+
}
|
|
26222
|
+
}
|
|
26223
|
+
})], 1) : _vm._e()], 1)])])]) : _c('div', {
|
|
26158
26224
|
staticClass: "node",
|
|
26159
26225
|
class: _vm.getClass(),
|
|
26160
26226
|
on: {
|
|
@@ -26163,10 +26229,14 @@ var TriggerNodevue_type_template_id_7af4eb1a_scoped_true_render = function rende
|
|
|
26163
26229
|
}, [_c('div', {
|
|
26164
26230
|
staticClass: "title"
|
|
26165
26231
|
}, [_c('span', [_c('a-icon', {
|
|
26232
|
+
attrs: {
|
|
26233
|
+
"component": _vm.icon
|
|
26234
|
+
}
|
|
26235
|
+
})], 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', {
|
|
26166
26236
|
attrs: {
|
|
26167
26237
|
"type": "control"
|
|
26168
26238
|
}
|
|
26169
|
-
})], 1)
|
|
26239
|
+
})], 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', {
|
|
26170
26240
|
staticClass: "title-right"
|
|
26171
26241
|
}, [_c('a-icon', {
|
|
26172
26242
|
staticClass: "close",
|
|
@@ -26196,7 +26266,970 @@ var TriggerNodevue_type_template_id_7af4eb1a_scoped_true_render = function rende
|
|
|
26196
26266
|
staticStyle: {
|
|
26197
26267
|
"padding-left": "5px"
|
|
26198
26268
|
}
|
|
26199
|
-
}, [
|
|
26269
|
+
}, [_c('span', {
|
|
26270
|
+
domProps: {
|
|
26271
|
+
"innerHTML": _vm._s(_vm.nodeContent)
|
|
26272
|
+
}
|
|
26273
|
+
})]) : _c('span', {
|
|
26274
|
+
staticStyle: {
|
|
26275
|
+
"padding-left": "5px",
|
|
26276
|
+
"color": "rgb(164 164 164)"
|
|
26277
|
+
}
|
|
26278
|
+
}, [_vm._v(_vm._s(_vm.defaultContent))])]), _c('span', {
|
|
26279
|
+
staticClass: "content-right"
|
|
26280
|
+
}, [!_vm.nodeHandler.isPreview ? _c('a-popover', {
|
|
26281
|
+
attrs: {
|
|
26282
|
+
"placement": "rightTop",
|
|
26283
|
+
"trigger": "click"
|
|
26284
|
+
},
|
|
26285
|
+
scopedSlots: _vm._u([{
|
|
26286
|
+
key: "title",
|
|
26287
|
+
fn: function fn() {
|
|
26288
|
+
return [_c('span', {
|
|
26289
|
+
staticStyle: {
|
|
26290
|
+
"font-size": "18px"
|
|
26291
|
+
}
|
|
26292
|
+
}, [_vm._v("追加分支")])];
|
|
26293
|
+
},
|
|
26294
|
+
proxy: true
|
|
26295
|
+
}, {
|
|
26296
|
+
key: "content",
|
|
26297
|
+
fn: function fn() {
|
|
26298
|
+
return [_c('div', {
|
|
26299
|
+
staticClass: "add-node-box"
|
|
26300
|
+
}, _vm._l(_vm.nodes, function (node, index) {
|
|
26301
|
+
var _node$icon3, _node$icon4;
|
|
26302
|
+
return _c('div', {
|
|
26303
|
+
key: index,
|
|
26304
|
+
staticClass: "add-node-item",
|
|
26305
|
+
on: {
|
|
26306
|
+
"click": function click($event) {
|
|
26307
|
+
return _vm.wrapNode(node.type);
|
|
26308
|
+
}
|
|
26309
|
+
}
|
|
26310
|
+
}, [_c('div', {
|
|
26311
|
+
staticClass: "icon",
|
|
26312
|
+
style: 'color:' + node.color + ';'
|
|
26313
|
+
}, [(_node$icon3 = node.icon) !== null && _node$icon3 !== void 0 && _node$icon3.component ? _c('a-icon', {
|
|
26314
|
+
attrs: {
|
|
26315
|
+
"component": node.icon.component
|
|
26316
|
+
}
|
|
26317
|
+
}) : _vm._e(), (_node$icon4 = node.icon) !== null && _node$icon4 !== void 0 && _node$icon4.type ? _c('a-icon', {
|
|
26318
|
+
attrs: {
|
|
26319
|
+
"type": node.icon.type
|
|
26320
|
+
}
|
|
26321
|
+
}) : _vm._e()], 1), _c('span', [_vm._v(_vm._s(node.name))])]);
|
|
26322
|
+
}), 0)];
|
|
26323
|
+
},
|
|
26324
|
+
proxy: true
|
|
26325
|
+
}], null, false, 2863198520),
|
|
26326
|
+
model: {
|
|
26327
|
+
value: _vm.visiblePopover,
|
|
26328
|
+
callback: function callback($$v) {
|
|
26329
|
+
_vm.visiblePopover = $$v;
|
|
26330
|
+
},
|
|
26331
|
+
expression: "visiblePopover"
|
|
26332
|
+
}
|
|
26333
|
+
}, [_c('a-icon', {
|
|
26334
|
+
attrs: {
|
|
26335
|
+
"type": "plus"
|
|
26336
|
+
},
|
|
26337
|
+
on: {
|
|
26338
|
+
"click": function click($event) {
|
|
26339
|
+
$event.stopPropagation();
|
|
26340
|
+
return function () {}.apply(null, arguments);
|
|
26341
|
+
}
|
|
26342
|
+
}
|
|
26343
|
+
})], 1) : _vm._e()], 1)])]), !_vm.nodeHandler.isPreview ? _c('a-drawer', {
|
|
26344
|
+
attrs: {
|
|
26345
|
+
"closable": true,
|
|
26346
|
+
"visible": _vm.visibleDrawer,
|
|
26347
|
+
"width": 720,
|
|
26348
|
+
"placement": "right"
|
|
26349
|
+
},
|
|
26350
|
+
on: {
|
|
26351
|
+
"close": _vm.hideDrawer
|
|
26352
|
+
}
|
|
26353
|
+
}, [!_vm.editName ? _c('div', {
|
|
26354
|
+
staticClass: "node-drawer-title",
|
|
26355
|
+
on: {
|
|
26356
|
+
"click": _vm.showEditName
|
|
26357
|
+
}
|
|
26358
|
+
}, [_c('a-icon', {
|
|
26359
|
+
attrs: {
|
|
26360
|
+
"type": "edit"
|
|
26361
|
+
}
|
|
26362
|
+
}), _vm._v(" " + _vm._s(_vm.node.name) + " ")], 1) : _vm._e(), _c('a-form-model', {
|
|
26363
|
+
directives: [{
|
|
26364
|
+
name: "show",
|
|
26365
|
+
rawName: "v-show",
|
|
26366
|
+
value: _vm.editName,
|
|
26367
|
+
expression: "editName"
|
|
26368
|
+
}],
|
|
26369
|
+
ref: "nameForm",
|
|
26370
|
+
attrs: {
|
|
26371
|
+
"model": _vm.nodeRef,
|
|
26372
|
+
"rules": {
|
|
26373
|
+
name: [{
|
|
26374
|
+
required: true,
|
|
26375
|
+
message: '请填写节点名称',
|
|
26376
|
+
trigger: 'blur'
|
|
26377
|
+
}, {
|
|
26378
|
+
min: 2,
|
|
26379
|
+
max: 20,
|
|
26380
|
+
message: '2-20个字',
|
|
26381
|
+
trigger: 'blur'
|
|
26382
|
+
}]
|
|
26383
|
+
},
|
|
26384
|
+
"layout": "inline"
|
|
26385
|
+
}
|
|
26386
|
+
}, [_c('a-form-model-item', {
|
|
26387
|
+
ref: "name",
|
|
26388
|
+
attrs: {
|
|
26389
|
+
"prop": "name"
|
|
26390
|
+
}
|
|
26391
|
+
}, [_c('a-input', {
|
|
26392
|
+
ref: "nameInput",
|
|
26393
|
+
attrs: {
|
|
26394
|
+
"placeholder": "节点名称"
|
|
26395
|
+
},
|
|
26396
|
+
on: {
|
|
26397
|
+
"blur": function blur() {
|
|
26398
|
+
_vm.editName = false;
|
|
26399
|
+
}
|
|
26400
|
+
},
|
|
26401
|
+
model: {
|
|
26402
|
+
value: _vm.nodeRef.name,
|
|
26403
|
+
callback: function callback($$v) {
|
|
26404
|
+
_vm.$set(_vm.nodeRef, "name", $$v);
|
|
26405
|
+
},
|
|
26406
|
+
expression: "nodeRef.name"
|
|
26407
|
+
}
|
|
26408
|
+
})], 1)], 1), _c('a-tabs', {
|
|
26409
|
+
attrs: {
|
|
26410
|
+
"default-active-key": "1"
|
|
26411
|
+
},
|
|
26412
|
+
on: {
|
|
26413
|
+
"change": _vm.changeTags
|
|
26414
|
+
},
|
|
26415
|
+
model: {
|
|
26416
|
+
value: _vm.tabKey,
|
|
26417
|
+
callback: function callback($$v) {
|
|
26418
|
+
_vm.tabKey = $$v;
|
|
26419
|
+
},
|
|
26420
|
+
expression: "tabKey"
|
|
26421
|
+
}
|
|
26422
|
+
}, [_c('a-tab-pane', {
|
|
26423
|
+
key: "configs",
|
|
26424
|
+
attrs: {
|
|
26425
|
+
"tab": "相关配置"
|
|
26426
|
+
}
|
|
26427
|
+
}, [_c('div', {
|
|
26428
|
+
staticClass: "node-form-item"
|
|
26429
|
+
}, [_c('a-divider', {
|
|
26430
|
+
attrs: {
|
|
26431
|
+
"orientation": "left"
|
|
26432
|
+
}
|
|
26433
|
+
}, [_vm._v("选择子流程")]), _c('a-row', [_c('a-col', {
|
|
26434
|
+
attrs: {
|
|
26435
|
+
"span": 24
|
|
26436
|
+
}
|
|
26437
|
+
}, [_c('a-select', {
|
|
26438
|
+
staticClass: "node-form-item",
|
|
26439
|
+
staticStyle: {
|
|
26440
|
+
"width": "100%"
|
|
26441
|
+
},
|
|
26442
|
+
attrs: {
|
|
26443
|
+
"default-active-first-option": false,
|
|
26444
|
+
"filter-option": false,
|
|
26445
|
+
"not-found-content": null,
|
|
26446
|
+
"show-arrow": false,
|
|
26447
|
+
"placeholder": "请输入表单流程名称",
|
|
26448
|
+
"show-search": ""
|
|
26449
|
+
},
|
|
26450
|
+
on: {
|
|
26451
|
+
"change": _vm.optionModelChange,
|
|
26452
|
+
"search": _vm.optionModelSearch
|
|
26453
|
+
},
|
|
26454
|
+
model: {
|
|
26455
|
+
value: _vm.nodeRef.data.sub_model_id,
|
|
26456
|
+
callback: function callback($$v) {
|
|
26457
|
+
_vm.$set(_vm.nodeRef.data, "sub_model_id", $$v);
|
|
26458
|
+
},
|
|
26459
|
+
expression: "nodeRef.data.sub_model_id"
|
|
26460
|
+
}
|
|
26461
|
+
}, _vm._l(_vm.optionModelList, function (d) {
|
|
26462
|
+
return _c('a-select-option', {
|
|
26463
|
+
key: d.value,
|
|
26464
|
+
attrs: {
|
|
26465
|
+
"value": d.value
|
|
26466
|
+
}
|
|
26467
|
+
}, [_vm._v(" " + _vm._s(d.text) + " ")]);
|
|
26468
|
+
}), 1)], 1)], 1)], 1), _c('div', {
|
|
26469
|
+
staticClass: "node-form-item"
|
|
26470
|
+
}, [_c('a-divider', {
|
|
26471
|
+
attrs: {
|
|
26472
|
+
"orientation": "left"
|
|
26473
|
+
}
|
|
26474
|
+
}, [_vm._v("启动模式")]), _c('a-row', {
|
|
26475
|
+
staticStyle: {
|
|
26476
|
+
"display": "flex",
|
|
26477
|
+
"align-items": "center",
|
|
26478
|
+
"margin-bottom": "5px"
|
|
26479
|
+
}
|
|
26480
|
+
}, [_c('a-col', {
|
|
26481
|
+
attrs: {
|
|
26482
|
+
"span": 4
|
|
26483
|
+
}
|
|
26484
|
+
}, [_vm._v("启动模式")]), _c('a-col', {
|
|
26485
|
+
attrs: {
|
|
26486
|
+
"span": 20
|
|
26487
|
+
}
|
|
26488
|
+
}, [_c('a-radio-group', {
|
|
26489
|
+
staticStyle: {
|
|
26490
|
+
"margin-right": "10px"
|
|
26491
|
+
},
|
|
26492
|
+
attrs: {
|
|
26493
|
+
"button-style": "solid"
|
|
26494
|
+
},
|
|
26495
|
+
model: {
|
|
26496
|
+
value: _vm.nodeRef.data.other_options.startMode,
|
|
26497
|
+
callback: function callback($$v) {
|
|
26498
|
+
_vm.$set(_vm.nodeRef.data.other_options, "startMode", $$v);
|
|
26499
|
+
},
|
|
26500
|
+
expression: "nodeRef.data.other_options.startMode"
|
|
26501
|
+
}
|
|
26502
|
+
}, [_c('a-radio-button', {
|
|
26503
|
+
attrs: {
|
|
26504
|
+
"value": "auto"
|
|
26505
|
+
}
|
|
26506
|
+
}, [_vm._v(" 自动 ")]), _c('a-radio-button', {
|
|
26507
|
+
attrs: {
|
|
26508
|
+
"value": "handler",
|
|
26509
|
+
"disabled": ""
|
|
26510
|
+
}
|
|
26511
|
+
}, [_vm._v(" 手动 ")])], 1)], 1)], 1)], 1), _c('div', {
|
|
26512
|
+
staticClass: "node-form-item"
|
|
26513
|
+
}, [_c('a-divider', {
|
|
26514
|
+
attrs: {
|
|
26515
|
+
"orientation": "left"
|
|
26516
|
+
}
|
|
26517
|
+
}, [_vm._v("运行模式")]), _c('a-row', {
|
|
26518
|
+
staticStyle: {
|
|
26519
|
+
"display": "flex",
|
|
26520
|
+
"align-items": "center",
|
|
26521
|
+
"margin-bottom": "5px"
|
|
26522
|
+
}
|
|
26523
|
+
}, [_c('a-col', {
|
|
26524
|
+
attrs: {
|
|
26525
|
+
"span": 4
|
|
26526
|
+
}
|
|
26527
|
+
}, [_vm._v("运行模式")]), _c('a-col', {
|
|
26528
|
+
attrs: {
|
|
26529
|
+
"span": 20
|
|
26530
|
+
}
|
|
26531
|
+
}, [_c('a-radio-group', {
|
|
26532
|
+
staticStyle: {
|
|
26533
|
+
"margin-right": "10px"
|
|
26534
|
+
},
|
|
26535
|
+
attrs: {
|
|
26536
|
+
"button-style": "solid"
|
|
26537
|
+
},
|
|
26538
|
+
model: {
|
|
26539
|
+
value: _vm.nodeRef.data.other_options.operateMode,
|
|
26540
|
+
callback: function callback($$v) {
|
|
26541
|
+
_vm.$set(_vm.nodeRef.data.other_options, "operateMode", $$v);
|
|
26542
|
+
},
|
|
26543
|
+
expression: "nodeRef.data.other_options.operateMode"
|
|
26544
|
+
}
|
|
26545
|
+
}, [_c('a-radio-button', {
|
|
26546
|
+
attrs: {
|
|
26547
|
+
"value": "sync"
|
|
26548
|
+
}
|
|
26549
|
+
}, [_vm._v(" 同步 ")]), _c('a-radio-button', {
|
|
26550
|
+
attrs: {
|
|
26551
|
+
"value": "async",
|
|
26552
|
+
"disabled": ""
|
|
26553
|
+
}
|
|
26554
|
+
}, [_vm._v(" 异步 ")])], 1)], 1)], 1)], 1), _c('div', {
|
|
26555
|
+
staticClass: "node-form-item"
|
|
26556
|
+
}, [_c('a-divider', {
|
|
26557
|
+
attrs: {
|
|
26558
|
+
"orientation": "left"
|
|
26559
|
+
}
|
|
26560
|
+
}, [_vm._v("传入数据")]), _c('a-row', {
|
|
26561
|
+
staticStyle: {
|
|
26562
|
+
"display": "flex",
|
|
26563
|
+
"align-items": "center",
|
|
26564
|
+
"margin-bottom": "5px"
|
|
26565
|
+
}
|
|
26566
|
+
}, [_c('a-col', {
|
|
26567
|
+
attrs: {
|
|
26568
|
+
"span": 4
|
|
26569
|
+
}
|
|
26570
|
+
}, [_vm._v("传入数据")]), _c('a-col', {
|
|
26571
|
+
attrs: {
|
|
26572
|
+
"span": 20
|
|
26573
|
+
}
|
|
26574
|
+
}, [_c('a-radio-group', {
|
|
26575
|
+
staticStyle: {
|
|
26576
|
+
"margin-right": "10px"
|
|
26577
|
+
},
|
|
26578
|
+
attrs: {
|
|
26579
|
+
"button-style": "solid"
|
|
26580
|
+
},
|
|
26581
|
+
model: {
|
|
26582
|
+
value: _vm.nodeRef.data.other_options.inputData,
|
|
26583
|
+
callback: function callback($$v) {
|
|
26584
|
+
_vm.$set(_vm.nodeRef.data.other_options, "inputData", $$v);
|
|
26585
|
+
},
|
|
26586
|
+
expression: "nodeRef.data.other_options.inputData"
|
|
26587
|
+
}
|
|
26588
|
+
}, [_c('a-radio-button', {
|
|
26589
|
+
attrs: {
|
|
26590
|
+
"value": "before"
|
|
26591
|
+
}
|
|
26592
|
+
}, [_vm._v(" 上一节点 ")]), _c('a-radio-button', {
|
|
26593
|
+
attrs: {
|
|
26594
|
+
"value": "host",
|
|
26595
|
+
"disabled": ""
|
|
26596
|
+
}
|
|
26597
|
+
}, [_vm._v(" 主流程 ")])], 1)], 1)], 1)], 1)])], 1)], 1) : _vm._e()], 1);
|
|
26598
|
+
};
|
|
26599
|
+
var SubWorkflowNodevue_type_template_id_423eb6bc_scoped_true_staticRenderFns = [];
|
|
26600
|
+
|
|
26601
|
+
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/SubWorkflowNode.vue?vue&type=template&id=423eb6bc&scoped=true
|
|
26602
|
+
|
|
26603
|
+
// 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
|
|
26604
|
+
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); }
|
|
26605
|
+
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; }
|
|
26606
|
+
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); } }
|
|
26607
|
+
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); }); }; }
|
|
26608
|
+
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; } } }; }
|
|
26609
|
+
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); }
|
|
26610
|
+
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; }
|
|
26611
|
+
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; }
|
|
26612
|
+
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; }
|
|
26613
|
+
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; }
|
|
26614
|
+
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); }
|
|
26615
|
+
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); }
|
|
26616
|
+
|
|
26617
|
+
|
|
26618
|
+
|
|
26619
|
+
|
|
26620
|
+
/* harmony default export */ var SubWorkflowNodevue_type_script_lang_js = ({
|
|
26621
|
+
name: 'SubWorkflowNode',
|
|
26622
|
+
props: {
|
|
26623
|
+
node: designer_NodeItem,
|
|
26624
|
+
nodeHandler: Object
|
|
26625
|
+
},
|
|
26626
|
+
components: {
|
|
26627
|
+
RuntimeWorkflowActors: RuntimeWorkFlowActors
|
|
26628
|
+
},
|
|
26629
|
+
data: function data() {
|
|
26630
|
+
return {
|
|
26631
|
+
defaultContent: '请选择',
|
|
26632
|
+
editName: false,
|
|
26633
|
+
tabKey: 'configs',
|
|
26634
|
+
optionModelId: null,
|
|
26635
|
+
// cache 缓存用途,ISSUE: change事件不会返回之前的value
|
|
26636
|
+
optionModelList: [],
|
|
26637
|
+
optionFormsColumns: [{
|
|
26638
|
+
title: '表单属性',
|
|
26639
|
+
key: 'attrName',
|
|
26640
|
+
scopedSlots: {
|
|
26641
|
+
customRender: 'attrName'
|
|
26642
|
+
}
|
|
26643
|
+
}, {
|
|
26644
|
+
key: 'none',
|
|
26645
|
+
slots: {
|
|
26646
|
+
title: 'noneColumn'
|
|
26647
|
+
},
|
|
26648
|
+
scopedSlots: {
|
|
26649
|
+
customRender: 'none'
|
|
26650
|
+
}
|
|
26651
|
+
}, {
|
|
26652
|
+
key: 'readonly',
|
|
26653
|
+
slots: {
|
|
26654
|
+
title: 'readonlyColumn'
|
|
26655
|
+
},
|
|
26656
|
+
scopedSlots: {
|
|
26657
|
+
customRender: 'readonly'
|
|
26658
|
+
}
|
|
26659
|
+
}, {
|
|
26660
|
+
key: 'write',
|
|
26661
|
+
slots: {
|
|
26662
|
+
title: 'writeColumn'
|
|
26663
|
+
},
|
|
26664
|
+
scopedSlots: {
|
|
26665
|
+
customRender: 'write'
|
|
26666
|
+
}
|
|
26667
|
+
}, {
|
|
26668
|
+
title: '必填',
|
|
26669
|
+
dataIndex: 'required',
|
|
26670
|
+
key: 'required',
|
|
26671
|
+
scopedSlots: {
|
|
26672
|
+
customRender: 'required'
|
|
26673
|
+
}
|
|
26674
|
+
}],
|
|
26675
|
+
orgMap: null,
|
|
26676
|
+
orgData: [],
|
|
26677
|
+
roles: [],
|
|
26678
|
+
users: [],
|
|
26679
|
+
viewNameTimeout: null,
|
|
26680
|
+
viewAttrLoading: true,
|
|
26681
|
+
driverList: null,
|
|
26682
|
+
driverTimeout: null,
|
|
26683
|
+
optionFormsCache: {},
|
|
26684
|
+
formsColumnFilter: undefined,
|
|
26685
|
+
formsColumnAccess: 'all'
|
|
26686
|
+
};
|
|
26687
|
+
},
|
|
26688
|
+
// eslint-disable-next-line vue/no-setup-props-destructure
|
|
26689
|
+
setup: function setup(_ref) {
|
|
26690
|
+
var node = _ref.node,
|
|
26691
|
+
nodeHandler = _ref.nodeHandler;
|
|
26692
|
+
// icon;
|
|
26693
|
+
var icon = {
|
|
26694
|
+
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 "
|
|
26695
|
+
};
|
|
26696
|
+
|
|
26697
|
+
// drawer support
|
|
26698
|
+
var visibleDrawer = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["ref"])(false);
|
|
26699
|
+
|
|
26700
|
+
// -------------------------------------------------------------------------------------
|
|
26701
|
+
/**
|
|
26702
|
+
* @type {EadApi}
|
|
26703
|
+
*/
|
|
26704
|
+
// eslint-disable-next-line vue/no-setup-props-destructure
|
|
26705
|
+
var eadApi = nodeHandler.businessAdapter.eadApi;
|
|
26706
|
+
var defaultData = function defaultData() {
|
|
26707
|
+
return {
|
|
26708
|
+
eadCache: {
|
|
26709
|
+
workflow: {}
|
|
26710
|
+
},
|
|
26711
|
+
actor_config: {
|
|
26712
|
+
type: 'expression',
|
|
26713
|
+
// 发起人自己,sponsor
|
|
26714
|
+
expression: [
|
|
26715
|
+
// { type: 'uid', user: [] ,orgId: undefined, roleId: undefined, groupId: undefined}, // {sponsor} 发起人自己
|
|
26716
|
+
{
|
|
26717
|
+
type: 'org',
|
|
26718
|
+
user: [],
|
|
26719
|
+
orgId: undefined,
|
|
26720
|
+
roleId: undefined,
|
|
26721
|
+
groupId: undefined
|
|
26722
|
+
} // {sponsor_org} 发起人所在部门
|
|
26723
|
+
],
|
|
26724
|
+
optional: {
|
|
26725
|
+
enable: false,
|
|
26726
|
+
multi: false
|
|
26727
|
+
},
|
|
26728
|
+
// 自选配置
|
|
26729
|
+
check_mode: 'queue' // 多人审批模式,// 'orsign','sign'
|
|
26730
|
+
},
|
|
26731
|
+
option_view_id: '',
|
|
26732
|
+
option_forms: [],
|
|
26733
|
+
back_type: 'start',
|
|
26734
|
+
// start:退回发起者,before:退回上一步,assign:指定退回节点,custom:自主选择回退节点,bpmn:后续步骤
|
|
26735
|
+
back_node_id: '',
|
|
26736
|
+
custom_back_nodes: [],
|
|
26737
|
+
timeout_remind: {
|
|
26738
|
+
enable: false,
|
|
26739
|
+
outTime: {
|
|
26740
|
+
time: 1,
|
|
26741
|
+
unit: 'day'
|
|
26742
|
+
},
|
|
26743
|
+
// 超时时间, 单位 minute,hour,day,week,month,year
|
|
26744
|
+
outCycle: 'once',
|
|
26745
|
+
// 提醒周期,--once:一次,--day:每日 --week: 每周,--month:每月,==year:每年
|
|
26746
|
+
outDriver: undefined // 超时驱动,--null:default 默认消息通知,-- 自定义驱动名称
|
|
26747
|
+
},
|
|
26748
|
+
page_options: {
|
|
26749
|
+
allowEdit: false,
|
|
26750
|
+
// 允许编辑, -- true:允许, false: 不允许
|
|
26751
|
+
allowInvolve: false,
|
|
26752
|
+
// 允许加签, -- true:允许, false: 不允许
|
|
26753
|
+
allowReassign: false,
|
|
26754
|
+
// 允许转办, -- true:允许, false: 不允许
|
|
26755
|
+
allowBack: false,
|
|
26756
|
+
// 允许退回, -- true:允许, false: 不允许
|
|
26757
|
+
allowEnd: false // 允许结束, -- true:允许, false: 不允许
|
|
26758
|
+
},
|
|
26759
|
+
other_options: {
|
|
26760
|
+
allowReceipt: false,
|
|
26761
|
+
// 是否回执,
|
|
26762
|
+
allowWithdraw: false,
|
|
26763
|
+
// 允许撤回: false
|
|
26764
|
+
approverIsNull: 'error',
|
|
26765
|
+
// 审批人为空时,next:自动下一步 ,error:提示错误
|
|
26766
|
+
resPath: null,
|
|
26767
|
+
// 视图资源地址
|
|
26768
|
+
redirectUri: null,
|
|
26769
|
+
// 消息地址
|
|
26770
|
+
assert: [],
|
|
26771
|
+
custom_action: {},
|
|
26772
|
+
subModelName: '',
|
|
26773
|
+
// 子流程模式名称
|
|
26774
|
+
startMode: 'auto',
|
|
26775
|
+
// 启动模式, "auto": 自动, "handler": 手动
|
|
26776
|
+
operateMode: 'sync',
|
|
26777
|
+
// 运行模式,"sync":同步,"async":异步
|
|
26778
|
+
inputData: 'before' // 传入数据, "before":上一节点,"host":主流程
|
|
26779
|
+
},
|
|
26780
|
+
notice_template: null
|
|
26781
|
+
};
|
|
26782
|
+
};
|
|
26783
|
+
if (!node.data) {
|
|
26784
|
+
// eslint-disable-next-line vue/no-mutating-props
|
|
26785
|
+
node.data = defaultData();
|
|
26786
|
+
}
|
|
26787
|
+
|
|
26788
|
+
// 兼容更新
|
|
26789
|
+
if (!node.data.other_options.custom_action) {
|
|
26790
|
+
// eslint-disable-next-line vue/no-mutating-props
|
|
26791
|
+
node.data.other_options.custom_action = {};
|
|
26792
|
+
}
|
|
26793
|
+
if (!node.data.other_options.assert) {
|
|
26794
|
+
// eslint-disable-next-line vue/no-mutating-props
|
|
26795
|
+
node.data.other_options.assert = [];
|
|
26796
|
+
}
|
|
26797
|
+
|
|
26798
|
+
// ------------------------------------------------------------------------------------------------
|
|
26799
|
+
|
|
26800
|
+
// eslint-disable-next-line no-return-assign
|
|
26801
|
+
var showDrawer = function showDrawer() {
|
|
26802
|
+
return visibleDrawer.value = true;
|
|
26803
|
+
};
|
|
26804
|
+
var drawer = {
|
|
26805
|
+
visibleDrawer: visibleDrawer,
|
|
26806
|
+
showDrawer: showDrawer
|
|
26807
|
+
};
|
|
26808
|
+
|
|
26809
|
+
// popover support
|
|
26810
|
+
var visiblePopover = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["ref"])(false);
|
|
26811
|
+
// eslint-disable-next-line no-return-assign
|
|
26812
|
+
var hidePopover = function hidePopover() {
|
|
26813
|
+
return visiblePopover.value = false;
|
|
26814
|
+
};
|
|
26815
|
+
// eslint-disable-next-line no-return-assign
|
|
26816
|
+
var showPopover = function showPopover() {
|
|
26817
|
+
return visiblePopover.value = true;
|
|
26818
|
+
};
|
|
26819
|
+
var popover = {
|
|
26820
|
+
visiblePopover: visiblePopover,
|
|
26821
|
+
showPopover: showPopover,
|
|
26822
|
+
hidePopover: hidePopover
|
|
26823
|
+
};
|
|
26824
|
+
|
|
26825
|
+
// wrapNode
|
|
26826
|
+
var nodes = [{
|
|
26827
|
+
name: '条件分支',
|
|
26828
|
+
type: designer_NodeType.JUDGE_WRAP,
|
|
26829
|
+
icon: {
|
|
26830
|
+
type: 'apartment'
|
|
26831
|
+
},
|
|
26832
|
+
color: 'rgb(21, 188, 131)'
|
|
26833
|
+
}, {
|
|
26834
|
+
name: '并行分支',
|
|
26835
|
+
type: designer_NodeType.PARALLEL_WRAP,
|
|
26836
|
+
icon: {
|
|
26837
|
+
type: 'sliders'
|
|
26838
|
+
},
|
|
26839
|
+
color: 'rgb(113, 141, 255)'
|
|
26840
|
+
}];
|
|
26841
|
+
var wrapNode = function wrapNode(type) {
|
|
26842
|
+
nodeHandler.wrapNode(node.code, {
|
|
26843
|
+
type: type
|
|
26844
|
+
});
|
|
26845
|
+
};
|
|
26846
|
+
var wrapNodeR = {
|
|
26847
|
+
nodes: nodes,
|
|
26848
|
+
wrapNode: wrapNode
|
|
26849
|
+
};
|
|
26850
|
+
var noticeTemplateAttr = nodeHandler.isPreview ? null : nodeHandler.businessAdapter.eadApi.getCurrentViewSchema().model.attrs.find(function (attr) {
|
|
26851
|
+
return attr.name === 'notice_template';
|
|
26852
|
+
});
|
|
26853
|
+
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({
|
|
26854
|
+
icon: icon
|
|
26855
|
+
}, drawer), popover), wrapNodeR), {}, {
|
|
26856
|
+
nodeRef: node,
|
|
26857
|
+
eadApi: eadApi,
|
|
26858
|
+
noticeTemplateAttr: noticeTemplateAttr
|
|
26859
|
+
});
|
|
26860
|
+
},
|
|
26861
|
+
computed: {
|
|
26862
|
+
isSingle: function isSingle() {
|
|
26863
|
+
if (this.nodeRef.data.actor_config.type === 'expression') {
|
|
26864
|
+
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;
|
|
26865
|
+
}
|
|
26866
|
+
if (this.nodeRef.data.actor_config.type === 'sponsor') {
|
|
26867
|
+
return true;
|
|
26868
|
+
}
|
|
26869
|
+
return false;
|
|
26870
|
+
},
|
|
26871
|
+
availableBackStep: function availableBackStep() {
|
|
26872
|
+
var availableBackStep = this.nodeHandler.businessAdapter.getAvailableBackStep(this.node.code).map(function (node) {
|
|
26873
|
+
return {
|
|
26874
|
+
value: node.code,
|
|
26875
|
+
label: node.name
|
|
26876
|
+
};
|
|
26877
|
+
});
|
|
26878
|
+
// eslint-disable-next-line vue/no-mutating-props,vue/no-side-effects-in-computed-properties
|
|
26879
|
+
if (availableBackStep.length) {
|
|
26880
|
+
// eslint-disable-next-line vue/no-mutating-props,vue/no-side-effects-in-computed-properties
|
|
26881
|
+
this.node.data.back_node_id = availableBackStep[0].value;
|
|
26882
|
+
// eslint-disable-next-line vue/no-mutating-props,vue/no-side-effects-in-computed-properties
|
|
26883
|
+
this.node.data.custom_back_nodes = availableBackStep.map(function (o) {
|
|
26884
|
+
return o.value;
|
|
26885
|
+
});
|
|
26886
|
+
}
|
|
26887
|
+
return availableBackStep;
|
|
26888
|
+
},
|
|
26889
|
+
'nodeContent': function nodeContent() {
|
|
26890
|
+
var _this$nodeRef;
|
|
26891
|
+
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;
|
|
26892
|
+
},
|
|
26893
|
+
'optionFormsRadio': function optionFormsRadio() {
|
|
26894
|
+
var optionForms = this.node.data.option_forms;
|
|
26895
|
+
if (!optionForms.length) {
|
|
26896
|
+
return '-';
|
|
26897
|
+
}
|
|
26898
|
+
var access = optionForms[0].access;
|
|
26899
|
+
if (optionForms.filter(function (value) {
|
|
26900
|
+
return value.access === access;
|
|
26901
|
+
}).length === optionForms.length) {
|
|
26902
|
+
return access;
|
|
26903
|
+
}
|
|
26904
|
+
return '-';
|
|
26905
|
+
},
|
|
26906
|
+
businessOrgData: function businessOrgData() {
|
|
26907
|
+
var children = [];
|
|
26908
|
+
var org = {
|
|
26909
|
+
title: '操作视图',
|
|
26910
|
+
// eslint-disable-next-line no-template-curly-in-string
|
|
26911
|
+
value: '${form_option_view}',
|
|
26912
|
+
// eslint-disable-next-line no-template-curly-in-string
|
|
26913
|
+
key: '${form_option_view}',
|
|
26914
|
+
disabled: true,
|
|
26915
|
+
children: children
|
|
26916
|
+
};
|
|
26917
|
+
if (!this.nodeRef.data.option_forms || !this.nodeRef.data.option_forms.length) {
|
|
26918
|
+
return org;
|
|
26919
|
+
}
|
|
26920
|
+
this.nodeRef.data.option_forms.forEach(function (attr) {
|
|
26921
|
+
children.push({
|
|
26922
|
+
title: attr.attrName,
|
|
26923
|
+
value: '${' + attr.attrCode + '}',
|
|
26924
|
+
key: '${' + attr.attrCode + '}',
|
|
26925
|
+
children: []
|
|
26926
|
+
});
|
|
26927
|
+
});
|
|
26928
|
+
return org;
|
|
26929
|
+
},
|
|
26930
|
+
businessUserData: function businessUserData() {
|
|
26931
|
+
var users = [];
|
|
26932
|
+
if (!this.nodeRef.data.option_forms || !this.nodeRef.data.option_forms.length) {
|
|
26933
|
+
return users;
|
|
26934
|
+
}
|
|
26935
|
+
this.nodeRef.data.option_forms.forEach(function (attr) {
|
|
26936
|
+
users.push({
|
|
26937
|
+
label: attr.attrName + '(操作视图)',
|
|
26938
|
+
title: attr.attrName + '(操作视图)',
|
|
26939
|
+
value: '${' + attr.attrCode + '}',
|
|
26940
|
+
key: attr.attrName + '-' + attr.attrCode + '(操作视图)',
|
|
26941
|
+
children: []
|
|
26942
|
+
});
|
|
26943
|
+
});
|
|
26944
|
+
return users;
|
|
26945
|
+
}
|
|
26946
|
+
},
|
|
26947
|
+
methods: {
|
|
26948
|
+
filterDataset: function filterDataset(filter, dataset, datasetKeys) {
|
|
26949
|
+
var _this = this;
|
|
26950
|
+
if (!filter) {
|
|
26951
|
+
return dataset.filter(function (o) {
|
|
26952
|
+
return _this.formsColumnAccess === 'all' || _this.formsColumnAccess.indexOf(o.access.toString()) !== -1;
|
|
26953
|
+
});
|
|
26954
|
+
}
|
|
26955
|
+
return dataset.filter(function (o) {
|
|
26956
|
+
var _iterator = SubWorkflowNodevue_type_script_lang_js_createForOfIteratorHelper(datasetKeys),
|
|
26957
|
+
_step;
|
|
26958
|
+
try {
|
|
26959
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
26960
|
+
var key = _step.value;
|
|
26961
|
+
if (o[key].toString().toLowerCase().includes(filter.toLowerCase())) {
|
|
26962
|
+
return true;
|
|
26963
|
+
}
|
|
26964
|
+
}
|
|
26965
|
+
} catch (err) {
|
|
26966
|
+
_iterator.e(err);
|
|
26967
|
+
} finally {
|
|
26968
|
+
_iterator.f();
|
|
26969
|
+
}
|
|
26970
|
+
return false;
|
|
26971
|
+
}).filter(function (o) {
|
|
26972
|
+
return _this.formsColumnAccess === 'all' || _this.formsColumnAccess.indexOf(o.access.toString()) !== -1;
|
|
26973
|
+
});
|
|
26974
|
+
},
|
|
26975
|
+
getClass: function getClass() {
|
|
26976
|
+
var _this$nodeHandler, _this$nodeHandler2, _this$nodeHandler3;
|
|
26977
|
+
var classes = '';
|
|
26978
|
+
if (this.node.error) {
|
|
26979
|
+
classes += ' error';
|
|
26980
|
+
}
|
|
26981
|
+
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) {
|
|
26982
|
+
classes += ' ongoing';
|
|
26983
|
+
} 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) {
|
|
26984
|
+
classes += this.nodeHandler.runtimeData.caseNodes[this.node.code].status;
|
|
26985
|
+
}
|
|
26986
|
+
return classes;
|
|
26987
|
+
},
|
|
26988
|
+
filterUser: function filterUser(input, _ref2) {
|
|
26989
|
+
var data = _ref2.data;
|
|
26990
|
+
return data.key.indexOf(input) !== -1;
|
|
26991
|
+
},
|
|
26992
|
+
/**
|
|
26993
|
+
*
|
|
26994
|
+
* @param node {NodeItem}
|
|
26995
|
+
*/
|
|
26996
|
+
loadCache: function loadCache(node) {
|
|
26997
|
+
var _node$data$eadCache$w, _node$data, _node$data$eadCache$w2, _node$data2;
|
|
26998
|
+
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;
|
|
26999
|
+
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;
|
|
27000
|
+
},
|
|
27001
|
+
handleDriverChange: function handleDriverChange(a, s) {},
|
|
27002
|
+
handleDriverSearch: function handleDriverSearch(s) {
|
|
27003
|
+
var _this2 = this;
|
|
27004
|
+
if (this.driverTimeout) {
|
|
27005
|
+
clearTimeout(this.driverTimeout);
|
|
27006
|
+
this.driverTimeout = null;
|
|
27007
|
+
}
|
|
27008
|
+
var go = function go() {
|
|
27009
|
+
if (!s) {
|
|
27010
|
+
return;
|
|
27011
|
+
}
|
|
27012
|
+
_this2.eadApi.getDrivers(s).then(function (value) {
|
|
27013
|
+
_this2.driverList = value.map(function (item) {
|
|
27014
|
+
return {
|
|
27015
|
+
value: item.driver_id,
|
|
27016
|
+
label: item.driver_name,
|
|
27017
|
+
title: item.driver_name
|
|
27018
|
+
};
|
|
27019
|
+
});
|
|
27020
|
+
_this2.nodeRef.data.eadCache.workflow.driverList = _this2.driverList;
|
|
27021
|
+
});
|
|
27022
|
+
};
|
|
27023
|
+
this.driverTimeout = setTimeout(go, 300);
|
|
27024
|
+
},
|
|
27025
|
+
hasExpression: function hasExpression(item) {
|
|
27026
|
+
if (item.type === 'uid') {
|
|
27027
|
+
return item.user && item.user.length;
|
|
27028
|
+
}
|
|
27029
|
+
if (item.type === 'org') {
|
|
27030
|
+
return item.orgId || item.roleId || item.groupId;
|
|
27031
|
+
}
|
|
27032
|
+
return false;
|
|
27033
|
+
},
|
|
27034
|
+
'handleItemChange': function handleItemChange(d, b) {},
|
|
27035
|
+
'optionFormsRadioChange': function optionFormsRadioChange(type) {
|
|
27036
|
+
// eslint-disable-next-line no-return-assign
|
|
27037
|
+
this.node.data.option_forms.forEach(function (value) {
|
|
27038
|
+
return value.access = type;
|
|
27039
|
+
});
|
|
27040
|
+
},
|
|
27041
|
+
optionModelChange: function optionModelChange(id) {
|
|
27042
|
+
var item = this.optionModelList.find(function (value) {
|
|
27043
|
+
return value.value === id;
|
|
27044
|
+
});
|
|
27045
|
+
this.defaultContent = item.text;
|
|
27046
|
+
this.nodeRef.data.other_options.subModelName = item.text;
|
|
27047
|
+
this.nodeRef.data.eadCache.workflow.optionModelList = [item];
|
|
27048
|
+
},
|
|
27049
|
+
optionModelSearch: function optionModelSearch(s) {
|
|
27050
|
+
var _this3 = this;
|
|
27051
|
+
if (this.viewNameTimeout) {
|
|
27052
|
+
clearTimeout(this.viewNameTimeout);
|
|
27053
|
+
this.viewNameTimeout = null;
|
|
27054
|
+
}
|
|
27055
|
+
var go = function go() {
|
|
27056
|
+
if (!s) {
|
|
27057
|
+
return;
|
|
27058
|
+
}
|
|
27059
|
+
_this3.eadApi.getModels(s).then(function (value) {
|
|
27060
|
+
_this3.optionModelList = value.map(function (item) {
|
|
27061
|
+
return {
|
|
27062
|
+
value: item.model_id,
|
|
27063
|
+
text: item.model_name
|
|
27064
|
+
};
|
|
27065
|
+
});
|
|
27066
|
+
});
|
|
27067
|
+
};
|
|
27068
|
+
this.viewNameTimeout = setTimeout(go, 300);
|
|
27069
|
+
},
|
|
27070
|
+
hideDrawer: function hideDrawer() {
|
|
27071
|
+
var _this4 = this;
|
|
27072
|
+
var vaildR = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["ref"])(true);
|
|
27073
|
+
this.$refs.nameForm.validate(function (valid) {
|
|
27074
|
+
if (!valid) {
|
|
27075
|
+
vaildR.value = false;
|
|
27076
|
+
_this4.$message.error('节点名称校验不通过');
|
|
27077
|
+
}
|
|
27078
|
+
});
|
|
27079
|
+
|
|
27080
|
+
// hide 即保存
|
|
27081
|
+
if (vaildR.value) {
|
|
27082
|
+
this.visibleDrawer = false;
|
|
27083
|
+
}
|
|
27084
|
+
},
|
|
27085
|
+
changeTags: function changeTags(a) {
|
|
27086
|
+
// console.log(a)
|
|
27087
|
+
},
|
|
27088
|
+
showEditName: function showEditName() {
|
|
27089
|
+
var _this5 = this;
|
|
27090
|
+
this.editName = true;
|
|
27091
|
+
Object(external_commonjs_vue_commonjs2_vue_root_Vue_["nextTick"])(function () {
|
|
27092
|
+
_this5.$refs.nameInput.focus();
|
|
27093
|
+
});
|
|
27094
|
+
},
|
|
27095
|
+
close: function close() {
|
|
27096
|
+
this.nodeHandler.deleteNode(this.node.code);
|
|
27097
|
+
},
|
|
27098
|
+
click: function click() {
|
|
27099
|
+
if (this.nodeHandler.isPreview) {
|
|
27100
|
+
return;
|
|
27101
|
+
}
|
|
27102
|
+
this.nodeRef.error = null;
|
|
27103
|
+
this.showDrawer();
|
|
27104
|
+
},
|
|
27105
|
+
more: function more() {
|
|
27106
|
+
this.showPopover();
|
|
27107
|
+
}
|
|
27108
|
+
},
|
|
27109
|
+
created: function created() {
|
|
27110
|
+
this.loadCache(this.nodeRef);
|
|
27111
|
+
},
|
|
27112
|
+
mounted: function () {
|
|
27113
|
+
var _mounted = SubWorkflowNodevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/SubWorkflowNodevue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
|
|
27114
|
+
var _this$nodeRef$data$op;
|
|
27115
|
+
var _yield$this$nodeHandl, viewAttrs, orgMap, orgData, roles, users;
|
|
27116
|
+
return SubWorkflowNodevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
27117
|
+
while (1) switch (_context.prev = _context.next) {
|
|
27118
|
+
case 0:
|
|
27119
|
+
_context.next = 2;
|
|
27120
|
+
return this.nodeHandler.businessAdapter.getActorData();
|
|
27121
|
+
case 2:
|
|
27122
|
+
_yield$this$nodeHandl = _context.sent;
|
|
27123
|
+
viewAttrs = _yield$this$nodeHandl.viewAttrs;
|
|
27124
|
+
orgMap = _yield$this$nodeHandl.orgMap;
|
|
27125
|
+
orgData = _yield$this$nodeHandl.orgData;
|
|
27126
|
+
roles = _yield$this$nodeHandl.roles;
|
|
27127
|
+
users = _yield$this$nodeHandl.users;
|
|
27128
|
+
if (!((_this$nodeRef$data$op = this.nodeRef.data.option_forms) !== null && _this$nodeRef$data$op !== void 0 && _this$nodeRef$data$op.length)) {
|
|
27129
|
+
this.nodeRef.data.option_forms = viewAttrs.filter(function (attr) {
|
|
27130
|
+
return attr.type === 'value' && attr.access !== 'none';
|
|
27131
|
+
}).filter(function (attr) {
|
|
27132
|
+
return attr.key_type !== 'primary';
|
|
27133
|
+
}).map(function (attr) {
|
|
27134
|
+
return {
|
|
27135
|
+
attrId: attr.id,
|
|
27136
|
+
attrName: attr.alias,
|
|
27137
|
+
attrCode: attr.name,
|
|
27138
|
+
access: 'none',
|
|
27139
|
+
required: attr.required
|
|
27140
|
+
};
|
|
27141
|
+
});
|
|
27142
|
+
}
|
|
27143
|
+
this.viewAttrLoading = false;
|
|
27144
|
+
this.orgMap = orgMap;
|
|
27145
|
+
this.orgData = orgData;
|
|
27146
|
+
this.roles = roles;
|
|
27147
|
+
this.users = users;
|
|
27148
|
+
case 14:
|
|
27149
|
+
case "end":
|
|
27150
|
+
return _context.stop();
|
|
27151
|
+
}
|
|
27152
|
+
}, _callee, this);
|
|
27153
|
+
}));
|
|
27154
|
+
function mounted() {
|
|
27155
|
+
return _mounted.apply(this, arguments);
|
|
27156
|
+
}
|
|
27157
|
+
return mounted;
|
|
27158
|
+
}()
|
|
27159
|
+
});
|
|
27160
|
+
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/SubWorkflowNode.vue?vue&type=script&lang=js
|
|
27161
|
+
/* harmony default export */ var node_SubWorkflowNodevue_type_script_lang_js = (SubWorkflowNodevue_type_script_lang_js);
|
|
27162
|
+
// EXTERNAL MODULE: ../src/web/components/forms/flow/designer/node/SubWorkflowNode.vue?vue&type=style&index=0&id=423eb6bc&prod&lang=less&scoped=true
|
|
27163
|
+
var SubWorkflowNodevue_type_style_index_0_id_423eb6bc_prod_lang_less_scoped_true = __webpack_require__("8b26");
|
|
27164
|
+
|
|
27165
|
+
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/SubWorkflowNode.vue
|
|
27166
|
+
|
|
27167
|
+
|
|
27168
|
+
|
|
27169
|
+
|
|
27170
|
+
|
|
27171
|
+
|
|
27172
|
+
/* normalize component */
|
|
27173
|
+
|
|
27174
|
+
var SubWorkflowNode_component = normalizeComponent(
|
|
27175
|
+
node_SubWorkflowNodevue_type_script_lang_js,
|
|
27176
|
+
SubWorkflowNodevue_type_template_id_423eb6bc_scoped_true_render,
|
|
27177
|
+
SubWorkflowNodevue_type_template_id_423eb6bc_scoped_true_staticRenderFns,
|
|
27178
|
+
false,
|
|
27179
|
+
null,
|
|
27180
|
+
"423eb6bc",
|
|
27181
|
+
null
|
|
27182
|
+
|
|
27183
|
+
)
|
|
27184
|
+
|
|
27185
|
+
/* harmony default export */ var SubWorkflowNode = (SubWorkflowNode_component.exports);
|
|
27186
|
+
// 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
|
|
27187
|
+
var TriggerNodevue_type_template_id_7af4eb1a_scoped_true_render = function render() {
|
|
27188
|
+
var _vm = this,
|
|
27189
|
+
_c = _vm._self._c;
|
|
27190
|
+
return _c('div', [_c('div', {
|
|
27191
|
+
staticClass: "node",
|
|
27192
|
+
class: _vm.getClass(),
|
|
27193
|
+
on: {
|
|
27194
|
+
"click": _vm.click
|
|
27195
|
+
}
|
|
27196
|
+
}, [_c('div', {
|
|
27197
|
+
staticClass: "title"
|
|
27198
|
+
}, [_c('span', [_c('a-icon', {
|
|
27199
|
+
attrs: {
|
|
27200
|
+
"type": "control"
|
|
27201
|
+
}
|
|
27202
|
+
})], 1), _c('span', [_vm._v(" " + _vm._s(_vm.node.name))]), !_vm.nodeHandler.isPreview ? _c('span', {
|
|
27203
|
+
staticClass: "title-right"
|
|
27204
|
+
}, [_c('a-icon', {
|
|
27205
|
+
staticClass: "close",
|
|
27206
|
+
attrs: {
|
|
27207
|
+
"type": "close"
|
|
27208
|
+
},
|
|
27209
|
+
on: {
|
|
27210
|
+
"click": function click($event) {
|
|
27211
|
+
$event.stopPropagation();
|
|
27212
|
+
return _vm.close.apply(null, arguments);
|
|
27213
|
+
}
|
|
27214
|
+
}
|
|
27215
|
+
})], 1) : _vm._e()]), _c('div', {
|
|
27216
|
+
staticClass: "content"
|
|
27217
|
+
}, [_c('span', {
|
|
27218
|
+
staticClass: "content-main"
|
|
27219
|
+
}, [_c('span', {
|
|
27220
|
+
staticClass: "error-tooltip"
|
|
27221
|
+
}, [_c('a-tooltip', [_c('template', {
|
|
27222
|
+
slot: "title"
|
|
27223
|
+
}, [_vm._v(" " + _vm._s(_vm.node.error) + " ")]), _c('a-icon', {
|
|
27224
|
+
attrs: {
|
|
27225
|
+
"theme": "filled",
|
|
27226
|
+
"type": "warning"
|
|
27227
|
+
}
|
|
27228
|
+
})], 2)], 1), _vm.nodeContent ? _c('span', {
|
|
27229
|
+
staticStyle: {
|
|
27230
|
+
"padding-left": "5px"
|
|
27231
|
+
}
|
|
27232
|
+
}, [_vm._v(_vm._s(_vm.nodeContent))]) : _c('span', {
|
|
26200
27233
|
staticStyle: {
|
|
26201
27234
|
"padding-left": "5px",
|
|
26202
27235
|
"color": "rgb(164 164 164)"
|
|
@@ -27163,6 +28196,7 @@ var DelayNode_component = normalizeComponent(
|
|
|
27163
28196
|
|
|
27164
28197
|
|
|
27165
28198
|
|
|
28199
|
+
|
|
27166
28200
|
/* harmony default export */ var designer_node = ({
|
|
27167
28201
|
EndNode: EndNode,
|
|
27168
28202
|
StartNode: StartNode,
|
|
@@ -27174,10 +28208,11 @@ var DelayNode_component = normalizeComponent(
|
|
|
27174
28208
|
CCNode: CCNode,
|
|
27175
28209
|
TaskNode: TaskNode,
|
|
27176
28210
|
TriggerNode: TriggerNode,
|
|
28211
|
+
SubWorkflowNode: SubWorkflowNode,
|
|
27177
28212
|
DelayNode: DelayNode
|
|
27178
28213
|
});
|
|
27179
|
-
// 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=
|
|
27180
|
-
var
|
|
28214
|
+
// 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
|
|
28215
|
+
var AddNodevue_type_template_id_b7697036_scoped_true_render = function render() {
|
|
27181
28216
|
var _vm = this,
|
|
27182
28217
|
_c = _vm._self._c;
|
|
27183
28218
|
return _c('div', {
|
|
@@ -27248,9 +28283,9 @@ var AddNodevue_type_template_id_2139642c_scoped_true_render = function render()
|
|
|
27248
28283
|
}
|
|
27249
28284
|
}) : _vm._e()], 1)], 1)])]);
|
|
27250
28285
|
};
|
|
27251
|
-
var
|
|
28286
|
+
var AddNodevue_type_template_id_b7697036_scoped_true_staticRenderFns = [];
|
|
27252
28287
|
|
|
27253
|
-
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/AddNode.vue?vue&type=template&id=
|
|
28288
|
+
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/AddNode.vue?vue&type=template&id=b7697036&scoped=true
|
|
27254
28289
|
|
|
27255
28290
|
// 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
|
|
27256
28291
|
|
|
@@ -27312,19 +28347,11 @@ var AddNodevue_type_template_id_2139642c_scoped_true_staticRenderFns = [];
|
|
|
27312
28347
|
type: 'control'
|
|
27313
28348
|
},
|
|
27314
28349
|
color: 'rgb(53, 184, 129)'
|
|
27315
|
-
},
|
|
27316
|
-
// {
|
|
27317
|
-
// disabled: true,
|
|
27318
|
-
// name: '延迟等待',
|
|
27319
|
-
// type: NodeType.DELAY,
|
|
27320
|
-
// icon: { type: 'clock-circle' },
|
|
27321
|
-
// color: 'rgb(219,86,69)'
|
|
27322
|
-
// },
|
|
27323
|
-
{
|
|
28350
|
+
}, {
|
|
27324
28351
|
name: '条件分支',
|
|
27325
28352
|
type: designer_NodeType.JUDGE_WRAP,
|
|
27326
28353
|
icon: {
|
|
27327
|
-
type: '
|
|
28354
|
+
type: 'branches'
|
|
27328
28355
|
},
|
|
27329
28356
|
color: 'rgb(21, 188, 131)'
|
|
27330
28357
|
}, {
|
|
@@ -27334,6 +28361,21 @@ var AddNodevue_type_template_id_2139642c_scoped_true_staticRenderFns = [];
|
|
|
27334
28361
|
type: 'sliders'
|
|
27335
28362
|
},
|
|
27336
28363
|
color: 'rgb(113, 141, 255)'
|
|
28364
|
+
}, {
|
|
28365
|
+
name: '子流程',
|
|
28366
|
+
type: designer_NodeType.SUBWORKFLOW,
|
|
28367
|
+
icon: {
|
|
28368
|
+
type: 'apartment'
|
|
28369
|
+
},
|
|
28370
|
+
color: 'rgb(50, 80, 235)'
|
|
28371
|
+
}, {
|
|
28372
|
+
disabled: true,
|
|
28373
|
+
name: '延迟等待',
|
|
28374
|
+
type: designer_NodeType.DELAY,
|
|
28375
|
+
icon: {
|
|
28376
|
+
type: 'clock-circle'
|
|
28377
|
+
},
|
|
28378
|
+
color: 'rgb(219,86,69)'
|
|
27337
28379
|
}];
|
|
27338
28380
|
var addNode = function addNode(type) {
|
|
27339
28381
|
if (nodes.find(function (node0) {
|
|
@@ -27368,11 +28410,11 @@ var AddNodevue_type_custom_index_0_blockType_a_icon_default = /*#__PURE__*/__web
|
|
|
27368
28410
|
|
|
27369
28411
|
var AddNode_component = normalizeComponent(
|
|
27370
28412
|
designer_AddNodevue_type_script_lang_js,
|
|
27371
|
-
|
|
27372
|
-
|
|
28413
|
+
AddNodevue_type_template_id_b7697036_scoped_true_render,
|
|
28414
|
+
AddNodevue_type_template_id_b7697036_scoped_true_staticRenderFns,
|
|
27373
28415
|
false,
|
|
27374
28416
|
null,
|
|
27375
|
-
"
|
|
28417
|
+
"b7697036",
|
|
27376
28418
|
null
|
|
27377
28419
|
|
|
27378
28420
|
)
|
|
@@ -27422,7 +28464,7 @@ function NodeWrapvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Nod
|
|
|
27422
28464
|
return uiStyle[o] = 'start-node-box';
|
|
27423
28465
|
});
|
|
27424
28466
|
// eslint-disable-next-line no-return-assign
|
|
27425
|
-
[designer_NodeType.CHECK, designer_NodeType.CC, designer_NodeType.TASK, designer_NodeType.PARALLEL, designer_NodeType.JUDGE, designer_NodeType.TRIGGER, designer_NodeType.DELAY].forEach(function (o) {
|
|
28467
|
+
[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) {
|
|
27426
28468
|
return uiStyle[o] = 'node-box';
|
|
27427
28469
|
});
|
|
27428
28470
|
// eslint-disable-next-line no-return-assign
|
|
@@ -27450,11 +28492,11 @@ function NodeWrapvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Nod
|
|
|
27450
28492
|
|
|
27451
28493
|
var NodeWrap_component = normalizeComponent(
|
|
27452
28494
|
designer_NodeWrapvue_type_script_lang_js,
|
|
27453
|
-
|
|
27454
|
-
|
|
28495
|
+
NodeWrapvue_type_template_id_e1e89f50_scoped_true_render,
|
|
28496
|
+
NodeWrapvue_type_template_id_e1e89f50_scoped_true_staticRenderFns,
|
|
27455
28497
|
false,
|
|
27456
28498
|
null,
|
|
27457
|
-
"
|
|
28499
|
+
"e1e89f50",
|
|
27458
28500
|
null
|
|
27459
28501
|
|
|
27460
28502
|
)
|
|
@@ -28567,17 +29609,22 @@ var EadApi = /*#__PURE__*/function () {
|
|
|
28567
29609
|
}
|
|
28568
29610
|
return getViews;
|
|
28569
29611
|
}()
|
|
29612
|
+
/**
|
|
29613
|
+
* 获取流程模型
|
|
29614
|
+
* @param {*} name
|
|
29615
|
+
* @returns
|
|
29616
|
+
*/
|
|
28570
29617
|
}, {
|
|
28571
|
-
key: "
|
|
28572
|
-
value: function () {
|
|
28573
|
-
var
|
|
29618
|
+
key: "getModels",
|
|
29619
|
+
value: (function () {
|
|
29620
|
+
var _getModels = EadApi_asyncToGenerator( /*#__PURE__*/EadApi_regeneratorRuntime().mark(function _callee10(name) {
|
|
28574
29621
|
var _yield$_classPrivateF17, _yield$_classPrivateF18, collection, data, message;
|
|
28575
29622
|
return EadApi_regeneratorRuntime().wrap(function _callee10$(_context10) {
|
|
28576
29623
|
while (1) switch (_context10.prev = _context10.next) {
|
|
28577
29624
|
case 0:
|
|
28578
29625
|
_context10.prev = 0;
|
|
28579
29626
|
_context10.next = 3;
|
|
28580
|
-
return EadApi_classPrivateFieldGet(this, _component).$api.get("".concat(EadApi_classPrivateFieldGet(this, _baseUrl), "/api/flowdir-
|
|
29627
|
+
return EadApi_classPrivateFieldGet(this, _component).$api.get("".concat(EadApi_classPrivateFieldGet(this, _baseUrl), "/api/flowdir-model?name=") + name);
|
|
28581
29628
|
case 3:
|
|
28582
29629
|
_yield$_classPrivateF17 = _context10.sent;
|
|
28583
29630
|
_yield$_classPrivateF18 = _yield$_classPrivateF17.data.collection;
|
|
@@ -28598,7 +29645,43 @@ var EadApi = /*#__PURE__*/function () {
|
|
|
28598
29645
|
}
|
|
28599
29646
|
}, _callee10, this, [[0, 9, 14, 16]]);
|
|
28600
29647
|
}));
|
|
28601
|
-
function
|
|
29648
|
+
function getModels(_x9) {
|
|
29649
|
+
return _getModels.apply(this, arguments);
|
|
29650
|
+
}
|
|
29651
|
+
return getModels;
|
|
29652
|
+
}())
|
|
29653
|
+
}, {
|
|
29654
|
+
key: "getDrivers",
|
|
29655
|
+
value: function () {
|
|
29656
|
+
var _getDrivers = EadApi_asyncToGenerator( /*#__PURE__*/EadApi_regeneratorRuntime().mark(function _callee11(name) {
|
|
29657
|
+
var _yield$_classPrivateF19, _yield$_classPrivateF20, collection, data, message;
|
|
29658
|
+
return EadApi_regeneratorRuntime().wrap(function _callee11$(_context11) {
|
|
29659
|
+
while (1) switch (_context11.prev = _context11.next) {
|
|
29660
|
+
case 0:
|
|
29661
|
+
_context11.prev = 0;
|
|
29662
|
+
_context11.next = 3;
|
|
29663
|
+
return EadApi_classPrivateFieldGet(this, _component).$api.get("".concat(EadApi_classPrivateFieldGet(this, _baseUrl), "/api/flowdir-driver?name=") + name);
|
|
29664
|
+
case 3:
|
|
29665
|
+
_yield$_classPrivateF19 = _context11.sent;
|
|
29666
|
+
_yield$_classPrivateF20 = _yield$_classPrivateF19.data.collection;
|
|
29667
|
+
collection = _yield$_classPrivateF20 === void 0 ? [] : _yield$_classPrivateF20;
|
|
29668
|
+
return _context11.abrupt("return", collection);
|
|
29669
|
+
case 9:
|
|
29670
|
+
_context11.prev = 9;
|
|
29671
|
+
_context11.t0 = _context11["catch"](0);
|
|
29672
|
+
data = _context11.t0.response.data;
|
|
29673
|
+
message = data && data.content || '系统错误请与管理员联系。';
|
|
29674
|
+
this.$message.error(message);
|
|
29675
|
+
case 14:
|
|
29676
|
+
_context11.prev = 14;
|
|
29677
|
+
return _context11.finish(14);
|
|
29678
|
+
case 16:
|
|
29679
|
+
case "end":
|
|
29680
|
+
return _context11.stop();
|
|
29681
|
+
}
|
|
29682
|
+
}, _callee11, this, [[0, 9, 14, 16]]);
|
|
29683
|
+
}));
|
|
29684
|
+
function getDrivers(_x10) {
|
|
28602
29685
|
return _getDrivers.apply(this, arguments);
|
|
28603
29686
|
}
|
|
28604
29687
|
return getDrivers;
|
|
@@ -32318,6 +33401,17 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__2364__;
|
|
|
32318
33401
|
|
|
32319
33402
|
}));
|
|
32320
33403
|
|
|
33404
|
+
/***/ }),
|
|
33405
|
+
|
|
33406
|
+
/***/ "2629":
|
|
33407
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
33408
|
+
|
|
33409
|
+
"use strict";
|
|
33410
|
+
/* 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");
|
|
33411
|
+
/* 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__);
|
|
33412
|
+
/* unused harmony reexport * */
|
|
33413
|
+
|
|
33414
|
+
|
|
32321
33415
|
/***/ }),
|
|
32322
33416
|
|
|
32323
33417
|
/***/ "289a":
|
|
@@ -33171,7 +34265,7 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__336c__;
|
|
|
33171
34265
|
|
|
33172
34266
|
/***/ }),
|
|
33173
34267
|
|
|
33174
|
-
/***/ "
|
|
34268
|
+
/***/ "41a6":
|
|
33175
34269
|
/***/ (function(module, exports, __webpack_require__) {
|
|
33176
34270
|
|
|
33177
34271
|
// extracted by mini-css-extract-plugin
|
|
@@ -33254,6 +34348,13 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__336c__;
|
|
|
33254
34348
|
|
|
33255
34349
|
/***/ }),
|
|
33256
34350
|
|
|
34351
|
+
/***/ "5104":
|
|
34352
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
34353
|
+
|
|
34354
|
+
// extracted by mini-css-extract-plugin
|
|
34355
|
+
|
|
34356
|
+
/***/ }),
|
|
34357
|
+
|
|
33257
34358
|
/***/ "517c":
|
|
33258
34359
|
/***/ (function(module, exports, __webpack_require__) {
|
|
33259
34360
|
|
|
@@ -34082,13 +35183,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__6389__;
|
|
|
34082
35183
|
|
|
34083
35184
|
/***/ }),
|
|
34084
35185
|
|
|
34085
|
-
/***/ "6d01":
|
|
34086
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
34087
|
-
|
|
34088
|
-
// extracted by mini-css-extract-plugin
|
|
34089
|
-
|
|
34090
|
-
/***/ }),
|
|
34091
|
-
|
|
34092
35186
|
/***/ "6d57":
|
|
34093
35187
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
34094
35188
|
|
|
@@ -46036,12 +47130,12 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__796d__;
|
|
|
46036
47130
|
|
|
46037
47131
|
/***/ }),
|
|
46038
47132
|
|
|
46039
|
-
/***/ "
|
|
47133
|
+
/***/ "8b26":
|
|
46040
47134
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
46041
47135
|
|
|
46042
47136
|
"use strict";
|
|
46043
|
-
/* harmony import */ var
|
|
46044
|
-
/* harmony import */ var
|
|
47137
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SubWorkflowNode_vue_vue_type_style_index_0_id_423eb6bc_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("aa7e");
|
|
47138
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SubWorkflowNode_vue_vue_type_style_index_0_id_423eb6bc_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SubWorkflowNode_vue_vue_type_style_index_0_id_423eb6bc_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
46045
47139
|
/* unused harmony reexport * */
|
|
46046
47140
|
|
|
46047
47141
|
|
|
@@ -46111,6 +47205,17 @@ module.exports = Array.isArray || function (arr) {
|
|
|
46111
47205
|
|
|
46112
47206
|
// extracted by mini-css-extract-plugin
|
|
46113
47207
|
|
|
47208
|
+
/***/ }),
|
|
47209
|
+
|
|
47210
|
+
/***/ "9632":
|
|
47211
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
47212
|
+
|
|
47213
|
+
"use strict";
|
|
47214
|
+
/* 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");
|
|
47215
|
+
/* 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__);
|
|
47216
|
+
/* unused harmony reexport * */
|
|
47217
|
+
|
|
47218
|
+
|
|
46114
47219
|
/***/ }),
|
|
46115
47220
|
|
|
46116
47221
|
/***/ "9707":
|
|
@@ -46536,6 +47641,13 @@ module.exports = g;
|
|
|
46536
47641
|
|
|
46537
47642
|
/***/ }),
|
|
46538
47643
|
|
|
47644
|
+
/***/ "aa7e":
|
|
47645
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
47646
|
+
|
|
47647
|
+
// extracted by mini-css-extract-plugin
|
|
47648
|
+
|
|
47649
|
+
/***/ }),
|
|
47650
|
+
|
|
46539
47651
|
/***/ "ad71":
|
|
46540
47652
|
/***/ (function(module, exports, __webpack_require__) {
|
|
46541
47653
|
|