@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.common.js
CHANGED
|
@@ -92,6 +92,17 @@ module.exports =
|
|
|
92
92
|
|
|
93
93
|
/* (ignored) */
|
|
94
94
|
|
|
95
|
+
/***/ }),
|
|
96
|
+
|
|
97
|
+
/***/ "00c1":
|
|
98
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
99
|
+
|
|
100
|
+
"use strict";
|
|
101
|
+
/* 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");
|
|
102
|
+
/* 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__);
|
|
103
|
+
/* unused harmony reexport * */
|
|
104
|
+
|
|
105
|
+
|
|
95
106
|
/***/ }),
|
|
96
107
|
|
|
97
108
|
/***/ "014f":
|
|
@@ -1553,6 +1564,13 @@ exports.write = function (buffer, value, offset, isLE, mLen, nBytes) {
|
|
|
1553
1564
|
/* unused harmony reexport * */
|
|
1554
1565
|
|
|
1555
1566
|
|
|
1567
|
+
/***/ }),
|
|
1568
|
+
|
|
1569
|
+
/***/ "1861":
|
|
1570
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1571
|
+
|
|
1572
|
+
// extracted by mini-css-extract-plugin
|
|
1573
|
+
|
|
1556
1574
|
/***/ }),
|
|
1557
1575
|
|
|
1558
1576
|
/***/ "193e":
|
|
@@ -6647,8 +6665,8 @@ function item_toPrimitive(input, hint) { if (item_typeof(input) !== "object" ||
|
|
|
6647
6665
|
},
|
|
6648
6666
|
computed: {
|
|
6649
6667
|
placeholder: function placeholder() {
|
|
6650
|
-
var _this$schema
|
|
6651
|
-
if ((_this$schema = this.schema) !== null && _this$schema !== void 0 && (_this$schema
|
|
6668
|
+
var _this$schema;
|
|
6669
|
+
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) {
|
|
6652
6670
|
return this.schema.params.control.placeholder;
|
|
6653
6671
|
}
|
|
6654
6672
|
return this.schema.alias || this.schema.name;
|
|
@@ -6817,12 +6835,12 @@ function item_toPrimitive(input, hint) { if (item_typeof(input) !== "object" ||
|
|
|
6817
6835
|
return treeUrl || null;
|
|
6818
6836
|
},
|
|
6819
6837
|
defaultValueUrl: function defaultValueUrl() {
|
|
6820
|
-
var _this$schema$
|
|
6821
|
-
_this$schema$
|
|
6822
|
-
_this$schema$
|
|
6823
|
-
_this$schema$
|
|
6824
|
-
_this$schema$
|
|
6825
|
-
defaultValueUrl = _this$schema$
|
|
6838
|
+
var _this$schema$params = this.schema.params,
|
|
6839
|
+
_this$schema$params2 = _this$schema$params === void 0 ? {} : _this$schema$params,
|
|
6840
|
+
_this$schema$params2$ = _this$schema$params2.control,
|
|
6841
|
+
_this$schema$params2$2 = _this$schema$params2$ === void 0 ? {} : _this$schema$params2$,
|
|
6842
|
+
_this$schema$params2$3 = _this$schema$params2$2.defaultValueUrl,
|
|
6843
|
+
defaultValueUrl = _this$schema$params2$3 === void 0 ? '' : _this$schema$params2$3;
|
|
6826
6844
|
return defaultValueUrl;
|
|
6827
6845
|
}
|
|
6828
6846
|
},
|
|
@@ -6901,12 +6919,12 @@ function item_toPrimitive(input, hint) { if (item_typeof(input) !== "object" ||
|
|
|
6901
6919
|
reset: function reset() {},
|
|
6902
6920
|
watch: function watch() {
|
|
6903
6921
|
var _this3 = this;
|
|
6904
|
-
var _this$schema$
|
|
6905
|
-
_this$schema$
|
|
6906
|
-
_this$schema$
|
|
6907
|
-
_this$schema$
|
|
6908
|
-
events = _this$schema$
|
|
6909
|
-
changeMode = _this$schema$
|
|
6922
|
+
var _this$schema$params3 = this.schema.params,
|
|
6923
|
+
_this$schema$params4 = _this$schema$params3 === void 0 ? {} : _this$schema$params3,
|
|
6924
|
+
_this$schema$params4$ = _this$schema$params4.control,
|
|
6925
|
+
_this$schema$params4$2 = _this$schema$params4$ === void 0 ? {} : _this$schema$params4$,
|
|
6926
|
+
events = _this$schema$params4$2.events,
|
|
6927
|
+
changeMode = _this$schema$params4$2.changeMode;
|
|
6910
6928
|
if (changeMode) this.changeMode = changeMode;
|
|
6911
6929
|
if (events) {
|
|
6912
6930
|
var _loop = function _loop() {
|
|
@@ -7045,11 +7063,11 @@ function item_toPrimitive(input, hint) { if (item_typeof(input) !== "object" ||
|
|
|
7045
7063
|
},
|
|
7046
7064
|
expression: function expression() {},
|
|
7047
7065
|
handlePickerShow: function handlePickerShow() {
|
|
7048
|
-
var _this$schema$
|
|
7049
|
-
_this$schema$
|
|
7050
|
-
_this$schema$
|
|
7051
|
-
_this$schema$
|
|
7052
|
-
multiple = _this$schema$
|
|
7066
|
+
var _this$schema$params5 = this.schema.params,
|
|
7067
|
+
_this$schema$params6 = _this$schema$params5 === void 0 ? {} : _this$schema$params5,
|
|
7068
|
+
_this$schema$params6$ = _this$schema$params6.control,
|
|
7069
|
+
_this$schema$params6$2 = _this$schema$params6$ === void 0 ? {} : _this$schema$params6$,
|
|
7070
|
+
multiple = _this$schema$params6$2.multiple;
|
|
7053
7071
|
this.pickerViewOptions = {
|
|
7054
7072
|
schema: this.schema,
|
|
7055
7073
|
filters: this.pickerFilter,
|
|
@@ -7107,11 +7125,11 @@ function item_toPrimitive(input, hint) { if (item_typeof(input) !== "object" ||
|
|
|
7107
7125
|
this.handlePickerClose();
|
|
7108
7126
|
},
|
|
7109
7127
|
handleMapComplete: function handleMapComplete(position) {
|
|
7110
|
-
var _this$schema$
|
|
7111
|
-
_this$schema$
|
|
7112
|
-
_this$schema$
|
|
7113
|
-
_this$schema$
|
|
7114
|
-
fills = _this$schema$
|
|
7128
|
+
var _this$schema$params7 = this.schema.params,
|
|
7129
|
+
_this$schema$params8 = _this$schema$params7 === void 0 ? {} : _this$schema$params7,
|
|
7130
|
+
_this$schema$params8$ = _this$schema$params8.control,
|
|
7131
|
+
_this$schema$params8$2 = _this$schema$params8$ === void 0 ? {} : _this$schema$params8$,
|
|
7132
|
+
fills = _this$schema$params8$2.fills;
|
|
7115
7133
|
if (fills) {
|
|
7116
7134
|
var fillsModel = Object.keys(fills).map(function (f) {
|
|
7117
7135
|
return {
|
|
@@ -17252,10 +17270,10 @@ var EndNode_component = normalizeComponent(
|
|
|
17252
17270
|
/* harmony default export */ var EndNode = (EndNode_component.exports);
|
|
17253
17271
|
// 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&
|
|
17254
17272
|
var StartNodevue_type_template_id_e7950f88_scoped_true_render = function render() {
|
|
17255
|
-
var _vm$nodeHandler, _vm$
|
|
17273
|
+
var _vm$nodeHandler, _vm$nodeRef, _vm$nodeRef2, _vm$noticeTemplateAtt;
|
|
17256
17274
|
var _vm = this,
|
|
17257
17275
|
_c = _vm._self._c;
|
|
17258
|
-
return _c('div', [(_vm$nodeHandler = _vm.nodeHandler) !== null && _vm$nodeHandler !== void 0 && (_vm$nodeHandler
|
|
17276
|
+
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', {
|
|
17259
17277
|
attrs: {
|
|
17260
17278
|
"placement": "rightTop"
|
|
17261
17279
|
},
|
|
@@ -17289,7 +17307,7 @@ var StartNodevue_type_template_id_e7950f88_scoped_true_render = function render(
|
|
|
17289
17307
|
"theme": "filled",
|
|
17290
17308
|
"type": "flag"
|
|
17291
17309
|
}
|
|
17292
|
-
})], 1), _c('span', [_vm._v(" " + _vm._s(_vm.node.name))]), (_vm$nodeRef = _vm.nodeRef) !== null && _vm$nodeRef !== void 0 && (_vm$nodeRef
|
|
17310
|
+
})], 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', {
|
|
17293
17311
|
attrs: {
|
|
17294
17312
|
"type": "control"
|
|
17295
17313
|
}
|
|
@@ -17333,7 +17351,7 @@ var StartNodevue_type_template_id_e7950f88_scoped_true_render = function render(
|
|
|
17333
17351
|
"theme": "filled",
|
|
17334
17352
|
"type": "flag"
|
|
17335
17353
|
}
|
|
17336
|
-
})], 1), _c('span', [_vm._v(" " + _vm._s(_vm.node.name))]), (_vm$nodeRef2 = _vm.nodeRef) !== null && _vm$nodeRef2 !== void 0 && (_vm$nodeRef2
|
|
17354
|
+
})], 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', {
|
|
17337
17355
|
attrs: {
|
|
17338
17356
|
"type": "control"
|
|
17339
17357
|
}
|
|
@@ -18379,14 +18397,14 @@ function StartNodevue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len =
|
|
|
18379
18397
|
},
|
|
18380
18398
|
computed: {
|
|
18381
18399
|
nodeContent: function nodeContent() {
|
|
18382
|
-
var _this$nodeHandler, _this$
|
|
18383
|
-
if (((_this$nodeHandler = this.nodeHandler) === null || _this$nodeHandler === void 0
|
|
18400
|
+
var _this$nodeHandler, _this$nodeHandler2, _this$nodeHandler3;
|
|
18401
|
+
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) {
|
|
18384
18402
|
return "<span class=\"actor pending\">".concat(this.eadApi.getCurrentUserName(), "</span>");
|
|
18385
18403
|
}
|
|
18386
|
-
if ((_this$nodeHandler2 = this.nodeHandler) !== null && _this$nodeHandler2 !== void 0 && (_this$nodeHandler2
|
|
18387
|
-
var _this$nodeHandler4
|
|
18404
|
+
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) {
|
|
18405
|
+
var _this$nodeHandler4;
|
|
18388
18406
|
var html = '';
|
|
18389
|
-
var actors = (_this$nodeHandler4 = this.nodeHandler) === null || _this$nodeHandler4 === void 0
|
|
18407
|
+
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;
|
|
18390
18408
|
actors.forEach(function (actor) {
|
|
18391
18409
|
if (html) {
|
|
18392
18410
|
html += '、';
|
|
@@ -18443,14 +18461,14 @@ function StartNodevue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len =
|
|
|
18443
18461
|
});
|
|
18444
18462
|
},
|
|
18445
18463
|
getClass: function getClass() {
|
|
18446
|
-
var _this$nodeHandler5, _this$
|
|
18464
|
+
var _this$nodeHandler5, _this$nodeHandler6, _this$nodeHandler7;
|
|
18447
18465
|
var classes = '';
|
|
18448
18466
|
if (this.node.error) {
|
|
18449
18467
|
classes += ' error';
|
|
18450
18468
|
}
|
|
18451
|
-
if (((_this$nodeHandler5 = this.nodeHandler) === null || _this$nodeHandler5 === void 0
|
|
18469
|
+
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) {
|
|
18452
18470
|
classes += ' ongoing';
|
|
18453
|
-
} else if ((_this$nodeHandler6 = this.nodeHandler) !== null && _this$nodeHandler6 !== void 0 && (_this$nodeHandler6
|
|
18471
|
+
} 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) {
|
|
18454
18472
|
classes += this.nodeHandler.runtimeData.caseNodes[this.node.code].status;
|
|
18455
18473
|
}
|
|
18456
18474
|
return classes;
|
|
@@ -18460,9 +18478,9 @@ function StartNodevue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len =
|
|
|
18460
18478
|
* @param node {NodeItem}
|
|
18461
18479
|
*/
|
|
18462
18480
|
loadCache: function loadCache(node) {
|
|
18463
|
-
var _node$data$eadCache$w, _node$data, _node$data$eadCache
|
|
18464
|
-
this.optionViewType = (_node$data$eadCache$w = (_node$data = node.data) === null || _node$data === void 0
|
|
18465
|
-
this.optionViewList = (_node$data$eadCache$
|
|
18481
|
+
var _node$data$eadCache$w, _node$data, _node$data$eadCache$w2, _node$data2;
|
|
18482
|
+
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;
|
|
18483
|
+
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;
|
|
18466
18484
|
},
|
|
18467
18485
|
'handleItemChange': function handleItemChange(d, b) {
|
|
18468
18486
|
// console.log(d)
|
|
@@ -18913,14 +18931,14 @@ var ParallelNodevue_type_template_id_9a75cb32_scoped_true_staticRenderFns = [];
|
|
|
18913
18931
|
},
|
|
18914
18932
|
methods: {
|
|
18915
18933
|
getClass: function getClass() {
|
|
18916
|
-
var _this$nodeHandler, _this$
|
|
18934
|
+
var _this$nodeHandler, _this$nodeHandler2, _this$nodeHandler3;
|
|
18917
18935
|
var classes = '';
|
|
18918
18936
|
if (this.node.error) {
|
|
18919
18937
|
classes += ' error';
|
|
18920
18938
|
}
|
|
18921
|
-
if (((_this$nodeHandler = this.nodeHandler) === null || _this$nodeHandler === void 0
|
|
18939
|
+
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) {
|
|
18922
18940
|
classes += ' ongoing';
|
|
18923
|
-
} else if ((_this$nodeHandler2 = this.nodeHandler) !== null && _this$nodeHandler2 !== void 0 && (_this$nodeHandler2
|
|
18941
|
+
} 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) {
|
|
18924
18942
|
classes += this.nodeHandler.runtimeData.caseNodes[this.node.code].status;
|
|
18925
18943
|
}
|
|
18926
18944
|
return classes;
|
|
@@ -19133,10 +19151,10 @@ function CheckNodevue_type_template_id_14b216a6_scoped_true_iterableToArray(iter
|
|
|
19133
19151
|
function CheckNodevue_type_template_id_14b216a6_scoped_true_arrayWithoutHoles(arr) { if (Array.isArray(arr)) return CheckNodevue_type_template_id_14b216a6_scoped_true_arrayLikeToArray(arr); }
|
|
19134
19152
|
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; }
|
|
19135
19153
|
var CheckNodevue_type_template_id_14b216a6_scoped_true_render = function render() {
|
|
19136
|
-
var _vm$nodeHandler, _vm$
|
|
19154
|
+
var _vm$nodeHandler, _vm$nodeHandler2, _vm$nodeRef, _vm$nodeRef2, _vm$noticeTemplateAtt;
|
|
19137
19155
|
var _vm = this,
|
|
19138
19156
|
_c = _vm._self._c;
|
|
19139
|
-
return _c('div', [(_vm$nodeHandler = _vm.nodeHandler) !== null && _vm$nodeHandler !== void 0 && (_vm$nodeHandler
|
|
19157
|
+
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', {
|
|
19140
19158
|
attrs: {
|
|
19141
19159
|
"placement": "rightTop"
|
|
19142
19160
|
},
|
|
@@ -19158,7 +19176,7 @@ var CheckNodevue_type_template_id_14b216a6_scoped_true_render = function render(
|
|
|
19158
19176
|
}], null, false, 193291077)
|
|
19159
19177
|
}, [_c('div', {
|
|
19160
19178
|
staticClass: "node",
|
|
19161
|
-
class: [_vm.node.error ? 'error' : '', (_vm$nodeHandler2 = _vm.nodeHandler) !== null && _vm$nodeHandler2 !== void 0 && (_vm$nodeHandler2
|
|
19179
|
+
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 : ''],
|
|
19162
19180
|
on: {
|
|
19163
19181
|
"click": _vm.click
|
|
19164
19182
|
}
|
|
@@ -19168,7 +19186,7 @@ var CheckNodevue_type_template_id_14b216a6_scoped_true_render = function render(
|
|
|
19168
19186
|
attrs: {
|
|
19169
19187
|
"component": _vm.icon
|
|
19170
19188
|
}
|
|
19171
|
-
})], 1), _c('span', [_vm._v(" " + _vm._s(_vm.node.name))]), (_vm$nodeRef = _vm.nodeRef) !== null && _vm$nodeRef !== void 0 && (_vm$nodeRef
|
|
19189
|
+
})], 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', {
|
|
19172
19190
|
attrs: {
|
|
19173
19191
|
"type": "control"
|
|
19174
19192
|
}
|
|
@@ -19288,7 +19306,7 @@ var CheckNodevue_type_template_id_14b216a6_scoped_true_render = function render(
|
|
|
19288
19306
|
attrs: {
|
|
19289
19307
|
"component": _vm.icon
|
|
19290
19308
|
}
|
|
19291
|
-
})], 1), _c('span', [_vm._v(" " + _vm._s(_vm.node.name))]), (_vm$nodeRef2 = _vm.nodeRef) !== null && _vm$nodeRef2 !== void 0 && (_vm$nodeRef2
|
|
19309
|
+
})], 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', {
|
|
19292
19310
|
attrs: {
|
|
19293
19311
|
"type": "control"
|
|
19294
19312
|
}
|
|
@@ -21011,11 +21029,11 @@ function CheckNodevue_type_script_lang_js_toPrimitive(input, hint) { if (CheckNo
|
|
|
21011
21029
|
'nodeContent': function nodeContent() {
|
|
21012
21030
|
var _this = this;
|
|
21013
21031
|
if (this.nodeHandler.isPreview) {
|
|
21014
|
-
var _this$nodeHandler, _this$
|
|
21032
|
+
var _this$nodeHandler, _this$nodeHandler2, _this$nodeHandler4;
|
|
21015
21033
|
var html = '';
|
|
21016
|
-
if ((_this$nodeHandler = this.nodeHandler) !== null && _this$nodeHandler !== void 0 && (_this$nodeHandler
|
|
21017
|
-
var _this$nodeHandler3
|
|
21018
|
-
var actors = (_this$nodeHandler3 = this.nodeHandler) === null || _this$nodeHandler3 === void 0
|
|
21034
|
+
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) {
|
|
21035
|
+
var _this$nodeHandler3;
|
|
21036
|
+
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;
|
|
21019
21037
|
actors.forEach(function (actor) {
|
|
21020
21038
|
if (html) {
|
|
21021
21039
|
html += '、';
|
|
@@ -21026,7 +21044,7 @@ function CheckNodevue_type_script_lang_js_toPrimitive(input, hint) { if (CheckNo
|
|
|
21026
21044
|
html += ' ';
|
|
21027
21045
|
}
|
|
21028
21046
|
}
|
|
21029
|
-
if (((_this$nodeHandler4 = this.nodeHandler) === null || _this$nodeHandler4 === void 0
|
|
21047
|
+
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) {
|
|
21030
21048
|
if (html && html !== ' ') {
|
|
21031
21049
|
html += '、';
|
|
21032
21050
|
}
|
|
@@ -21170,14 +21188,14 @@ function CheckNodevue_type_script_lang_js_toPrimitive(input, hint) { if (CheckNo
|
|
|
21170
21188
|
});
|
|
21171
21189
|
},
|
|
21172
21190
|
getClass: function getClass() {
|
|
21173
|
-
var _this$nodeHandler5, _this$
|
|
21191
|
+
var _this$nodeHandler5, _this$nodeHandler6, _this$nodeHandler7;
|
|
21174
21192
|
var classes = '';
|
|
21175
21193
|
if (this.node.error) {
|
|
21176
21194
|
classes += ' error';
|
|
21177
21195
|
}
|
|
21178
|
-
if (((_this$nodeHandler5 = this.nodeHandler) === null || _this$nodeHandler5 === void 0
|
|
21196
|
+
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) {
|
|
21179
21197
|
classes += ' ongoing';
|
|
21180
|
-
} else if ((_this$nodeHandler6 = this.nodeHandler) !== null && _this$nodeHandler6 !== void 0 && (_this$nodeHandler6
|
|
21198
|
+
} 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) {
|
|
21181
21199
|
classes += this.nodeHandler.runtimeData.caseNodes[this.node.code].status;
|
|
21182
21200
|
}
|
|
21183
21201
|
return classes;
|
|
@@ -21191,10 +21209,10 @@ function CheckNodevue_type_script_lang_js_toPrimitive(input, hint) { if (CheckNo
|
|
|
21191
21209
|
* @param node {NodeItem}
|
|
21192
21210
|
*/
|
|
21193
21211
|
loadCache: function loadCache(node) {
|
|
21194
|
-
var _node$data$eadCache$w, _node$data, _node$data$eadCache
|
|
21195
|
-
this.optionViewType = (_node$data$eadCache$w = (_node$data = node.data) === null || _node$data === void 0
|
|
21196
|
-
this.optionViewList = (_node$data$eadCache$
|
|
21197
|
-
this.driverList = (_node$data$eadCache$
|
|
21212
|
+
var _node$data$eadCache$w, _node$data, _node$data$eadCache$w2, _node$data2, _node$data$eadCache$w3, _node$data3;
|
|
21213
|
+
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;
|
|
21214
|
+
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;
|
|
21215
|
+
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;
|
|
21198
21216
|
},
|
|
21199
21217
|
handleDriverChange: function handleDriverChange(a, s) {},
|
|
21200
21218
|
handleDriverSearch: function handleDriverSearch(s) {
|
|
@@ -21720,7 +21738,7 @@ var JudgeWrapNode_component = normalizeComponent(
|
|
|
21720
21738
|
/* harmony default export */ var JudgeWrapNode = (JudgeWrapNode_component.exports);
|
|
21721
21739
|
// 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&
|
|
21722
21740
|
var JudgeNodevue_type_template_id_3cf68a4f_scoped_true_render = function render() {
|
|
21723
|
-
var _vm$wrapNode
|
|
21741
|
+
var _vm$wrapNode;
|
|
21724
21742
|
var _vm = this,
|
|
21725
21743
|
_c = _vm._self._c;
|
|
21726
21744
|
return _c('div', [_c('div', {
|
|
@@ -21754,7 +21772,7 @@ var JudgeNodevue_type_template_id_3cf68a4f_scoped_true_render = function render(
|
|
|
21754
21772
|
staticStyle: {
|
|
21755
21773
|
"margin-right": "5px"
|
|
21756
21774
|
}
|
|
21757
|
-
}, [((_vm$wrapNode = _vm.wrapNode) === null || _vm$wrapNode === void 0
|
|
21775
|
+
}, [((_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', {
|
|
21758
21776
|
attrs: {
|
|
21759
21777
|
"type": "apartment"
|
|
21760
21778
|
}
|
|
@@ -21991,8 +22009,8 @@ var JudgeNodevue_type_template_id_3cf68a4f_scoped_true_staticRenderFns = [];
|
|
|
21991
22009
|
var num = childNodeCodes.filter(function (code) {
|
|
21992
22010
|
return code !== _this.nodeRef.code;
|
|
21993
22011
|
}).filter(function (code) {
|
|
21994
|
-
var _this$nodeHandler$get
|
|
21995
|
-
return (_this$nodeHandler$get = _this.nodeHandler.getNode(code)) === null || _this$nodeHandler$get === void 0
|
|
22012
|
+
var _this$nodeHandler$get;
|
|
22013
|
+
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;
|
|
21996
22014
|
}).length;
|
|
21997
22015
|
return !!num;
|
|
21998
22016
|
}
|
|
@@ -22050,14 +22068,14 @@ var JudgeNodevue_type_template_id_3cf68a4f_scoped_true_staticRenderFns = [];
|
|
|
22050
22068
|
},
|
|
22051
22069
|
methods: {
|
|
22052
22070
|
getClass: function getClass() {
|
|
22053
|
-
var _this$nodeHandler, _this$
|
|
22071
|
+
var _this$nodeHandler, _this$nodeHandler2, _this$nodeHandler3;
|
|
22054
22072
|
var classes = '';
|
|
22055
22073
|
if (this.node.error) {
|
|
22056
22074
|
classes += ' error';
|
|
22057
22075
|
}
|
|
22058
|
-
if (((_this$nodeHandler = this.nodeHandler) === null || _this$nodeHandler === void 0
|
|
22076
|
+
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) {
|
|
22059
22077
|
classes += ' ongoing';
|
|
22060
|
-
} else if ((_this$nodeHandler2 = this.nodeHandler) !== null && _this$nodeHandler2 !== void 0 && (_this$nodeHandler2
|
|
22078
|
+
} 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) {
|
|
22061
22079
|
classes += this.nodeHandler.runtimeData.caseNodes[this.node.code].status;
|
|
22062
22080
|
}
|
|
22063
22081
|
return classes;
|
|
@@ -23144,14 +23162,14 @@ function CCNodevue_type_script_lang_js_toPrimitive(input, hint) { if (CCNodevue_
|
|
|
23144
23162
|
});
|
|
23145
23163
|
},
|
|
23146
23164
|
getClass: function getClass() {
|
|
23147
|
-
var _this$nodeHandler, _this$
|
|
23165
|
+
var _this$nodeHandler, _this$nodeHandler2, _this$nodeHandler3;
|
|
23148
23166
|
var classes = '';
|
|
23149
23167
|
if (this.node.error) {
|
|
23150
23168
|
classes += ' error';
|
|
23151
23169
|
}
|
|
23152
|
-
if (((_this$nodeHandler = this.nodeHandler) === null || _this$nodeHandler === void 0
|
|
23170
|
+
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) {
|
|
23153
23171
|
classes += ' ongoing';
|
|
23154
|
-
} else if ((_this$nodeHandler2 = this.nodeHandler) !== null && _this$nodeHandler2 !== void 0 && (_this$nodeHandler2
|
|
23172
|
+
} 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) {
|
|
23155
23173
|
classes += this.nodeHandler.runtimeData.caseNodes[this.node.code].status;
|
|
23156
23174
|
}
|
|
23157
23175
|
return classes;
|
|
@@ -23161,9 +23179,9 @@ function CCNodevue_type_script_lang_js_toPrimitive(input, hint) { if (CCNodevue_
|
|
|
23161
23179
|
* @param node {NodeItem}
|
|
23162
23180
|
*/
|
|
23163
23181
|
loadCache: function loadCache(node) {
|
|
23164
|
-
var _node$data$eadCache$w, _node$data, _node$data$eadCache
|
|
23165
|
-
this.optionViewType = (_node$data$eadCache$w = (_node$data = node.data) === null || _node$data === void 0
|
|
23166
|
-
this.optionViewList = (_node$data$eadCache$
|
|
23182
|
+
var _node$data$eadCache$w, _node$data, _node$data$eadCache$w2, _node$data2;
|
|
23183
|
+
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;
|
|
23184
|
+
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;
|
|
23167
23185
|
},
|
|
23168
23186
|
hasExpression: function hasExpression(item) {
|
|
23169
23187
|
if (item.type === 'uid') {
|
|
@@ -23685,14 +23703,14 @@ function TriggerNodevue_type_script_lang_js_toPrimitive(input, hint) { if (Trigg
|
|
|
23685
23703
|
},
|
|
23686
23704
|
methods: {
|
|
23687
23705
|
getClass: function getClass() {
|
|
23688
|
-
var _this$nodeHandler, _this$
|
|
23706
|
+
var _this$nodeHandler, _this$nodeHandler2, _this$nodeHandler3;
|
|
23689
23707
|
var classes = '';
|
|
23690
23708
|
if (this.node.error) {
|
|
23691
23709
|
classes += ' error';
|
|
23692
23710
|
}
|
|
23693
|
-
if (((_this$nodeHandler = this.nodeHandler) === null || _this$nodeHandler === void 0
|
|
23711
|
+
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) {
|
|
23694
23712
|
classes += ' ongoing';
|
|
23695
|
-
} else if ((_this$nodeHandler2 = this.nodeHandler) !== null && _this$nodeHandler2 !== void 0 && (_this$nodeHandler2
|
|
23713
|
+
} 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) {
|
|
23696
23714
|
classes += this.nodeHandler.runtimeData.caseNodes[this.node.code].status;
|
|
23697
23715
|
}
|
|
23698
23716
|
return classes;
|
|
@@ -23702,8 +23720,8 @@ function TriggerNodevue_type_script_lang_js_toPrimitive(input, hint) { if (Trigg
|
|
|
23702
23720
|
* @param node {NodeItem}
|
|
23703
23721
|
*/
|
|
23704
23722
|
loadCache: function loadCache(node) {
|
|
23705
|
-
var _node$data$eadCache$w, _node$data
|
|
23706
|
-
this.driverList = (_node$data$eadCache$w = (_node$data = node.data) === null || _node$data === void 0
|
|
23723
|
+
var _node$data$eadCache$w, _node$data;
|
|
23724
|
+
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;
|
|
23707
23725
|
},
|
|
23708
23726
|
handleDriverChange: function handleDriverChange(a, s) {},
|
|
23709
23727
|
handleDriverSearch: function handleDriverSearch(s) {
|
|
@@ -24238,14 +24256,14 @@ function DelayNodevue_type_script_lang_js_toPrimitive(input, hint) { if (DelayNo
|
|
|
24238
24256
|
},
|
|
24239
24257
|
methods: {
|
|
24240
24258
|
getClass: function getClass() {
|
|
24241
|
-
var _this$nodeHandler, _this$
|
|
24259
|
+
var _this$nodeHandler, _this$nodeHandler2, _this$nodeHandler3;
|
|
24242
24260
|
var classes = '';
|
|
24243
24261
|
if (this.node.error) {
|
|
24244
24262
|
classes += ' error';
|
|
24245
24263
|
}
|
|
24246
|
-
if (((_this$nodeHandler = this.nodeHandler) === null || _this$nodeHandler === void 0
|
|
24264
|
+
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) {
|
|
24247
24265
|
classes += ' ongoing';
|
|
24248
|
-
} else if ((_this$nodeHandler2 = this.nodeHandler) !== null && _this$nodeHandler2 !== void 0 && (_this$nodeHandler2
|
|
24266
|
+
} 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) {
|
|
24249
24267
|
classes += this.nodeHandler.runtimeData.caseNodes[this.node.code].status;
|
|
24250
24268
|
}
|
|
24251
24269
|
return classes;
|
|
@@ -24255,8 +24273,8 @@ function DelayNodevue_type_script_lang_js_toPrimitive(input, hint) { if (DelayNo
|
|
|
24255
24273
|
* @param node {NodeItem}
|
|
24256
24274
|
*/
|
|
24257
24275
|
loadCache: function loadCache(node) {
|
|
24258
|
-
var _node$data$eadCache$w, _node$data
|
|
24259
|
-
this.driverList = (_node$data$eadCache$w = (_node$data = node.data) === null || _node$data === void 0
|
|
24276
|
+
var _node$data$eadCache$w, _node$data;
|
|
24277
|
+
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;
|
|
24260
24278
|
},
|
|
24261
24279
|
handleDriverSearch: function handleDriverSearch(s) {
|
|
24262
24280
|
var _this = this;
|
|
@@ -25838,13 +25856,11 @@ var WorkFlowDesigner_component = normalizeComponent(
|
|
|
25838
25856
|
)
|
|
25839
25857
|
|
|
25840
25858
|
/* harmony default export */ var WorkFlowDesigner = (WorkFlowDesigner_component.exports);
|
|
25841
|
-
// 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=
|
|
25842
|
-
var
|
|
25859
|
+
// 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&
|
|
25860
|
+
var RuntimeWorkFlowvue_type_template_id_b1bd8bb4_scoped_true_render = function render() {
|
|
25843
25861
|
var _this = this,
|
|
25844
25862
|
_vm$currentNode$data$,
|
|
25845
|
-
_vm$currentNode$data$2
|
|
25846
|
-
_vm$currentNode$data$3,
|
|
25847
|
-
_vm$currentNode$data$4;
|
|
25863
|
+
_vm$currentNode$data$2;
|
|
25848
25864
|
var _vm = this,
|
|
25849
25865
|
_c = _vm._self._c;
|
|
25850
25866
|
return _c('a-form-model', {
|
|
@@ -25898,11 +25914,11 @@ var RuntimeWorkFlowvue_type_template_id_0574fd41_scoped_true_render = function r
|
|
|
25898
25914
|
attrs: {
|
|
25899
25915
|
"value": _vm.CHECK_ACTION.PASS
|
|
25900
25916
|
}
|
|
25901
|
-
}, [_vm._v(" " + _vm._s((_vm$currentNode$data$ = _vm.currentNode.data.other_options) !== null && _vm$currentNode$data$ !== void 0 && (_vm$currentNode$data$
|
|
25917
|
+
}, [_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', {
|
|
25902
25918
|
attrs: {
|
|
25903
25919
|
"value": _vm.CHECK_ACTION.BACK
|
|
25904
25920
|
}
|
|
25905
|
-
}, [_vm._v(" " + _vm._s((_vm$currentNode$data$
|
|
25921
|
+
}, [_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', {
|
|
25906
25922
|
attrs: {
|
|
25907
25923
|
"value": _vm.CHECK_ACTION.REASSIGN
|
|
25908
25924
|
}
|
|
@@ -26522,9 +26538,9 @@ var RuntimeWorkFlowvue_type_template_id_0574fd41_scoped_true_render = function r
|
|
|
26522
26538
|
}
|
|
26523
26539
|
}, [_vm._v("关闭")])], 1)], 2)], 1);
|
|
26524
26540
|
};
|
|
26525
|
-
var
|
|
26541
|
+
var RuntimeWorkFlowvue_type_template_id_b1bd8bb4_scoped_true_staticRenderFns = [];
|
|
26526
26542
|
|
|
26527
|
-
// CONCATENATED MODULE: ../src/web/components/forms/flow/runtime/RuntimeWorkFlow.vue?vue&type=template&id=
|
|
26543
|
+
// CONCATENATED MODULE: ../src/web/components/forms/flow/runtime/RuntimeWorkFlow.vue?vue&type=template&id=b1bd8bb4&scoped=true&
|
|
26528
26544
|
|
|
26529
26545
|
// EXTERNAL MODULE: external {"root":"vuedraggable","commonjs2":"vuedraggable","commonjs":"vuedraggable","amd":"vuedraggable"}
|
|
26530
26546
|
var external_root_vuedraggable_commonjs2_vuedraggable_commonjs_vuedraggable_amd_vuedraggable_ = __webpack_require__("289a");
|
|
@@ -26861,7 +26877,7 @@ var CHECK_ACTION = {
|
|
|
26861
26877
|
mounted: function mounted() {
|
|
26862
26878
|
var _this = this;
|
|
26863
26879
|
return RuntimeWorkFlowvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/RuntimeWorkFlowvue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
|
|
26864
|
-
var _OPERATE$_this$config, _data$data, _data$data2,
|
|
26880
|
+
var _OPERATE$_this$config, _data$data, _data$data2, _this$runtimeData, _this$runtimeData2, _data$data3;
|
|
26865
26881
|
var data, runtimeData, caseNodeMap, users, nodeJson, node, paneSet;
|
|
26866
26882
|
return RuntimeWorkFlowvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
26867
26883
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -26905,8 +26921,8 @@ var CHECK_ACTION = {
|
|
|
26905
26921
|
});
|
|
26906
26922
|
|
|
26907
26923
|
// runtime数据
|
|
26908
|
-
_this.workflow = data === null || data === void 0
|
|
26909
|
-
runtimeData = data === null || data === void 0
|
|
26924
|
+
_this.workflow = data === null || data === void 0 || (_data$data = data.data) === null || _data$data === void 0 ? void 0 : _data$data.workflow;
|
|
26925
|
+
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;
|
|
26910
26926
|
if (runtimeData && Object.keys(runtimeData).length) {
|
|
26911
26927
|
_this.runtimeData = runtimeData;
|
|
26912
26928
|
}
|
|
@@ -26965,10 +26981,10 @@ var CHECK_ACTION = {
|
|
|
26965
26981
|
|
|
26966
26982
|
// user cache
|
|
26967
26983
|
users = [];
|
|
26968
|
-
if ((_this$runtimeData = _this.runtimeData) !== null && _this$runtimeData !== void 0 && (_this$runtimeData
|
|
26984
|
+
if ((_this$runtimeData = _this.runtimeData) !== null && _this$runtimeData !== void 0 && (_this$runtimeData = _this$runtimeData.involve) !== null && _this$runtimeData !== void 0 && _this$runtimeData.actors) {
|
|
26969
26985
|
users.push.apply(users, RuntimeWorkFlowvue_type_script_lang_js_toConsumableArray(_this.runtimeData.involve.actors));
|
|
26970
26986
|
}
|
|
26971
|
-
if ((_this$runtimeData2 = _this.runtimeData) !== null && _this$runtimeData2 !== void 0 && (_this$runtimeData2
|
|
26987
|
+
if ((_this$runtimeData2 = _this.runtimeData) !== null && _this$runtimeData2 !== void 0 && (_this$runtimeData2 = _this$runtimeData2.reassign) !== null && _this$runtimeData2 !== void 0 && _this$runtimeData2.actors) {
|
|
26972
26988
|
users.push.apply(users, RuntimeWorkFlowvue_type_script_lang_js_toConsumableArray(_this.runtimeData.reassign.actors));
|
|
26973
26989
|
}
|
|
26974
26990
|
if (_this.runtimeData.todos) {
|
|
@@ -26981,7 +26997,7 @@ var CHECK_ACTION = {
|
|
|
26981
26997
|
});
|
|
26982
26998
|
|
|
26983
26999
|
// node核心节点数据
|
|
26984
|
-
nodeJson = data === null || data === void 0
|
|
27000
|
+
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;
|
|
26985
27001
|
node = nodeJson ? nodeJson === null || nodeJson === void 0 ? void 0 : nodeJson.node : null;
|
|
26986
27002
|
_this.nodeData = node ? RuntimeWorkFlowvue_type_script_lang_js_toConsumableArray(Object.values(node)) : [];
|
|
26987
27003
|
|
|
@@ -27126,7 +27142,10 @@ var CHECK_ACTION = {
|
|
|
27126
27142
|
var _this$runtimeData$tod;
|
|
27127
27143
|
if ((_this$runtimeData$tod = this.runtimeData.todos) !== null && _this$runtimeData$tod !== void 0 && _this$runtimeData$tod.length) {
|
|
27128
27144
|
var availableTodos = this.getAvailableTodos();
|
|
27129
|
-
|
|
27145
|
+
var endNode = this.nodeHandler.getAllRoute(this.currentNode.code).find(function (node) {
|
|
27146
|
+
return node.type === 'end';
|
|
27147
|
+
});
|
|
27148
|
+
if (!availableTodos.length && !endNode) {
|
|
27130
27149
|
this.$message.error('无法匹配到符合条件的后续步骤');
|
|
27131
27150
|
return;
|
|
27132
27151
|
}
|
|
@@ -27144,10 +27163,10 @@ var CHECK_ACTION = {
|
|
|
27144
27163
|
}
|
|
27145
27164
|
if ((_this$runtimeData$tod2 = this.runtimeData.todos) !== null && _this$runtimeData$tod2 !== void 0 && _this$runtimeData$tod2.length) {
|
|
27146
27165
|
var _availableTodos = this.getAvailableTodos();
|
|
27147
|
-
var
|
|
27166
|
+
var _endNode = this.nodeHandler.getAllRoute(this.currentNode.code).find(function (node) {
|
|
27148
27167
|
return node.type === 'end';
|
|
27149
27168
|
});
|
|
27150
|
-
if (!_availableTodos.length && !
|
|
27169
|
+
if (!_availableTodos.length && !_endNode) {
|
|
27151
27170
|
this.$message.error('无法匹配到符合条件的后续步骤');
|
|
27152
27171
|
return;
|
|
27153
27172
|
}
|
|
@@ -27159,10 +27178,10 @@ var CHECK_ACTION = {
|
|
|
27159
27178
|
var _this$runtimeData$tod3;
|
|
27160
27179
|
if ((_this$runtimeData$tod3 = this.runtimeData.todos) !== null && _this$runtimeData$tod3 !== void 0 && _this$runtimeData$tod3.length) {
|
|
27161
27180
|
var _availableTodos2 = this.getAvailableTodos();
|
|
27162
|
-
var
|
|
27181
|
+
var _endNode2 = this.nodeHandler.getAllRoute(this.currentNode.code).find(function (node) {
|
|
27163
27182
|
return node.type === 'end';
|
|
27164
27183
|
});
|
|
27165
|
-
if (!_availableTodos2.length && !
|
|
27184
|
+
if (!_availableTodos2.length && !_endNode2) {
|
|
27166
27185
|
this.$message.error('无法匹配到符合条件的后续步骤');
|
|
27167
27186
|
return;
|
|
27168
27187
|
}
|
|
@@ -27172,8 +27191,8 @@ var CHECK_ACTION = {
|
|
|
27172
27191
|
|
|
27173
27192
|
// 审批加签
|
|
27174
27193
|
if (this.workflowReq.page_operate.action === CHECK_ACTION.INVOLVE) {
|
|
27175
|
-
var _this$runtimeData$
|
|
27176
|
-
if (!((_this$runtimeData$
|
|
27194
|
+
var _this$runtimeData$inv;
|
|
27195
|
+
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)) {
|
|
27177
27196
|
this.$message.error('请选择加签人');
|
|
27178
27197
|
return;
|
|
27179
27198
|
}
|
|
@@ -27182,8 +27201,8 @@ var CHECK_ACTION = {
|
|
|
27182
27201
|
|
|
27183
27202
|
// 审批转办
|
|
27184
27203
|
if (this.workflowReq.page_operate.action === CHECK_ACTION.REASSIGN) {
|
|
27185
|
-
var _this$runtimeData$rea
|
|
27186
|
-
if (!((_this$runtimeData$rea = this.runtimeData.reassign) !== null && _this$runtimeData$rea !== void 0 && (_this$runtimeData$
|
|
27204
|
+
var _this$runtimeData$rea;
|
|
27205
|
+
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)) {
|
|
27187
27206
|
this.$message.error('请选择转办人');
|
|
27188
27207
|
return;
|
|
27189
27208
|
}
|
|
@@ -27458,8 +27477,8 @@ var CHECK_ACTION = {
|
|
|
27458
27477
|
});
|
|
27459
27478
|
// CONCATENATED MODULE: ../src/web/components/forms/flow/runtime/RuntimeWorkFlow.vue?vue&type=script&lang=js&
|
|
27460
27479
|
/* harmony default export */ var runtime_RuntimeWorkFlowvue_type_script_lang_js_ = (RuntimeWorkFlowvue_type_script_lang_js_);
|
|
27461
|
-
// EXTERNAL MODULE: ../src/web/components/forms/flow/runtime/RuntimeWorkFlow.vue?vue&type=style&index=0&id=
|
|
27462
|
-
var
|
|
27480
|
+
// EXTERNAL MODULE: ../src/web/components/forms/flow/runtime/RuntimeWorkFlow.vue?vue&type=style&index=0&id=b1bd8bb4&prod&lang=less&scoped=true&
|
|
27481
|
+
var RuntimeWorkFlowvue_type_style_index_0_id_b1bd8bb4_prod_lang_less_scoped_true_ = __webpack_require__("00c1");
|
|
27463
27482
|
|
|
27464
27483
|
// CONCATENATED MODULE: ../src/web/components/forms/flow/runtime/RuntimeWorkFlow.vue
|
|
27465
27484
|
|
|
@@ -27472,11 +27491,11 @@ var RuntimeWorkFlowvue_type_style_index_0_id_0574fd41_prod_lang_less_scoped_true
|
|
|
27472
27491
|
|
|
27473
27492
|
var RuntimeWorkFlow_component = normalizeComponent(
|
|
27474
27493
|
runtime_RuntimeWorkFlowvue_type_script_lang_js_,
|
|
27475
|
-
|
|
27476
|
-
|
|
27494
|
+
RuntimeWorkFlowvue_type_template_id_b1bd8bb4_scoped_true_render,
|
|
27495
|
+
RuntimeWorkFlowvue_type_template_id_b1bd8bb4_scoped_true_staticRenderFns,
|
|
27477
27496
|
false,
|
|
27478
27497
|
null,
|
|
27479
|
-
"
|
|
27498
|
+
"b1bd8bb4",
|
|
27480
27499
|
null
|
|
27481
27500
|
|
|
27482
27501
|
)
|
|
@@ -42427,17 +42446,6 @@ module.exports = Array.isArray || function (arr) {
|
|
|
42427
42446
|
/* unused harmony reexport * */
|
|
42428
42447
|
|
|
42429
42448
|
|
|
42430
|
-
/***/ }),
|
|
42431
|
-
|
|
42432
|
-
/***/ "9cb9":
|
|
42433
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
42434
|
-
|
|
42435
|
-
"use strict";
|
|
42436
|
-
/* 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");
|
|
42437
|
-
/* 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__);
|
|
42438
|
-
/* unused harmony reexport * */
|
|
42439
|
-
|
|
42440
|
-
|
|
42441
42449
|
/***/ }),
|
|
42442
42450
|
|
|
42443
42451
|
/***/ "9f89":
|
|
@@ -44796,13 +44804,6 @@ module.exports = g;
|
|
|
44796
44804
|
|
|
44797
44805
|
/***/ }),
|
|
44798
44806
|
|
|
44799
|
-
/***/ "c2f7":
|
|
44800
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
44801
|
-
|
|
44802
|
-
// extracted by mini-css-extract-plugin
|
|
44803
|
-
|
|
44804
|
-
/***/ }),
|
|
44805
|
-
|
|
44806
44807
|
/***/ "c32d":
|
|
44807
44808
|
/***/ (function(module, exports) {
|
|
44808
44809
|
|