ecinc-cloud-wappaio 9.6.562 → 9.6.564
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 +174 -149
- package/lib/ecwappaio.umd.js +174 -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
|
|
|
@@ -147474,6 +147474,9 @@ var wfengine_install = function install(Vue) {
|
|
|
147474
147474
|
$scope.wfInstance.status = res.body.wfInstance.status;
|
|
147475
147475
|
$scope.vo.status = res.body.wfInstance.status;
|
|
147476
147476
|
}
|
|
147477
|
+
if ($scope.wfInstancebak.wfId !== res.body.wfInstance.wfId) {
|
|
147478
|
+
$scope.$bus.emit('showWfNodelogList', $scope.wfInstance, $scope.activeName, true);
|
|
147479
|
+
}
|
|
147477
147480
|
if (res.body.wfInstance && res.body.wfInstance.passenger.wfIdeaList) {
|
|
147478
147481
|
$scope.wfIdeaList = _this3.setWfIdeaList(res.body.wfInstance.passenger.wfIdeaList);
|
|
147479
147482
|
}
|
|
@@ -162130,8 +162133,8 @@ var srcvue_type_template_id_769ae4fb_render = function render() {
|
|
|
162130
162133
|
};
|
|
162131
162134
|
var srcvue_type_template_id_769ae4fb_staticRenderFns = [];
|
|
162132
162135
|
|
|
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
|
|
162136
|
+
;// 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
|
|
162137
|
+
var OrgTreeDialogvue_type_template_id_629b9f44_scoped_true_render = function render() {
|
|
162135
162138
|
var _vm = this,
|
|
162136
162139
|
_c = _vm._self._c;
|
|
162137
162140
|
return _vm.dialogFormVisible ? _c('el-dialog', {
|
|
@@ -162592,7 +162595,7 @@ var OrgTreeDialogvue_type_template_id_31ebf420_scoped_true_render = function ren
|
|
|
162592
162595
|
}
|
|
162593
162596
|
}, [_vm._v("确 定")])], 1)], 1) : _vm._e();
|
|
162594
162597
|
};
|
|
162595
|
-
var
|
|
162598
|
+
var OrgTreeDialogvue_type_template_id_629b9f44_scoped_true_staticRenderFns = [];
|
|
162596
162599
|
|
|
162597
162600
|
;// 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
162601
|
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 +163335,15 @@ function OrgTreeDialogvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !
|
|
|
163332
163335
|
var _this = this;
|
|
163333
163336
|
var attr = this.el.attrs;
|
|
163334
163337
|
var treeData = JSON.parse(JSON.stringify(allTreeData));
|
|
163338
|
+
var newTreeData = null;
|
|
163335
163339
|
if (this.vnode.context.onSelectTreeDataLoaded) {
|
|
163336
|
-
|
|
163340
|
+
newTreeData = this.vnode.context.onSelectTreeDataLoaded(treeData, attr);
|
|
163337
163341
|
} else if (this.vnode.context.$vnode.context.onSelectTreeDataLoaded) {
|
|
163338
|
-
|
|
163342
|
+
newTreeData = this.vnode.context.$vnode.context.onSelectTreeDataLoaded(treeData, attr);
|
|
163339
163343
|
} else if (this.$vnode.context.$vnode.context.$vnode.context.onSelectTreeDataLoaded) {
|
|
163340
|
-
|
|
163344
|
+
newTreeData = this.vnode.context.$vnode.context.$vnode.context.onSelectTreeDataLoaded(treeData, attr);
|
|
163341
163345
|
}
|
|
163346
|
+
if (newTreeData) treeData = newTreeData;
|
|
163342
163347
|
|
|
163343
163348
|
// 已经选择的值
|
|
163344
163349
|
if (!this.tabType) {
|
|
@@ -164657,13 +164662,13 @@ function OrgTreeDialogvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !
|
|
|
164657
164662
|
});
|
|
164658
164663
|
;// CONCATENATED MODULE: ./packages/ecwapp/SelectDialog/src/OrgTreeDialog.vue?vue&type=script&lang=js
|
|
164659
164664
|
/* 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=
|
|
164665
|
+
// 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
|
|
164666
|
+
var OrgTreeDialogvue_type_style_index_0_id_629b9f44_prod_scoped_true_lang_scss = __webpack_require__(39211);
|
|
164667
|
+
;// CONCATENATED MODULE: ./packages/ecwapp/SelectDialog/src/OrgTreeDialog.vue?vue&type=style&index=0&id=629b9f44&prod&scoped=true&lang=scss
|
|
164663
164668
|
|
|
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=
|
|
164669
|
+
// 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
|
|
164670
|
+
var OrgTreeDialogvue_type_style_index_1_id_629b9f44_prod_lang_css = __webpack_require__(91785);
|
|
164671
|
+
;// CONCATENATED MODULE: ./packages/ecwapp/SelectDialog/src/OrgTreeDialog.vue?vue&type=style&index=1&id=629b9f44&prod&lang=css
|
|
164667
164672
|
|
|
164668
164673
|
;// CONCATENATED MODULE: ./packages/ecwapp/SelectDialog/src/OrgTreeDialog.vue
|
|
164669
164674
|
|
|
@@ -164677,11 +164682,11 @@ var OrgTreeDialogvue_type_style_index_1_id_31ebf420_prod_lang_css = __webpack_re
|
|
|
164677
164682
|
|
|
164678
164683
|
var OrgTreeDialog_component = (0,componentNormalizer/* default */.A)(
|
|
164679
164684
|
src_OrgTreeDialogvue_type_script_lang_js,
|
|
164680
|
-
|
|
164681
|
-
|
|
164685
|
+
OrgTreeDialogvue_type_template_id_629b9f44_scoped_true_render,
|
|
164686
|
+
OrgTreeDialogvue_type_template_id_629b9f44_scoped_true_staticRenderFns,
|
|
164682
164687
|
false,
|
|
164683
164688
|
null,
|
|
164684
|
-
"
|
|
164689
|
+
"629b9f44",
|
|
164685
164690
|
null
|
|
164686
164691
|
|
|
164687
164692
|
)
|
|
@@ -180124,8 +180129,8 @@ var SubmitDialog_component = (0,componentNormalizer/* default */.A)(
|
|
|
180124
180129
|
)
|
|
180125
180130
|
|
|
180126
180131
|
/* 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
|
|
180132
|
+
;// 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
|
|
180133
|
+
var WfNodelogListvue_type_template_id_c41fca30_scoped_true_render = function render() {
|
|
180129
180134
|
var _vm = this,
|
|
180130
180135
|
_c = _vm._self._c;
|
|
180131
180136
|
return _c('div', {
|
|
@@ -181192,7 +181197,7 @@ var WfNodelogListvue_type_template_id_6012c962_scoped_true_render = function ren
|
|
|
181192
181197
|
}], null, false, 1872946213)
|
|
181193
181198
|
})], 1) : _vm._e()], 1)]) : _vm._e()])], 1);
|
|
181194
181199
|
};
|
|
181195
|
-
var
|
|
181200
|
+
var WfNodelogListvue_type_template_id_c41fca30_scoped_true_staticRenderFns = [];
|
|
181196
181201
|
|
|
181197
181202
|
;// 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
181203
|
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 +181394,9 @@ function WfNodelogListvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !
|
|
|
181389
181394
|
if (activeName === 'flowChart') {
|
|
181390
181395
|
_this.activeName = activeName;
|
|
181391
181396
|
}
|
|
181397
|
+
if (this.$refs['wflowTrace'] && refresh) {
|
|
181398
|
+
this.$refs['wflowTrace'].redoInitFlowTrace();
|
|
181399
|
+
}
|
|
181392
181400
|
if (_this.loading || wfInstance.status === -1 || this.curTN.tnID === undefined) {
|
|
181393
181401
|
return;
|
|
181394
181402
|
}
|
|
@@ -182037,9 +182045,9 @@ function WfNodelogListvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !
|
|
|
182037
182045
|
});
|
|
182038
182046
|
;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/WfNodelogList.vue?vue&type=script&lang=js
|
|
182039
182047
|
/* 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=
|
|
182048
|
+
// 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
|
|
182049
|
+
var WfNodelogListvue_type_style_index_0_id_c41fca30_prod_scoped_true_lang_scss = __webpack_require__(77592);
|
|
182050
|
+
;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/WfNodelogList.vue?vue&type=style&index=0&id=c41fca30&prod&scoped=true&lang=scss
|
|
182043
182051
|
|
|
182044
182052
|
;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/WfNodelogList.vue
|
|
182045
182053
|
|
|
@@ -182052,11 +182060,11 @@ var WfNodelogListvue_type_style_index_0_id_6012c962_prod_scoped_true_lang_scss =
|
|
|
182052
182060
|
|
|
182053
182061
|
var WfNodelogList_component = (0,componentNormalizer/* default */.A)(
|
|
182054
182062
|
src_WfNodelogListvue_type_script_lang_js,
|
|
182055
|
-
|
|
182056
|
-
|
|
182063
|
+
WfNodelogListvue_type_template_id_c41fca30_scoped_true_render,
|
|
182064
|
+
WfNodelogListvue_type_template_id_c41fca30_scoped_true_staticRenderFns,
|
|
182057
182065
|
false,
|
|
182058
182066
|
null,
|
|
182059
|
-
"
|
|
182067
|
+
"c41fca30",
|
|
182060
182068
|
null
|
|
182061
182069
|
|
|
182062
182070
|
)
|
|
@@ -272553,8 +272561,8 @@ var ImportWf_component = (0,componentNormalizer/* default */.A)(
|
|
|
272553
272561
|
)
|
|
272554
272562
|
|
|
272555
272563
|
/* 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
|
|
272564
|
+
;// 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
|
|
272565
|
+
var FlowTracevue_type_template_id_2f6bc5ee_scoped_true_render = function render() {
|
|
272558
272566
|
var _vm = this,
|
|
272559
272567
|
_c = _vm._self._c;
|
|
272560
272568
|
return _c('div', {
|
|
@@ -272734,7 +272742,7 @@ var FlowTracevue_type_template_id_7b90cb2e_scoped_true_render = function render(
|
|
|
272734
272742
|
}
|
|
272735
272743
|
}) : _vm._e()], 1);
|
|
272736
272744
|
};
|
|
272737
|
-
var
|
|
272745
|
+
var FlowTracevue_type_template_id_2f6bc5ee_scoped_true_staticRenderFns = [function () {
|
|
272738
272746
|
var _vm = this,
|
|
272739
272747
|
_c = _vm._self._c;
|
|
272740
272748
|
return _c('ul', {
|
|
@@ -272762,7 +272770,7 @@ var FlowTracevue_type_template_id_7b90cb2e_scoped_true_staticRenderFns = [functi
|
|
|
272762
272770
|
}, [_vm._v("设置为添加新节点模式")])])]);
|
|
272763
272771
|
}];
|
|
272764
272772
|
|
|
272765
|
-
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/FlowTrace/index.vue?vue&type=template&id=
|
|
272773
|
+
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/FlowTrace/index.vue?vue&type=template&id=2f6bc5ee&scoped=true
|
|
272766
272774
|
|
|
272767
272775
|
;// 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
272776
|
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 +272929,32 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
272921
272929
|
updated: function updated() {},
|
|
272922
272930
|
mounted: function mounted() {},
|
|
272923
272931
|
methods: {
|
|
272924
|
-
|
|
272932
|
+
redoInitFlowTrace: function redoInitFlowTrace() {
|
|
272925
272933
|
var _this3 = this;
|
|
272934
|
+
this.pathObj = [];
|
|
272935
|
+
this.pathNumber = 0; // 页面加载的路径条数
|
|
272936
|
+
this.connectsArr = [];
|
|
272937
|
+
this.observer = null;
|
|
272938
|
+
this.redoPaths = [];
|
|
272939
|
+
this.redoPathsTimes = 1;
|
|
272940
|
+
this.loading = true;
|
|
272941
|
+
|
|
272942
|
+
// 删除所有流程节点 DOM (包括开始、结束、人工节点等,它们通常都有 process 类)
|
|
272943
|
+
window.jsPlumb.reset();
|
|
272944
|
+
jquery_default()('#center').find('.process').remove();
|
|
272945
|
+
this.$nextTick(function () {
|
|
272946
|
+
_this3.initFlowTrace();
|
|
272947
|
+
});
|
|
272948
|
+
},
|
|
272949
|
+
initFlowTrace: function initFlowTrace() {
|
|
272950
|
+
var _this4 = this;
|
|
272926
272951
|
var _this = this;
|
|
272927
272952
|
if (!_this.loading) return; //只加载一次
|
|
272928
272953
|
|
|
272929
272954
|
new Promise(function (resolve, reject) {
|
|
272930
272955
|
if (_this.wfInstance.passenger.chartData) {
|
|
272931
272956
|
var chartData = _this.wfInstance.passenger.chartData;
|
|
272932
|
-
|
|
272957
|
+
_this4.connectsArr = chartData.connects;
|
|
272933
272958
|
var domHtmlArr = chartData.domHtml;
|
|
272934
272959
|
for (var i = 0; i < domHtmlArr.length; i++) {
|
|
272935
272960
|
jquery_default()('#center').append(common/* Base64 */.o.decode(domHtmlArr[i].domH));
|
|
@@ -272959,12 +272984,12 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
272959
272984
|
|
|
272960
272985
|
//开始节点
|
|
272961
272986
|
var startId = (0,common/* uuid */.u)();
|
|
272962
|
-
var startNodeHtml =
|
|
272987
|
+
var startNodeHtml = _this4.wfNodeHtml.start.domH.replace('id=""', 'id="' + startId + '"');
|
|
272963
272988
|
jquery_default()('#center').append(startNodeHtml);
|
|
272964
272989
|
|
|
272965
272990
|
//结束节点
|
|
272966
272991
|
var endId = (0,common/* uuid */.u)();
|
|
272967
|
-
var endNodeHtml =
|
|
272992
|
+
var endNodeHtml = _this4.wfNodeHtml.jslc.domH.replace('id=""', 'id="' + endId + '"');
|
|
272968
272993
|
var top = 100 + (100 + 80) * (udmNodes.length + 1);
|
|
272969
272994
|
endNodeHtml = endNodeHtml.replace('style=""', 'style="left: 570px; top: ' + top + 'px;"');
|
|
272970
272995
|
jquery_default()('#center').append(endNodeHtml);
|
|
@@ -272972,13 +272997,13 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
272972
272997
|
//人工节点
|
|
272973
272998
|
udmNodes.forEach(function (node, index) {
|
|
272974
272999
|
if (index === 0) {
|
|
272975
|
-
var pathLine = JSON.parse(JSON.stringify(
|
|
273000
|
+
var pathLine = JSON.parse(JSON.stringify(_this4.connectLine));
|
|
272976
273001
|
pathLine.ConnectionId = (0,common/* uuid */.u)();
|
|
272977
273002
|
pathLine.PageSourceId = startId;
|
|
272978
273003
|
pathLine.PageTargetId = node.uuid;
|
|
272979
273004
|
connectsArr.push(pathLine);
|
|
272980
|
-
} else if (node.returnHistoryTN > 0 &&
|
|
272981
|
-
var _pathLine = JSON.parse(JSON.stringify(
|
|
273005
|
+
} else if (node.returnHistoryTN > 0 && _this4.wfInstance.status > 0) {
|
|
273006
|
+
var _pathLine = JSON.parse(JSON.stringify(_this4.connectLine));
|
|
272982
273007
|
_pathLine.ConnectionId = (0,common/* uuid */.u)();
|
|
272983
273008
|
_pathLine.label = '退回';
|
|
272984
273009
|
_pathLine.PageSourceId = node.uuid;
|
|
@@ -272997,48 +273022,48 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
272997
273022
|
}
|
|
272998
273023
|
_pathLine.linesCount = 3;
|
|
272999
273024
|
connectsArr.push(_pathLine);
|
|
273000
|
-
|
|
273025
|
+
_this4.pathObj.push({
|
|
273001
273026
|
id: _pathLine.ConnectionId,
|
|
273002
273027
|
name: _pathLine.label
|
|
273003
273028
|
});
|
|
273004
273029
|
}
|
|
273005
273030
|
if (index + 1 === udmNodes.length) {
|
|
273006
|
-
var _pathLine2 = JSON.parse(JSON.stringify(
|
|
273031
|
+
var _pathLine2 = JSON.parse(JSON.stringify(_this4.connectLine));
|
|
273007
273032
|
_pathLine2.ConnectionId = (0,common/* uuid */.u)();
|
|
273008
273033
|
_pathLine2.label = '结束处理';
|
|
273009
273034
|
_pathLine2.PageSourceId = node.uuid;
|
|
273010
273035
|
_pathLine2.PageTargetId = endId;
|
|
273011
273036
|
connectsArr.push(_pathLine2);
|
|
273012
|
-
|
|
273037
|
+
_this4.pathObj.push({
|
|
273013
273038
|
id: _pathLine2.ConnectionId,
|
|
273014
273039
|
name: _pathLine2.label
|
|
273015
273040
|
});
|
|
273016
273041
|
}
|
|
273017
273042
|
if (index + 1 < udmNodes.length) {
|
|
273018
|
-
var _pathLine3 = JSON.parse(JSON.stringify(
|
|
273043
|
+
var _pathLine3 = JSON.parse(JSON.stringify(_this4.connectLine));
|
|
273019
273044
|
_pathLine3.ConnectionId = (0,common/* uuid */.u)();
|
|
273020
273045
|
_pathLine3.label = '送' + udmNodes[index + 1].name;
|
|
273021
273046
|
_pathLine3.PageSourceId = node.uuid;
|
|
273022
273047
|
_pathLine3.PageTargetId = udmNodes[index + 1].uuid;
|
|
273023
273048
|
connectsArr.push(_pathLine3);
|
|
273024
|
-
|
|
273049
|
+
_this4.pathObj.push({
|
|
273025
273050
|
id: _pathLine3.ConnectionId,
|
|
273026
273051
|
name: _pathLine3.label
|
|
273027
273052
|
});
|
|
273028
273053
|
}
|
|
273029
273054
|
var nodeHtml = '';
|
|
273030
273055
|
if (node.todoMode == 0) {
|
|
273031
|
-
nodeHtml =
|
|
273056
|
+
nodeHtml = _this4.wfNodeHtml.ptjd.domH.replace('<p>普通节点</p>', '<p>' + node.name + '</p>');
|
|
273032
273057
|
} else if (node.todoMode == 1) {
|
|
273033
|
-
nodeHtml =
|
|
273058
|
+
nodeHtml = _this4.wfNodeHtml.drbx.domH.replace('<p>多人并行</p>', '<p>' + node.name + '</p>');
|
|
273034
273059
|
} else if (node.todoMode == 2) {
|
|
273035
|
-
nodeHtml =
|
|
273060
|
+
nodeHtml = _this4.wfNodeHtml.hqjd.domH.replace('<p>多人会签</p>', '<p>' + node.name + '</p>');
|
|
273036
273061
|
} else if (node.todoMode == 3) {
|
|
273037
|
-
nodeHtml =
|
|
273062
|
+
nodeHtml = _this4.wfNodeHtml.drcx.domH.replace('<p>多人串行</p>', '<p>' + node.name + '</p>');
|
|
273038
273063
|
} else if (node.todoMode == 4) {
|
|
273039
|
-
nodeHtml =
|
|
273064
|
+
nodeHtml = _this4.wfNodeHtml.jzjd.domH.replace('<p>多人竞争</p>', '<p>' + node.name + '</p>');
|
|
273040
273065
|
} else if (node.todoMode == 5) {
|
|
273041
|
-
nodeHtml =
|
|
273066
|
+
nodeHtml = _this4.wfNodeHtml.ywjd.domH.replace('<p>多人阅文</p>', '<p>' + node.name + '</p>');
|
|
273042
273067
|
}
|
|
273043
273068
|
var top = 100 + (100 + 80) * (index + 1);
|
|
273044
273069
|
nodeHtml = nodeHtml.replace('style=""', 'style="left: 530px; top: ' + top + 'px;"');
|
|
@@ -273049,31 +273074,31 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
273049
273074
|
resolve(true);
|
|
273050
273075
|
} else {
|
|
273051
273076
|
//流程配置
|
|
273052
|
-
|
|
273077
|
+
_this4.$http({
|
|
273053
273078
|
method: 'GET',
|
|
273054
273079
|
params: {
|
|
273055
|
-
product:
|
|
273056
|
-
dwadmin:
|
|
273057
|
-
copy:
|
|
273080
|
+
product: _this4.product,
|
|
273081
|
+
dwadmin: _this4.dwadmin,
|
|
273082
|
+
copy: _this4.$route.query.copy
|
|
273058
273083
|
},
|
|
273059
273084
|
contentType: 'application/x-www-form-urlencoded',
|
|
273060
|
-
url: 'workflow/wfdProcessMgr/getById?id=' +
|
|
273085
|
+
url: 'workflow/wfdProcessMgr/getById?id=' + _this4.wfInstance.wfId + ''
|
|
273061
273086
|
}).then(function (response) {
|
|
273062
|
-
|
|
273063
|
-
for (var o = 0; o <
|
|
273064
|
-
|
|
273087
|
+
_this4.wflow = response.body.vo;
|
|
273088
|
+
for (var o = 0; o < _this4.wflow.paths.length; o++) {
|
|
273089
|
+
_this4.pathObj.push(_this4.wflow.paths[o]);
|
|
273065
273090
|
}
|
|
273066
|
-
|
|
273067
|
-
|
|
273068
|
-
var chartData = JSON.parse(
|
|
273091
|
+
_this4.wflow.paths.length = 0;
|
|
273092
|
+
_this4.process = response.body.vo.process;
|
|
273093
|
+
var chartData = JSON.parse(_this4.process.chartData);
|
|
273069
273094
|
var connectsArr = chartData.connects;
|
|
273070
|
-
|
|
273095
|
+
_this4.connectsArr = connectsArr;
|
|
273071
273096
|
var domHtmlArr = chartData.domHtml;
|
|
273072
273097
|
for (var _i = 0; _i < domHtmlArr.length; _i++) {
|
|
273073
273098
|
jquery_default()('#center').append(common/* Base64 */.o.decode(domHtmlArr[_i].domH));
|
|
273074
273099
|
}
|
|
273075
|
-
if (
|
|
273076
|
-
var desc =
|
|
273100
|
+
if (_this4.process && _this4.process.description) {
|
|
273101
|
+
var desc = _this4.process.description;
|
|
273077
273102
|
var containerHeight = 180;
|
|
273078
273103
|
var containerLeft = null;
|
|
273079
273104
|
var containerTop = null;
|
|
@@ -273086,41 +273111,41 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
273086
273111
|
}
|
|
273087
273112
|
resolve(true);
|
|
273088
273113
|
}, function (error) {
|
|
273089
|
-
|
|
273114
|
+
_this4.$message.error(error);
|
|
273090
273115
|
reject(error);
|
|
273091
273116
|
});
|
|
273092
273117
|
}
|
|
273093
273118
|
}).then(function () {
|
|
273094
|
-
|
|
273119
|
+
_this4.loading = false;
|
|
273095
273120
|
var nodeIdArr = [];
|
|
273096
273121
|
jquery_default()('.process').removeClass('seled');
|
|
273097
273122
|
jquery_default()('.process').each(function (index, elem) {
|
|
273098
273123
|
nodeIdArr.push(jquery_default()(elem).attr('id'));
|
|
273099
273124
|
if (jquery_default()(elem).hasClass('childWf')) {
|
|
273100
|
-
jquery_default()(elem).find('img').attr('src',
|
|
273125
|
+
jquery_default()(elem).find('img').attr('src', _this4.zlc);
|
|
273101
273126
|
} else if (jquery_default()(elem).hasClass('parentWf')) {
|
|
273102
|
-
jquery_default()(elem).find('img').attr('src',
|
|
273127
|
+
jquery_default()(elem).find('img').attr('src', _this4.plc);
|
|
273103
273128
|
} else if (jquery_default()(elem).hasClass('ptjd')) {
|
|
273104
|
-
jquery_default()(elem).find('img').attr('src',
|
|
273129
|
+
jquery_default()(elem).find('img').attr('src', _this4.ptjd);
|
|
273105
273130
|
jquery_default()(elem).find('span').text('普通节点');
|
|
273106
273131
|
} else if (jquery_default()(elem).hasClass('jzjd')) {
|
|
273107
|
-
jquery_default()(elem).find('img').attr('src',
|
|
273132
|
+
jquery_default()(elem).find('img').attr('src', _this4.jzjd);
|
|
273108
273133
|
jquery_default()(elem).find('span').text('竞争节点');
|
|
273109
273134
|
} else if (jquery_default()(elem).hasClass('drbx')) {
|
|
273110
|
-
jquery_default()(elem).find('img').attr('src',
|
|
273135
|
+
jquery_default()(elem).find('img').attr('src', _this4.drbx);
|
|
273111
273136
|
jquery_default()(elem).find('span').text('多人并行');
|
|
273112
273137
|
} else if (jquery_default()(elem).hasClass('drcx')) {
|
|
273113
|
-
jquery_default()(elem).find('img').attr('src',
|
|
273138
|
+
jquery_default()(elem).find('img').attr('src', _this4.drcx);
|
|
273114
273139
|
jquery_default()(elem).find('span').text('多人串行');
|
|
273115
273140
|
} else if (jquery_default()(elem).hasClass('hqjd')) {
|
|
273116
|
-
jquery_default()(elem).find('img').attr('src',
|
|
273141
|
+
jquery_default()(elem).find('img').attr('src', _this4.hqjd);
|
|
273117
273142
|
jquery_default()(elem).find('span').text('会签节点');
|
|
273118
273143
|
} else if (jquery_default()(elem).hasClass('ywjd')) {
|
|
273119
|
-
jquery_default()(elem).find('img').attr('src',
|
|
273144
|
+
jquery_default()(elem).find('img').attr('src', _this4.ywjd);
|
|
273120
273145
|
jquery_default()(elem).find('span').text('阅文节点');
|
|
273121
273146
|
}
|
|
273122
|
-
if (_this.wfInstance.udmNodes && _this.wfInstance.udmNodes.length > 0 &&
|
|
273123
|
-
FlowTracevue_type_script_lang_js_nodeEvents(jquery_default()(elem).attr('id'),
|
|
273147
|
+
if (_this.wfInstance.udmNodes && _this.wfInstance.udmNodes.length > 0 && _this4.wfInstance.creatorAccount === _this4.curTN.userAccount && _this4.wfInstance.status < 2) {
|
|
273148
|
+
FlowTracevue_type_script_lang_js_nodeEvents(jquery_default()(elem).attr('id'), _this4.wflow, _this4);
|
|
273124
273149
|
}
|
|
273125
273150
|
if (elem.innerHTML && elem.firstChild && elem.firstChild.nextElementSibling) {
|
|
273126
273151
|
//删除流程跟踪图中的环节处理人
|
|
@@ -273137,20 +273162,20 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
273137
273162
|
nodeIdArr.forEach(function (nodeId) {
|
|
273138
273163
|
jquery_default()("#".concat(nodeId)).addClass('model_process_wwc');
|
|
273139
273164
|
});
|
|
273140
|
-
if (
|
|
273141
|
-
|
|
273165
|
+
if (_this4.wflogList && _this4.wflogList.length > 0) {
|
|
273166
|
+
_this4.wflogList.forEach(function (wflog) {
|
|
273142
273167
|
if (!wflog.parentId) return;
|
|
273143
|
-
var pwflog =
|
|
273168
|
+
var pwflog = _this4.wflogList.filter(function (pwflog) {
|
|
273144
273169
|
return pwflog.id === wflog.parentId;
|
|
273145
273170
|
});
|
|
273146
273171
|
if (pwflog.length === 0) return;
|
|
273147
|
-
var connectLine =
|
|
273172
|
+
var connectLine = _this4.connectsArr.filter(function (conn) {
|
|
273148
273173
|
return conn.PageSourceId === pwflog[0].nodeId && conn.PageTargetId === wflog.nodeId;
|
|
273149
273174
|
});
|
|
273150
273175
|
if (connectLine.length === 0 && wflog.prePathType === 3) {
|
|
273151
273176
|
//动态生成驳回连线
|
|
273152
273177
|
//console.log(wflog)
|
|
273153
|
-
var pathLine = JSON.parse(JSON.stringify(
|
|
273178
|
+
var pathLine = JSON.parse(JSON.stringify(_this4.connectLine));
|
|
273154
273179
|
pathLine.ConnectionId = (0,common/* uuid */.u)();
|
|
273155
273180
|
pathLine.label = pwflog[0].pathName;
|
|
273156
273181
|
pathLine.PageSourceId = pwflog[0].nodeId;
|
|
@@ -273161,15 +273186,15 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
273161
273186
|
pathLine.firstEndpoints = [0, 0.4, -1, 0]; //左出
|
|
273162
273187
|
pathLine.secondEndpoints = [0, 0.6, -1, 0]; //左入
|
|
273163
273188
|
pathLine.linesCount = 3;
|
|
273164
|
-
|
|
273165
|
-
|
|
273189
|
+
_this4.connectsArr.push(pathLine);
|
|
273190
|
+
_this4.pathObj.push({
|
|
273166
273191
|
id: pathLine.ConnectionId,
|
|
273167
273192
|
name: pathLine.label
|
|
273168
273193
|
});
|
|
273169
273194
|
}
|
|
273170
273195
|
});
|
|
273171
273196
|
}
|
|
273172
|
-
if (
|
|
273197
|
+
if (_this4.wfInstance.creatorAccount === _this4.curTN.userAccount && _this4.wfInstance.status < 2) {
|
|
273173
273198
|
if (_this.wfInstance.udmNodes && _this.wfInstance.udmNodes.length > 0) {
|
|
273174
273199
|
nodeIdArr.forEach(function (nodeId) {
|
|
273175
273200
|
if (!jquery_default()('#' + nodeId).hasClass('start')) {
|
|
@@ -273195,10 +273220,10 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
273195
273220
|
}
|
|
273196
273221
|
|
|
273197
273222
|
//节点连接线
|
|
273198
|
-
(0,globalStyle/* createPathLine */.on)(
|
|
273199
|
-
if (_this.wfInstance.udmNodes &&
|
|
273223
|
+
(0,globalStyle/* createPathLine */.on)(_this4.connectsArr);
|
|
273224
|
+
if (_this.wfInstance.udmNodes && _this4.wfInstance.creatorAccount === _this4.curTN.userAccount && _this4.wfInstance.status < 2) {
|
|
273200
273225
|
// 双击给该元素动态添加锚点
|
|
273201
|
-
|
|
273226
|
+
_this4.AddAnchor();
|
|
273202
273227
|
|
|
273203
273228
|
// 选择加载的node拖放,支持单个、多个
|
|
273204
273229
|
jquery_default()('.process').draggable({
|
|
@@ -273216,8 +273241,8 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
273216
273241
|
drag: function drag(event, ui) {
|
|
273217
273242
|
var uiid = event.target.id;
|
|
273218
273243
|
FlowTracevue_type_script_lang_js_MoveSelectDiv(event, ui, uiid);
|
|
273219
|
-
|
|
273220
|
-
|
|
273244
|
+
_this4.ComparePath();
|
|
273245
|
+
_this4.isDomChange = true; // 如果dom移动
|
|
273221
273246
|
FlowTracevue_type_script_lang_js_jsPlumb.repaintEverything();
|
|
273222
273247
|
},
|
|
273223
273248
|
stop: function stop(event, ui) {
|
|
@@ -273226,29 +273251,29 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
273226
273251
|
}
|
|
273227
273252
|
});
|
|
273228
273253
|
}
|
|
273229
|
-
if (
|
|
273230
|
-
var wflogList =
|
|
273231
|
-
for (var i = 0; i <
|
|
273232
|
-
|
|
273233
|
-
|
|
273254
|
+
if (_this4.wflogList && _this4.wflogList.length > 0 && (!_this.wfInstance.udmNodes || _this.wfInstance.udmNodes && _this.wfInstance.status > 0)) {
|
|
273255
|
+
var wflogList = _this4.setWflogNodeId(_this4.wflogList);
|
|
273256
|
+
for (var i = 0; i < _this4.redoPathsTimes; i++) {
|
|
273257
|
+
_this4.redoPaths.forEach(function (info) {
|
|
273258
|
+
_this4.flowRedo(info, wflogList); // 再重复设置一次连接线样式,解决决策、聚合节点后已执行路径样式不能更新的问题
|
|
273234
273259
|
});
|
|
273235
273260
|
}
|
|
273236
273261
|
}
|
|
273237
273262
|
document.querySelectorAll('.model_process_wwc').forEach(function (wwc) {
|
|
273238
273263
|
wwc.onclick = function () {
|
|
273239
|
-
|
|
273264
|
+
_this4.showWflog = null;
|
|
273240
273265
|
};
|
|
273241
273266
|
});
|
|
273242
|
-
|
|
273243
|
-
|
|
273267
|
+
_this4.wflow.ideaLabels = [{}];
|
|
273268
|
+
_this4.ideaArr = [];
|
|
273244
273269
|
var processDesc = document.querySelector('.process-desc-container');
|
|
273245
273270
|
if (processDesc) processDesc.style.display = '';
|
|
273246
|
-
|
|
273271
|
+
_this4.$emit('clickloading');
|
|
273247
273272
|
});
|
|
273248
273273
|
|
|
273249
273274
|
// 1路径创建
|
|
273250
273275
|
FlowTracevue_type_script_lang_js_jsPlumb.bind('connection', function (info) {
|
|
273251
|
-
|
|
273276
|
+
_this4.dragPath(info);
|
|
273252
273277
|
info.connection.setPaintStyle({
|
|
273253
273278
|
stroke: '#438eb9',
|
|
273254
273279
|
fillStyle: '#438eb9',
|
|
@@ -273256,8 +273281,8 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
273256
273281
|
lineWidth: '5px',
|
|
273257
273282
|
strokeWidth: 2
|
|
273258
273283
|
});
|
|
273259
|
-
|
|
273260
|
-
|
|
273284
|
+
_this4.ComparePath();
|
|
273285
|
+
_this4.redoPaths.push(info); // 全部连接后,再重复设置一次连接线新式,解决决策、聚合节点后已执行路径样式不能更新的问题
|
|
273261
273286
|
|
|
273262
273287
|
return false;
|
|
273263
273288
|
});
|
|
@@ -273283,13 +273308,13 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
273283
273308
|
});
|
|
273284
273309
|
FlowTracevue_type_script_lang_js_jsPlumb.bind('mouseover', function (conn, originalEvent) {
|
|
273285
273310
|
var target = originalEvent.target || originalEvent.toElement;
|
|
273286
|
-
if (target.tagName === 'circle' && conn && !
|
|
273311
|
+
if (target.tagName === 'circle' && conn && !_this4.dragLine) {
|
|
273287
273312
|
//显示“添加新节点”按钮
|
|
273288
273313
|
var source = jquery_default()(conn.element);
|
|
273289
273314
|
if (!source.hasClass('model_process_yb') && !source.hasClass('jslc') && !source.hasClass('jsrw') && !source.hasClass('parentWf')) {
|
|
273290
|
-
FlowTracevue_type_script_lang_js_showAddNodeBtn(
|
|
273315
|
+
FlowTracevue_type_script_lang_js_showAddNodeBtn(_this4, conn, target, originalEvent);
|
|
273291
273316
|
}
|
|
273292
|
-
} else if (target.tagName === 'circle' &&
|
|
273317
|
+
} else if (target.tagName === 'circle' && _this4.dragLine) {
|
|
273293
273318
|
var targetDiv = target.parentElement.parentElement;
|
|
273294
273319
|
var btn = document.querySelector('.icon-drag-line');
|
|
273295
273320
|
btn.style.top = targetDiv.style.top;
|
|
@@ -273340,7 +273365,7 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
273340
273365
|
// 删除连线时,获取连线的id,循环所有nextNodes的pathId,如果是删除的连线id,删除nextNode
|
|
273341
273366
|
var deleteConnId = conn.id;
|
|
273342
273367
|
var nextnode = jquery_default()(conn.target);
|
|
273343
|
-
var _this =
|
|
273368
|
+
var _this = _this4;
|
|
273344
273369
|
|
|
273345
273370
|
// 当两个决策节点或者聚合节点删除连接线时,判断第二个节点是否还有其他的连接线,如果没有删除类标记
|
|
273346
273371
|
if ((nextnode.hasClass('jcjd') || nextnode.hasClass('jhjd')) && nextnode.hasClass('lastJ')) {
|
|
@@ -273356,17 +273381,17 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
273356
273381
|
nextnode.removeClass('lastJ');
|
|
273357
273382
|
}
|
|
273358
273383
|
}
|
|
273359
|
-
for (var _i3 = 0; _i3 <
|
|
273384
|
+
for (var _i3 = 0; _i3 < _this4.wflow.nextNodes.length; _i3++) {
|
|
273360
273385
|
if (_this.wflow.nextNodes[_i3].pathId === deleteConnId) {
|
|
273361
273386
|
_this.wflow.nextNodes.splice(_i3--, 1);
|
|
273362
273387
|
}
|
|
273363
273388
|
}
|
|
273364
|
-
for (var _i4 = 0; _i4 <
|
|
273389
|
+
for (var _i4 = 0; _i4 < _this4.wflow.pathFieldValues.length; _i4++) {
|
|
273365
273390
|
if (_this.wflow.pathFieldValues[_i4].pathId === deleteConnId) {
|
|
273366
273391
|
_this.wflow.pathFieldValues.splice(_i4--, 1);
|
|
273367
273392
|
}
|
|
273368
273393
|
}
|
|
273369
|
-
for (var _i5 = 0; _i5 <
|
|
273394
|
+
for (var _i5 = 0; _i5 < _this4.wflow.paths.length; _i5++) {
|
|
273370
273395
|
if (conn.id === _this.wflow.paths[_i5].id) {
|
|
273371
273396
|
_this.wflow.paths.splice(_i5--, 1);
|
|
273372
273397
|
}
|
|
@@ -273443,7 +273468,7 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
273443
273468
|
}
|
|
273444
273469
|
},
|
|
273445
273470
|
flowRedo: function flowRedo(info, wflogList) {
|
|
273446
|
-
var
|
|
273471
|
+
var _this5 = this;
|
|
273447
273472
|
var tnIndex = 0;
|
|
273448
273473
|
var parentId = null;
|
|
273449
273474
|
var _this = this;
|
|
@@ -273453,8 +273478,8 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
273453
273478
|
parentId = item.parentId;
|
|
273454
273479
|
tnIndex++;
|
|
273455
273480
|
}
|
|
273456
|
-
if (item.pathName && item.pathName.split('-->').length - 2 >
|
|
273457
|
-
|
|
273481
|
+
if (item.pathName && item.pathName.split('-->').length - 2 > _this5.redoPathsTimes) {
|
|
273482
|
+
_this5.redoPathsTimes = item.pathName.split('-->').length - 2;
|
|
273458
273483
|
}
|
|
273459
273484
|
setTimeout(function () {
|
|
273460
273485
|
//console.log('flowRedo', item)
|
|
@@ -273469,7 +273494,7 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
273469
273494
|
} else {
|
|
273470
273495
|
jquery_default()("#".concat(item.nodeId)).addClass('model_process_jxz');
|
|
273471
273496
|
}
|
|
273472
|
-
|
|
273497
|
+
_this5.addWflogInfo(jquery_default()("#".concat(item.nodeId)), item);
|
|
273473
273498
|
}, tnIndex * 300 + 1000);
|
|
273474
273499
|
_this.connectsArr.forEach(function (data) {
|
|
273475
273500
|
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 +273504,7 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
273479
273504
|
jquery_default()("#".concat(data.PageSourceId)).removeClass('model_process_wwc');
|
|
273480
273505
|
jquery_default()("#".concat(data.PageSourceId)).addClass('jcjd_model_process_yb');
|
|
273481
273506
|
if (info.source.innerText.indexOf('<p>' + item.nodeName + '</p>') !== -1) {
|
|
273482
|
-
|
|
273507
|
+
_this5.addWflogInfo(jquery_default()("#".concat(data.PageSourceId)), item);
|
|
273483
273508
|
}
|
|
273484
273509
|
}
|
|
273485
273510
|
setTimeout(function () {
|
|
@@ -273506,7 +273531,7 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
273506
273531
|
}
|
|
273507
273532
|
}, 300 * tnIndex + 1000);
|
|
273508
273533
|
} else if (jquery_default()(info.source).hasClass('jcjd') && info.target.innerHTML.indexOf('<p>' + item.nodeName + '</p>') > 0) {
|
|
273509
|
-
var parentWflog =
|
|
273534
|
+
var parentWflog = _this5.wflogList.filter(function (wflog) {
|
|
273510
273535
|
return wflog.id === item.parentId;
|
|
273511
273536
|
});
|
|
273512
273537
|
if (parentWflog.length === 0 || parentWflog[0].pathName.indexOf('-->') !== -1) {
|
|
@@ -273566,7 +273591,7 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
273566
273591
|
};
|
|
273567
273592
|
},
|
|
273568
273593
|
dragPath: function dragPath(pathTarget) {
|
|
273569
|
-
var
|
|
273594
|
+
var _this6 = this;
|
|
273570
273595
|
if (jquery_default()(pathTarget.source).hasClass('start') || jquery_default()(pathTarget.source).hasClass('dfzjd')) {
|
|
273571
273596
|
// 开始节点、多分支节点后续连接线,不需要生成流程路径
|
|
273572
273597
|
pathTarget.connection.id = (0,common/* uuid */.u)();
|
|
@@ -273600,8 +273625,8 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
273600
273625
|
}
|
|
273601
273626
|
if (this.curPath.preNodeId !== '' && this.curPath.preNodeId !== undefined) {
|
|
273602
273627
|
this.wflow.nodes.forEach(function (node) {
|
|
273603
|
-
if (
|
|
273604
|
-
|
|
273628
|
+
if (_this6.curPath.preNodeId === node.id) {
|
|
273629
|
+
_this6.curPath.preNodeName = node.name;
|
|
273605
273630
|
}
|
|
273606
273631
|
});
|
|
273607
273632
|
}
|
|
@@ -273667,7 +273692,7 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
273667
273692
|
}
|
|
273668
273693
|
},
|
|
273669
273694
|
clickPath: function clickPath(pathTarget) {
|
|
273670
|
-
var
|
|
273695
|
+
var _this7 = this;
|
|
273671
273696
|
var paths = this.wflow.paths.filter(function (path) {
|
|
273672
273697
|
return pathTarget.id === path.id;
|
|
273673
273698
|
});
|
|
@@ -273680,8 +273705,8 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
273680
273705
|
this.curPath.targetNodeId = pathTarget.targetId;
|
|
273681
273706
|
if (!this.curPath.preNodeName && this.curPath.preNodeId) {
|
|
273682
273707
|
this.wflow.nodes.forEach(function (node) {
|
|
273683
|
-
if (
|
|
273684
|
-
|
|
273708
|
+
if (_this7.curPath.preNodeId === node.id) {
|
|
273709
|
+
_this7.curPath.preNodeName = node.name;
|
|
273685
273710
|
}
|
|
273686
273711
|
});
|
|
273687
273712
|
}
|
|
@@ -273691,7 +273716,7 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
273691
273716
|
|
|
273692
273717
|
setTimeout(function () {
|
|
273693
273718
|
FlowTracevue_type_script_lang_js_ecinc_process.connection.setLabel({
|
|
273694
|
-
label:
|
|
273719
|
+
label: _this7.curPath.name,
|
|
273695
273720
|
cssClass: 'line_text'
|
|
273696
273721
|
});
|
|
273697
273722
|
}, 0);
|
|
@@ -273788,15 +273813,15 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
273788
273813
|
this.processNum = this.wfInstance.udmNodes.length + 1;
|
|
273789
273814
|
},
|
|
273790
273815
|
removeUdmNode: function removeUdmNode(nodeId) {
|
|
273791
|
-
var
|
|
273816
|
+
var _this8 = this;
|
|
273792
273817
|
this.wfInstance.udmNodes.forEach(function (udmNode, index) {
|
|
273793
273818
|
if (udmNode.uuid === nodeId) {
|
|
273794
|
-
|
|
273819
|
+
_this8.$bus.emit('delUdmNode', index);
|
|
273795
273820
|
}
|
|
273796
273821
|
});
|
|
273797
273822
|
},
|
|
273798
273823
|
curNodeDbclick: function curNodeDbclick(targetId, preNodeId) {
|
|
273799
|
-
var
|
|
273824
|
+
var _this9 = this;
|
|
273800
273825
|
//已结束、已退回、进行中的环节,不允许修改
|
|
273801
273826
|
if (jquery_default()('#' + targetId).hasClass('model_process_yb') || jquery_default()('#' + targetId).hasClass('model_process_yth') || jquery_default()('#' + targetId).hasClass('model_process_jxz')) {
|
|
273802
273827
|
return;
|
|
@@ -273819,12 +273844,12 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
273819
273844
|
//节点后有非结束路径(非最后一个节点),不允许设置为阅文、会签节点
|
|
273820
273845
|
this.udmNode.isLast = true;
|
|
273821
273846
|
this.wflow.paths.forEach(function (path) {
|
|
273822
|
-
if (path.preNodeId ===
|
|
273823
|
-
|
|
273847
|
+
if (path.preNodeId === _this9.udmNode.uuid && path.pathType !== 4) {
|
|
273848
|
+
_this9.udmNode.isLast = false;
|
|
273824
273849
|
}
|
|
273825
273850
|
});
|
|
273826
273851
|
this.$nextTick(function () {
|
|
273827
|
-
|
|
273852
|
+
_this9.$refs['wfTaskNode'].dialogFormVisible = true;
|
|
273828
273853
|
});
|
|
273829
273854
|
} else {
|
|
273830
273855
|
var udmNode = JSON.parse(JSON.stringify(model_data/* wfNode */.EP));
|
|
@@ -273837,7 +273862,7 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
273837
273862
|
if (preNodeId) udmNode.preNodeId = preNodeId;
|
|
273838
273863
|
this.udmNode = udmNode;
|
|
273839
273864
|
this.$nextTick(function () {
|
|
273840
|
-
|
|
273865
|
+
_this9.$refs['wfTaskNode'].openSelectStaffDialog();
|
|
273841
273866
|
});
|
|
273842
273867
|
}
|
|
273843
273868
|
this.$forceUpdate();
|
|
@@ -273892,9 +273917,9 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
273892
273917
|
});
|
|
273893
273918
|
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/FlowTrace/index.vue?vue&type=script&lang=js
|
|
273894
273919
|
/* 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=
|
|
273920
|
+
// 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
|
|
273921
|
+
var FlowTracevue_type_style_index_0_id_2f6bc5ee_prod_scoped_true_lang_scss = __webpack_require__(68257);
|
|
273922
|
+
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/FlowTrace/index.vue?vue&type=style&index=0&id=2f6bc5ee&prod&scoped=true&lang=scss
|
|
273898
273923
|
|
|
273899
273924
|
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/FlowTrace/index.vue
|
|
273900
273925
|
|
|
@@ -273907,11 +273932,11 @@ var FlowTracevue_type_style_index_0_id_7b90cb2e_prod_scoped_true_lang_scss = __w
|
|
|
273907
273932
|
|
|
273908
273933
|
var FlowTrace_component = (0,componentNormalizer/* default */.A)(
|
|
273909
273934
|
components_FlowTracevue_type_script_lang_js,
|
|
273910
|
-
|
|
273911
|
-
|
|
273935
|
+
FlowTracevue_type_template_id_2f6bc5ee_scoped_true_render,
|
|
273936
|
+
FlowTracevue_type_template_id_2f6bc5ee_scoped_true_staticRenderFns,
|
|
273912
273937
|
false,
|
|
273913
273938
|
null,
|
|
273914
|
-
"
|
|
273939
|
+
"2f6bc5ee",
|
|
273915
273940
|
null
|
|
273916
273941
|
|
|
273917
273942
|
)
|