@xatlas/rainbow-core 2.1.8 → 2.1.9
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 +130 -129
- package/dist/core.common.js.map +1 -1
- package/dist/core.css +1 -1
- package/dist/core.umd.js +130 -129
- package/dist/core.umd.js.map +1 -1
- package/dist/core.umd.min.js +4 -4
- package/dist/core.umd.min.js.map +1 -1
- package/package.json +1 -1
package/dist/core.umd.js
CHANGED
|
@@ -101,6 +101,17 @@ return /******/ (function(modules) { // webpackBootstrap
|
|
|
101
101
|
|
|
102
102
|
/* (ignored) */
|
|
103
103
|
|
|
104
|
+
/***/ }),
|
|
105
|
+
|
|
106
|
+
/***/ "00c1":
|
|
107
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
108
|
+
|
|
109
|
+
"use strict";
|
|
110
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_RuntimeWorkFlow_vue_vue_type_style_index_0_id_b1bd8bb4_prod_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1861");
|
|
111
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_RuntimeWorkFlow_vue_vue_type_style_index_0_id_b1bd8bb4_prod_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_RuntimeWorkFlow_vue_vue_type_style_index_0_id_b1bd8bb4_prod_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
112
|
+
/* unused harmony reexport * */
|
|
113
|
+
|
|
114
|
+
|
|
104
115
|
/***/ }),
|
|
105
116
|
|
|
106
117
|
/***/ "014f":
|
|
@@ -1562,6 +1573,13 @@ exports.write = function (buffer, value, offset, isLE, mLen, nBytes) {
|
|
|
1562
1573
|
/* unused harmony reexport * */
|
|
1563
1574
|
|
|
1564
1575
|
|
|
1576
|
+
/***/ }),
|
|
1577
|
+
|
|
1578
|
+
/***/ "1861":
|
|
1579
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1580
|
+
|
|
1581
|
+
// extracted by mini-css-extract-plugin
|
|
1582
|
+
|
|
1565
1583
|
/***/ }),
|
|
1566
1584
|
|
|
1567
1585
|
/***/ "193e":
|
|
@@ -6656,8 +6674,8 @@ function item_toPrimitive(input, hint) { if (item_typeof(input) !== "object" ||
|
|
|
6656
6674
|
},
|
|
6657
6675
|
computed: {
|
|
6658
6676
|
placeholder: function placeholder() {
|
|
6659
|
-
var _this$schema
|
|
6660
|
-
if ((_this$schema = this.schema) !== null && _this$schema !== void 0 && (_this$schema
|
|
6677
|
+
var _this$schema;
|
|
6678
|
+
if ((_this$schema = this.schema) !== null && _this$schema !== void 0 && (_this$schema = _this$schema.params) !== null && _this$schema !== void 0 && (_this$schema = _this$schema.control) !== null && _this$schema !== void 0 && _this$schema.placeholder) {
|
|
6661
6679
|
return this.schema.params.control.placeholder;
|
|
6662
6680
|
}
|
|
6663
6681
|
return this.schema.alias || this.schema.name;
|
|
@@ -6826,12 +6844,12 @@ function item_toPrimitive(input, hint) { if (item_typeof(input) !== "object" ||
|
|
|
6826
6844
|
return treeUrl || null;
|
|
6827
6845
|
},
|
|
6828
6846
|
defaultValueUrl: function defaultValueUrl() {
|
|
6829
|
-
var _this$schema$
|
|
6830
|
-
_this$schema$
|
|
6831
|
-
_this$schema$
|
|
6832
|
-
_this$schema$
|
|
6833
|
-
_this$schema$
|
|
6834
|
-
defaultValueUrl = _this$schema$
|
|
6847
|
+
var _this$schema$params = this.schema.params,
|
|
6848
|
+
_this$schema$params2 = _this$schema$params === void 0 ? {} : _this$schema$params,
|
|
6849
|
+
_this$schema$params2$ = _this$schema$params2.control,
|
|
6850
|
+
_this$schema$params2$2 = _this$schema$params2$ === void 0 ? {} : _this$schema$params2$,
|
|
6851
|
+
_this$schema$params2$3 = _this$schema$params2$2.defaultValueUrl,
|
|
6852
|
+
defaultValueUrl = _this$schema$params2$3 === void 0 ? '' : _this$schema$params2$3;
|
|
6835
6853
|
return defaultValueUrl;
|
|
6836
6854
|
}
|
|
6837
6855
|
},
|
|
@@ -6910,12 +6928,12 @@ function item_toPrimitive(input, hint) { if (item_typeof(input) !== "object" ||
|
|
|
6910
6928
|
reset: function reset() {},
|
|
6911
6929
|
watch: function watch() {
|
|
6912
6930
|
var _this3 = this;
|
|
6913
|
-
var _this$schema$
|
|
6914
|
-
_this$schema$
|
|
6915
|
-
_this$schema$
|
|
6916
|
-
_this$schema$
|
|
6917
|
-
events = _this$schema$
|
|
6918
|
-
changeMode = _this$schema$
|
|
6931
|
+
var _this$schema$params3 = this.schema.params,
|
|
6932
|
+
_this$schema$params4 = _this$schema$params3 === void 0 ? {} : _this$schema$params3,
|
|
6933
|
+
_this$schema$params4$ = _this$schema$params4.control,
|
|
6934
|
+
_this$schema$params4$2 = _this$schema$params4$ === void 0 ? {} : _this$schema$params4$,
|
|
6935
|
+
events = _this$schema$params4$2.events,
|
|
6936
|
+
changeMode = _this$schema$params4$2.changeMode;
|
|
6919
6937
|
if (changeMode) this.changeMode = changeMode;
|
|
6920
6938
|
if (events) {
|
|
6921
6939
|
var _loop = function _loop() {
|
|
@@ -7054,11 +7072,11 @@ function item_toPrimitive(input, hint) { if (item_typeof(input) !== "object" ||
|
|
|
7054
7072
|
},
|
|
7055
7073
|
expression: function expression() {},
|
|
7056
7074
|
handlePickerShow: function handlePickerShow() {
|
|
7057
|
-
var _this$schema$
|
|
7058
|
-
_this$schema$
|
|
7059
|
-
_this$schema$
|
|
7060
|
-
_this$schema$
|
|
7061
|
-
multiple = _this$schema$
|
|
7075
|
+
var _this$schema$params5 = this.schema.params,
|
|
7076
|
+
_this$schema$params6 = _this$schema$params5 === void 0 ? {} : _this$schema$params5,
|
|
7077
|
+
_this$schema$params6$ = _this$schema$params6.control,
|
|
7078
|
+
_this$schema$params6$2 = _this$schema$params6$ === void 0 ? {} : _this$schema$params6$,
|
|
7079
|
+
multiple = _this$schema$params6$2.multiple;
|
|
7062
7080
|
this.pickerViewOptions = {
|
|
7063
7081
|
schema: this.schema,
|
|
7064
7082
|
filters: this.pickerFilter,
|
|
@@ -7116,11 +7134,11 @@ function item_toPrimitive(input, hint) { if (item_typeof(input) !== "object" ||
|
|
|
7116
7134
|
this.handlePickerClose();
|
|
7117
7135
|
},
|
|
7118
7136
|
handleMapComplete: function handleMapComplete(position) {
|
|
7119
|
-
var _this$schema$
|
|
7120
|
-
_this$schema$
|
|
7121
|
-
_this$schema$
|
|
7122
|
-
_this$schema$
|
|
7123
|
-
fills = _this$schema$
|
|
7137
|
+
var _this$schema$params7 = this.schema.params,
|
|
7138
|
+
_this$schema$params8 = _this$schema$params7 === void 0 ? {} : _this$schema$params7,
|
|
7139
|
+
_this$schema$params8$ = _this$schema$params8.control,
|
|
7140
|
+
_this$schema$params8$2 = _this$schema$params8$ === void 0 ? {} : _this$schema$params8$,
|
|
7141
|
+
fills = _this$schema$params8$2.fills;
|
|
7124
7142
|
if (fills) {
|
|
7125
7143
|
var fillsModel = Object.keys(fills).map(function (f) {
|
|
7126
7144
|
return {
|
|
@@ -17261,10 +17279,10 @@ var EndNode_component = normalizeComponent(
|
|
|
17261
17279
|
/* harmony default export */ var EndNode = (EndNode_component.exports);
|
|
17262
17280
|
// CONCATENATED MODULE: ../node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4325b732-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/StartNode.vue?vue&type=template&id=e7950f88&scoped=true&
|
|
17263
17281
|
var StartNodevue_type_template_id_e7950f88_scoped_true_render = function render() {
|
|
17264
|
-
var _vm$nodeHandler, _vm$
|
|
17282
|
+
var _vm$nodeHandler, _vm$nodeRef, _vm$nodeRef2, _vm$noticeTemplateAtt;
|
|
17265
17283
|
var _vm = this,
|
|
17266
17284
|
_c = _vm._self._c;
|
|
17267
|
-
return _c('div', [(_vm$nodeHandler = _vm.nodeHandler) !== null && _vm$nodeHandler !== void 0 && (_vm$nodeHandler
|
|
17285
|
+
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', {
|
|
17268
17286
|
attrs: {
|
|
17269
17287
|
"placement": "rightTop"
|
|
17270
17288
|
},
|
|
@@ -17298,7 +17316,7 @@ var StartNodevue_type_template_id_e7950f88_scoped_true_render = function render(
|
|
|
17298
17316
|
"theme": "filled",
|
|
17299
17317
|
"type": "flag"
|
|
17300
17318
|
}
|
|
17301
|
-
})], 1), _c('span', [_vm._v(" " + _vm._s(_vm.node.name))]), (_vm$nodeRef = _vm.nodeRef) !== null && _vm$nodeRef !== void 0 && (_vm$nodeRef
|
|
17319
|
+
})], 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', {
|
|
17302
17320
|
attrs: {
|
|
17303
17321
|
"type": "control"
|
|
17304
17322
|
}
|
|
@@ -17342,7 +17360,7 @@ var StartNodevue_type_template_id_e7950f88_scoped_true_render = function render(
|
|
|
17342
17360
|
"theme": "filled",
|
|
17343
17361
|
"type": "flag"
|
|
17344
17362
|
}
|
|
17345
|
-
})], 1), _c('span', [_vm._v(" " + _vm._s(_vm.node.name))]), (_vm$nodeRef2 = _vm.nodeRef) !== null && _vm$nodeRef2 !== void 0 && (_vm$nodeRef2
|
|
17363
|
+
})], 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', {
|
|
17346
17364
|
attrs: {
|
|
17347
17365
|
"type": "control"
|
|
17348
17366
|
}
|
|
@@ -18388,14 +18406,14 @@ function StartNodevue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len =
|
|
|
18388
18406
|
},
|
|
18389
18407
|
computed: {
|
|
18390
18408
|
nodeContent: function nodeContent() {
|
|
18391
|
-
var _this$nodeHandler, _this$
|
|
18392
|
-
if (((_this$nodeHandler = this.nodeHandler) === null || _this$nodeHandler === void 0
|
|
18409
|
+
var _this$nodeHandler, _this$nodeHandler2, _this$nodeHandler3;
|
|
18410
|
+
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.nodeRef.code) {
|
|
18393
18411
|
return "<span class=\"actor pending\">".concat(this.eadApi.getCurrentUserName(), "</span>");
|
|
18394
18412
|
}
|
|
18395
|
-
if ((_this$nodeHandler2 = this.nodeHandler) !== null && _this$nodeHandler2 !== void 0 && (_this$nodeHandler2
|
|
18396
|
-
var _this$nodeHandler4
|
|
18413
|
+
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) {
|
|
18414
|
+
var _this$nodeHandler4;
|
|
18397
18415
|
var html = '';
|
|
18398
|
-
var actors = (_this$nodeHandler4 = this.nodeHandler) === null || _this$nodeHandler4 === void 0
|
|
18416
|
+
var actors = (_this$nodeHandler4 = this.nodeHandler) === null || _this$nodeHandler4 === void 0 || (_this$nodeHandler4 = _this$nodeHandler4.runtimeData) === null || _this$nodeHandler4 === void 0 ? void 0 : _this$nodeHandler4.caseNodes[this.node.code].actors;
|
|
18399
18417
|
actors.forEach(function (actor) {
|
|
18400
18418
|
if (html) {
|
|
18401
18419
|
html += '、';
|
|
@@ -18452,14 +18470,14 @@ function StartNodevue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len =
|
|
|
18452
18470
|
});
|
|
18453
18471
|
},
|
|
18454
18472
|
getClass: function getClass() {
|
|
18455
|
-
var _this$nodeHandler5, _this$
|
|
18473
|
+
var _this$nodeHandler5, _this$nodeHandler6, _this$nodeHandler7;
|
|
18456
18474
|
var classes = '';
|
|
18457
18475
|
if (this.node.error) {
|
|
18458
18476
|
classes += ' error';
|
|
18459
18477
|
}
|
|
18460
|
-
if (((_this$nodeHandler5 = this.nodeHandler) === null || _this$nodeHandler5 === void 0
|
|
18478
|
+
if (((_this$nodeHandler5 = this.nodeHandler) === null || _this$nodeHandler5 === void 0 || (_this$nodeHandler5 = _this$nodeHandler5.runtimeData) === null || _this$nodeHandler5 === void 0 ? void 0 : _this$nodeHandler5.currentNodeCode) === this.node.code) {
|
|
18461
18479
|
classes += ' ongoing';
|
|
18462
|
-
} else if ((_this$nodeHandler6 = this.nodeHandler) !== null && _this$nodeHandler6 !== void 0 && (_this$nodeHandler6
|
|
18480
|
+
} else if ((_this$nodeHandler6 = this.nodeHandler) !== null && _this$nodeHandler6 !== void 0 && (_this$nodeHandler6 = _this$nodeHandler6.runtimeData) !== null && _this$nodeHandler6 !== void 0 && _this$nodeHandler6.caseNodes && (_this$nodeHandler7 = this.nodeHandler) !== null && _this$nodeHandler7 !== void 0 && (_this$nodeHandler7 = _this$nodeHandler7.runtimeData) !== null && _this$nodeHandler7 !== void 0 && (_this$nodeHandler7 = _this$nodeHandler7.caseNodes[this.node.code]) !== null && _this$nodeHandler7 !== void 0 && _this$nodeHandler7.status) {
|
|
18463
18481
|
classes += this.nodeHandler.runtimeData.caseNodes[this.node.code].status;
|
|
18464
18482
|
}
|
|
18465
18483
|
return classes;
|
|
@@ -18469,9 +18487,9 @@ function StartNodevue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len =
|
|
|
18469
18487
|
* @param node {NodeItem}
|
|
18470
18488
|
*/
|
|
18471
18489
|
loadCache: function loadCache(node) {
|
|
18472
|
-
var _node$data$eadCache$w, _node$data, _node$data$eadCache
|
|
18473
|
-
this.optionViewType = (_node$data$eadCache$w = (_node$data = node.data) === null || _node$data === void 0
|
|
18474
|
-
this.optionViewList = (_node$data$eadCache$
|
|
18490
|
+
var _node$data$eadCache$w, _node$data, _node$data$eadCache$w2, _node$data2;
|
|
18491
|
+
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;
|
|
18492
|
+
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;
|
|
18475
18493
|
},
|
|
18476
18494
|
'handleItemChange': function handleItemChange(d, b) {
|
|
18477
18495
|
// console.log(d)
|
|
@@ -18922,14 +18940,14 @@ var ParallelNodevue_type_template_id_9a75cb32_scoped_true_staticRenderFns = [];
|
|
|
18922
18940
|
},
|
|
18923
18941
|
methods: {
|
|
18924
18942
|
getClass: function getClass() {
|
|
18925
|
-
var _this$nodeHandler, _this$
|
|
18943
|
+
var _this$nodeHandler, _this$nodeHandler2, _this$nodeHandler3;
|
|
18926
18944
|
var classes = '';
|
|
18927
18945
|
if (this.node.error) {
|
|
18928
18946
|
classes += ' error';
|
|
18929
18947
|
}
|
|
18930
|
-
if (((_this$nodeHandler = this.nodeHandler) === null || _this$nodeHandler === void 0
|
|
18948
|
+
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) {
|
|
18931
18949
|
classes += ' ongoing';
|
|
18932
|
-
} else if ((_this$nodeHandler2 = this.nodeHandler) !== null && _this$nodeHandler2 !== void 0 && (_this$nodeHandler2
|
|
18950
|
+
} 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) {
|
|
18933
18951
|
classes += this.nodeHandler.runtimeData.caseNodes[this.node.code].status;
|
|
18934
18952
|
}
|
|
18935
18953
|
return classes;
|
|
@@ -19142,10 +19160,10 @@ function CheckNodevue_type_template_id_14b216a6_scoped_true_iterableToArray(iter
|
|
|
19142
19160
|
function CheckNodevue_type_template_id_14b216a6_scoped_true_arrayWithoutHoles(arr) { if (Array.isArray(arr)) return CheckNodevue_type_template_id_14b216a6_scoped_true_arrayLikeToArray(arr); }
|
|
19143
19161
|
function CheckNodevue_type_template_id_14b216a6_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; }
|
|
19144
19162
|
var CheckNodevue_type_template_id_14b216a6_scoped_true_render = function render() {
|
|
19145
|
-
var _vm$nodeHandler, _vm$
|
|
19163
|
+
var _vm$nodeHandler, _vm$nodeHandler2, _vm$nodeRef, _vm$nodeRef2, _vm$noticeTemplateAtt;
|
|
19146
19164
|
var _vm = this,
|
|
19147
19165
|
_c = _vm._self._c;
|
|
19148
|
-
return _c('div', [(_vm$nodeHandler = _vm.nodeHandler) !== null && _vm$nodeHandler !== void 0 && (_vm$nodeHandler
|
|
19166
|
+
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', {
|
|
19149
19167
|
attrs: {
|
|
19150
19168
|
"placement": "rightTop"
|
|
19151
19169
|
},
|
|
@@ -19167,7 +19185,7 @@ var CheckNodevue_type_template_id_14b216a6_scoped_true_render = function render(
|
|
|
19167
19185
|
}], null, false, 193291077)
|
|
19168
19186
|
}, [_c('div', {
|
|
19169
19187
|
staticClass: "node",
|
|
19170
|
-
class: [_vm.node.error ? 'error' : '', (_vm$nodeHandler2 = _vm.nodeHandler) !== null && _vm$nodeHandler2 !== void 0 && (_vm$nodeHandler2
|
|
19188
|
+
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 : ''],
|
|
19171
19189
|
on: {
|
|
19172
19190
|
"click": _vm.click
|
|
19173
19191
|
}
|
|
@@ -19177,7 +19195,7 @@ var CheckNodevue_type_template_id_14b216a6_scoped_true_render = function render(
|
|
|
19177
19195
|
attrs: {
|
|
19178
19196
|
"component": _vm.icon
|
|
19179
19197
|
}
|
|
19180
|
-
})], 1), _c('span', [_vm._v(" " + _vm._s(_vm.node.name))]), (_vm$nodeRef = _vm.nodeRef) !== null && _vm$nodeRef !== void 0 && (_vm$nodeRef
|
|
19198
|
+
})], 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', {
|
|
19181
19199
|
attrs: {
|
|
19182
19200
|
"type": "control"
|
|
19183
19201
|
}
|
|
@@ -19297,7 +19315,7 @@ var CheckNodevue_type_template_id_14b216a6_scoped_true_render = function render(
|
|
|
19297
19315
|
attrs: {
|
|
19298
19316
|
"component": _vm.icon
|
|
19299
19317
|
}
|
|
19300
|
-
})], 1), _c('span', [_vm._v(" " + _vm._s(_vm.node.name))]), (_vm$nodeRef2 = _vm.nodeRef) !== null && _vm$nodeRef2 !== void 0 && (_vm$nodeRef2
|
|
19318
|
+
})], 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', {
|
|
19301
19319
|
attrs: {
|
|
19302
19320
|
"type": "control"
|
|
19303
19321
|
}
|
|
@@ -21020,11 +21038,11 @@ function CheckNodevue_type_script_lang_js_toPrimitive(input, hint) { if (CheckNo
|
|
|
21020
21038
|
'nodeContent': function nodeContent() {
|
|
21021
21039
|
var _this = this;
|
|
21022
21040
|
if (this.nodeHandler.isPreview) {
|
|
21023
|
-
var _this$nodeHandler, _this$
|
|
21041
|
+
var _this$nodeHandler, _this$nodeHandler2, _this$nodeHandler4;
|
|
21024
21042
|
var html = '';
|
|
21025
|
-
if ((_this$nodeHandler = this.nodeHandler) !== null && _this$nodeHandler !== void 0 && (_this$nodeHandler
|
|
21026
|
-
var _this$nodeHandler3
|
|
21027
|
-
var actors = (_this$nodeHandler3 = this.nodeHandler) === null || _this$nodeHandler3 === void 0
|
|
21043
|
+
if ((_this$nodeHandler = this.nodeHandler) !== null && _this$nodeHandler !== void 0 && (_this$nodeHandler = _this$nodeHandler.runtimeData) !== null && _this$nodeHandler !== void 0 && _this$nodeHandler.caseNodes && (_this$nodeHandler2 = this.nodeHandler) !== null && _this$nodeHandler2 !== void 0 && (_this$nodeHandler2 = _this$nodeHandler2.runtimeData) !== null && _this$nodeHandler2 !== void 0 && (_this$nodeHandler2 = _this$nodeHandler2.caseNodes[this.node.code]) !== null && _this$nodeHandler2 !== void 0 && _this$nodeHandler2.status) {
|
|
21044
|
+
var _this$nodeHandler3;
|
|
21045
|
+
var actors = (_this$nodeHandler3 = this.nodeHandler) === null || _this$nodeHandler3 === void 0 || (_this$nodeHandler3 = _this$nodeHandler3.runtimeData) === null || _this$nodeHandler3 === void 0 ? void 0 : _this$nodeHandler3.caseNodes[this.node.code].actors;
|
|
21028
21046
|
actors.forEach(function (actor) {
|
|
21029
21047
|
if (html) {
|
|
21030
21048
|
html += '、';
|
|
@@ -21035,7 +21053,7 @@ function CheckNodevue_type_script_lang_js_toPrimitive(input, hint) { if (CheckNo
|
|
|
21035
21053
|
html += ' ';
|
|
21036
21054
|
}
|
|
21037
21055
|
}
|
|
21038
|
-
if (((_this$nodeHandler4 = this.nodeHandler) === null || _this$nodeHandler4 === void 0
|
|
21056
|
+
if (((_this$nodeHandler4 = this.nodeHandler) === null || _this$nodeHandler4 === void 0 || (_this$nodeHandler4 = _this$nodeHandler4.runtimeData) === null || _this$nodeHandler4 === void 0 ? void 0 : _this$nodeHandler4.currentNodeCode) === this.nodeRef.code) {
|
|
21039
21057
|
if (html && html !== ' ') {
|
|
21040
21058
|
html += '、';
|
|
21041
21059
|
}
|
|
@@ -21179,14 +21197,14 @@ function CheckNodevue_type_script_lang_js_toPrimitive(input, hint) { if (CheckNo
|
|
|
21179
21197
|
});
|
|
21180
21198
|
},
|
|
21181
21199
|
getClass: function getClass() {
|
|
21182
|
-
var _this$nodeHandler5, _this$
|
|
21200
|
+
var _this$nodeHandler5, _this$nodeHandler6, _this$nodeHandler7;
|
|
21183
21201
|
var classes = '';
|
|
21184
21202
|
if (this.node.error) {
|
|
21185
21203
|
classes += ' error';
|
|
21186
21204
|
}
|
|
21187
|
-
if (((_this$nodeHandler5 = this.nodeHandler) === null || _this$nodeHandler5 === void 0
|
|
21205
|
+
if (((_this$nodeHandler5 = this.nodeHandler) === null || _this$nodeHandler5 === void 0 || (_this$nodeHandler5 = _this$nodeHandler5.runtimeData) === null || _this$nodeHandler5 === void 0 ? void 0 : _this$nodeHandler5.currentNodeCode) === this.node.code) {
|
|
21188
21206
|
classes += ' ongoing';
|
|
21189
|
-
} else if ((_this$nodeHandler6 = this.nodeHandler) !== null && _this$nodeHandler6 !== void 0 && (_this$nodeHandler6
|
|
21207
|
+
} else if ((_this$nodeHandler6 = this.nodeHandler) !== null && _this$nodeHandler6 !== void 0 && (_this$nodeHandler6 = _this$nodeHandler6.runtimeData) !== null && _this$nodeHandler6 !== void 0 && _this$nodeHandler6.caseNodes && (_this$nodeHandler7 = this.nodeHandler) !== null && _this$nodeHandler7 !== void 0 && (_this$nodeHandler7 = _this$nodeHandler7.runtimeData) !== null && _this$nodeHandler7 !== void 0 && (_this$nodeHandler7 = _this$nodeHandler7.caseNodes[this.node.code]) !== null && _this$nodeHandler7 !== void 0 && _this$nodeHandler7.status) {
|
|
21190
21208
|
classes += this.nodeHandler.runtimeData.caseNodes[this.node.code].status;
|
|
21191
21209
|
}
|
|
21192
21210
|
return classes;
|
|
@@ -21200,10 +21218,10 @@ function CheckNodevue_type_script_lang_js_toPrimitive(input, hint) { if (CheckNo
|
|
|
21200
21218
|
* @param node {NodeItem}
|
|
21201
21219
|
*/
|
|
21202
21220
|
loadCache: function loadCache(node) {
|
|
21203
|
-
var _node$data$eadCache$w, _node$data, _node$data$eadCache
|
|
21204
|
-
this.optionViewType = (_node$data$eadCache$w = (_node$data = node.data) === null || _node$data === void 0
|
|
21205
|
-
this.optionViewList = (_node$data$eadCache$
|
|
21206
|
-
this.driverList = (_node$data$eadCache$
|
|
21221
|
+
var _node$data$eadCache$w, _node$data, _node$data$eadCache$w2, _node$data2, _node$data$eadCache$w3, _node$data3;
|
|
21222
|
+
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;
|
|
21223
|
+
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;
|
|
21224
|
+
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;
|
|
21207
21225
|
},
|
|
21208
21226
|
handleDriverChange: function handleDriverChange(a, s) {},
|
|
21209
21227
|
handleDriverSearch: function handleDriverSearch(s) {
|
|
@@ -21729,7 +21747,7 @@ var JudgeWrapNode_component = normalizeComponent(
|
|
|
21729
21747
|
/* harmony default export */ var JudgeWrapNode = (JudgeWrapNode_component.exports);
|
|
21730
21748
|
// CONCATENATED MODULE: ../node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4325b732-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/JudgeNode.vue?vue&type=template&id=3cf68a4f&scoped=true&
|
|
21731
21749
|
var JudgeNodevue_type_template_id_3cf68a4f_scoped_true_render = function render() {
|
|
21732
|
-
var _vm$wrapNode
|
|
21750
|
+
var _vm$wrapNode;
|
|
21733
21751
|
var _vm = this,
|
|
21734
21752
|
_c = _vm._self._c;
|
|
21735
21753
|
return _c('div', [_c('div', {
|
|
@@ -21763,7 +21781,7 @@ var JudgeNodevue_type_template_id_3cf68a4f_scoped_true_render = function render(
|
|
|
21763
21781
|
staticStyle: {
|
|
21764
21782
|
"margin-right": "5px"
|
|
21765
21783
|
}
|
|
21766
|
-
}, [((_vm$wrapNode = _vm.wrapNode) === null || _vm$wrapNode === void 0
|
|
21784
|
+
}, [((_vm$wrapNode = _vm.wrapNode) === null || _vm$wrapNode === void 0 || (_vm$wrapNode = _vm$wrapNode.data) === null || _vm$wrapNode === void 0 ? void 0 : _vm$wrapNode.gateway_type) === 'exclusive' ? _c('a-icon', {
|
|
21767
21785
|
attrs: {
|
|
21768
21786
|
"type": "apartment"
|
|
21769
21787
|
}
|
|
@@ -22000,8 +22018,8 @@ var JudgeNodevue_type_template_id_3cf68a4f_scoped_true_staticRenderFns = [];
|
|
|
22000
22018
|
var num = childNodeCodes.filter(function (code) {
|
|
22001
22019
|
return code !== _this.nodeRef.code;
|
|
22002
22020
|
}).filter(function (code) {
|
|
22003
|
-
var _this$nodeHandler$get
|
|
22004
|
-
return (_this$nodeHandler$get = _this.nodeHandler.getNode(code)) === null || _this$nodeHandler$get === void 0
|
|
22021
|
+
var _this$nodeHandler$get;
|
|
22022
|
+
return (_this$nodeHandler$get = _this.nodeHandler.getNode(code)) === null || _this$nodeHandler$get === void 0 || (_this$nodeHandler$get = _this$nodeHandler$get.data) === null || _this$nodeHandler$get === void 0 ? void 0 : _this$nodeHandler$get.isDefault;
|
|
22005
22023
|
}).length;
|
|
22006
22024
|
return !!num;
|
|
22007
22025
|
}
|
|
@@ -22059,14 +22077,14 @@ var JudgeNodevue_type_template_id_3cf68a4f_scoped_true_staticRenderFns = [];
|
|
|
22059
22077
|
},
|
|
22060
22078
|
methods: {
|
|
22061
22079
|
getClass: function getClass() {
|
|
22062
|
-
var _this$nodeHandler, _this$
|
|
22080
|
+
var _this$nodeHandler, _this$nodeHandler2, _this$nodeHandler3;
|
|
22063
22081
|
var classes = '';
|
|
22064
22082
|
if (this.node.error) {
|
|
22065
22083
|
classes += ' error';
|
|
22066
22084
|
}
|
|
22067
|
-
if (((_this$nodeHandler = this.nodeHandler) === null || _this$nodeHandler === void 0
|
|
22085
|
+
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) {
|
|
22068
22086
|
classes += ' ongoing';
|
|
22069
|
-
} else if ((_this$nodeHandler2 = this.nodeHandler) !== null && _this$nodeHandler2 !== void 0 && (_this$nodeHandler2
|
|
22087
|
+
} 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) {
|
|
22070
22088
|
classes += this.nodeHandler.runtimeData.caseNodes[this.node.code].status;
|
|
22071
22089
|
}
|
|
22072
22090
|
return classes;
|
|
@@ -23153,14 +23171,14 @@ function CCNodevue_type_script_lang_js_toPrimitive(input, hint) { if (CCNodevue_
|
|
|
23153
23171
|
});
|
|
23154
23172
|
},
|
|
23155
23173
|
getClass: function getClass() {
|
|
23156
|
-
var _this$nodeHandler, _this$
|
|
23174
|
+
var _this$nodeHandler, _this$nodeHandler2, _this$nodeHandler3;
|
|
23157
23175
|
var classes = '';
|
|
23158
23176
|
if (this.node.error) {
|
|
23159
23177
|
classes += ' error';
|
|
23160
23178
|
}
|
|
23161
|
-
if (((_this$nodeHandler = this.nodeHandler) === null || _this$nodeHandler === void 0
|
|
23179
|
+
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) {
|
|
23162
23180
|
classes += ' ongoing';
|
|
23163
|
-
} else if ((_this$nodeHandler2 = this.nodeHandler) !== null && _this$nodeHandler2 !== void 0 && (_this$nodeHandler2
|
|
23181
|
+
} 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) {
|
|
23164
23182
|
classes += this.nodeHandler.runtimeData.caseNodes[this.node.code].status;
|
|
23165
23183
|
}
|
|
23166
23184
|
return classes;
|
|
@@ -23170,9 +23188,9 @@ function CCNodevue_type_script_lang_js_toPrimitive(input, hint) { if (CCNodevue_
|
|
|
23170
23188
|
* @param node {NodeItem}
|
|
23171
23189
|
*/
|
|
23172
23190
|
loadCache: function loadCache(node) {
|
|
23173
|
-
var _node$data$eadCache$w, _node$data, _node$data$eadCache
|
|
23174
|
-
this.optionViewType = (_node$data$eadCache$w = (_node$data = node.data) === null || _node$data === void 0
|
|
23175
|
-
this.optionViewList = (_node$data$eadCache$
|
|
23191
|
+
var _node$data$eadCache$w, _node$data, _node$data$eadCache$w2, _node$data2;
|
|
23192
|
+
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;
|
|
23193
|
+
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;
|
|
23176
23194
|
},
|
|
23177
23195
|
hasExpression: function hasExpression(item) {
|
|
23178
23196
|
if (item.type === 'uid') {
|
|
@@ -23694,14 +23712,14 @@ function TriggerNodevue_type_script_lang_js_toPrimitive(input, hint) { if (Trigg
|
|
|
23694
23712
|
},
|
|
23695
23713
|
methods: {
|
|
23696
23714
|
getClass: function getClass() {
|
|
23697
|
-
var _this$nodeHandler, _this$
|
|
23715
|
+
var _this$nodeHandler, _this$nodeHandler2, _this$nodeHandler3;
|
|
23698
23716
|
var classes = '';
|
|
23699
23717
|
if (this.node.error) {
|
|
23700
23718
|
classes += ' error';
|
|
23701
23719
|
}
|
|
23702
|
-
if (((_this$nodeHandler = this.nodeHandler) === null || _this$nodeHandler === void 0
|
|
23720
|
+
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) {
|
|
23703
23721
|
classes += ' ongoing';
|
|
23704
|
-
} else if ((_this$nodeHandler2 = this.nodeHandler) !== null && _this$nodeHandler2 !== void 0 && (_this$nodeHandler2
|
|
23722
|
+
} 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) {
|
|
23705
23723
|
classes += this.nodeHandler.runtimeData.caseNodes[this.node.code].status;
|
|
23706
23724
|
}
|
|
23707
23725
|
return classes;
|
|
@@ -23711,8 +23729,8 @@ function TriggerNodevue_type_script_lang_js_toPrimitive(input, hint) { if (Trigg
|
|
|
23711
23729
|
* @param node {NodeItem}
|
|
23712
23730
|
*/
|
|
23713
23731
|
loadCache: function loadCache(node) {
|
|
23714
|
-
var _node$data$eadCache$w, _node$data
|
|
23715
|
-
this.driverList = (_node$data$eadCache$w = (_node$data = node.data) === null || _node$data === void 0
|
|
23732
|
+
var _node$data$eadCache$w, _node$data;
|
|
23733
|
+
this.driverList = (_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.driverList) !== null && _node$data$eadCache$w !== void 0 ? _node$data$eadCache$w : null;
|
|
23716
23734
|
},
|
|
23717
23735
|
handleDriverChange: function handleDriverChange(a, s) {},
|
|
23718
23736
|
handleDriverSearch: function handleDriverSearch(s) {
|
|
@@ -24247,14 +24265,14 @@ function DelayNodevue_type_script_lang_js_toPrimitive(input, hint) { if (DelayNo
|
|
|
24247
24265
|
},
|
|
24248
24266
|
methods: {
|
|
24249
24267
|
getClass: function getClass() {
|
|
24250
|
-
var _this$nodeHandler, _this$
|
|
24268
|
+
var _this$nodeHandler, _this$nodeHandler2, _this$nodeHandler3;
|
|
24251
24269
|
var classes = '';
|
|
24252
24270
|
if (this.node.error) {
|
|
24253
24271
|
classes += ' error';
|
|
24254
24272
|
}
|
|
24255
|
-
if (((_this$nodeHandler = this.nodeHandler) === null || _this$nodeHandler === void 0
|
|
24273
|
+
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) {
|
|
24256
24274
|
classes += ' ongoing';
|
|
24257
|
-
} else if ((_this$nodeHandler2 = this.nodeHandler) !== null && _this$nodeHandler2 !== void 0 && (_this$nodeHandler2
|
|
24275
|
+
} 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) {
|
|
24258
24276
|
classes += this.nodeHandler.runtimeData.caseNodes[this.node.code].status;
|
|
24259
24277
|
}
|
|
24260
24278
|
return classes;
|
|
@@ -24264,8 +24282,8 @@ function DelayNodevue_type_script_lang_js_toPrimitive(input, hint) { if (DelayNo
|
|
|
24264
24282
|
* @param node {NodeItem}
|
|
24265
24283
|
*/
|
|
24266
24284
|
loadCache: function loadCache(node) {
|
|
24267
|
-
var _node$data$eadCache$w, _node$data
|
|
24268
|
-
this.driverList = (_node$data$eadCache$w = (_node$data = node.data) === null || _node$data === void 0
|
|
24285
|
+
var _node$data$eadCache$w, _node$data;
|
|
24286
|
+
this.driverList = (_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.driverList) !== null && _node$data$eadCache$w !== void 0 ? _node$data$eadCache$w : null;
|
|
24269
24287
|
},
|
|
24270
24288
|
handleDriverSearch: function handleDriverSearch(s) {
|
|
24271
24289
|
var _this = this;
|
|
@@ -25847,13 +25865,11 @@ var WorkFlowDesigner_component = normalizeComponent(
|
|
|
25847
25865
|
)
|
|
25848
25866
|
|
|
25849
25867
|
/* harmony default export */ var WorkFlowDesigner = (WorkFlowDesigner_component.exports);
|
|
25850
|
-
// CONCATENATED MODULE: ../node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4325b732-vue-loader-template"}!../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/babel-loader/lib!../node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib??vue-loader-options!../src/web/components/forms/flow/runtime/RuntimeWorkFlow.vue?vue&type=template&id=
|
|
25851
|
-
var
|
|
25868
|
+
// CONCATENATED MODULE: ../node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4325b732-vue-loader-template"}!../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/babel-loader/lib!../node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib??vue-loader-options!../src/web/components/forms/flow/runtime/RuntimeWorkFlow.vue?vue&type=template&id=b1bd8bb4&scoped=true&
|
|
25869
|
+
var RuntimeWorkFlowvue_type_template_id_b1bd8bb4_scoped_true_render = function render() {
|
|
25852
25870
|
var _this = this,
|
|
25853
25871
|
_vm$currentNode$data$,
|
|
25854
|
-
_vm$currentNode$data$2
|
|
25855
|
-
_vm$currentNode$data$3,
|
|
25856
|
-
_vm$currentNode$data$4;
|
|
25872
|
+
_vm$currentNode$data$2;
|
|
25857
25873
|
var _vm = this,
|
|
25858
25874
|
_c = _vm._self._c;
|
|
25859
25875
|
return _c('a-form-model', {
|
|
@@ -25907,11 +25923,11 @@ var RuntimeWorkFlowvue_type_template_id_0574fd41_scoped_true_render = function r
|
|
|
25907
25923
|
attrs: {
|
|
25908
25924
|
"value": _vm.CHECK_ACTION.PASS
|
|
25909
25925
|
}
|
|
25910
|
-
}, [_vm._v(" " + _vm._s((_vm$currentNode$data$ = _vm.currentNode.data.other_options) !== null && _vm$currentNode$data$ !== void 0 && (_vm$currentNode$data$
|
|
25926
|
+
}, [_vm._v(" " + _vm._s((_vm$currentNode$data$ = _vm.currentNode.data.other_options) !== null && _vm$currentNode$data$ !== void 0 && (_vm$currentNode$data$ = _vm$currentNode$data$.custom_action) !== null && _vm$currentNode$data$ !== void 0 && _vm$currentNode$data$.pass ? _vm.currentNode.data.other_options.custom_action.pass : '审批通过') + " ")]), _vm.runtimeData.pageOperate.allowBack ? _c('a-radio-button', {
|
|
25911
25927
|
attrs: {
|
|
25912
25928
|
"value": _vm.CHECK_ACTION.BACK
|
|
25913
25929
|
}
|
|
25914
|
-
}, [_vm._v(" " + _vm._s((_vm$currentNode$data$
|
|
25930
|
+
}, [_vm._v(" " + _vm._s((_vm$currentNode$data$2 = _vm.currentNode.data.other_options) !== null && _vm$currentNode$data$2 !== void 0 && (_vm$currentNode$data$2 = _vm$currentNode$data$2.custom_action) !== null && _vm$currentNode$data$2 !== void 0 && _vm$currentNode$data$2.pass ? _vm.currentNode.data.other_options.custom_action.back : ' 审批退回') + " ")]) : _vm._e(), _vm.runtimeData.pageOperate.allowReassign ? _c('a-radio-button', {
|
|
25915
25931
|
attrs: {
|
|
25916
25932
|
"value": _vm.CHECK_ACTION.REASSIGN
|
|
25917
25933
|
}
|
|
@@ -26531,9 +26547,9 @@ var RuntimeWorkFlowvue_type_template_id_0574fd41_scoped_true_render = function r
|
|
|
26531
26547
|
}
|
|
26532
26548
|
}, [_vm._v("关闭")])], 1)], 2)], 1);
|
|
26533
26549
|
};
|
|
26534
|
-
var
|
|
26550
|
+
var RuntimeWorkFlowvue_type_template_id_b1bd8bb4_scoped_true_staticRenderFns = [];
|
|
26535
26551
|
|
|
26536
|
-
// CONCATENATED MODULE: ../src/web/components/forms/flow/runtime/RuntimeWorkFlow.vue?vue&type=template&id=
|
|
26552
|
+
// CONCATENATED MODULE: ../src/web/components/forms/flow/runtime/RuntimeWorkFlow.vue?vue&type=template&id=b1bd8bb4&scoped=true&
|
|
26537
26553
|
|
|
26538
26554
|
// EXTERNAL MODULE: external {"root":"vuedraggable","commonjs2":"vuedraggable","commonjs":"vuedraggable","amd":"vuedraggable"}
|
|
26539
26555
|
var external_root_vuedraggable_commonjs2_vuedraggable_commonjs_vuedraggable_amd_vuedraggable_ = __webpack_require__("289a");
|
|
@@ -26870,7 +26886,7 @@ var CHECK_ACTION = {
|
|
|
26870
26886
|
mounted: function mounted() {
|
|
26871
26887
|
var _this = this;
|
|
26872
26888
|
return RuntimeWorkFlowvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/RuntimeWorkFlowvue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
|
|
26873
|
-
var _OPERATE$_this$config, _data$data, _data$data2,
|
|
26889
|
+
var _OPERATE$_this$config, _data$data, _data$data2, _this$runtimeData, _this$runtimeData2, _data$data3;
|
|
26874
26890
|
var data, runtimeData, caseNodeMap, users, nodeJson, node, paneSet;
|
|
26875
26891
|
return RuntimeWorkFlowvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
26876
26892
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -26914,8 +26930,8 @@ var CHECK_ACTION = {
|
|
|
26914
26930
|
});
|
|
26915
26931
|
|
|
26916
26932
|
// runtime数据
|
|
26917
|
-
_this.workflow = data === null || data === void 0
|
|
26918
|
-
runtimeData = data === null || data === void 0
|
|
26933
|
+
_this.workflow = data === null || data === void 0 || (_data$data = data.data) === null || _data$data === void 0 ? void 0 : _data$data.workflow;
|
|
26934
|
+
runtimeData = data === null || data === void 0 || (_data$data2 = data.data) === null || _data$data2 === void 0 || (_data$data2 = _data$data2.workflow) === null || _data$data2 === void 0 ? void 0 : _data$data2.runtime_data;
|
|
26919
26935
|
if (runtimeData && Object.keys(runtimeData).length) {
|
|
26920
26936
|
_this.runtimeData = runtimeData;
|
|
26921
26937
|
}
|
|
@@ -26974,10 +26990,10 @@ var CHECK_ACTION = {
|
|
|
26974
26990
|
|
|
26975
26991
|
// user cache
|
|
26976
26992
|
users = [];
|
|
26977
|
-
if ((_this$runtimeData = _this.runtimeData) !== null && _this$runtimeData !== void 0 && (_this$runtimeData
|
|
26993
|
+
if ((_this$runtimeData = _this.runtimeData) !== null && _this$runtimeData !== void 0 && (_this$runtimeData = _this$runtimeData.involve) !== null && _this$runtimeData !== void 0 && _this$runtimeData.actors) {
|
|
26978
26994
|
users.push.apply(users, RuntimeWorkFlowvue_type_script_lang_js_toConsumableArray(_this.runtimeData.involve.actors));
|
|
26979
26995
|
}
|
|
26980
|
-
if ((_this$runtimeData2 = _this.runtimeData) !== null && _this$runtimeData2 !== void 0 && (_this$runtimeData2
|
|
26996
|
+
if ((_this$runtimeData2 = _this.runtimeData) !== null && _this$runtimeData2 !== void 0 && (_this$runtimeData2 = _this$runtimeData2.reassign) !== null && _this$runtimeData2 !== void 0 && _this$runtimeData2.actors) {
|
|
26981
26997
|
users.push.apply(users, RuntimeWorkFlowvue_type_script_lang_js_toConsumableArray(_this.runtimeData.reassign.actors));
|
|
26982
26998
|
}
|
|
26983
26999
|
if (_this.runtimeData.todos) {
|
|
@@ -26990,7 +27006,7 @@ var CHECK_ACTION = {
|
|
|
26990
27006
|
});
|
|
26991
27007
|
|
|
26992
27008
|
// node核心节点数据
|
|
26993
|
-
nodeJson = data === null || data === void 0
|
|
27009
|
+
nodeJson = data === null || data === void 0 || (_data$data3 = data.data) === null || _data$data3 === void 0 || (_data$data3 = _data$data3.workflow) === null || _data$data3 === void 0 ? void 0 : _data$data3.node_json;
|
|
26994
27010
|
node = nodeJson ? nodeJson === null || nodeJson === void 0 ? void 0 : nodeJson.node : null;
|
|
26995
27011
|
_this.nodeData = node ? RuntimeWorkFlowvue_type_script_lang_js_toConsumableArray(Object.values(node)) : [];
|
|
26996
27012
|
|
|
@@ -27135,7 +27151,10 @@ var CHECK_ACTION = {
|
|
|
27135
27151
|
var _this$runtimeData$tod;
|
|
27136
27152
|
if ((_this$runtimeData$tod = this.runtimeData.todos) !== null && _this$runtimeData$tod !== void 0 && _this$runtimeData$tod.length) {
|
|
27137
27153
|
var availableTodos = this.getAvailableTodos();
|
|
27138
|
-
|
|
27154
|
+
var endNode = this.nodeHandler.getAllRoute(this.currentNode.code).find(function (node) {
|
|
27155
|
+
return node.type === 'end';
|
|
27156
|
+
});
|
|
27157
|
+
if (!availableTodos.length && !endNode) {
|
|
27139
27158
|
this.$message.error('无法匹配到符合条件的后续步骤');
|
|
27140
27159
|
return;
|
|
27141
27160
|
}
|
|
@@ -27153,10 +27172,10 @@ var CHECK_ACTION = {
|
|
|
27153
27172
|
}
|
|
27154
27173
|
if ((_this$runtimeData$tod2 = this.runtimeData.todos) !== null && _this$runtimeData$tod2 !== void 0 && _this$runtimeData$tod2.length) {
|
|
27155
27174
|
var _availableTodos = this.getAvailableTodos();
|
|
27156
|
-
var
|
|
27175
|
+
var _endNode = this.nodeHandler.getAllRoute(this.currentNode.code).find(function (node) {
|
|
27157
27176
|
return node.type === 'end';
|
|
27158
27177
|
});
|
|
27159
|
-
if (!_availableTodos.length && !
|
|
27178
|
+
if (!_availableTodos.length && !_endNode) {
|
|
27160
27179
|
this.$message.error('无法匹配到符合条件的后续步骤');
|
|
27161
27180
|
return;
|
|
27162
27181
|
}
|
|
@@ -27168,10 +27187,10 @@ var CHECK_ACTION = {
|
|
|
27168
27187
|
var _this$runtimeData$tod3;
|
|
27169
27188
|
if ((_this$runtimeData$tod3 = this.runtimeData.todos) !== null && _this$runtimeData$tod3 !== void 0 && _this$runtimeData$tod3.length) {
|
|
27170
27189
|
var _availableTodos2 = this.getAvailableTodos();
|
|
27171
|
-
var
|
|
27190
|
+
var _endNode2 = this.nodeHandler.getAllRoute(this.currentNode.code).find(function (node) {
|
|
27172
27191
|
return node.type === 'end';
|
|
27173
27192
|
});
|
|
27174
|
-
if (!_availableTodos2.length && !
|
|
27193
|
+
if (!_availableTodos2.length && !_endNode2) {
|
|
27175
27194
|
this.$message.error('无法匹配到符合条件的后续步骤');
|
|
27176
27195
|
return;
|
|
27177
27196
|
}
|
|
@@ -27181,8 +27200,8 @@ var CHECK_ACTION = {
|
|
|
27181
27200
|
|
|
27182
27201
|
// 审批加签
|
|
27183
27202
|
if (this.workflowReq.page_operate.action === CHECK_ACTION.INVOLVE) {
|
|
27184
|
-
var _this$runtimeData$
|
|
27185
|
-
if (!((_this$runtimeData$
|
|
27203
|
+
var _this$runtimeData$inv;
|
|
27204
|
+
if (!((_this$runtimeData$inv = this.runtimeData.involve) !== null && _this$runtimeData$inv !== void 0 && (_this$runtimeData$inv = _this$runtimeData$inv.selected) !== null && _this$runtimeData$inv !== void 0 && _this$runtimeData$inv.length)) {
|
|
27186
27205
|
this.$message.error('请选择加签人');
|
|
27187
27206
|
return;
|
|
27188
27207
|
}
|
|
@@ -27191,8 +27210,8 @@ var CHECK_ACTION = {
|
|
|
27191
27210
|
|
|
27192
27211
|
// 审批转办
|
|
27193
27212
|
if (this.workflowReq.page_operate.action === CHECK_ACTION.REASSIGN) {
|
|
27194
|
-
var _this$runtimeData$rea
|
|
27195
|
-
if (!((_this$runtimeData$rea = this.runtimeData.reassign) !== null && _this$runtimeData$rea !== void 0 && (_this$runtimeData$
|
|
27213
|
+
var _this$runtimeData$rea;
|
|
27214
|
+
if (!((_this$runtimeData$rea = this.runtimeData.reassign) !== null && _this$runtimeData$rea !== void 0 && (_this$runtimeData$rea = _this$runtimeData$rea.selected) !== null && _this$runtimeData$rea !== void 0 && _this$runtimeData$rea.length)) {
|
|
27196
27215
|
this.$message.error('请选择转办人');
|
|
27197
27216
|
return;
|
|
27198
27217
|
}
|
|
@@ -27467,8 +27486,8 @@ var CHECK_ACTION = {
|
|
|
27467
27486
|
});
|
|
27468
27487
|
// CONCATENATED MODULE: ../src/web/components/forms/flow/runtime/RuntimeWorkFlow.vue?vue&type=script&lang=js&
|
|
27469
27488
|
/* harmony default export */ var runtime_RuntimeWorkFlowvue_type_script_lang_js_ = (RuntimeWorkFlowvue_type_script_lang_js_);
|
|
27470
|
-
// EXTERNAL MODULE: ../src/web/components/forms/flow/runtime/RuntimeWorkFlow.vue?vue&type=style&index=0&id=
|
|
27471
|
-
var
|
|
27489
|
+
// EXTERNAL MODULE: ../src/web/components/forms/flow/runtime/RuntimeWorkFlow.vue?vue&type=style&index=0&id=b1bd8bb4&prod&lang=less&scoped=true&
|
|
27490
|
+
var RuntimeWorkFlowvue_type_style_index_0_id_b1bd8bb4_prod_lang_less_scoped_true_ = __webpack_require__("00c1");
|
|
27472
27491
|
|
|
27473
27492
|
// CONCATENATED MODULE: ../src/web/components/forms/flow/runtime/RuntimeWorkFlow.vue
|
|
27474
27493
|
|
|
@@ -27481,11 +27500,11 @@ var RuntimeWorkFlowvue_type_style_index_0_id_0574fd41_prod_lang_less_scoped_true
|
|
|
27481
27500
|
|
|
27482
27501
|
var RuntimeWorkFlow_component = normalizeComponent(
|
|
27483
27502
|
runtime_RuntimeWorkFlowvue_type_script_lang_js_,
|
|
27484
|
-
|
|
27485
|
-
|
|
27503
|
+
RuntimeWorkFlowvue_type_template_id_b1bd8bb4_scoped_true_render,
|
|
27504
|
+
RuntimeWorkFlowvue_type_template_id_b1bd8bb4_scoped_true_staticRenderFns,
|
|
27486
27505
|
false,
|
|
27487
27506
|
null,
|
|
27488
|
-
"
|
|
27507
|
+
"b1bd8bb4",
|
|
27489
27508
|
null
|
|
27490
27509
|
|
|
27491
27510
|
)
|
|
@@ -42436,17 +42455,6 @@ module.exports = Array.isArray || function (arr) {
|
|
|
42436
42455
|
/* unused harmony reexport * */
|
|
42437
42456
|
|
|
42438
42457
|
|
|
42439
|
-
/***/ }),
|
|
42440
|
-
|
|
42441
|
-
/***/ "9cb9":
|
|
42442
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
42443
|
-
|
|
42444
|
-
"use strict";
|
|
42445
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_RuntimeWorkFlow_vue_vue_type_style_index_0_id_0574fd41_prod_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("c2f7");
|
|
42446
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_RuntimeWorkFlow_vue_vue_type_style_index_0_id_0574fd41_prod_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_RuntimeWorkFlow_vue_vue_type_style_index_0_id_0574fd41_prod_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
42447
|
-
/* unused harmony reexport * */
|
|
42448
|
-
|
|
42449
|
-
|
|
42450
42458
|
/***/ }),
|
|
42451
42459
|
|
|
42452
42460
|
/***/ "9f89":
|
|
@@ -44805,13 +44813,6 @@ module.exports = g;
|
|
|
44805
44813
|
|
|
44806
44814
|
/***/ }),
|
|
44807
44815
|
|
|
44808
|
-
/***/ "c2f7":
|
|
44809
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
44810
|
-
|
|
44811
|
-
// extracted by mini-css-extract-plugin
|
|
44812
|
-
|
|
44813
|
-
/***/ }),
|
|
44814
|
-
|
|
44815
44816
|
/***/ "c32d":
|
|
44816
44817
|
/***/ (function(module, exports) {
|
|
44817
44818
|
|