ecinc-cloud-wappaio 9.6.562 → 9.6.563
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/lib/ecwappaio.common.js +172 -149
- package/lib/ecwappaio.umd.js +172 -149
- package/lib/ecwappaio.umd.min.js +3 -3
- package/package.json +1 -1
package/lib/ecwappaio.common.js
CHANGED
|
@@ -42138,7 +42138,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".bottom-bar .el-pager{position:relativ
|
|
|
42138
42138
|
|
|
42139
42139
|
/***/ }),
|
|
42140
42140
|
|
|
42141
|
-
/***/
|
|
42141
|
+
/***/ 64378:
|
|
42142
42142
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
42143
42143
|
|
|
42144
42144
|
"use strict";
|
|
@@ -42878,7 +42878,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-c3f75196]:export{stdMenuBgcolo
|
|
|
42878
42878
|
|
|
42879
42879
|
/***/ }),
|
|
42880
42880
|
|
|
42881
|
-
/***/
|
|
42881
|
+
/***/ 67633:
|
|
42882
42882
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
42883
42883
|
|
|
42884
42884
|
"use strict";
|
|
@@ -42892,7 +42892,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
42892
42892
|
|
|
42893
42893
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
42894
42894
|
// Module
|
|
42895
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".search-input-container[data-v-
|
|
42895
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".search-input-container[data-v-629b9f44]{padding-bottom:8px}.search-input-container[data-v-629b9f44] .el-input-group__prepend{width:100px;background-color:#fff;color:#333;border-bottom-right-radius:0;border-top-right-radius:0}.ztree-container[data-v-629b9f44]{height:450px}.ztree-container[data-v-629b9f44] .el-tabs--top{margin-top:0}.ztree-container[data-v-629b9f44] .el-tabs--top .el-tabs__header{margin:0;border-bottom:1px solid #dfe6ec}.ztree-container[data-v-629b9f44] .el-tabs--top .el-tabs__nav-wrap:after{height:0}.ztree-container .el-tree[data-v-629b9f44]{overflow-x:hidden}.ztree-container[data-v-629b9f44] .el-checkbox .is-disabled{display:none}.ztree-container .selected-title[data-v-629b9f44]{font-weight:600;height:32px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;line-height:32px;margin-bottom:6px}.ztree-container .selectedNodes[data-v-629b9f44]{width:100%;padding:10px}.ztree-container .selectedNodes .selectedNode[data-v-629b9f44]{background-color:#f1f4f7;margin-bottom:4px;padding:6px 8px}.ztree-container .selectedNodes .selectedNode .node-text[data-v-629b9f44]{width:calc(100% - 15px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ztree-container .selectedNodes .selectedNode .el-icon-close[data-v-629b9f44]{float:right;cursor:pointer;color:red;margin-top:-14px}.treeNode[data-v-629b9f44]{border:1px solid #dfe6ec}.treeNode .el-scrollbar[data-v-629b9f44]{height:400px}.treeNode .no-search-input[data-v-629b9f44]{height:427px;margin-top:10px}.treeNode[data-v-629b9f44] .el-scrollbar__wrap{overflow-x:hidden}.treeNode .tree-node-icon i[data-v-629b9f44]{margin-right:7px;margin-left:-7px;font-size:14px}.searchdoing[data-v-629b9f44] .el-loading-mask{background-color:#fff}.el-radio-group-4[data-v-629b9f44]{width:100%}.el-radio-group-4 .el-radio-button[data-v-629b9f44]{width:25%}.el-radio-group-2[data-v-629b9f44],.el-radio-group-4 .el-radio-button[data-v-629b9f44] .el-radio-button__inner{width:100%}.el-radio-group-2 .el-radio-button[data-v-629b9f44]{width:50%}.el-radio-group-2 .el-radio-button[data-v-629b9f44] .el-radio-button__inner{width:100%}", ""]);
|
|
42896
42896
|
// Exports
|
|
42897
42897
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
42898
42898
|
|
|
@@ -43319,7 +43319,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".bottombar[data-v-3cafbc5c]{position:a
|
|
|
43319
43319
|
|
|
43320
43320
|
/***/ }),
|
|
43321
43321
|
|
|
43322
|
-
/***/
|
|
43322
|
+
/***/ 31626:
|
|
43323
43323
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
43324
43324
|
|
|
43325
43325
|
"use strict";
|
|
@@ -43333,7 +43333,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
43333
43333
|
|
|
43334
43334
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
43335
43335
|
// Module
|
|
43336
|
-
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-
|
|
43336
|
+
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-c41fca30] .todo-row .cell{line-height:18px}[data-v-c41fca30] .todo-row td{padding:5px 0}[data-v-c41fca30] .timeout-row .cell{color:red}.el-tab-pane[data-v-c41fca30]{height:550px;overflow-y:auto}[data-v-c41fca30] .col-time .cell{word-break:break-word}[data-v-c41fca30] .wfNodeLoglist-dialog .el-scrollbar{width:100%;height:100%}[data-v-c41fca30] .wfNodeLoglist-dialog .el-scrollbar .el-scrollbar__wrap{overflow-x:auto;height:calc(100% + 17px);padding-right:20px;padding-bottom:40px}[data-v-c41fca30] .wfNodeLoglist-dialog .el-dialog__body{padding-right:0;padding-bottom:0}[data-v-c41fca30] .wfNodeLoglist-dialog .el-dialog__body .handwritingIdea{width:100px}[data-v-c41fca30] .wfNodeLoglist-dialog .el-tabs__nav-wrap:after{width:calc(100% - 20px)}[data-v-c41fca30] .wfNodeLoglist-dialog .flow-node-logs .el-scrollbar__view,[data-v-c41fca30] .wfNodeLoglist-dialog .read-node-logs .el-scrollbar__view{height:100%}.height100[data-v-c41fca30]{height:calc(100vh - 120px)}[data-v-c41fca30] .el-dialog__headerbtn{top:18px}.form-wflog-container[data-v-c41fca30]{min-height:calc(100vh - 70px);min-width:1200px;background-color:#fff;padding:20px}.historyIdea-container[data-v-c41fca30]{z-index:2000;background-color:#fff;padding:10px 20px 20px 20px}.historyIdea-container[data-v-c41fca30] .el-tabs__content{display:none}.historyIdea-container[data-v-c41fca30] .el-tabs__nav-wrap:after{height:0}.historyIdea-container[data-v-c41fca30] .el-table .cell{white-space:inherit}.historyIdea-container .export-icon[data-v-c41fca30]{cursor:pointer;float:right;margin-top:-40px}.historyIdea-container .export-icon .svg-icon[data-v-c41fca30]{color:red;font-size:16px;margin-right:5px}.historyIdea-container .collapse-icon[data-v-c41fca30]{cursor:pointer;float:right;margin-top:-40px;margin-right:70px}.historyIdea-container .collapse-icon .svg-icon[data-v-c41fca30]{font-size:16px;margin-right:5px}", ""]);
|
|
43337
43337
|
// Exports
|
|
43338
43338
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
43339
43339
|
|
|
@@ -45146,7 +45146,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".process-desc-container{width:350px;bo
|
|
|
45146
45146
|
|
|
45147
45147
|
/***/ }),
|
|
45148
45148
|
|
|
45149
|
-
/***/
|
|
45149
|
+
/***/ 51027:
|
|
45150
45150
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
45151
45151
|
|
|
45152
45152
|
"use strict";
|
|
@@ -45179,7 +45179,7 @@ var ___CSS_LOADER_URL_REPLACEMENT_5___ = _node_modules_css_loader_dist_runtime_g
|
|
|
45179
45179
|
var ___CSS_LOADER_URL_REPLACEMENT_6___ = _node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_6___);
|
|
45180
45180
|
var ___CSS_LOADER_URL_REPLACEMENT_7___ = _node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_7___);
|
|
45181
45181
|
// Module
|
|
45182
|
-
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-
|
|
45182
|
+
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-2f6bc5ee]:export{stdMenuBgcolor:var(--lmBgColor);stdMenuHover:var(--lmBgColorActive)!important;stdMenuText:var(--lmTextColor)!important;stdMenuAcitveText:var(--lmTextColorActive)!important;stdSubMenuBgcolor:var(--lmBgColor);stdSubMenuHover:hsla(193,8%,67%,.42);stdSubMenuActiveText:var(--lmTextColorActive)!important;darkMenuBgcolor:#304156;darkMenuHover:#263445;darkMenuText:#bfcbd9;darkMenuAcitveText:#ffd04b;darkSubMenuBgcolor:#384b63;darkSubMenuHover:#263445;darkSubMenuActiveText:#ffd04b;sideBarWidth:210px;formLabelWidth:133px;lightBlue:var(--subjectColor)}.dropdown-menu[data-v-2f6bc5ee]{width:160px;display:none;position:fixed;z-index:9999;min-width:160px;padding:5px 0;margin:2px 0 0;list-style:none;font-size:14px;text-align:left;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175);background-clip:padding-box}.dropdown-menu li a[data-v-2f6bc5ee]{padding:5px 20px;line-height:1.5;white-space:nowrap;color:#333}.dropdown-menu li[data-v-2f6bc5ee]:hover{background:#f5f5f5}[data-v-2f6bc5ee] .line_text{cursor:pointer;position:absolute;left:0;top:0;font-size:14px}[data-v-2f6bc5ee] svg:hover path{stroke:red}[data-v-2f6bc5ee] svg:hover path:last-child{fill:red}[data-v-2f6bc5ee] path{cursor:pointer}[data-v-2f6bc5ee] path:last-child{fill:#438eb9}[data-v-2f6bc5ee] circle{fill:#438eb9;stroke:none}li[data-v-2f6bc5ee],ul[data-v-2f6bc5ee]{list-style:none}body[data-v-2f6bc5ee]{margin:0;padding:0;background:#f3f3f3;overflow-x:hidden}[data-v-2f6bc5ee] #center{background:#fff;position:relative;overflow:hidden;overflow-y:auto;width:100%;min-height:calc(100vh - 110px)}[data-v-2f6bc5ee] #center .add-node-btn{position:relative;margin:-15px -10px;z-index:4000;display:none}[data-v-2f6bc5ee] #center .icon-drag-line{position:relative;margin:-10px 10px;z-index:4000;display:none}[data-v-2f6bc5ee] #center .model_process{position:absolute;border:1px solid #dadada;width:140px;background:#fff;overflow:hidden}[data-v-2f6bc5ee] #center .model_process .title{background:#f8f8ff;height:30px;line-height:30px;border-bottom:1px solid #dadada;padding:1px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;text-align:center;cursor:pointer}[data-v-2f6bc5ee] #center .model_process .title img{width:16px;height:18px;margin-left:18px;margin-right:7px}[data-v-2f6bc5ee] #center .model_process .title span{color:#666;font-size:14px}[data-v-2f6bc5ee] #center .model_process p{padding:0 4px;background:#fff;word-break:break-all;color:#666;width:140px;height:48px;text-align:center;line-height:16px;font-size:14px;margin:0 auto;vertical-align:middle;display:table-cell}[data-v-2f6bc5ee] #center .model_process_yb p{background:#48ba79;color:#fff}[data-v-2f6bc5ee] #center .model_process_yth p{background:#fa7d08;color:#fff}[data-v-2f6bc5ee] #center .model_process_wwc .title{background:#eee}[data-v-2f6bc5ee] #center .model_process_wwc p{background:#d8d8d8;color:#333}[data-v-2f6bc5ee] #center .model_process_jxz .title{background:#dbe1eb}[data-v-2f6bc5ee] #center .model_process_jxz p{background:#4477bc;color:#fff}[data-v-2f6bc5ee] #center .seled .title{background:#ffffe0}[data-v-2f6bc5ee] #center .start{width:60px;height:60px;position:absolute;background:url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ") 50% no-repeat;background-size:60px 60px}[data-v-2f6bc5ee] #center .jslc{background:url(" + ___CSS_LOADER_URL_REPLACEMENT_1___ + ") no-repeat;background-size:60px 60px}[data-v-2f6bc5ee] #center .jslc,[data-v-2f6bc5ee] #center .jsrw{width:60px;height:60px;position:absolute}[data-v-2f6bc5ee] #center .jsrw{background:url(" + ___CSS_LOADER_URL_REPLACEMENT_2___ + ") no-repeat;background-size:60px 60px}[data-v-2f6bc5ee] #center .parentWf{width:60px;height:60px;position:absolute;background:url(" + ___CSS_LOADER_URL_REPLACEMENT_3___ + ") no-repeat;background-size:60px 60px}[data-v-2f6bc5ee] #center .zyjd{width:60px;height:60px;position:absolute;background:url(" + ___CSS_LOADER_URL_REPLACEMENT_4___ + ") no-repeat;background-size:60px 60px}[data-v-2f6bc5ee] #center .dfzjd{width:60px;height:60px;position:absolute;background:url(" + ___CSS_LOADER_URL_REPLACEMENT_5___ + ") no-repeat;background-size:60px 60px}[data-v-2f6bc5ee] #center .jhjd{width:60px;height:60px;position:absolute;background:url(" + ___CSS_LOADER_URL_REPLACEMENT_6___ + ") no-repeat;background-size:60px 60px}[data-v-2f6bc5ee] #center .jcjd{width:140px;height:60px;line-height:60px;text-align:center;position:absolute;background:url(" + ___CSS_LOADER_URL_REPLACEMENT_7___ + ") no-repeat 50%;white-space:nowrap;background-size:140px 60px;border:0;font-size:14px}[data-v-2f6bc5ee] #center .jcjd_model_process_yb{color:#fff}[data-v-2f6bc5ee] #center .li{height:44px;line-height:44px;padding-left:30px}[data-v-2f6bc5ee] #center #centextMenu{border:1px solid rgba(0,0,0,.15);position:absolute;z-index:9999;background:#fff;width:160px;padding:4px 0;border-radius:4px}[data-v-2f6bc5ee] #center #centextMenu a{padding:4px 10px;text-decoration:none;display:block;height:26px;font-size:14px;color:#545454}[data-v-2f6bc5ee] #center #centextMenu a:hover{background:#f5f5f5}[data-v-2f6bc5ee] #center .el-loading-spinner{top:100px}[data-v-2f6bc5ee] #center .el-loading-spinner circle{fill:#fff}.wfdialog-center-container[data-v-2f6bc5ee]{margin:-20px}.wfdialog-center-container .node-bg-desc[data-v-2f6bc5ee]{position:absolute;right:0;z-index:1000;font-size:14px;margin:10px}.wfdialog-center-container .node-bg-desc[data-v-2f6bc5ee] .el-col{width:90px;padding-left:10px}.wfdialog-center-container .node-bg-desc .node-bg[data-v-2f6bc5ee]{width:30px;height:15px;margin-bottom:5px;float:left;margin-right:5px}.wfdialog-center-container .node-bg-desc .model_process_yb[data-v-2f6bc5ee]{background-color:#48ba79}.wfdialog-center-container .node-bg-desc .model_process_yth[data-v-2f6bc5ee]{background-color:#fa7d08}.wfdialog-center-container .node-bg-desc .model_process_wwc[data-v-2f6bc5ee]{background-color:#4477bc}.wfdialog-center-container .node-bg-desc .model_process_wks[data-v-2f6bc5ee]{background-color:#d8d8d8}.wflogInfo[data-v-2f6bc5ee]{width:300px;position:absolute;border:1px solid #e1e1e1;z-index:10}.wflogInfo[data-v-2f6bc5ee] .el-card__header{padding:12px}.wflogInfo[data-v-2f6bc5ee] .el-card__header .el-button--text{font-size:15px}.wflogInfo[data-v-2f6bc5ee] .el-card__body{max-height:400px;overflow-y:auto;padding:10px}.wflogInfo[data-v-2f6bc5ee] .el-card__body div:last-child{border-bottom:0 solid #e1e1e1!important}.wflogInfo .el-descriptions[data-v-2f6bc5ee]{padding-top:5px;border-bottom:1px solid #e1e1e1}", ""]);
|
|
45183
45183
|
// Exports
|
|
45184
45184
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
45185
45185
|
|
|
@@ -136777,19 +136777,19 @@ var update = add("cf82da32", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
136777
136777
|
|
|
136778
136778
|
/***/ }),
|
|
136779
136779
|
|
|
136780
|
-
/***/
|
|
136780
|
+
/***/ 91785:
|
|
136781
136781
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
136782
136782
|
|
|
136783
136783
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
136784
136784
|
|
|
136785
136785
|
// load the styles
|
|
136786
|
-
var content = __webpack_require__(
|
|
136786
|
+
var content = __webpack_require__(64378);
|
|
136787
136787
|
if(content.__esModule) content = content.default;
|
|
136788
136788
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
136789
136789
|
if(content.locals) module.exports = content.locals;
|
|
136790
136790
|
// add the styles to the DOM
|
|
136791
136791
|
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
136792
|
-
var update = add("
|
|
136792
|
+
var update = add("e303182c", content, true, {"sourceMap":false,"shadowMode":false});
|
|
136793
136793
|
|
|
136794
136794
|
/***/ }),
|
|
136795
136795
|
|
|
@@ -137337,19 +137337,19 @@ var update = add("6c2dd2ba", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
137337
137337
|
|
|
137338
137338
|
/***/ }),
|
|
137339
137339
|
|
|
137340
|
-
/***/
|
|
137340
|
+
/***/ 39211:
|
|
137341
137341
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
137342
137342
|
|
|
137343
137343
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
137344
137344
|
|
|
137345
137345
|
// load the styles
|
|
137346
|
-
var content = __webpack_require__(
|
|
137346
|
+
var content = __webpack_require__(67633);
|
|
137347
137347
|
if(content.__esModule) content = content.default;
|
|
137348
137348
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
137349
137349
|
if(content.locals) module.exports = content.locals;
|
|
137350
137350
|
// add the styles to the DOM
|
|
137351
137351
|
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
137352
|
-
var update = add("
|
|
137352
|
+
var update = add("3ef90b48", content, true, {"sourceMap":false,"shadowMode":false});
|
|
137353
137353
|
|
|
137354
137354
|
/***/ }),
|
|
137355
137355
|
|
|
@@ -137673,19 +137673,19 @@ var update = add("13d93c11", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
137673
137673
|
|
|
137674
137674
|
/***/ }),
|
|
137675
137675
|
|
|
137676
|
-
/***/
|
|
137676
|
+
/***/ 77592:
|
|
137677
137677
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
137678
137678
|
|
|
137679
137679
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
137680
137680
|
|
|
137681
137681
|
// load the styles
|
|
137682
|
-
var content = __webpack_require__(
|
|
137682
|
+
var content = __webpack_require__(31626);
|
|
137683
137683
|
if(content.__esModule) content = content.default;
|
|
137684
137684
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
137685
137685
|
if(content.locals) module.exports = content.locals;
|
|
137686
137686
|
// add the styles to the DOM
|
|
137687
137687
|
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
137688
|
-
var update = add("
|
|
137688
|
+
var update = add("7ff434d8", content, true, {"sourceMap":false,"shadowMode":false});
|
|
137689
137689
|
|
|
137690
137690
|
/***/ }),
|
|
137691
137691
|
|
|
@@ -139065,19 +139065,19 @@ var update = add("789c7478", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
139065
139065
|
|
|
139066
139066
|
/***/ }),
|
|
139067
139067
|
|
|
139068
|
-
/***/
|
|
139068
|
+
/***/ 68257:
|
|
139069
139069
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
139070
139070
|
|
|
139071
139071
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
139072
139072
|
|
|
139073
139073
|
// load the styles
|
|
139074
|
-
var content = __webpack_require__(
|
|
139074
|
+
var content = __webpack_require__(51027);
|
|
139075
139075
|
if(content.__esModule) content = content.default;
|
|
139076
139076
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
139077
139077
|
if(content.locals) module.exports = content.locals;
|
|
139078
139078
|
// add the styles to the DOM
|
|
139079
139079
|
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
139080
|
-
var update = add("
|
|
139080
|
+
var update = add("6bbd185a", content, true, {"sourceMap":false,"shadowMode":false});
|
|
139081
139081
|
|
|
139082
139082
|
/***/ }),
|
|
139083
139083
|
|
|
@@ -147473,6 +147473,7 @@ var wfengine_install = function install(Vue) {
|
|
|
147473
147473
|
$scope.wfInstance.id = res.body.wfInstance.id;
|
|
147474
147474
|
$scope.wfInstance.status = res.body.wfInstance.status;
|
|
147475
147475
|
$scope.vo.status = res.body.wfInstance.status;
|
|
147476
|
+
$scope.$bus.emit('showWfNodelogList', $scope.wfInstance, $scope.activeName, true);
|
|
147476
147477
|
}
|
|
147477
147478
|
if (res.body.wfInstance && res.body.wfInstance.passenger.wfIdeaList) {
|
|
147478
147479
|
$scope.wfIdeaList = _this3.setWfIdeaList(res.body.wfInstance.passenger.wfIdeaList);
|
|
@@ -162130,8 +162131,8 @@ var srcvue_type_template_id_769ae4fb_render = function render() {
|
|
|
162130
162131
|
};
|
|
162131
162132
|
var srcvue_type_template_id_769ae4fb_staticRenderFns = [];
|
|
162132
162133
|
|
|
162133
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwapp/SelectDialog/src/OrgTreeDialog.vue?vue&type=template&id=
|
|
162134
|
-
var
|
|
162134
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwapp/SelectDialog/src/OrgTreeDialog.vue?vue&type=template&id=629b9f44&scoped=true
|
|
162135
|
+
var OrgTreeDialogvue_type_template_id_629b9f44_scoped_true_render = function render() {
|
|
162135
162136
|
var _vm = this,
|
|
162136
162137
|
_c = _vm._self._c;
|
|
162137
162138
|
return _vm.dialogFormVisible ? _c('el-dialog', {
|
|
@@ -162592,7 +162593,7 @@ var OrgTreeDialogvue_type_template_id_31ebf420_scoped_true_render = function ren
|
|
|
162592
162593
|
}
|
|
162593
162594
|
}, [_vm._v("确 定")])], 1)], 1) : _vm._e();
|
|
162594
162595
|
};
|
|
162595
|
-
var
|
|
162596
|
+
var OrgTreeDialogvue_type_template_id_629b9f44_scoped_true_staticRenderFns = [];
|
|
162596
162597
|
|
|
162597
162598
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwapp/SelectDialog/src/OrgTreeDialog.vue?vue&type=script&lang=js
|
|
162598
162599
|
function OrgTreeDialogvue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return OrgTreeDialogvue_type_script_lang_js_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, OrgTreeDialogvue_type_script_lang_js_typeof(o); }
|
|
@@ -163332,13 +163333,15 @@ function OrgTreeDialogvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !
|
|
|
163332
163333
|
var _this = this;
|
|
163333
163334
|
var attr = this.el.attrs;
|
|
163334
163335
|
var treeData = JSON.parse(JSON.stringify(allTreeData));
|
|
163336
|
+
var newTreeData = null;
|
|
163335
163337
|
if (this.vnode.context.onSelectTreeDataLoaded) {
|
|
163336
|
-
|
|
163338
|
+
newTreeData = this.vnode.context.onSelectTreeDataLoaded(treeData, attr);
|
|
163337
163339
|
} else if (this.vnode.context.$vnode.context.onSelectTreeDataLoaded) {
|
|
163338
|
-
|
|
163340
|
+
newTreeData = this.vnode.context.$vnode.context.onSelectTreeDataLoaded(treeData, attr);
|
|
163339
163341
|
} else if (this.$vnode.context.$vnode.context.$vnode.context.onSelectTreeDataLoaded) {
|
|
163340
|
-
|
|
163342
|
+
newTreeData = this.vnode.context.$vnode.context.$vnode.context.onSelectTreeDataLoaded(treeData, attr);
|
|
163341
163343
|
}
|
|
163344
|
+
if (newTreeData) treeData = newTreeData;
|
|
163342
163345
|
|
|
163343
163346
|
// 已经选择的值
|
|
163344
163347
|
if (!this.tabType) {
|
|
@@ -164657,13 +164660,13 @@ function OrgTreeDialogvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !
|
|
|
164657
164660
|
});
|
|
164658
164661
|
;// CONCATENATED MODULE: ./packages/ecwapp/SelectDialog/src/OrgTreeDialog.vue?vue&type=script&lang=js
|
|
164659
164662
|
/* harmony default export */ var src_OrgTreeDialogvue_type_script_lang_js = (OrgTreeDialogvue_type_script_lang_js);
|
|
164660
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwapp/SelectDialog/src/OrgTreeDialog.vue?vue&type=style&index=0&id=
|
|
164661
|
-
var
|
|
164662
|
-
;// CONCATENATED MODULE: ./packages/ecwapp/SelectDialog/src/OrgTreeDialog.vue?vue&type=style&index=0&id=
|
|
164663
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwapp/SelectDialog/src/OrgTreeDialog.vue?vue&type=style&index=0&id=629b9f44&prod&scoped=true&lang=scss
|
|
164664
|
+
var OrgTreeDialogvue_type_style_index_0_id_629b9f44_prod_scoped_true_lang_scss = __webpack_require__(39211);
|
|
164665
|
+
;// CONCATENATED MODULE: ./packages/ecwapp/SelectDialog/src/OrgTreeDialog.vue?vue&type=style&index=0&id=629b9f44&prod&scoped=true&lang=scss
|
|
164663
164666
|
|
|
164664
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwapp/SelectDialog/src/OrgTreeDialog.vue?vue&type=style&index=1&id=
|
|
164665
|
-
var
|
|
164666
|
-
;// CONCATENATED MODULE: ./packages/ecwapp/SelectDialog/src/OrgTreeDialog.vue?vue&type=style&index=1&id=
|
|
164667
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwapp/SelectDialog/src/OrgTreeDialog.vue?vue&type=style&index=1&id=629b9f44&prod&lang=css
|
|
164668
|
+
var OrgTreeDialogvue_type_style_index_1_id_629b9f44_prod_lang_css = __webpack_require__(91785);
|
|
164669
|
+
;// CONCATENATED MODULE: ./packages/ecwapp/SelectDialog/src/OrgTreeDialog.vue?vue&type=style&index=1&id=629b9f44&prod&lang=css
|
|
164667
164670
|
|
|
164668
164671
|
;// CONCATENATED MODULE: ./packages/ecwapp/SelectDialog/src/OrgTreeDialog.vue
|
|
164669
164672
|
|
|
@@ -164677,11 +164680,11 @@ var OrgTreeDialogvue_type_style_index_1_id_31ebf420_prod_lang_css = __webpack_re
|
|
|
164677
164680
|
|
|
164678
164681
|
var OrgTreeDialog_component = (0,componentNormalizer/* default */.A)(
|
|
164679
164682
|
src_OrgTreeDialogvue_type_script_lang_js,
|
|
164680
|
-
|
|
164681
|
-
|
|
164683
|
+
OrgTreeDialogvue_type_template_id_629b9f44_scoped_true_render,
|
|
164684
|
+
OrgTreeDialogvue_type_template_id_629b9f44_scoped_true_staticRenderFns,
|
|
164682
164685
|
false,
|
|
164683
164686
|
null,
|
|
164684
|
-
"
|
|
164687
|
+
"629b9f44",
|
|
164685
164688
|
null
|
|
164686
164689
|
|
|
164687
164690
|
)
|
|
@@ -180124,8 +180127,8 @@ var SubmitDialog_component = (0,componentNormalizer/* default */.A)(
|
|
|
180124
180127
|
)
|
|
180125
180128
|
|
|
180126
180129
|
/* harmony default export */ var SubmitDialog = (SubmitDialog_component.exports);
|
|
180127
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwapp/Wflowform/src/WfNodelogList.vue?vue&type=template&id=
|
|
180128
|
-
var
|
|
180130
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwapp/Wflowform/src/WfNodelogList.vue?vue&type=template&id=c41fca30&scoped=true
|
|
180131
|
+
var WfNodelogListvue_type_template_id_c41fca30_scoped_true_render = function render() {
|
|
180129
180132
|
var _vm = this,
|
|
180130
180133
|
_c = _vm._self._c;
|
|
180131
180134
|
return _c('div', {
|
|
@@ -181192,7 +181195,7 @@ var WfNodelogListvue_type_template_id_6012c962_scoped_true_render = function ren
|
|
|
181192
181195
|
}], null, false, 1872946213)
|
|
181193
181196
|
})], 1) : _vm._e()], 1)]) : _vm._e()])], 1);
|
|
181194
181197
|
};
|
|
181195
|
-
var
|
|
181198
|
+
var WfNodelogListvue_type_template_id_c41fca30_scoped_true_staticRenderFns = [];
|
|
181196
181199
|
|
|
181197
181200
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwapp/Wflowform/src/WfNodelogList.vue?vue&type=script&lang=js
|
|
181198
181201
|
function WfNodelogListvue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return WfNodelogListvue_type_script_lang_js_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, WfNodelogListvue_type_script_lang_js_typeof(o); }
|
|
@@ -181389,6 +181392,9 @@ function WfNodelogListvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !
|
|
|
181389
181392
|
if (activeName === 'flowChart') {
|
|
181390
181393
|
_this.activeName = activeName;
|
|
181391
181394
|
}
|
|
181395
|
+
if (this.$refs['wflowTrace'] && refresh) {
|
|
181396
|
+
this.$refs['wflowTrace'].redoInitFlowTrace();
|
|
181397
|
+
}
|
|
181392
181398
|
if (_this.loading || wfInstance.status === -1 || this.curTN.tnID === undefined) {
|
|
181393
181399
|
return;
|
|
181394
181400
|
}
|
|
@@ -182037,9 +182043,9 @@ function WfNodelogListvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !
|
|
|
182037
182043
|
});
|
|
182038
182044
|
;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/WfNodelogList.vue?vue&type=script&lang=js
|
|
182039
182045
|
/* harmony default export */ var src_WfNodelogListvue_type_script_lang_js = (WfNodelogListvue_type_script_lang_js);
|
|
182040
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwapp/Wflowform/src/WfNodelogList.vue?vue&type=style&index=0&id=
|
|
182041
|
-
var
|
|
182042
|
-
;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/WfNodelogList.vue?vue&type=style&index=0&id=
|
|
182046
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwapp/Wflowform/src/WfNodelogList.vue?vue&type=style&index=0&id=c41fca30&prod&scoped=true&lang=scss
|
|
182047
|
+
var WfNodelogListvue_type_style_index_0_id_c41fca30_prod_scoped_true_lang_scss = __webpack_require__(77592);
|
|
182048
|
+
;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/WfNodelogList.vue?vue&type=style&index=0&id=c41fca30&prod&scoped=true&lang=scss
|
|
182043
182049
|
|
|
182044
182050
|
;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/WfNodelogList.vue
|
|
182045
182051
|
|
|
@@ -182052,11 +182058,11 @@ var WfNodelogListvue_type_style_index_0_id_6012c962_prod_scoped_true_lang_scss =
|
|
|
182052
182058
|
|
|
182053
182059
|
var WfNodelogList_component = (0,componentNormalizer/* default */.A)(
|
|
182054
182060
|
src_WfNodelogListvue_type_script_lang_js,
|
|
182055
|
-
|
|
182056
|
-
|
|
182061
|
+
WfNodelogListvue_type_template_id_c41fca30_scoped_true_render,
|
|
182062
|
+
WfNodelogListvue_type_template_id_c41fca30_scoped_true_staticRenderFns,
|
|
182057
182063
|
false,
|
|
182058
182064
|
null,
|
|
182059
|
-
"
|
|
182065
|
+
"c41fca30",
|
|
182060
182066
|
null
|
|
182061
182067
|
|
|
182062
182068
|
)
|
|
@@ -272553,8 +272559,8 @@ var ImportWf_component = (0,componentNormalizer/* default */.A)(
|
|
|
272553
272559
|
)
|
|
272554
272560
|
|
|
272555
272561
|
/* harmony default export */ var ImportWf = (ImportWf_component.exports);
|
|
272556
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwplus/WorkflowDesigner/src/components/FlowTrace/index.vue?vue&type=template&id=
|
|
272557
|
-
var
|
|
272562
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwplus/WorkflowDesigner/src/components/FlowTrace/index.vue?vue&type=template&id=2f6bc5ee&scoped=true
|
|
272563
|
+
var FlowTracevue_type_template_id_2f6bc5ee_scoped_true_render = function render() {
|
|
272558
272564
|
var _vm = this,
|
|
272559
272565
|
_c = _vm._self._c;
|
|
272560
272566
|
return _c('div', {
|
|
@@ -272734,7 +272740,7 @@ var FlowTracevue_type_template_id_7b90cb2e_scoped_true_render = function render(
|
|
|
272734
272740
|
}
|
|
272735
272741
|
}) : _vm._e()], 1);
|
|
272736
272742
|
};
|
|
272737
|
-
var
|
|
272743
|
+
var FlowTracevue_type_template_id_2f6bc5ee_scoped_true_staticRenderFns = [function () {
|
|
272738
272744
|
var _vm = this,
|
|
272739
272745
|
_c = _vm._self._c;
|
|
272740
272746
|
return _c('ul', {
|
|
@@ -272762,7 +272768,7 @@ var FlowTracevue_type_template_id_7b90cb2e_scoped_true_staticRenderFns = [functi
|
|
|
272762
272768
|
}, [_vm._v("设置为添加新节点模式")])])]);
|
|
272763
272769
|
}];
|
|
272764
272770
|
|
|
272765
|
-
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/FlowTrace/index.vue?vue&type=template&id=
|
|
272771
|
+
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/FlowTrace/index.vue?vue&type=template&id=2f6bc5ee&scoped=true
|
|
272766
272772
|
|
|
272767
272773
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwplus/WorkflowDesigner/src/components/FlowTrace/index.vue?vue&type=script&lang=js
|
|
272768
272774
|
function FlowTracevue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return FlowTracevue_type_script_lang_js_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, FlowTracevue_type_script_lang_js_typeof(o); }
|
|
@@ -272921,15 +272927,32 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
272921
272927
|
updated: function updated() {},
|
|
272922
272928
|
mounted: function mounted() {},
|
|
272923
272929
|
methods: {
|
|
272924
|
-
|
|
272930
|
+
redoInitFlowTrace: function redoInitFlowTrace() {
|
|
272925
272931
|
var _this3 = this;
|
|
272932
|
+
this.pathObj = [];
|
|
272933
|
+
this.pathNumber = 0; // 页面加载的路径条数
|
|
272934
|
+
this.connectsArr = [];
|
|
272935
|
+
this.observer = null;
|
|
272936
|
+
this.redoPaths = [];
|
|
272937
|
+
this.redoPathsTimes = 1;
|
|
272938
|
+
this.loading = true;
|
|
272939
|
+
|
|
272940
|
+
// 删除所有流程节点 DOM (包括开始、结束、人工节点等,它们通常都有 process 类)
|
|
272941
|
+
window.jsPlumb.reset();
|
|
272942
|
+
jquery_default()('#center').find('.process').remove();
|
|
272943
|
+
this.$nextTick(function () {
|
|
272944
|
+
_this3.initFlowTrace();
|
|
272945
|
+
});
|
|
272946
|
+
},
|
|
272947
|
+
initFlowTrace: function initFlowTrace() {
|
|
272948
|
+
var _this4 = this;
|
|
272926
272949
|
var _this = this;
|
|
272927
272950
|
if (!_this.loading) return; //只加载一次
|
|
272928
272951
|
|
|
272929
272952
|
new Promise(function (resolve, reject) {
|
|
272930
272953
|
if (_this.wfInstance.passenger.chartData) {
|
|
272931
272954
|
var chartData = _this.wfInstance.passenger.chartData;
|
|
272932
|
-
|
|
272955
|
+
_this4.connectsArr = chartData.connects;
|
|
272933
272956
|
var domHtmlArr = chartData.domHtml;
|
|
272934
272957
|
for (var i = 0; i < domHtmlArr.length; i++) {
|
|
272935
272958
|
jquery_default()('#center').append(common/* Base64 */.o.decode(domHtmlArr[i].domH));
|
|
@@ -272959,12 +272982,12 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
272959
272982
|
|
|
272960
272983
|
//开始节点
|
|
272961
272984
|
var startId = (0,common/* uuid */.u)();
|
|
272962
|
-
var startNodeHtml =
|
|
272985
|
+
var startNodeHtml = _this4.wfNodeHtml.start.domH.replace('id=""', 'id="' + startId + '"');
|
|
272963
272986
|
jquery_default()('#center').append(startNodeHtml);
|
|
272964
272987
|
|
|
272965
272988
|
//结束节点
|
|
272966
272989
|
var endId = (0,common/* uuid */.u)();
|
|
272967
|
-
var endNodeHtml =
|
|
272990
|
+
var endNodeHtml = _this4.wfNodeHtml.jslc.domH.replace('id=""', 'id="' + endId + '"');
|
|
272968
272991
|
var top = 100 + (100 + 80) * (udmNodes.length + 1);
|
|
272969
272992
|
endNodeHtml = endNodeHtml.replace('style=""', 'style="left: 570px; top: ' + top + 'px;"');
|
|
272970
272993
|
jquery_default()('#center').append(endNodeHtml);
|
|
@@ -272972,13 +272995,13 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
272972
272995
|
//人工节点
|
|
272973
272996
|
udmNodes.forEach(function (node, index) {
|
|
272974
272997
|
if (index === 0) {
|
|
272975
|
-
var pathLine = JSON.parse(JSON.stringify(
|
|
272998
|
+
var pathLine = JSON.parse(JSON.stringify(_this4.connectLine));
|
|
272976
272999
|
pathLine.ConnectionId = (0,common/* uuid */.u)();
|
|
272977
273000
|
pathLine.PageSourceId = startId;
|
|
272978
273001
|
pathLine.PageTargetId = node.uuid;
|
|
272979
273002
|
connectsArr.push(pathLine);
|
|
272980
|
-
} else if (node.returnHistoryTN > 0 &&
|
|
272981
|
-
var _pathLine = JSON.parse(JSON.stringify(
|
|
273003
|
+
} else if (node.returnHistoryTN > 0 && _this4.wfInstance.status > 0) {
|
|
273004
|
+
var _pathLine = JSON.parse(JSON.stringify(_this4.connectLine));
|
|
272982
273005
|
_pathLine.ConnectionId = (0,common/* uuid */.u)();
|
|
272983
273006
|
_pathLine.label = '退回';
|
|
272984
273007
|
_pathLine.PageSourceId = node.uuid;
|
|
@@ -272997,48 +273020,48 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
272997
273020
|
}
|
|
272998
273021
|
_pathLine.linesCount = 3;
|
|
272999
273022
|
connectsArr.push(_pathLine);
|
|
273000
|
-
|
|
273023
|
+
_this4.pathObj.push({
|
|
273001
273024
|
id: _pathLine.ConnectionId,
|
|
273002
273025
|
name: _pathLine.label
|
|
273003
273026
|
});
|
|
273004
273027
|
}
|
|
273005
273028
|
if (index + 1 === udmNodes.length) {
|
|
273006
|
-
var _pathLine2 = JSON.parse(JSON.stringify(
|
|
273029
|
+
var _pathLine2 = JSON.parse(JSON.stringify(_this4.connectLine));
|
|
273007
273030
|
_pathLine2.ConnectionId = (0,common/* uuid */.u)();
|
|
273008
273031
|
_pathLine2.label = '结束处理';
|
|
273009
273032
|
_pathLine2.PageSourceId = node.uuid;
|
|
273010
273033
|
_pathLine2.PageTargetId = endId;
|
|
273011
273034
|
connectsArr.push(_pathLine2);
|
|
273012
|
-
|
|
273035
|
+
_this4.pathObj.push({
|
|
273013
273036
|
id: _pathLine2.ConnectionId,
|
|
273014
273037
|
name: _pathLine2.label
|
|
273015
273038
|
});
|
|
273016
273039
|
}
|
|
273017
273040
|
if (index + 1 < udmNodes.length) {
|
|
273018
|
-
var _pathLine3 = JSON.parse(JSON.stringify(
|
|
273041
|
+
var _pathLine3 = JSON.parse(JSON.stringify(_this4.connectLine));
|
|
273019
273042
|
_pathLine3.ConnectionId = (0,common/* uuid */.u)();
|
|
273020
273043
|
_pathLine3.label = '送' + udmNodes[index + 1].name;
|
|
273021
273044
|
_pathLine3.PageSourceId = node.uuid;
|
|
273022
273045
|
_pathLine3.PageTargetId = udmNodes[index + 1].uuid;
|
|
273023
273046
|
connectsArr.push(_pathLine3);
|
|
273024
|
-
|
|
273047
|
+
_this4.pathObj.push({
|
|
273025
273048
|
id: _pathLine3.ConnectionId,
|
|
273026
273049
|
name: _pathLine3.label
|
|
273027
273050
|
});
|
|
273028
273051
|
}
|
|
273029
273052
|
var nodeHtml = '';
|
|
273030
273053
|
if (node.todoMode == 0) {
|
|
273031
|
-
nodeHtml =
|
|
273054
|
+
nodeHtml = _this4.wfNodeHtml.ptjd.domH.replace('<p>普通节点</p>', '<p>' + node.name + '</p>');
|
|
273032
273055
|
} else if (node.todoMode == 1) {
|
|
273033
|
-
nodeHtml =
|
|
273056
|
+
nodeHtml = _this4.wfNodeHtml.drbx.domH.replace('<p>多人并行</p>', '<p>' + node.name + '</p>');
|
|
273034
273057
|
} else if (node.todoMode == 2) {
|
|
273035
|
-
nodeHtml =
|
|
273058
|
+
nodeHtml = _this4.wfNodeHtml.hqjd.domH.replace('<p>多人会签</p>', '<p>' + node.name + '</p>');
|
|
273036
273059
|
} else if (node.todoMode == 3) {
|
|
273037
|
-
nodeHtml =
|
|
273060
|
+
nodeHtml = _this4.wfNodeHtml.drcx.domH.replace('<p>多人串行</p>', '<p>' + node.name + '</p>');
|
|
273038
273061
|
} else if (node.todoMode == 4) {
|
|
273039
|
-
nodeHtml =
|
|
273062
|
+
nodeHtml = _this4.wfNodeHtml.jzjd.domH.replace('<p>多人竞争</p>', '<p>' + node.name + '</p>');
|
|
273040
273063
|
} else if (node.todoMode == 5) {
|
|
273041
|
-
nodeHtml =
|
|
273064
|
+
nodeHtml = _this4.wfNodeHtml.ywjd.domH.replace('<p>多人阅文</p>', '<p>' + node.name + '</p>');
|
|
273042
273065
|
}
|
|
273043
273066
|
var top = 100 + (100 + 80) * (index + 1);
|
|
273044
273067
|
nodeHtml = nodeHtml.replace('style=""', 'style="left: 530px; top: ' + top + 'px;"');
|
|
@@ -273049,31 +273072,31 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
273049
273072
|
resolve(true);
|
|
273050
273073
|
} else {
|
|
273051
273074
|
//流程配置
|
|
273052
|
-
|
|
273075
|
+
_this4.$http({
|
|
273053
273076
|
method: 'GET',
|
|
273054
273077
|
params: {
|
|
273055
|
-
product:
|
|
273056
|
-
dwadmin:
|
|
273057
|
-
copy:
|
|
273078
|
+
product: _this4.product,
|
|
273079
|
+
dwadmin: _this4.dwadmin,
|
|
273080
|
+
copy: _this4.$route.query.copy
|
|
273058
273081
|
},
|
|
273059
273082
|
contentType: 'application/x-www-form-urlencoded',
|
|
273060
|
-
url: 'workflow/wfdProcessMgr/getById?id=' +
|
|
273083
|
+
url: 'workflow/wfdProcessMgr/getById?id=' + _this4.wfInstance.wfId + ''
|
|
273061
273084
|
}).then(function (response) {
|
|
273062
|
-
|
|
273063
|
-
for (var o = 0; o <
|
|
273064
|
-
|
|
273085
|
+
_this4.wflow = response.body.vo;
|
|
273086
|
+
for (var o = 0; o < _this4.wflow.paths.length; o++) {
|
|
273087
|
+
_this4.pathObj.push(_this4.wflow.paths[o]);
|
|
273065
273088
|
}
|
|
273066
|
-
|
|
273067
|
-
|
|
273068
|
-
var chartData = JSON.parse(
|
|
273089
|
+
_this4.wflow.paths.length = 0;
|
|
273090
|
+
_this4.process = response.body.vo.process;
|
|
273091
|
+
var chartData = JSON.parse(_this4.process.chartData);
|
|
273069
273092
|
var connectsArr = chartData.connects;
|
|
273070
|
-
|
|
273093
|
+
_this4.connectsArr = connectsArr;
|
|
273071
273094
|
var domHtmlArr = chartData.domHtml;
|
|
273072
273095
|
for (var _i = 0; _i < domHtmlArr.length; _i++) {
|
|
273073
273096
|
jquery_default()('#center').append(common/* Base64 */.o.decode(domHtmlArr[_i].domH));
|
|
273074
273097
|
}
|
|
273075
|
-
if (
|
|
273076
|
-
var desc =
|
|
273098
|
+
if (_this4.process && _this4.process.description) {
|
|
273099
|
+
var desc = _this4.process.description;
|
|
273077
273100
|
var containerHeight = 180;
|
|
273078
273101
|
var containerLeft = null;
|
|
273079
273102
|
var containerTop = null;
|
|
@@ -273086,41 +273109,41 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
273086
273109
|
}
|
|
273087
273110
|
resolve(true);
|
|
273088
273111
|
}, function (error) {
|
|
273089
|
-
|
|
273112
|
+
_this4.$message.error(error);
|
|
273090
273113
|
reject(error);
|
|
273091
273114
|
});
|
|
273092
273115
|
}
|
|
273093
273116
|
}).then(function () {
|
|
273094
|
-
|
|
273117
|
+
_this4.loading = false;
|
|
273095
273118
|
var nodeIdArr = [];
|
|
273096
273119
|
jquery_default()('.process').removeClass('seled');
|
|
273097
273120
|
jquery_default()('.process').each(function (index, elem) {
|
|
273098
273121
|
nodeIdArr.push(jquery_default()(elem).attr('id'));
|
|
273099
273122
|
if (jquery_default()(elem).hasClass('childWf')) {
|
|
273100
|
-
jquery_default()(elem).find('img').attr('src',
|
|
273123
|
+
jquery_default()(elem).find('img').attr('src', _this4.zlc);
|
|
273101
273124
|
} else if (jquery_default()(elem).hasClass('parentWf')) {
|
|
273102
|
-
jquery_default()(elem).find('img').attr('src',
|
|
273125
|
+
jquery_default()(elem).find('img').attr('src', _this4.plc);
|
|
273103
273126
|
} else if (jquery_default()(elem).hasClass('ptjd')) {
|
|
273104
|
-
jquery_default()(elem).find('img').attr('src',
|
|
273127
|
+
jquery_default()(elem).find('img').attr('src', _this4.ptjd);
|
|
273105
273128
|
jquery_default()(elem).find('span').text('普通节点');
|
|
273106
273129
|
} else if (jquery_default()(elem).hasClass('jzjd')) {
|
|
273107
|
-
jquery_default()(elem).find('img').attr('src',
|
|
273130
|
+
jquery_default()(elem).find('img').attr('src', _this4.jzjd);
|
|
273108
273131
|
jquery_default()(elem).find('span').text('竞争节点');
|
|
273109
273132
|
} else if (jquery_default()(elem).hasClass('drbx')) {
|
|
273110
|
-
jquery_default()(elem).find('img').attr('src',
|
|
273133
|
+
jquery_default()(elem).find('img').attr('src', _this4.drbx);
|
|
273111
273134
|
jquery_default()(elem).find('span').text('多人并行');
|
|
273112
273135
|
} else if (jquery_default()(elem).hasClass('drcx')) {
|
|
273113
|
-
jquery_default()(elem).find('img').attr('src',
|
|
273136
|
+
jquery_default()(elem).find('img').attr('src', _this4.drcx);
|
|
273114
273137
|
jquery_default()(elem).find('span').text('多人串行');
|
|
273115
273138
|
} else if (jquery_default()(elem).hasClass('hqjd')) {
|
|
273116
|
-
jquery_default()(elem).find('img').attr('src',
|
|
273139
|
+
jquery_default()(elem).find('img').attr('src', _this4.hqjd);
|
|
273117
273140
|
jquery_default()(elem).find('span').text('会签节点');
|
|
273118
273141
|
} else if (jquery_default()(elem).hasClass('ywjd')) {
|
|
273119
|
-
jquery_default()(elem).find('img').attr('src',
|
|
273142
|
+
jquery_default()(elem).find('img').attr('src', _this4.ywjd);
|
|
273120
273143
|
jquery_default()(elem).find('span').text('阅文节点');
|
|
273121
273144
|
}
|
|
273122
|
-
if (_this.wfInstance.udmNodes && _this.wfInstance.udmNodes.length > 0 &&
|
|
273123
|
-
FlowTracevue_type_script_lang_js_nodeEvents(jquery_default()(elem).attr('id'),
|
|
273145
|
+
if (_this.wfInstance.udmNodes && _this.wfInstance.udmNodes.length > 0 && _this4.wfInstance.creatorAccount === _this4.curTN.userAccount && _this4.wfInstance.status < 2) {
|
|
273146
|
+
FlowTracevue_type_script_lang_js_nodeEvents(jquery_default()(elem).attr('id'), _this4.wflow, _this4);
|
|
273124
273147
|
}
|
|
273125
273148
|
if (elem.innerHTML && elem.firstChild && elem.firstChild.nextElementSibling) {
|
|
273126
273149
|
//删除流程跟踪图中的环节处理人
|
|
@@ -273137,20 +273160,20 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
273137
273160
|
nodeIdArr.forEach(function (nodeId) {
|
|
273138
273161
|
jquery_default()("#".concat(nodeId)).addClass('model_process_wwc');
|
|
273139
273162
|
});
|
|
273140
|
-
if (
|
|
273141
|
-
|
|
273163
|
+
if (_this4.wflogList && _this4.wflogList.length > 0) {
|
|
273164
|
+
_this4.wflogList.forEach(function (wflog) {
|
|
273142
273165
|
if (!wflog.parentId) return;
|
|
273143
|
-
var pwflog =
|
|
273166
|
+
var pwflog = _this4.wflogList.filter(function (pwflog) {
|
|
273144
273167
|
return pwflog.id === wflog.parentId;
|
|
273145
273168
|
});
|
|
273146
273169
|
if (pwflog.length === 0) return;
|
|
273147
|
-
var connectLine =
|
|
273170
|
+
var connectLine = _this4.connectsArr.filter(function (conn) {
|
|
273148
273171
|
return conn.PageSourceId === pwflog[0].nodeId && conn.PageTargetId === wflog.nodeId;
|
|
273149
273172
|
});
|
|
273150
273173
|
if (connectLine.length === 0 && wflog.prePathType === 3) {
|
|
273151
273174
|
//动态生成驳回连线
|
|
273152
273175
|
//console.log(wflog)
|
|
273153
|
-
var pathLine = JSON.parse(JSON.stringify(
|
|
273176
|
+
var pathLine = JSON.parse(JSON.stringify(_this4.connectLine));
|
|
273154
273177
|
pathLine.ConnectionId = (0,common/* uuid */.u)();
|
|
273155
273178
|
pathLine.label = pwflog[0].pathName;
|
|
273156
273179
|
pathLine.PageSourceId = pwflog[0].nodeId;
|
|
@@ -273161,15 +273184,15 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
273161
273184
|
pathLine.firstEndpoints = [0, 0.4, -1, 0]; //左出
|
|
273162
273185
|
pathLine.secondEndpoints = [0, 0.6, -1, 0]; //左入
|
|
273163
273186
|
pathLine.linesCount = 3;
|
|
273164
|
-
|
|
273165
|
-
|
|
273187
|
+
_this4.connectsArr.push(pathLine);
|
|
273188
|
+
_this4.pathObj.push({
|
|
273166
273189
|
id: pathLine.ConnectionId,
|
|
273167
273190
|
name: pathLine.label
|
|
273168
273191
|
});
|
|
273169
273192
|
}
|
|
273170
273193
|
});
|
|
273171
273194
|
}
|
|
273172
|
-
if (
|
|
273195
|
+
if (_this4.wfInstance.creatorAccount === _this4.curTN.userAccount && _this4.wfInstance.status < 2) {
|
|
273173
273196
|
if (_this.wfInstance.udmNodes && _this.wfInstance.udmNodes.length > 0) {
|
|
273174
273197
|
nodeIdArr.forEach(function (nodeId) {
|
|
273175
273198
|
if (!jquery_default()('#' + nodeId).hasClass('start')) {
|
|
@@ -273195,10 +273218,10 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
273195
273218
|
}
|
|
273196
273219
|
|
|
273197
273220
|
//节点连接线
|
|
273198
|
-
(0,globalStyle/* createPathLine */.on)(
|
|
273199
|
-
if (_this.wfInstance.udmNodes &&
|
|
273221
|
+
(0,globalStyle/* createPathLine */.on)(_this4.connectsArr);
|
|
273222
|
+
if (_this.wfInstance.udmNodes && _this4.wfInstance.creatorAccount === _this4.curTN.userAccount && _this4.wfInstance.status < 2) {
|
|
273200
273223
|
// 双击给该元素动态添加锚点
|
|
273201
|
-
|
|
273224
|
+
_this4.AddAnchor();
|
|
273202
273225
|
|
|
273203
273226
|
// 选择加载的node拖放,支持单个、多个
|
|
273204
273227
|
jquery_default()('.process').draggable({
|
|
@@ -273216,8 +273239,8 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
273216
273239
|
drag: function drag(event, ui) {
|
|
273217
273240
|
var uiid = event.target.id;
|
|
273218
273241
|
FlowTracevue_type_script_lang_js_MoveSelectDiv(event, ui, uiid);
|
|
273219
|
-
|
|
273220
|
-
|
|
273242
|
+
_this4.ComparePath();
|
|
273243
|
+
_this4.isDomChange = true; // 如果dom移动
|
|
273221
273244
|
FlowTracevue_type_script_lang_js_jsPlumb.repaintEverything();
|
|
273222
273245
|
},
|
|
273223
273246
|
stop: function stop(event, ui) {
|
|
@@ -273226,29 +273249,29 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
273226
273249
|
}
|
|
273227
273250
|
});
|
|
273228
273251
|
}
|
|
273229
|
-
if (
|
|
273230
|
-
var wflogList =
|
|
273231
|
-
for (var i = 0; i <
|
|
273232
|
-
|
|
273233
|
-
|
|
273252
|
+
if (_this4.wflogList && _this4.wflogList.length > 0 && (!_this.wfInstance.udmNodes || _this.wfInstance.udmNodes && _this.wfInstance.status > 0)) {
|
|
273253
|
+
var wflogList = _this4.setWflogNodeId(_this4.wflogList);
|
|
273254
|
+
for (var i = 0; i < _this4.redoPathsTimes; i++) {
|
|
273255
|
+
_this4.redoPaths.forEach(function (info) {
|
|
273256
|
+
_this4.flowRedo(info, wflogList); // 再重复设置一次连接线样式,解决决策、聚合节点后已执行路径样式不能更新的问题
|
|
273234
273257
|
});
|
|
273235
273258
|
}
|
|
273236
273259
|
}
|
|
273237
273260
|
document.querySelectorAll('.model_process_wwc').forEach(function (wwc) {
|
|
273238
273261
|
wwc.onclick = function () {
|
|
273239
|
-
|
|
273262
|
+
_this4.showWflog = null;
|
|
273240
273263
|
};
|
|
273241
273264
|
});
|
|
273242
|
-
|
|
273243
|
-
|
|
273265
|
+
_this4.wflow.ideaLabels = [{}];
|
|
273266
|
+
_this4.ideaArr = [];
|
|
273244
273267
|
var processDesc = document.querySelector('.process-desc-container');
|
|
273245
273268
|
if (processDesc) processDesc.style.display = '';
|
|
273246
|
-
|
|
273269
|
+
_this4.$emit('clickloading');
|
|
273247
273270
|
});
|
|
273248
273271
|
|
|
273249
273272
|
// 1路径创建
|
|
273250
273273
|
FlowTracevue_type_script_lang_js_jsPlumb.bind('connection', function (info) {
|
|
273251
|
-
|
|
273274
|
+
_this4.dragPath(info);
|
|
273252
273275
|
info.connection.setPaintStyle({
|
|
273253
273276
|
stroke: '#438eb9',
|
|
273254
273277
|
fillStyle: '#438eb9',
|
|
@@ -273256,8 +273279,8 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
273256
273279
|
lineWidth: '5px',
|
|
273257
273280
|
strokeWidth: 2
|
|
273258
273281
|
});
|
|
273259
|
-
|
|
273260
|
-
|
|
273282
|
+
_this4.ComparePath();
|
|
273283
|
+
_this4.redoPaths.push(info); // 全部连接后,再重复设置一次连接线新式,解决决策、聚合节点后已执行路径样式不能更新的问题
|
|
273261
273284
|
|
|
273262
273285
|
return false;
|
|
273263
273286
|
});
|
|
@@ -273283,13 +273306,13 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
273283
273306
|
});
|
|
273284
273307
|
FlowTracevue_type_script_lang_js_jsPlumb.bind('mouseover', function (conn, originalEvent) {
|
|
273285
273308
|
var target = originalEvent.target || originalEvent.toElement;
|
|
273286
|
-
if (target.tagName === 'circle' && conn && !
|
|
273309
|
+
if (target.tagName === 'circle' && conn && !_this4.dragLine) {
|
|
273287
273310
|
//显示“添加新节点”按钮
|
|
273288
273311
|
var source = jquery_default()(conn.element);
|
|
273289
273312
|
if (!source.hasClass('model_process_yb') && !source.hasClass('jslc') && !source.hasClass('jsrw') && !source.hasClass('parentWf')) {
|
|
273290
|
-
FlowTracevue_type_script_lang_js_showAddNodeBtn(
|
|
273313
|
+
FlowTracevue_type_script_lang_js_showAddNodeBtn(_this4, conn, target, originalEvent);
|
|
273291
273314
|
}
|
|
273292
|
-
} else if (target.tagName === 'circle' &&
|
|
273315
|
+
} else if (target.tagName === 'circle' && _this4.dragLine) {
|
|
273293
273316
|
var targetDiv = target.parentElement.parentElement;
|
|
273294
273317
|
var btn = document.querySelector('.icon-drag-line');
|
|
273295
273318
|
btn.style.top = targetDiv.style.top;
|
|
@@ -273340,7 +273363,7 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
273340
273363
|
// 删除连线时,获取连线的id,循环所有nextNodes的pathId,如果是删除的连线id,删除nextNode
|
|
273341
273364
|
var deleteConnId = conn.id;
|
|
273342
273365
|
var nextnode = jquery_default()(conn.target);
|
|
273343
|
-
var _this =
|
|
273366
|
+
var _this = _this4;
|
|
273344
273367
|
|
|
273345
273368
|
// 当两个决策节点或者聚合节点删除连接线时,判断第二个节点是否还有其他的连接线,如果没有删除类标记
|
|
273346
273369
|
if ((nextnode.hasClass('jcjd') || nextnode.hasClass('jhjd')) && nextnode.hasClass('lastJ')) {
|
|
@@ -273356,17 +273379,17 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
273356
273379
|
nextnode.removeClass('lastJ');
|
|
273357
273380
|
}
|
|
273358
273381
|
}
|
|
273359
|
-
for (var _i3 = 0; _i3 <
|
|
273382
|
+
for (var _i3 = 0; _i3 < _this4.wflow.nextNodes.length; _i3++) {
|
|
273360
273383
|
if (_this.wflow.nextNodes[_i3].pathId === deleteConnId) {
|
|
273361
273384
|
_this.wflow.nextNodes.splice(_i3--, 1);
|
|
273362
273385
|
}
|
|
273363
273386
|
}
|
|
273364
|
-
for (var _i4 = 0; _i4 <
|
|
273387
|
+
for (var _i4 = 0; _i4 < _this4.wflow.pathFieldValues.length; _i4++) {
|
|
273365
273388
|
if (_this.wflow.pathFieldValues[_i4].pathId === deleteConnId) {
|
|
273366
273389
|
_this.wflow.pathFieldValues.splice(_i4--, 1);
|
|
273367
273390
|
}
|
|
273368
273391
|
}
|
|
273369
|
-
for (var _i5 = 0; _i5 <
|
|
273392
|
+
for (var _i5 = 0; _i5 < _this4.wflow.paths.length; _i5++) {
|
|
273370
273393
|
if (conn.id === _this.wflow.paths[_i5].id) {
|
|
273371
273394
|
_this.wflow.paths.splice(_i5--, 1);
|
|
273372
273395
|
}
|
|
@@ -273443,7 +273466,7 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
273443
273466
|
}
|
|
273444
273467
|
},
|
|
273445
273468
|
flowRedo: function flowRedo(info, wflogList) {
|
|
273446
|
-
var
|
|
273469
|
+
var _this5 = this;
|
|
273447
273470
|
var tnIndex = 0;
|
|
273448
273471
|
var parentId = null;
|
|
273449
273472
|
var _this = this;
|
|
@@ -273453,8 +273476,8 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
273453
273476
|
parentId = item.parentId;
|
|
273454
273477
|
tnIndex++;
|
|
273455
273478
|
}
|
|
273456
|
-
if (item.pathName && item.pathName.split('-->').length - 2 >
|
|
273457
|
-
|
|
273479
|
+
if (item.pathName && item.pathName.split('-->').length - 2 > _this5.redoPathsTimes) {
|
|
273480
|
+
_this5.redoPathsTimes = item.pathName.split('-->').length - 2;
|
|
273458
273481
|
}
|
|
273459
273482
|
setTimeout(function () {
|
|
273460
273483
|
//console.log('flowRedo', item)
|
|
@@ -273469,7 +273492,7 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
273469
273492
|
} else {
|
|
273470
273493
|
jquery_default()("#".concat(item.nodeId)).addClass('model_process_jxz');
|
|
273471
273494
|
}
|
|
273472
|
-
|
|
273495
|
+
_this5.addWflogInfo(jquery_default()("#".concat(item.nodeId)), item);
|
|
273473
273496
|
}, tnIndex * 300 + 1000);
|
|
273474
273497
|
_this.connectsArr.forEach(function (data) {
|
|
273475
273498
|
if (item.pathName === data.label || item.pathName && (item.pathName.indexOf(data.label + '-->') === 0 || (item.pathName + ',').indexOf('-->' + data.label + ',') > 0 || (item.pathName + ',').indexOf('-->' + data.label + '-->') > 0)) {
|
|
@@ -273479,7 +273502,7 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
273479
273502
|
jquery_default()("#".concat(data.PageSourceId)).removeClass('model_process_wwc');
|
|
273480
273503
|
jquery_default()("#".concat(data.PageSourceId)).addClass('jcjd_model_process_yb');
|
|
273481
273504
|
if (info.source.innerText.indexOf('<p>' + item.nodeName + '</p>') !== -1) {
|
|
273482
|
-
|
|
273505
|
+
_this5.addWflogInfo(jquery_default()("#".concat(data.PageSourceId)), item);
|
|
273483
273506
|
}
|
|
273484
273507
|
}
|
|
273485
273508
|
setTimeout(function () {
|
|
@@ -273506,7 +273529,7 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
273506
273529
|
}
|
|
273507
273530
|
}, 300 * tnIndex + 1000);
|
|
273508
273531
|
} else if (jquery_default()(info.source).hasClass('jcjd') && info.target.innerHTML.indexOf('<p>' + item.nodeName + '</p>') > 0) {
|
|
273509
|
-
var parentWflog =
|
|
273532
|
+
var parentWflog = _this5.wflogList.filter(function (wflog) {
|
|
273510
273533
|
return wflog.id === item.parentId;
|
|
273511
273534
|
});
|
|
273512
273535
|
if (parentWflog.length === 0 || parentWflog[0].pathName.indexOf('-->') !== -1) {
|
|
@@ -273566,7 +273589,7 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
273566
273589
|
};
|
|
273567
273590
|
},
|
|
273568
273591
|
dragPath: function dragPath(pathTarget) {
|
|
273569
|
-
var
|
|
273592
|
+
var _this6 = this;
|
|
273570
273593
|
if (jquery_default()(pathTarget.source).hasClass('start') || jquery_default()(pathTarget.source).hasClass('dfzjd')) {
|
|
273571
273594
|
// 开始节点、多分支节点后续连接线,不需要生成流程路径
|
|
273572
273595
|
pathTarget.connection.id = (0,common/* uuid */.u)();
|
|
@@ -273600,8 +273623,8 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
273600
273623
|
}
|
|
273601
273624
|
if (this.curPath.preNodeId !== '' && this.curPath.preNodeId !== undefined) {
|
|
273602
273625
|
this.wflow.nodes.forEach(function (node) {
|
|
273603
|
-
if (
|
|
273604
|
-
|
|
273626
|
+
if (_this6.curPath.preNodeId === node.id) {
|
|
273627
|
+
_this6.curPath.preNodeName = node.name;
|
|
273605
273628
|
}
|
|
273606
273629
|
});
|
|
273607
273630
|
}
|
|
@@ -273667,7 +273690,7 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
273667
273690
|
}
|
|
273668
273691
|
},
|
|
273669
273692
|
clickPath: function clickPath(pathTarget) {
|
|
273670
|
-
var
|
|
273693
|
+
var _this7 = this;
|
|
273671
273694
|
var paths = this.wflow.paths.filter(function (path) {
|
|
273672
273695
|
return pathTarget.id === path.id;
|
|
273673
273696
|
});
|
|
@@ -273680,8 +273703,8 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
273680
273703
|
this.curPath.targetNodeId = pathTarget.targetId;
|
|
273681
273704
|
if (!this.curPath.preNodeName && this.curPath.preNodeId) {
|
|
273682
273705
|
this.wflow.nodes.forEach(function (node) {
|
|
273683
|
-
if (
|
|
273684
|
-
|
|
273706
|
+
if (_this7.curPath.preNodeId === node.id) {
|
|
273707
|
+
_this7.curPath.preNodeName = node.name;
|
|
273685
273708
|
}
|
|
273686
273709
|
});
|
|
273687
273710
|
}
|
|
@@ -273691,7 +273714,7 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
273691
273714
|
|
|
273692
273715
|
setTimeout(function () {
|
|
273693
273716
|
FlowTracevue_type_script_lang_js_ecinc_process.connection.setLabel({
|
|
273694
|
-
label:
|
|
273717
|
+
label: _this7.curPath.name,
|
|
273695
273718
|
cssClass: 'line_text'
|
|
273696
273719
|
});
|
|
273697
273720
|
}, 0);
|
|
@@ -273788,15 +273811,15 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
273788
273811
|
this.processNum = this.wfInstance.udmNodes.length + 1;
|
|
273789
273812
|
},
|
|
273790
273813
|
removeUdmNode: function removeUdmNode(nodeId) {
|
|
273791
|
-
var
|
|
273814
|
+
var _this8 = this;
|
|
273792
273815
|
this.wfInstance.udmNodes.forEach(function (udmNode, index) {
|
|
273793
273816
|
if (udmNode.uuid === nodeId) {
|
|
273794
|
-
|
|
273817
|
+
_this8.$bus.emit('delUdmNode', index);
|
|
273795
273818
|
}
|
|
273796
273819
|
});
|
|
273797
273820
|
},
|
|
273798
273821
|
curNodeDbclick: function curNodeDbclick(targetId, preNodeId) {
|
|
273799
|
-
var
|
|
273822
|
+
var _this9 = this;
|
|
273800
273823
|
//已结束、已退回、进行中的环节,不允许修改
|
|
273801
273824
|
if (jquery_default()('#' + targetId).hasClass('model_process_yb') || jquery_default()('#' + targetId).hasClass('model_process_yth') || jquery_default()('#' + targetId).hasClass('model_process_jxz')) {
|
|
273802
273825
|
return;
|
|
@@ -273819,12 +273842,12 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
273819
273842
|
//节点后有非结束路径(非最后一个节点),不允许设置为阅文、会签节点
|
|
273820
273843
|
this.udmNode.isLast = true;
|
|
273821
273844
|
this.wflow.paths.forEach(function (path) {
|
|
273822
|
-
if (path.preNodeId ===
|
|
273823
|
-
|
|
273845
|
+
if (path.preNodeId === _this9.udmNode.uuid && path.pathType !== 4) {
|
|
273846
|
+
_this9.udmNode.isLast = false;
|
|
273824
273847
|
}
|
|
273825
273848
|
});
|
|
273826
273849
|
this.$nextTick(function () {
|
|
273827
|
-
|
|
273850
|
+
_this9.$refs['wfTaskNode'].dialogFormVisible = true;
|
|
273828
273851
|
});
|
|
273829
273852
|
} else {
|
|
273830
273853
|
var udmNode = JSON.parse(JSON.stringify(model_data/* wfNode */.EP));
|
|
@@ -273837,7 +273860,7 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
273837
273860
|
if (preNodeId) udmNode.preNodeId = preNodeId;
|
|
273838
273861
|
this.udmNode = udmNode;
|
|
273839
273862
|
this.$nextTick(function () {
|
|
273840
|
-
|
|
273863
|
+
_this9.$refs['wfTaskNode'].openSelectStaffDialog();
|
|
273841
273864
|
});
|
|
273842
273865
|
}
|
|
273843
273866
|
this.$forceUpdate();
|
|
@@ -273892,9 +273915,9 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
273892
273915
|
});
|
|
273893
273916
|
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/FlowTrace/index.vue?vue&type=script&lang=js
|
|
273894
273917
|
/* harmony default export */ var components_FlowTracevue_type_script_lang_js = (FlowTracevue_type_script_lang_js);
|
|
273895
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwplus/WorkflowDesigner/src/components/FlowTrace/index.vue?vue&type=style&index=0&id=
|
|
273896
|
-
var
|
|
273897
|
-
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/FlowTrace/index.vue?vue&type=style&index=0&id=
|
|
273918
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwplus/WorkflowDesigner/src/components/FlowTrace/index.vue?vue&type=style&index=0&id=2f6bc5ee&prod&scoped=true&lang=scss
|
|
273919
|
+
var FlowTracevue_type_style_index_0_id_2f6bc5ee_prod_scoped_true_lang_scss = __webpack_require__(68257);
|
|
273920
|
+
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/FlowTrace/index.vue?vue&type=style&index=0&id=2f6bc5ee&prod&scoped=true&lang=scss
|
|
273898
273921
|
|
|
273899
273922
|
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/FlowTrace/index.vue
|
|
273900
273923
|
|
|
@@ -273907,11 +273930,11 @@ var FlowTracevue_type_style_index_0_id_7b90cb2e_prod_scoped_true_lang_scss = __w
|
|
|
273907
273930
|
|
|
273908
273931
|
var FlowTrace_component = (0,componentNormalizer/* default */.A)(
|
|
273909
273932
|
components_FlowTracevue_type_script_lang_js,
|
|
273910
|
-
|
|
273911
|
-
|
|
273933
|
+
FlowTracevue_type_template_id_2f6bc5ee_scoped_true_render,
|
|
273934
|
+
FlowTracevue_type_template_id_2f6bc5ee_scoped_true_staticRenderFns,
|
|
273912
273935
|
false,
|
|
273913
273936
|
null,
|
|
273914
|
-
"
|
|
273937
|
+
"2f6bc5ee",
|
|
273915
273938
|
null
|
|
273916
273939
|
|
|
273917
273940
|
)
|