ecinc-cloud-wappaio 9.6.579 → 9.6.580
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 +1108 -985
- package/lib/ecwappaio.umd.js +1106 -983
- package/lib/ecwappaio.umd.min.js +11 -11
- package/package.json +1 -1
package/lib/ecwappaio.common.js
CHANGED
|
@@ -16155,7 +16155,7 @@ function nodeEvents(id, wflow, $scope) {
|
|
|
16155
16155
|
pathLine.label = '';
|
|
16156
16156
|
pathLine.PageSourceId = sourceId;
|
|
16157
16157
|
pathLine.PageTargetId = targetId;
|
|
16158
|
-
(0,_globalStyle_js__WEBPACK_IMPORTED_MODULE_3__
|
|
16158
|
+
(0,_globalStyle_js__WEBPACK_IMPORTED_MODULE_3__.createPathLine)([pathLine]);
|
|
16159
16159
|
}
|
|
16160
16160
|
for (var j = 0; j < wflow.paths.length; j++) {
|
|
16161
16161
|
for (var q = 0; q < pathArr.length; q++) {
|
|
@@ -16301,24 +16301,24 @@ model.CreateModel = function (ui, select, resize, domJoin, modelType, type, wflo
|
|
|
16301
16301
|
jsPlumb.addEndpoint(id, {
|
|
16302
16302
|
anchors: [0.5, 1, 0, 1],
|
|
16303
16303
|
uuid: jsPlumbUtil.uuid()
|
|
16304
|
-
}, _globalStyle_js__WEBPACK_IMPORTED_MODULE_3__
|
|
16304
|
+
}, _globalStyle_js__WEBPACK_IMPORTED_MODULE_3__.hollowCircle);
|
|
16305
16305
|
} else {
|
|
16306
16306
|
jsPlumb.addEndpoint(id, {
|
|
16307
16307
|
anchors: [1, 0.5, 1, 0],
|
|
16308
16308
|
uuid: jsPlumbUtil.uuid()
|
|
16309
|
-
}, _globalStyle_js__WEBPACK_IMPORTED_MODULE_3__
|
|
16309
|
+
}, _globalStyle_js__WEBPACK_IMPORTED_MODULE_3__.hollowCircle);
|
|
16310
16310
|
jsPlumb.addEndpoint(id, {
|
|
16311
16311
|
anchors: [0, 0.5, -1, 0],
|
|
16312
16312
|
uuid: jsPlumbUtil.uuid()
|
|
16313
|
-
}, _globalStyle_js__WEBPACK_IMPORTED_MODULE_3__
|
|
16313
|
+
}, _globalStyle_js__WEBPACK_IMPORTED_MODULE_3__.hollowCircle);
|
|
16314
16314
|
jsPlumb.addEndpoint(id, {
|
|
16315
16315
|
anchors: [0.5, 0, 0, -1],
|
|
16316
16316
|
uuid: jsPlumbUtil.uuid()
|
|
16317
|
-
}, _globalStyle_js__WEBPACK_IMPORTED_MODULE_3__
|
|
16317
|
+
}, _globalStyle_js__WEBPACK_IMPORTED_MODULE_3__.hollowCircle);
|
|
16318
16318
|
jsPlumb.addEndpoint(id, {
|
|
16319
16319
|
anchors: [0.5, 1, 0, 1],
|
|
16320
16320
|
uuid: jsPlumbUtil.uuid()
|
|
16321
|
-
}, _globalStyle_js__WEBPACK_IMPORTED_MODULE_3__
|
|
16321
|
+
}, _globalStyle_js__WEBPACK_IMPORTED_MODULE_3__.hollowCircle);
|
|
16322
16322
|
}
|
|
16323
16323
|
|
|
16324
16324
|
// 模型节点拖拽
|
|
@@ -16890,18 +16890,13 @@ function viewLinkedProcess(wflow, curNodeId) {
|
|
|
16890
16890
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
16891
16891
|
|
|
16892
16892
|
"use strict";
|
|
16893
|
+
__webpack_require__.r(__webpack_exports__);
|
|
16893
16894
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
16894
|
-
/* harmony export */
|
|
16895
|
-
/* harmony export */
|
|
16896
|
-
/* harmony export */
|
|
16895
|
+
/* harmony export */ createConnect: function() { return /* binding */ createConnect; },
|
|
16896
|
+
/* harmony export */ createPathLine: function() { return /* binding */ createPathLine; },
|
|
16897
|
+
/* harmony export */ hollowCircle: function() { return /* binding */ hollowCircle; }
|
|
16897
16898
|
/* harmony export */ });
|
|
16898
16899
|
var jsPlumb = window.jsPlumb;
|
|
16899
|
-
jsPlumb.importDefaults({
|
|
16900
|
-
PaintStyle: {
|
|
16901
|
-
lineWidth: 8,
|
|
16902
|
-
stroke: '#00ff54'
|
|
16903
|
-
}
|
|
16904
|
-
});
|
|
16905
16900
|
|
|
16906
16901
|
// 端点样式,(修改变量名)
|
|
16907
16902
|
var hollowCircle = {
|
|
@@ -18812,7 +18807,7 @@ var addNodeBtnClick = function addNodeBtnClick($scope, event, btn) {
|
|
|
18812
18807
|
alwaysRespectStubs: false,
|
|
18813
18808
|
midpoint: 0.5
|
|
18814
18809
|
}];
|
|
18815
|
-
(0,_globalStyle_js__WEBPACK_IMPORTED_MODULE_2__
|
|
18810
|
+
(0,_globalStyle_js__WEBPACK_IMPORTED_MODULE_2__.createConnect)(pathLine, connector, anchors);
|
|
18816
18811
|
} else {
|
|
18817
18812
|
scissorsLineAndRelocation($scope, conn.connections[0], nid);
|
|
18818
18813
|
}
|
|
@@ -18928,7 +18923,7 @@ var scissorsLineAndRelocation = function scissorsLineAndRelocation($scope, conn,
|
|
|
18928
18923
|
|
|
18929
18924
|
//将当前连线连接到新节点
|
|
18930
18925
|
conn.sourceId = nid;
|
|
18931
|
-
var a = (0,_globalStyle_js__WEBPACK_IMPORTED_MODULE_2__
|
|
18926
|
+
var a = (0,_globalStyle_js__WEBPACK_IMPORTED_MODULE_2__.createConnect)(conn, connector, anchors);
|
|
18932
18927
|
a.setLabel({
|
|
18933
18928
|
label: label || ' ',
|
|
18934
18929
|
cssClass: 'line_text',
|
|
@@ -18939,7 +18934,7 @@ var scissorsLineAndRelocation = function scissorsLineAndRelocation($scope, conn,
|
|
|
18939
18934
|
conn.sourceId = connSourceId;
|
|
18940
18935
|
conn.targetId = nid;
|
|
18941
18936
|
conn.id = (0,_common_js__WEBPACK_IMPORTED_MODULE_3__/* .uuid */ .u)();
|
|
18942
|
-
var b = (0,_globalStyle_js__WEBPACK_IMPORTED_MODULE_2__
|
|
18937
|
+
var b = (0,_globalStyle_js__WEBPACK_IMPORTED_MODULE_2__.createConnect)(conn, connector, anchors);
|
|
18943
18938
|
b.setLabel({
|
|
18944
18939
|
label: '',
|
|
18945
18940
|
cssClass: 'line_text',
|
|
@@ -43025,7 +43020,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-820fd3ea]:export{stdMenuBgcolo
|
|
|
43025
43020
|
|
|
43026
43021
|
/***/ }),
|
|
43027
43022
|
|
|
43028
|
-
/***/
|
|
43023
|
+
/***/ 52706:
|
|
43029
43024
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
43030
43025
|
|
|
43031
43026
|
"use strict";
|
|
@@ -43039,7 +43034,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
43039
43034
|
|
|
43040
43035
|
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()));
|
|
43041
43036
|
// Module
|
|
43042
|
-
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-
|
|
43037
|
+
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-769fc0cb] .el-upload--text{width:100%}[data-v-769fc0cb] .el-upload .el-input-group .el-input__inner{display:inline-block;vertical-align:baseline}.docfileIcon[data-v-769fc0cb]{padding-left:10px;padding-right:10px}.file-right-box[data-v-769fc0cb]{position:fixed;bottom:0;top:73px;height:calc(100vh - 73px)!important;z-index:1199}.file-right-box .right-box-div1[data-v-769fc0cb]{float:left;height:100%;background:#fff;border-left:1px solid #ddd;overflow:hidden;font-size:14px}.file-right-box .right-box-div1[data-v-769fc0cb] .el-scrollbar{height:calc(100vh - 112px);width:100%}.file-right-box .right-box-div1[data-v-769fc0cb] .el-scrollbar .el-scrollbar__wrap{overflow-x:auto}.file-right-box .right-box-div1 .navbar[data-v-769fc0cb]{padding:11px 12px 10px 12px;font-size:14px;font-weight:600;display:-webkit-box;display:-ms-flexbox;display:flex}.file-right-box .right-box-div1 .navbar[data-v-769fc0cb] .el-icon-close{float:right;cursor:pointer}.file-right-box .right-box-div1 .fileitem[data-v-769fc0cb]{padding:10px;font-size:13px;border-bottom:1px solid #f3f3f3;border-top:1px solid #f3f3f3}.file-right-box .right-box-div1 .fileitem .el-dropdown-link[data-v-769fc0cb]{cursor:pointer}@media (max-width:1569px){.right-box-div1[data-v-769fc0cb]{width:280px}}@media (min-width:1570px){.right-box-div1[data-v-769fc0cb]{width:350px}}.sidebar-area[data-v-769fc0cb]{border-bottom:1px solid #eee}.sidebar-area .sidebar-area-title[data-v-769fc0cb]{font-weight:600;line-height:24px;padding:10px}.sidebar-area .sidebar-area-title .el-button--primary[data-v-769fc0cb]{width:6px;padding:0;margin-right:6px;margin-top:5px;border-radius:1px;height:14px;cursor:default;vertical-align:top;display:inline-block}.sidebar-area .sidebar-area-title div[data-v-769fc0cb]{display:inline-block;vertical-align:top}.sidebar-area .sidebar-area-title i[data-v-769fc0cb]{margin:3px 5px 0 10px;font-size:14px}.sidebar-area .sidebar-area-content[data-v-769fc0cb]{padding-left:20px;padding-right:10px;padding-bottom:10px}.sidebar-area .sidebar-area-content .attach-row[data-v-769fc0cb]{line-height:21px}.sidebar-area .sidebar-area-content .attach-row .attach-name[data-v-769fc0cb]{width:100%;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.sidebar-area .sidebar-area-content .no-attachments[data-v-769fc0cb]{height:50px;line-height:50px}.table-row .attach-name[data-v-769fc0cb]{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.table-row .removeBodyfileIcon[data-v-769fc0cb]{display:block}.fileHovering[data-v-769fc0cb]{background:#a5c45d}.fileHovering[data-v-769fc0cb] .el-input-group__append,.fileHovering[data-v-769fc0cb] .el-input__inner{opacity:.5!important}", ""]);
|
|
43043
43038
|
// Exports
|
|
43044
43039
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
43045
43040
|
|
|
@@ -44285,7 +44280,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".right-panel[data-v-0a872146]{width:10
|
|
|
44285
44280
|
|
|
44286
44281
|
/***/ }),
|
|
44287
44282
|
|
|
44288
|
-
/***/
|
|
44283
|
+
/***/ 58621:
|
|
44289
44284
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
44290
44285
|
|
|
44291
44286
|
"use strict";
|
|
@@ -44299,7 +44294,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
44299
44294
|
|
|
44300
44295
|
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()));
|
|
44301
44296
|
// Module
|
|
44302
|
-
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-
|
|
44297
|
+
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-24bb83a0]: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)}[data-v-24bb83a0] .el-dialog__body{height:400px;padding-left:20px!important;padding-right:20px!important}[data-v-24bb83a0] .el-dialog__body .el-row{width:660px;margin-top:20px}[data-v-24bb83a0] .el-dialog__body .el-row .el-col-8{text-align:center}[data-v-24bb83a0] .el-dialog__body .el-row .el-col-8 span{padding-left:7px;float:left;font-size:14px;font-weight:600}.vue-treeselect[data-v-24bb83a0]{width:210px;display:inline-block}.vue-treeselect[data-v-24bb83a0] .vue-treeselect__control{border-radius:2px;display:none}.vue-treeselect[data-v-24bb83a0] .vue-treeselect__menu{height:282px;border:1px solid #d8dce5;border-radius:2px;font-size:13px}.vue-treeselect[data-v-24bb83a0] .vue-treeselect__menu label{font-weight:400}.vue-treeselect[data-v-24bb83a0] .vue-treeselect__option{height:28px;line-height:28px}", ""]);
|
|
44303
44298
|
// Exports
|
|
44304
44299
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
44305
44300
|
|
|
@@ -44537,7 +44532,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-3cd3a6a4]:export{stdMenuBgcolo
|
|
|
44537
44532
|
|
|
44538
44533
|
/***/ }),
|
|
44539
44534
|
|
|
44540
|
-
/***/
|
|
44535
|
+
/***/ 10757:
|
|
44541
44536
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
44542
44537
|
|
|
44543
44538
|
"use strict";
|
|
@@ -44551,14 +44546,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
44551
44546
|
|
|
44552
44547
|
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()));
|
|
44553
44548
|
// Module
|
|
44554
|
-
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-
|
|
44549
|
+
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-fd34c256]: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)}.data-filter-container[data-v-fd34c256]{width:1150px;margin:auto}.data-filter-container .description-text[data-v-fd34c256]{margin-top:10px;line-height:25px}.data-filter-container .vue-treeselect[data-v-fd34c256]{position:absolute;left:5px;width:230px;float:left}.data-filter-container .vue-treeselect[data-v-fd34c256] .vue-treeselect__control{border-radius:2px;display:none}.data-filter-container .vue-treeselect[data-v-fd34c256] .vue-treeselect__menu{height:282px;border:1px solid #d8dce5;border-radius:2px;font-size:13px}.data-filter-container .vue-treeselect[data-v-fd34c256] .vue-treeselect__menu label{font-weight:400}.data-filter-container .vue-treeselect[data-v-fd34c256] .vue-treeselect__option{height:28px;line-height:28px}.data-filter-container .vue-treeselect[data-v-fd34c256]:nth-child(2){left:245px;width:120px}.data-filter-container .operate-btn-container[data-v-fd34c256]{width:128px;height:282px;position:absolute;left:375px;padding-top:30px}.data-filter-container .operate-btn-container[data-v-fd34c256] .el-radio{margin-right:0x}.data-filter-container .operate-btn-container[data-v-fd34c256] .el-radio__label{padding-left:5px}.data-filter-container .operate-btn-container .btn-wapper[data-v-fd34c256]{position:relative;height:40px;line-height:40px;text-align:center}.data-filter-container .other-search-container[data-v-fd34c256]{width:432px;height:282px;position:absolute;left:514px}.data-filter-container .other-search-container[data-v-fd34c256] .el-textarea,.data-filter-container .other-search-container[data-v-fd34c256] .el-textarea .el-textarea__inner{height:100%}.data-filter-container .el-col[data-v-fd34c256]:nth-child(2){text-align:center}.data-filter-container .el-col[data-v-fd34c256]:nth-child(3){text-align:right}.data-filter-container .el-select-field[data-v-fd34c256] .el-input__inner{width:120px;border-top-right-radius:0;border-bottom-right-radius:0}.data-filter-container .el-select-orderBy[data-v-fd34c256] .el-input__inner{width:80px;border-top-left-radius:0;border-bottom-left-radius:0;margin-left:-1px}.data-filter-container .listalldata-syscode[data-v-fd34c256]{width:558px;margin-left:20px}", ""]);
|
|
44555
44550
|
// Exports
|
|
44556
44551
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
44557
44552
|
|
|
44558
44553
|
|
|
44559
44554
|
/***/ }),
|
|
44560
44555
|
|
|
44561
|
-
/***/
|
|
44556
|
+
/***/ 80760:
|
|
44562
44557
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
44563
44558
|
|
|
44564
44559
|
"use strict";
|
|
@@ -44572,7 +44567,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
44572
44567
|
|
|
44573
44568
|
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()));
|
|
44574
44569
|
// Module
|
|
44575
|
-
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-
|
|
44570
|
+
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-1f43c3a5]: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)}.sql-join-container[data-v-1f43c3a5]{width:1150px;margin:auto}.sql-join-container .toolbar-container[data-v-1f43c3a5]{text-align:right;font-weight:600}.sql-join-container .toolbar-container[data-v-1f43c3a5] .el-icon-plus{color:red}.sql-join-container .description-text[data-v-1f43c3a5]{margin-top:15px;line-height:25px}.sql-join-container .el-link[data-v-1f43c3a5]{margin-left:10px;float:right}.sql-join-container .el-form[data-v-1f43c3a5]{margin-top:20px}.sql-join-container .vue-treeselect[data-v-1f43c3a5]{position:absolute;left:5px;width:250px;float:left}.sql-join-container .vue-treeselect[data-v-1f43c3a5] .vue-treeselect__control{border-radius:2px;display:none}.sql-join-container .vue-treeselect[data-v-1f43c3a5] .vue-treeselect__menu{height:282px;border:1px solid #d8dce5;border-radius:2px;font-size:13px}.sql-join-container .vue-treeselect[data-v-1f43c3a5] .vue-treeselect__menu label{font-weight:400}.sql-join-container .vue-treeselect[data-v-1f43c3a5] .vue-treeselect__option{height:28px;line-height:28px}.sql-join-container .operate-btn-container[data-v-1f43c3a5]{height:282px;position:absolute;left:275px;padding-top:30px}.sql-join-container .operate-btn-container .btn-wapper[data-v-1f43c3a5]{position:relative;height:40px;line-height:40px;text-align:center}.sql-join-container .other-search-container[data-v-1f43c3a5]{width:335px;height:282px;position:absolute;left:370px}.sql-join-container .other-search-container[data-v-1f43c3a5] .el-textarea,.sql-join-container .other-search-container[data-v-1f43c3a5] .el-textarea .el-textarea__inner{height:100%}", ""]);
|
|
44576
44571
|
// Exports
|
|
44577
44572
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
44578
44573
|
|
|
@@ -45167,7 +45162,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".setting .header[data-v-8cadfe0a]{widt
|
|
|
45167
45162
|
|
|
45168
45163
|
/***/ }),
|
|
45169
45164
|
|
|
45170
|
-
/***/
|
|
45165
|
+
/***/ 21171:
|
|
45171
45166
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
45172
45167
|
|
|
45173
45168
|
"use strict";
|
|
@@ -45181,14 +45176,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
45181
45176
|
|
|
45182
45177
|
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()));
|
|
45183
45178
|
// Module
|
|
45184
|
-
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-
|
|
45179
|
+
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-65c42420] .el-scrollbar__wrap{overflow-x:auto}#center[data-v-65c42420]{background-image:-webkit-gradient(linear,left top,right top,color-stop(3%,rgba(50,0,0,.05)),color-stop(3%,transparent)),-webkit-gradient(linear,left bottom,left top,color-stop(3%,rgba(50,0,0,.05)),color-stop(3%,transparent));background-image:linear-gradient(90deg,rgba(50,0,0,.05) 3%,transparent 0),linear-gradient(1turn,rgba(50,0,0,.05) 3%,transparent 0);background-size:20px 20px;background-repeat:repeat;background-position:0 0}#center .add-node-btn[data-v-65c42420]{position:relative;margin:-15px -10px;z-index:4000;display:none}#center .insert-node-btn[data-v-65c42420]{position:fixed;margin:-15px -10px;z-index:4000;display:none}.dropdown-menu[data-v-65c42420]{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-65c42420]{padding:5px 20px;line-height:2;white-space:nowrap;color:#333}.dropdown-menu li[data-v-65c42420]:hover{background:#f5f5f5}[data-v-65c42420] .line_text{cursor:pointer;position:absolute;left:0;top:0;font-size:14px}[data-v-65c42420] .evt_line{color:orange}[data-v-65c42420] svg:hover path:last-child{fill:red}[data-v-65c42420] path{stroke-width:2;cursor:pointer}[data-v-65c42420] path:last-child{fill:#438eb9}[data-v-65c42420] circle{fill:#438eb9;stroke:none}li[data-v-65c42420],ul[data-v-65c42420]{list-style:none}.move[data-v-65c42420],.move[data-v-65c42420] path{cursor:move}", ""]);
|
|
45185
45180
|
// Exports
|
|
45186
45181
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
45187
45182
|
|
|
45188
45183
|
|
|
45189
45184
|
/***/ }),
|
|
45190
45185
|
|
|
45191
|
-
/***/
|
|
45186
|
+
/***/ 23355:
|
|
45192
45187
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
45193
45188
|
|
|
45194
45189
|
"use strict";
|
|
@@ -45209,7 +45204,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".process-desc-container{width:350px;bo
|
|
|
45209
45204
|
|
|
45210
45205
|
/***/ }),
|
|
45211
45206
|
|
|
45212
|
-
/***/
|
|
45207
|
+
/***/ 92980:
|
|
45213
45208
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
45214
45209
|
|
|
45215
45210
|
"use strict";
|
|
@@ -45242,7 +45237,7 @@ var ___CSS_LOADER_URL_REPLACEMENT_5___ = _node_modules_css_loader_dist_runtime_g
|
|
|
45242
45237
|
var ___CSS_LOADER_URL_REPLACEMENT_6___ = _node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_6___);
|
|
45243
45238
|
var ___CSS_LOADER_URL_REPLACEMENT_7___ = _node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_7___);
|
|
45244
45239
|
// Module
|
|
45245
|
-
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-
|
|
45240
|
+
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-2e3361cd]: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-2e3361cd]{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-2e3361cd]{padding:5px 20px;line-height:1.5;white-space:nowrap;color:#333}.dropdown-menu li[data-v-2e3361cd]:hover{background:#f5f5f5}[data-v-2e3361cd] .line_text{cursor:pointer;position:absolute;left:0;top:0;font-size:14px}[data-v-2e3361cd] svg:hover path{stroke:red}[data-v-2e3361cd] svg:hover path:last-child{fill:red}[data-v-2e3361cd] path{cursor:pointer}[data-v-2e3361cd] path:last-child{fill:#438eb9}[data-v-2e3361cd] circle{fill:#438eb9;stroke:none}li[data-v-2e3361cd],ul[data-v-2e3361cd]{list-style:none}body[data-v-2e3361cd]{margin:0;padding:0;background:#f3f3f3;overflow-x:hidden}[data-v-2e3361cd] #center{background:#fff;position:relative;overflow:hidden;overflow-y:auto;width:100%;min-height:calc(100vh - 110px)}[data-v-2e3361cd] #center .add-node-btn{position:relative;margin:-15px -10px;z-index:4000;display:none}[data-v-2e3361cd] #center .icon-drag-line{position:relative;margin:-10px 10px;z-index:4000;display:none}[data-v-2e3361cd] #center .model_process{position:absolute;border:1px solid #dadada;width:140px;background:#fff;overflow:hidden}[data-v-2e3361cd] #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-2e3361cd] #center .model_process .title img{width:16px;height:18px;margin-left:18px;margin-right:7px}[data-v-2e3361cd] #center .model_process .title span{color:#666;font-size:14px}[data-v-2e3361cd] #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-2e3361cd] #center .model_process_yb p{background:#48ba79;color:#fff}[data-v-2e3361cd] #center .model_process_yth p{background:#fa7d08;color:#fff}[data-v-2e3361cd] #center .model_process_wwc .title{background:#eee}[data-v-2e3361cd] #center .model_process_wwc p{background:#d8d8d8;color:#333}[data-v-2e3361cd] #center .model_process_jxz .title{background:#dbe1eb}[data-v-2e3361cd] #center .model_process_jxz p{background:#4477bc;color:#fff}[data-v-2e3361cd] #center .seled .title{background:#ffffe0}[data-v-2e3361cd] #center .start{width:60px;height:60px;position:absolute;background:url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ") 50% no-repeat;background-size:60px 60px}[data-v-2e3361cd] #center .jslc{background:url(" + ___CSS_LOADER_URL_REPLACEMENT_1___ + ") no-repeat;background-size:60px 60px}[data-v-2e3361cd] #center .jslc,[data-v-2e3361cd] #center .jsrw{width:60px;height:60px;position:absolute}[data-v-2e3361cd] #center .jsrw{background:url(" + ___CSS_LOADER_URL_REPLACEMENT_2___ + ") no-repeat;background-size:60px 60px}[data-v-2e3361cd] #center .parentWf{width:60px;height:60px;position:absolute;background:url(" + ___CSS_LOADER_URL_REPLACEMENT_3___ + ") no-repeat;background-size:60px 60px}[data-v-2e3361cd] #center .zyjd{width:60px;height:60px;position:absolute;background:url(" + ___CSS_LOADER_URL_REPLACEMENT_4___ + ") no-repeat;background-size:60px 60px}[data-v-2e3361cd] #center .dfzjd{width:60px;height:60px;position:absolute;background:url(" + ___CSS_LOADER_URL_REPLACEMENT_5___ + ") no-repeat;background-size:60px 60px}[data-v-2e3361cd] #center .jhjd{width:60px;height:60px;position:absolute;background:url(" + ___CSS_LOADER_URL_REPLACEMENT_6___ + ") no-repeat;background-size:60px 60px}[data-v-2e3361cd] #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-2e3361cd] #center .jcjd_model_process_yb{color:#fff}[data-v-2e3361cd] #center .li{height:44px;line-height:44px;padding-left:30px}[data-v-2e3361cd] #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-2e3361cd] #center #centextMenu a{padding:4px 10px;text-decoration:none;display:block;height:26px;font-size:14px;color:#545454}[data-v-2e3361cd] #center #centextMenu a:hover{background:#f5f5f5}[data-v-2e3361cd] #center .el-loading-spinner{top:100px}[data-v-2e3361cd] #center .el-loading-spinner circle{fill:#fff}.wfdialog-center-container[data-v-2e3361cd]{margin:-20px}.wfdialog-center-container .node-bg-desc[data-v-2e3361cd]{position:absolute;right:0;z-index:1000;font-size:14px;margin:10px}.wfdialog-center-container .node-bg-desc[data-v-2e3361cd] .el-col{width:90px;padding-left:10px}.wfdialog-center-container .node-bg-desc .node-bg[data-v-2e3361cd]{width:30px;height:15px;margin-bottom:5px;float:left;margin-right:5px}.wfdialog-center-container .node-bg-desc .model_process_yb[data-v-2e3361cd]{background-color:#48ba79}.wfdialog-center-container .node-bg-desc .model_process_yth[data-v-2e3361cd]{background-color:#fa7d08}.wfdialog-center-container .node-bg-desc .model_process_wwc[data-v-2e3361cd]{background-color:#4477bc}.wfdialog-center-container .node-bg-desc .model_process_wks[data-v-2e3361cd]{background-color:#d8d8d8}.wflogInfo[data-v-2e3361cd]{width:300px;position:absolute;border:1px solid #e1e1e1;z-index:10}.wflogInfo[data-v-2e3361cd] .el-card__header{padding:12px}.wflogInfo[data-v-2e3361cd] .el-card__header .el-button--text{font-size:15px}.wflogInfo[data-v-2e3361cd] .el-card__body{max-height:400px;overflow-y:auto;padding:10px}.wflogInfo[data-v-2e3361cd] .el-card__body div:last-child{border-bottom:0 solid #e1e1e1!important}.wflogInfo .el-descriptions[data-v-2e3361cd]{padding-top:5px;border-bottom:1px solid #e1e1e1}", ""]);
|
|
45246
45241
|
// Exports
|
|
45247
45242
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
45248
45243
|
|
|
@@ -45333,7 +45328,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".attr_title[data-v-bbe733a8]{height:44
|
|
|
45333
45328
|
|
|
45334
45329
|
/***/ }),
|
|
45335
45330
|
|
|
45336
|
-
/***/
|
|
45331
|
+
/***/ 2040:
|
|
45337
45332
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
45338
45333
|
|
|
45339
45334
|
"use strict";
|
|
@@ -45347,7 +45342,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
45347
45342
|
|
|
45348
45343
|
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()));
|
|
45349
45344
|
// Module
|
|
45350
|
-
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-
|
|
45345
|
+
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-e0705338]: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)}.formula-container[data-v-e0705338]{margin:auto}.formula-container .description-text[data-v-e0705338]{margin-top:10px}.formula-container .vue-treeselect[data-v-e0705338]{position:absolute;left:5px;width:190px;float:left}.formula-container .vue-treeselect[data-v-e0705338] .vue-treeselect__control{border-radius:2px;display:none}.formula-container .vue-treeselect[data-v-e0705338] .vue-treeselect__menu{height:350px;max-height:350px!important;border:1px solid #d8dce5;border-radius:2px;font-size:13px}.formula-container .vue-treeselect[data-v-e0705338] .vue-treeselect__menu label{font-weight:400}.formula-container .vue-treeselect[data-v-e0705338] .vue-treeselect__option{height:28px;line-height:28px}.formula-container .vue-treeselect[data-v-e0705338]:nth-child(2){left:205px;width:110px}.formula-container .operate-btn-container[data-v-e0705338]{width:128px;height:348px;position:absolute;left:335px;padding-top:30px}.formula-container .operate-btn-container[data-v-e0705338] .el-radio{margin-right:0x}.formula-container .operate-btn-container[data-v-e0705338] .el-radio__label{padding-left:5px}.formula-container .operate-btn-container .btn-wapper[data-v-e0705338]{position:relative;height:40px;line-height:40px;text-align:center}.formula-container .other-search-container[data-v-e0705338]{width:277px;height:348px;position:absolute;left:473px}.formula-container .other-search-container[data-v-e0705338] .el-textarea{height:348px}.formula-container .other-search-container[data-v-e0705338] .el-textarea .el-textarea__inner{height:100%}.formula-container .el-col[data-v-e0705338]:nth-child(2){text-align:center}.formula-container .el-col[data-v-e0705338]:nth-child(3){text-align:right}", ""]);
|
|
45351
45346
|
// Exports
|
|
45352
45347
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
45353
45348
|
|
|
@@ -45900,7 +45895,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".right-form[data-v-43babeb0]{height:10
|
|
|
45900
45895
|
|
|
45901
45896
|
/***/ }),
|
|
45902
45897
|
|
|
45903
|
-
/***/
|
|
45898
|
+
/***/ 38942:
|
|
45904
45899
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
45905
45900
|
|
|
45906
45901
|
"use strict";
|
|
@@ -45933,7 +45928,7 @@ var ___CSS_LOADER_URL_REPLACEMENT_5___ = _node_modules_css_loader_dist_runtime_g
|
|
|
45933
45928
|
var ___CSS_LOADER_URL_REPLACEMENT_6___ = _node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_6___);
|
|
45934
45929
|
var ___CSS_LOADER_URL_REPLACEMENT_7___ = _node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_7___);
|
|
45935
45930
|
// Module
|
|
45936
|
-
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-
|
|
45931
|
+
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-54588e1a]: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)}#center[data-v-54588e1a]{width:100%;overflow-y:hidden!important}[data-v-54588e1a] .el-scrollbar__wrap{overflow-x:hidden}.dropdown-menu[data-v-54588e1a]{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-54588e1a]{padding:5px 20px;line-height:1.5;white-space:nowrap;color:#333}.dropdown-menu li[data-v-54588e1a]:hover{background:#f5f5f5}[data-v-54588e1a] .line_text{cursor:pointer;position:absolute;left:0;top:0;font-size:14px}[data-v-54588e1a] svg:hover path{stroke:red}[data-v-54588e1a] svg:hover path:last-child{fill:red}[data-v-54588e1a] path{cursor:pointer}[data-v-54588e1a] path:last-child{fill:#438eb9}[data-v-54588e1a] circle{fill:#438eb9;stroke:none}li[data-v-54588e1a],ul[data-v-54588e1a]{list-style:none}body[data-v-54588e1a]{margin:0;padding:0;background:#f3f3f3;overflow-x:hidden}[data-v-54588e1a] #center{background:#fff;position:relative;overflow:hidden;overflow-y:auto;height:100%}[data-v-54588e1a] #center .model_process{position:absolute;border:1px solid #dadada;width:140px;background:#fff;overflow:hidden}[data-v-54588e1a] #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-54588e1a] #center .model_process .title img{width:16px;height:18px;margin-left:18px;margin-right:7px}[data-v-54588e1a] #center .model_process .title span{color:#666;font-size:14px}[data-v-54588e1a] #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-54588e1a] #center .model_process_yb p{background:#48ba79;color:#fff}[data-v-54588e1a] #center .model_process_yth p{background:#fa7d08;color:#fff}[data-v-54588e1a] #center .model_process_wwc .title{background:#eee}[data-v-54588e1a] #center .model_process_wwc p{background:#d8d8d8;color:#333}[data-v-54588e1a] #center .model_process_jxz .title{background:#dbe1eb}[data-v-54588e1a] #center .model_process_jxz p{background:#4477bc;color:#fff}[data-v-54588e1a] #center .seled .title{background:#ffffe0}[data-v-54588e1a] #center .start{width:60px;height:60px;position:absolute;background:url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ") 50% no-repeat;background-size:60px 60px}[data-v-54588e1a] #center .jslc{background:url(" + ___CSS_LOADER_URL_REPLACEMENT_1___ + ") no-repeat;background-size:60px 60px}[data-v-54588e1a] #center .jslc,[data-v-54588e1a] #center .jsrw{width:60px;height:60px;position:absolute}[data-v-54588e1a] #center .jsrw{background:url(" + ___CSS_LOADER_URL_REPLACEMENT_2___ + ") no-repeat;background-size:60px 60px}[data-v-54588e1a] #center .parentWf{width:60px;height:60px;position:absolute;background:url(" + ___CSS_LOADER_URL_REPLACEMENT_3___ + ") no-repeat;background-size:60px 60px}[data-v-54588e1a] #center .zyjd{width:60px;height:60px;position:absolute;background:url(" + ___CSS_LOADER_URL_REPLACEMENT_4___ + ") no-repeat;background-size:60px 60px}[data-v-54588e1a] #center .dfzjd{width:60px;height:60px;position:absolute;background:url(" + ___CSS_LOADER_URL_REPLACEMENT_5___ + ") no-repeat;background-size:60px 60px}[data-v-54588e1a] #center .jhjd{width:60px;height:60px;position:absolute;background:url(" + ___CSS_LOADER_URL_REPLACEMENT_6___ + ") no-repeat;background-size:60px 60px}[data-v-54588e1a] #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-54588e1a] #center .jcjd_model_process_yb{color:#fff}[data-v-54588e1a] #center .li{height:44px;line-height:44px;padding-left:30px}[data-v-54588e1a] #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-54588e1a] #center #centextMenu a{padding:4px 10px;text-decoration:none;display:block;height:26px;font-size:14px;color:#545454}[data-v-54588e1a] #center #centextMenu a:hover{background:#f5f5f5}[data-v-54588e1a] #center .el-loading-spinner{top:100px}[data-v-54588e1a] #center .el-loading-spinner circle{fill:#fff}.node-bg-desc[data-v-54588e1a]{font-size:13px;position:absolute;right:10px;z-index:1000;margin-top:10px}.node-bg-desc[data-v-54588e1a] .el-col{width:90px;padding-left:10px}.node-bg-desc .node-bg[data-v-54588e1a]{width:30px;height:15px;margin-bottom:5px;float:left;margin-right:5px}.node-bg-desc .model_process_yb[data-v-54588e1a]{background-color:#48ba79}.node-bg-desc .model_process_yth[data-v-54588e1a]{background-color:#fa7d08}.node-bg-desc .model_process_wwc[data-v-54588e1a]{background-color:#4477bc}.node-bg-desc .model_process_wks[data-v-54588e1a]{background-color:#d8d8d8}.wflogInfo[data-v-54588e1a]{width:300px;position:absolute;border:1px solid #e1e1e1}.wflogInfo[data-v-54588e1a] .el-card__header{padding:12px}.wflogInfo[data-v-54588e1a] .el-card__header .el-button--text{font-size:15px}.wflogInfo[data-v-54588e1a] .el-card__body{max-height:400px;overflow-y:auto;padding:10px}.wflogInfo[data-v-54588e1a] .el-card__body div:last-child{border-bottom:0 solid #e1e1e1!important}.wflogInfo .el-descriptions[data-v-54588e1a]{padding-top:5px;border-bottom:1px solid #e1e1e1}.el-icon-document-checked[data-v-54588e1a]{margin-right:5px;color:#fa7d08}", ""]);
|
|
45937
45932
|
// Exports
|
|
45938
45933
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
45939
45934
|
|
|
@@ -137512,19 +137507,19 @@ var update = add("24d90c28", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
137512
137507
|
|
|
137513
137508
|
/***/ }),
|
|
137514
137509
|
|
|
137515
|
-
/***/
|
|
137510
|
+
/***/ 43228:
|
|
137516
137511
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
137517
137512
|
|
|
137518
137513
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
137519
137514
|
|
|
137520
137515
|
// load the styles
|
|
137521
|
-
var content = __webpack_require__(
|
|
137516
|
+
var content = __webpack_require__(52706);
|
|
137522
137517
|
if(content.__esModule) content = content.default;
|
|
137523
137518
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
137524
137519
|
if(content.locals) module.exports = content.locals;
|
|
137525
137520
|
// add the styles to the DOM
|
|
137526
137521
|
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
137527
|
-
var update = add("
|
|
137522
|
+
var update = add("04ac0665", content, true, {"sourceMap":false,"shadowMode":false});
|
|
137528
137523
|
|
|
137529
137524
|
/***/ }),
|
|
137530
137525
|
|
|
@@ -138472,19 +138467,19 @@ var update = add("f3eb41e8", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
138472
138467
|
|
|
138473
138468
|
/***/ }),
|
|
138474
138469
|
|
|
138475
|
-
/***/
|
|
138470
|
+
/***/ 96095:
|
|
138476
138471
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
138477
138472
|
|
|
138478
138473
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
138479
138474
|
|
|
138480
138475
|
// load the styles
|
|
138481
|
-
var content = __webpack_require__(
|
|
138476
|
+
var content = __webpack_require__(58621);
|
|
138482
138477
|
if(content.__esModule) content = content.default;
|
|
138483
138478
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
138484
138479
|
if(content.locals) module.exports = content.locals;
|
|
138485
138480
|
// add the styles to the DOM
|
|
138486
138481
|
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
138487
|
-
var update = add("
|
|
138482
|
+
var update = add("5109cc32", content, true, {"sourceMap":false,"shadowMode":false});
|
|
138488
138483
|
|
|
138489
138484
|
/***/ }),
|
|
138490
138485
|
|
|
@@ -138664,35 +138659,35 @@ var update = add("bcc7f380", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
138664
138659
|
|
|
138665
138660
|
/***/ }),
|
|
138666
138661
|
|
|
138667
|
-
/***/
|
|
138662
|
+
/***/ 73391:
|
|
138668
138663
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
138669
138664
|
|
|
138670
138665
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
138671
138666
|
|
|
138672
138667
|
// load the styles
|
|
138673
|
-
var content = __webpack_require__(
|
|
138668
|
+
var content = __webpack_require__(10757);
|
|
138674
138669
|
if(content.__esModule) content = content.default;
|
|
138675
138670
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
138676
138671
|
if(content.locals) module.exports = content.locals;
|
|
138677
138672
|
// add the styles to the DOM
|
|
138678
138673
|
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
138679
|
-
var update = add("
|
|
138674
|
+
var update = add("f7bf84ac", content, true, {"sourceMap":false,"shadowMode":false});
|
|
138680
138675
|
|
|
138681
138676
|
/***/ }),
|
|
138682
138677
|
|
|
138683
|
-
/***/
|
|
138678
|
+
/***/ 2222:
|
|
138684
138679
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
138685
138680
|
|
|
138686
138681
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
138687
138682
|
|
|
138688
138683
|
// load the styles
|
|
138689
|
-
var content = __webpack_require__(
|
|
138684
|
+
var content = __webpack_require__(80760);
|
|
138690
138685
|
if(content.__esModule) content = content.default;
|
|
138691
138686
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
138692
138687
|
if(content.locals) module.exports = content.locals;
|
|
138693
138688
|
// add the styles to the DOM
|
|
138694
138689
|
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
138695
|
-
var update = add("
|
|
138690
|
+
var update = add("b32f167e", content, true, {"sourceMap":false,"shadowMode":false});
|
|
138696
138691
|
|
|
138697
138692
|
/***/ }),
|
|
138698
138693
|
|
|
@@ -139144,51 +139139,51 @@ var update = add("0ef0df88", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
139144
139139
|
|
|
139145
139140
|
/***/ }),
|
|
139146
139141
|
|
|
139147
|
-
/***/
|
|
139142
|
+
/***/ 6665:
|
|
139148
139143
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
139149
139144
|
|
|
139150
139145
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
139151
139146
|
|
|
139152
139147
|
// load the styles
|
|
139153
|
-
var content = __webpack_require__(
|
|
139148
|
+
var content = __webpack_require__(21171);
|
|
139154
139149
|
if(content.__esModule) content = content.default;
|
|
139155
139150
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
139156
139151
|
if(content.locals) module.exports = content.locals;
|
|
139157
139152
|
// add the styles to the DOM
|
|
139158
139153
|
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
139159
|
-
var update = add("
|
|
139154
|
+
var update = add("14a57daa", content, true, {"sourceMap":false,"shadowMode":false});
|
|
139160
139155
|
|
|
139161
139156
|
/***/ }),
|
|
139162
139157
|
|
|
139163
|
-
/***/
|
|
139158
|
+
/***/ 90093:
|
|
139164
139159
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
139165
139160
|
|
|
139166
139161
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
139167
139162
|
|
|
139168
139163
|
// load the styles
|
|
139169
|
-
var content = __webpack_require__(
|
|
139164
|
+
var content = __webpack_require__(23355);
|
|
139170
139165
|
if(content.__esModule) content = content.default;
|
|
139171
139166
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
139172
139167
|
if(content.locals) module.exports = content.locals;
|
|
139173
139168
|
// add the styles to the DOM
|
|
139174
139169
|
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
139175
|
-
var update = add("
|
|
139170
|
+
var update = add("4999eaf4", content, true, {"sourceMap":false,"shadowMode":false});
|
|
139176
139171
|
|
|
139177
139172
|
/***/ }),
|
|
139178
139173
|
|
|
139179
|
-
/***/
|
|
139174
|
+
/***/ 18050:
|
|
139180
139175
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
139181
139176
|
|
|
139182
139177
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
139183
139178
|
|
|
139184
139179
|
// load the styles
|
|
139185
|
-
var content = __webpack_require__(
|
|
139180
|
+
var content = __webpack_require__(92980);
|
|
139186
139181
|
if(content.__esModule) content = content.default;
|
|
139187
139182
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
139188
139183
|
if(content.locals) module.exports = content.locals;
|
|
139189
139184
|
// add the styles to the DOM
|
|
139190
139185
|
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
139191
|
-
var update = add("
|
|
139186
|
+
var update = add("da6cfe52", content, true, {"sourceMap":false,"shadowMode":false});
|
|
139192
139187
|
|
|
139193
139188
|
/***/ }),
|
|
139194
139189
|
|
|
@@ -139256,19 +139251,19 @@ var update = add("373b51da", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
139256
139251
|
|
|
139257
139252
|
/***/ }),
|
|
139258
139253
|
|
|
139259
|
-
/***/
|
|
139254
|
+
/***/ 28790:
|
|
139260
139255
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
139261
139256
|
|
|
139262
139257
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
139263
139258
|
|
|
139264
139259
|
// load the styles
|
|
139265
|
-
var content = __webpack_require__(
|
|
139260
|
+
var content = __webpack_require__(2040);
|
|
139266
139261
|
if(content.__esModule) content = content.default;
|
|
139267
139262
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
139268
139263
|
if(content.locals) module.exports = content.locals;
|
|
139269
139264
|
// add the styles to the DOM
|
|
139270
139265
|
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
139271
|
-
var update = add("
|
|
139266
|
+
var update = add("af24433e", content, true, {"sourceMap":false,"shadowMode":false});
|
|
139272
139267
|
|
|
139273
139268
|
/***/ }),
|
|
139274
139269
|
|
|
@@ -139496,7 +139491,7 @@ var update = add("0ef85e9f", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
139496
139491
|
|
|
139497
139492
|
/***/ }),
|
|
139498
139493
|
|
|
139499
|
-
/***/
|
|
139494
|
+
/***/ 30325:
|
|
139500
139495
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
139501
139496
|
|
|
139502
139497
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
@@ -139688,19 +139683,19 @@ var update = add("511106e2", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
139688
139683
|
|
|
139689
139684
|
/***/ }),
|
|
139690
139685
|
|
|
139691
|
-
/***/
|
|
139686
|
+
/***/ 67368:
|
|
139692
139687
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
139693
139688
|
|
|
139694
139689
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
139695
139690
|
|
|
139696
139691
|
// load the styles
|
|
139697
|
-
var content = __webpack_require__(
|
|
139692
|
+
var content = __webpack_require__(38942);
|
|
139698
139693
|
if(content.__esModule) content = content.default;
|
|
139699
139694
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
139700
139695
|
if(content.locals) module.exports = content.locals;
|
|
139701
139696
|
// add the styles to the DOM
|
|
139702
139697
|
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
139703
|
-
var update = add("
|
|
139698
|
+
var update = add("92bb78b6", content, true, {"sourceMap":false,"shadowMode":false});
|
|
139704
139699
|
|
|
139705
139700
|
/***/ }),
|
|
139706
139701
|
|
|
@@ -169721,8 +169716,8 @@ var Attachment_component = (0,componentNormalizer/* default */.A)(
|
|
|
169721
169716
|
)
|
|
169722
169717
|
|
|
169723
169718
|
/* harmony default export */ var Attachment = (Attachment_component.exports);
|
|
169724
|
-
;// 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/BodyFile.vue?vue&type=template&id=
|
|
169725
|
-
var
|
|
169719
|
+
;// 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/BodyFile.vue?vue&type=template&id=769fc0cb&scoped=true
|
|
169720
|
+
var BodyFilevue_type_template_id_769fc0cb_scoped_true_render = function render() {
|
|
169726
169721
|
var _vm = this,
|
|
169727
169722
|
_c = _vm._self._c;
|
|
169728
169723
|
return _c('div', {
|
|
@@ -170469,7 +170464,7 @@ var BodyFilevue_type_template_id_01b3a12a_scoped_true_render = function render()
|
|
|
170469
170464
|
}
|
|
170470
170465
|
}, [_vm._v("确 定")])], 1)], 1) : _vm._e()], 1);
|
|
170471
170466
|
};
|
|
170472
|
-
var
|
|
170467
|
+
var BodyFilevue_type_template_id_769fc0cb_scoped_true_staticRenderFns = [];
|
|
170473
170468
|
|
|
170474
170469
|
;// 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/BodyFile.vue?vue&type=script&lang=js
|
|
170475
170470
|
function BodyFilevue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return BodyFilevue_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; }, BodyFilevue_type_script_lang_js_typeof(o); }
|
|
@@ -170605,6 +170600,7 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
|
|
|
170605
170600
|
computed: BodyFilevue_type_script_lang_js_objectSpread({}, (0,vuex_esm/* mapGetters */.L8)(['loginUser'])),
|
|
170606
170601
|
watch: {
|
|
170607
170602
|
curTN: function curTN() {
|
|
170603
|
+
this.frmRowCellCount = this.$vnode.context.frmRowCellCount;
|
|
170608
170604
|
if (this.flBodyfile !== null) {
|
|
170609
170605
|
this.setExtName();
|
|
170610
170606
|
} else {
|
|
@@ -170614,8 +170610,7 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
|
|
|
170614
170610
|
}
|
|
170615
170611
|
};
|
|
170616
170612
|
}
|
|
170617
|
-
}
|
|
170618
|
-
flBodyfile: function flBodyfile() {}
|
|
170613
|
+
}
|
|
170619
170614
|
},
|
|
170620
170615
|
created: function created() {
|
|
170621
170616
|
this.$bus.on('uploadBodyFile', this.uploadBodyFile);
|
|
@@ -171121,9 +171116,9 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
|
|
|
171121
171116
|
});
|
|
171122
171117
|
;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/BodyFile.vue?vue&type=script&lang=js
|
|
171123
171118
|
/* harmony default export */ var src_BodyFilevue_type_script_lang_js = (BodyFilevue_type_script_lang_js);
|
|
171124
|
-
// 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/BodyFile.vue?vue&type=style&index=0&id=
|
|
171125
|
-
var
|
|
171126
|
-
;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=
|
|
171119
|
+
// 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/BodyFile.vue?vue&type=style&index=0&id=769fc0cb&prod&scoped=true&lang=scss
|
|
171120
|
+
var BodyFilevue_type_style_index_0_id_769fc0cb_prod_scoped_true_lang_scss = __webpack_require__(43228);
|
|
171121
|
+
;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=769fc0cb&prod&scoped=true&lang=scss
|
|
171127
171122
|
|
|
171128
171123
|
;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/BodyFile.vue
|
|
171129
171124
|
|
|
@@ -171136,11 +171131,11 @@ var BodyFilevue_type_style_index_0_id_01b3a12a_prod_scoped_true_lang_scss = __we
|
|
|
171136
171131
|
|
|
171137
171132
|
var BodyFile_component = (0,componentNormalizer/* default */.A)(
|
|
171138
171133
|
src_BodyFilevue_type_script_lang_js,
|
|
171139
|
-
|
|
171140
|
-
|
|
171134
|
+
BodyFilevue_type_template_id_769fc0cb_scoped_true_render,
|
|
171135
|
+
BodyFilevue_type_template_id_769fc0cb_scoped_true_staticRenderFns,
|
|
171141
171136
|
false,
|
|
171142
171137
|
null,
|
|
171143
|
-
"
|
|
171138
|
+
"769fc0cb",
|
|
171144
171139
|
null
|
|
171145
171140
|
|
|
171146
171141
|
)
|
|
@@ -223418,8 +223413,8 @@ var fieldConfigvue_type_template_id_225dd5cb_scoped_true_staticRenderFns = [func
|
|
|
223418
223413
|
|
|
223419
223414
|
// EXTERNAL MODULE: ./src/wapp/support/icons/index.vue + 7 modules
|
|
223420
223415
|
var icons = __webpack_require__(21406);
|
|
223421
|
-
;// 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/BusiformDesigner/src/selectWfNode.vue?vue&type=template&id=
|
|
223422
|
-
var
|
|
223416
|
+
;// 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/BusiformDesigner/src/selectWfNode.vue?vue&type=template&id=24bb83a0&scoped=true
|
|
223417
|
+
var selectWfNodevue_type_template_id_24bb83a0_scoped_true_render = function render() {
|
|
223423
223418
|
var _vm = this,
|
|
223424
223419
|
_c = _vm._self._c;
|
|
223425
223420
|
return _vm.dialogVisible ? _c('el-dialog', {
|
|
@@ -223514,14 +223509,11 @@ var selectWfNodevue_type_template_id_055affc5_scoped_true_render = function rend
|
|
|
223514
223509
|
}
|
|
223515
223510
|
}, [_vm._v("确 定")])], 1)], 1) : _vm._e();
|
|
223516
223511
|
};
|
|
223517
|
-
var
|
|
223512
|
+
var selectWfNodevue_type_template_id_24bb83a0_scoped_true_staticRenderFns = [];
|
|
223518
223513
|
|
|
223519
223514
|
;// 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/BusiformDesigner/src/selectWfNode.vue?vue&type=script&lang=js
|
|
223520
|
-
var Treeselect = window.VueTreeselect.Treeselect;
|
|
223521
223515
|
/* harmony default export */ var selectWfNodevue_type_script_lang_js = ({
|
|
223522
|
-
components: {
|
|
223523
|
-
Treeselect: Treeselect
|
|
223524
|
-
},
|
|
223516
|
+
components: {},
|
|
223525
223517
|
props: {},
|
|
223526
223518
|
data: function data() {
|
|
223527
223519
|
return {
|
|
@@ -223568,6 +223560,7 @@ var Treeselect = window.VueTreeselect.Treeselect;
|
|
|
223568
223560
|
}
|
|
223569
223561
|
},
|
|
223570
223562
|
created: function created() {
|
|
223563
|
+
this.$options.components['Treeselect'] = window.VueTreeselect.Treeselect;
|
|
223571
223564
|
this.$bus.on('openSelectWfNodeDialog', this.openSelectWfNodeDialog);
|
|
223572
223565
|
},
|
|
223573
223566
|
beforeDestory: function beforeDestory() {
|
|
@@ -223711,9 +223704,9 @@ var Treeselect = window.VueTreeselect.Treeselect;
|
|
|
223711
223704
|
});
|
|
223712
223705
|
;// CONCATENATED MODULE: ./packages/ecwplus/BusiformDesigner/src/selectWfNode.vue?vue&type=script&lang=js
|
|
223713
223706
|
/* harmony default export */ var src_selectWfNodevue_type_script_lang_js = (selectWfNodevue_type_script_lang_js);
|
|
223714
|
-
// 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/BusiformDesigner/src/selectWfNode.vue?vue&type=style&index=0&id=
|
|
223715
|
-
var
|
|
223716
|
-
;// CONCATENATED MODULE: ./packages/ecwplus/BusiformDesigner/src/selectWfNode.vue?vue&type=style&index=0&id=
|
|
223707
|
+
// 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/BusiformDesigner/src/selectWfNode.vue?vue&type=style&index=0&id=24bb83a0&prod&scoped=true&lang=scss
|
|
223708
|
+
var selectWfNodevue_type_style_index_0_id_24bb83a0_prod_scoped_true_lang_scss = __webpack_require__(96095);
|
|
223709
|
+
;// CONCATENATED MODULE: ./packages/ecwplus/BusiformDesigner/src/selectWfNode.vue?vue&type=style&index=0&id=24bb83a0&prod&scoped=true&lang=scss
|
|
223717
223710
|
|
|
223718
223711
|
;// CONCATENATED MODULE: ./packages/ecwplus/BusiformDesigner/src/selectWfNode.vue
|
|
223719
223712
|
|
|
@@ -223726,11 +223719,11 @@ var selectWfNodevue_type_style_index_0_id_055affc5_prod_scoped_true_lang_scss =
|
|
|
223726
223719
|
|
|
223727
223720
|
var selectWfNode_component = (0,componentNormalizer/* default */.A)(
|
|
223728
223721
|
src_selectWfNodevue_type_script_lang_js,
|
|
223729
|
-
|
|
223730
|
-
|
|
223722
|
+
selectWfNodevue_type_template_id_24bb83a0_scoped_true_render,
|
|
223723
|
+
selectWfNodevue_type_template_id_24bb83a0_scoped_true_staticRenderFns,
|
|
223731
223724
|
false,
|
|
223732
223725
|
null,
|
|
223733
|
-
"
|
|
223726
|
+
"24bb83a0",
|
|
223734
223727
|
null
|
|
223735
223728
|
|
|
223736
223729
|
)
|
|
@@ -231759,8 +231752,8 @@ var MListStyle_component = (0,componentNormalizer/* default */.A)(
|
|
|
231759
231752
|
)
|
|
231760
231753
|
|
|
231761
231754
|
/* harmony default export */ var MListStyle = (MListStyle_component.exports);
|
|
231762
|
-
;// 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/ListPageDesigner/src/DataFilter.vue?vue&type=template&id=
|
|
231763
|
-
var
|
|
231755
|
+
;// 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/ListPageDesigner/src/DataFilter.vue?vue&type=template&id=fd34c256&scoped=true
|
|
231756
|
+
var DataFiltervue_type_template_id_fd34c256_scoped_true_render = function render() {
|
|
231764
231757
|
var _vm = this,
|
|
231765
231758
|
_c = _vm._self._c;
|
|
231766
231759
|
return _c('div', {
|
|
@@ -232246,15 +232239,12 @@ var DataFiltervue_type_template_id_529a1526_scoped_true_render = function render
|
|
|
232246
232239
|
staticClass: "description-text"
|
|
232247
232240
|
}, [_vm._v(" 1、数据筛选是用户进入列表页面时的默认数据筛选查询规则,用户执行高级搜索时的搜索条件与数据筛选规则是AND的关系; "), _c('br'), _vm._v(" 2、用户读权限筛选、数据状态值筛选、其它字段值筛选,三者之间是AND的关系; "), _c('br'), _vm._v(" 3、其它字段值筛选条可手动编辑,支持{loginUser.orgCode}、{loginUser.sysCode}、{loginUser.userId}、{loginUser.personId}、{loginUser.personAccount}、{loginUser.personName}、{loginUser.personMobile}、{loginUser.roleCodes}、{loginUser.sysCodes}、{loginUser.secondLevelOrgIds}变量,运行时替换为登录用户信息。 ")])])], 1);
|
|
232248
232241
|
};
|
|
232249
|
-
var
|
|
232242
|
+
var DataFiltervue_type_template_id_fd34c256_scoped_true_staticRenderFns = [];
|
|
232250
232243
|
|
|
232251
232244
|
;// 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/ListPageDesigner/src/DataFilter.vue?vue&type=script&lang=js
|
|
232252
|
-
var DataFiltervue_type_script_lang_js_Treeselect = window.VueTreeselect.Treeselect;
|
|
232253
232245
|
|
|
232254
232246
|
/* harmony default export */ var DataFiltervue_type_script_lang_js = ({
|
|
232255
|
-
components: {
|
|
232256
|
-
Treeselect: DataFiltervue_type_script_lang_js_Treeselect
|
|
232257
|
-
},
|
|
232247
|
+
components: {},
|
|
232258
232248
|
props: {
|
|
232259
232249
|
listpage: {
|
|
232260
232250
|
type: Object,
|
|
@@ -232412,6 +232402,7 @@ var DataFiltervue_type_script_lang_js_Treeselect = window.VueTreeselect.Treesele
|
|
|
232412
232402
|
watch: {},
|
|
232413
232403
|
created: function created() {
|
|
232414
232404
|
var _this = this;
|
|
232405
|
+
this.$options.components['Treeselect'] = window.VueTreeselect.Treeselect;
|
|
232415
232406
|
var query = this.$route.query;
|
|
232416
232407
|
this.actionType = query.actionType;
|
|
232417
232408
|
if (this.listpage.listJavaScript === undefined || this.listpage.listJavaScript === null) {
|
|
@@ -232663,9 +232654,9 @@ var DataFiltervue_type_script_lang_js_Treeselect = window.VueTreeselect.Treesele
|
|
|
232663
232654
|
});
|
|
232664
232655
|
;// CONCATENATED MODULE: ./packages/ecwplus/ListPageDesigner/src/DataFilter.vue?vue&type=script&lang=js
|
|
232665
232656
|
/* harmony default export */ var src_DataFiltervue_type_script_lang_js = (DataFiltervue_type_script_lang_js);
|
|
232666
|
-
// 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/ListPageDesigner/src/DataFilter.vue?vue&type=style&index=0&id=
|
|
232667
|
-
var
|
|
232668
|
-
;// CONCATENATED MODULE: ./packages/ecwplus/ListPageDesigner/src/DataFilter.vue?vue&type=style&index=0&id=
|
|
232657
|
+
// 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/ListPageDesigner/src/DataFilter.vue?vue&type=style&index=0&id=fd34c256&prod&scoped=true&lang=scss
|
|
232658
|
+
var DataFiltervue_type_style_index_0_id_fd34c256_prod_scoped_true_lang_scss = __webpack_require__(73391);
|
|
232659
|
+
;// CONCATENATED MODULE: ./packages/ecwplus/ListPageDesigner/src/DataFilter.vue?vue&type=style&index=0&id=fd34c256&prod&scoped=true&lang=scss
|
|
232669
232660
|
|
|
232670
232661
|
;// CONCATENATED MODULE: ./packages/ecwplus/ListPageDesigner/src/DataFilter.vue
|
|
232671
232662
|
|
|
@@ -232678,11 +232669,11 @@ var DataFiltervue_type_style_index_0_id_529a1526_prod_scoped_true_lang_scss = __
|
|
|
232678
232669
|
|
|
232679
232670
|
var DataFilter_component = (0,componentNormalizer/* default */.A)(
|
|
232680
232671
|
src_DataFiltervue_type_script_lang_js,
|
|
232681
|
-
|
|
232682
|
-
|
|
232672
|
+
DataFiltervue_type_template_id_fd34c256_scoped_true_render,
|
|
232673
|
+
DataFiltervue_type_template_id_fd34c256_scoped_true_staticRenderFns,
|
|
232683
232674
|
false,
|
|
232684
232675
|
null,
|
|
232685
|
-
"
|
|
232676
|
+
"fd34c256",
|
|
232686
232677
|
null
|
|
232687
232678
|
|
|
232688
232679
|
)
|
|
@@ -235239,8 +235230,8 @@ var ListpageEvent_component = (0,componentNormalizer/* default */.A)(
|
|
|
235239
235230
|
)
|
|
235240
235231
|
|
|
235241
235232
|
/* harmony default export */ var ListpageEvent = (ListpageEvent_component.exports);
|
|
235242
|
-
;// 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/ListPageDesigner/src/ListSqlJoin.vue?vue&type=template&id=
|
|
235243
|
-
var
|
|
235233
|
+
;// 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/ListPageDesigner/src/ListSqlJoin.vue?vue&type=template&id=1f43c3a5&scoped=true
|
|
235234
|
+
var ListSqlJoinvue_type_template_id_1f43c3a5_scoped_true_render = function render() {
|
|
235244
235235
|
var _vm = this,
|
|
235245
235236
|
_c = _vm._self._c;
|
|
235246
235237
|
return _c('div', {
|
|
@@ -235550,7 +235541,7 @@ var ListSqlJoinvue_type_template_id_1c364978_scoped_true_render = function rende
|
|
|
235550
235541
|
}
|
|
235551
235542
|
}, [_vm._v("确 定")])], 1)], 1)], 2);
|
|
235552
235543
|
};
|
|
235553
|
-
var
|
|
235544
|
+
var ListSqlJoinvue_type_template_id_1f43c3a5_scoped_true_staticRenderFns = [];
|
|
235554
235545
|
|
|
235555
235546
|
;// 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/ListPageDesigner/src/ListSqlJoin.vue?vue&type=script&lang=js
|
|
235556
235547
|
function ListSqlJoinvue_type_script_lang_js_toConsumableArray(r) { return ListSqlJoinvue_type_script_lang_js_arrayWithoutHoles(r) || ListSqlJoinvue_type_script_lang_js_iterableToArray(r) || ListSqlJoinvue_type_script_lang_js_unsupportedIterableToArray(r) || ListSqlJoinvue_type_script_lang_js_nonIterableSpread(); }
|
|
@@ -235559,11 +235550,8 @@ function ListSqlJoinvue_type_script_lang_js_unsupportedIterableToArray(r, a) { i
|
|
|
235559
235550
|
function ListSqlJoinvue_type_script_lang_js_iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
|
|
235560
235551
|
function ListSqlJoinvue_type_script_lang_js_arrayWithoutHoles(r) { if (Array.isArray(r)) return ListSqlJoinvue_type_script_lang_js_arrayLikeToArray(r); }
|
|
235561
235552
|
function ListSqlJoinvue_type_script_lang_js_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
235562
|
-
var ListSqlJoinvue_type_script_lang_js_Treeselect = window.VueTreeselect.Treeselect;
|
|
235563
235553
|
/* harmony default export */ var ListSqlJoinvue_type_script_lang_js = ({
|
|
235564
|
-
components: {
|
|
235565
|
-
Treeselect: ListSqlJoinvue_type_script_lang_js_Treeselect
|
|
235566
|
-
},
|
|
235554
|
+
components: {},
|
|
235567
235555
|
props: {
|
|
235568
235556
|
listpage: {
|
|
235569
235557
|
type: Object,
|
|
@@ -235606,6 +235594,7 @@ var ListSqlJoinvue_type_script_lang_js_Treeselect = window.VueTreeselect.Treesel
|
|
|
235606
235594
|
computed: {},
|
|
235607
235595
|
watch: {},
|
|
235608
235596
|
created: function created() {
|
|
235597
|
+
this.$options.components['Treeselect'] = window.VueTreeselect.Treeselect;
|
|
235609
235598
|
if (this.listpage.listJavaScript === undefined || this.listpage.listJavaScript === null) {
|
|
235610
235599
|
this.listpage.listJavaScript = [];
|
|
235611
235600
|
} else if (typeof this.listpage.listJavaScript === 'string') {
|
|
@@ -235882,9 +235871,9 @@ var ListSqlJoinvue_type_script_lang_js_Treeselect = window.VueTreeselect.Treesel
|
|
|
235882
235871
|
});
|
|
235883
235872
|
;// CONCATENATED MODULE: ./packages/ecwplus/ListPageDesigner/src/ListSqlJoin.vue?vue&type=script&lang=js
|
|
235884
235873
|
/* harmony default export */ var src_ListSqlJoinvue_type_script_lang_js = (ListSqlJoinvue_type_script_lang_js);
|
|
235885
|
-
// 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/ListPageDesigner/src/ListSqlJoin.vue?vue&type=style&index=0&id=
|
|
235886
|
-
var
|
|
235887
|
-
;// CONCATENATED MODULE: ./packages/ecwplus/ListPageDesigner/src/ListSqlJoin.vue?vue&type=style&index=0&id=
|
|
235874
|
+
// 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/ListPageDesigner/src/ListSqlJoin.vue?vue&type=style&index=0&id=1f43c3a5&prod&scoped=true&lang=scss
|
|
235875
|
+
var ListSqlJoinvue_type_style_index_0_id_1f43c3a5_prod_scoped_true_lang_scss = __webpack_require__(2222);
|
|
235876
|
+
;// CONCATENATED MODULE: ./packages/ecwplus/ListPageDesigner/src/ListSqlJoin.vue?vue&type=style&index=0&id=1f43c3a5&prod&scoped=true&lang=scss
|
|
235888
235877
|
|
|
235889
235878
|
;// CONCATENATED MODULE: ./packages/ecwplus/ListPageDesigner/src/ListSqlJoin.vue
|
|
235890
235879
|
|
|
@@ -235897,11 +235886,11 @@ var ListSqlJoinvue_type_style_index_0_id_1c364978_prod_scoped_true_lang_scss = _
|
|
|
235897
235886
|
|
|
235898
235887
|
var ListSqlJoin_component = (0,componentNormalizer/* default */.A)(
|
|
235899
235888
|
src_ListSqlJoinvue_type_script_lang_js,
|
|
235900
|
-
|
|
235901
|
-
|
|
235889
|
+
ListSqlJoinvue_type_template_id_1f43c3a5_scoped_true_render,
|
|
235890
|
+
ListSqlJoinvue_type_template_id_1f43c3a5_scoped_true_staticRenderFns,
|
|
235902
235891
|
false,
|
|
235903
235892
|
null,
|
|
235904
|
-
"
|
|
235893
|
+
"1f43c3a5",
|
|
235905
235894
|
null
|
|
235906
235895
|
|
|
235907
235896
|
)
|
|
@@ -249065,8 +249054,8 @@ var BusiformList_component = (0,componentNormalizer/* default */.A)(
|
|
|
249065
249054
|
)
|
|
249066
249055
|
|
|
249067
249056
|
/* harmony default export */ var BusiformList = (BusiformList_component.exports);
|
|
249068
|
-
;// 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/AdminConsole/src/BusiformMgr.vue?vue&type=template&id=
|
|
249069
|
-
var
|
|
249057
|
+
;// 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/AdminConsole/src/BusiformMgr.vue?vue&type=template&id=307319b9
|
|
249058
|
+
var BusiformMgrvue_type_template_id_307319b9_render = function render() {
|
|
249070
249059
|
var _vm = this,
|
|
249071
249060
|
_c = _vm._self._c;
|
|
249072
249061
|
return _c('LRLayout', [_c('LeftPanel', [_c('el-tree', {
|
|
@@ -249149,7 +249138,7 @@ var BusiformMgrvue_type_template_id_14a24332_render = function render() {
|
|
|
249149
249138
|
});
|
|
249150
249139
|
}), 1)], 1)]), _c('ImportModuleCode')], 1)], 1);
|
|
249151
249140
|
};
|
|
249152
|
-
var
|
|
249141
|
+
var BusiformMgrvue_type_template_id_307319b9_staticRenderFns = [];
|
|
249153
249142
|
|
|
249154
249143
|
;// 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/AdminConsole/src/BusiformMgr.vue?vue&type=script&lang=js
|
|
249155
249144
|
function BusiformMgrvue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return BusiformMgrvue_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; }, BusiformMgrvue_type_script_lang_js_typeof(o); }
|
|
@@ -249507,9 +249496,6 @@ function BusiformMgrvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
|
|
|
249507
249496
|
}, {
|
|
249508
249497
|
value: 'W_FLOW_ST',
|
|
249509
249498
|
text: 'PC版标准流程表单'
|
|
249510
|
-
}, {
|
|
249511
|
-
value: 'W_FLOW_DOC',
|
|
249512
|
-
text: 'PC版仿真流程表单'
|
|
249513
249499
|
}, {
|
|
249514
249500
|
value: 'M_FLOW',
|
|
249515
249501
|
text: '手机版空白流程表单'
|
|
@@ -249521,9 +249507,6 @@ function BusiformMgrvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
|
|
|
249521
249507
|
listitem = [{
|
|
249522
249508
|
value: 'W_FLOW',
|
|
249523
249509
|
text: 'PC版空白流程表单'
|
|
249524
|
-
}, {
|
|
249525
|
-
value: 'W_FLOW_DOC',
|
|
249526
|
-
text: 'PC版仿真流程表单'
|
|
249527
249510
|
}, {
|
|
249528
249511
|
value: 'M_FLOW',
|
|
249529
249512
|
text: '手机版空白流程表单'
|
|
@@ -249708,8 +249691,8 @@ function BusiformMgrvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
|
|
|
249708
249691
|
;
|
|
249709
249692
|
var BusiformMgr_component = (0,componentNormalizer/* default */.A)(
|
|
249710
249693
|
src_BusiformMgrvue_type_script_lang_js,
|
|
249711
|
-
|
|
249712
|
-
|
|
249694
|
+
BusiformMgrvue_type_template_id_307319b9_render,
|
|
249695
|
+
BusiformMgrvue_type_template_id_307319b9_staticRenderFns,
|
|
249713
249696
|
false,
|
|
249714
249697
|
null,
|
|
249715
249698
|
null,
|
|
@@ -252484,8 +252467,8 @@ var SideBar_component = (0,componentNormalizer/* default */.A)(
|
|
|
252484
252467
|
)
|
|
252485
252468
|
|
|
252486
252469
|
/* harmony default export */ var SideBar = (SideBar_component.exports);
|
|
252487
|
-
;// 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/Center/index.vue?vue&type=template&id=
|
|
252488
|
-
var
|
|
252470
|
+
;// 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/Center/index.vue?vue&type=template&id=65c42420&scoped=true
|
|
252471
|
+
var Centervue_type_template_id_65c42420_scoped_true_render = function render() {
|
|
252489
252472
|
var _vm = this,
|
|
252490
252473
|
_c = _vm._self._c;
|
|
252491
252474
|
return _c('el-scrollbar', {
|
|
@@ -252604,12 +252587,10 @@ var Centervue_type_template_id_6988b490_scoped_true_render = function render() {
|
|
|
252604
252587
|
}
|
|
252605
252588
|
})], 1)], 1)]);
|
|
252606
252589
|
};
|
|
252607
|
-
var
|
|
252590
|
+
var Centervue_type_template_id_65c42420_scoped_true_staticRenderFns = [];
|
|
252608
252591
|
|
|
252609
252592
|
// EXTERNAL MODULE: ./packages/ecwplus/WorkflowDesigner/src/scripts/common.js
|
|
252610
252593
|
var common = __webpack_require__(12885);
|
|
252611
|
-
// EXTERNAL MODULE: ./packages/ecwplus/WorkflowDesigner/src/scripts/globalStyle.js
|
|
252612
|
-
var globalStyle = __webpack_require__(93782);
|
|
252613
252594
|
// EXTERNAL MODULE: ./packages/ecwplus/WorkflowDesigner/src/scripts/model_data.js
|
|
252614
252595
|
var model_data = __webpack_require__(64310);
|
|
252615
252596
|
;// 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/Center/index.vue?vue&type=script&lang=js
|
|
@@ -252625,6 +252606,9 @@ function Centervue_type_script_lang_js_objectSpread(e) { for (var r = 1; r < arg
|
|
|
252625
252606
|
function Centervue_type_script_lang_js_defineProperty(e, r, t) { return (r = Centervue_type_script_lang_js_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
252626
252607
|
function Centervue_type_script_lang_js_toPropertyKey(t) { var i = Centervue_type_script_lang_js_toPrimitive(t, "string"); return "symbol" == Centervue_type_script_lang_js_typeof(i) ? i : i + ""; }
|
|
252627
252608
|
function Centervue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Centervue_type_script_lang_js_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != Centervue_type_script_lang_js_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
252609
|
+
function Centervue_type_script_lang_js_regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ Centervue_type_script_lang_js_regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == Centervue_type_script_lang_js_typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(Centervue_type_script_lang_js_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, catch: function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
|
|
252610
|
+
function Centervue_type_script_lang_js_asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
|
|
252611
|
+
function Centervue_type_script_lang_js_asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { Centervue_type_script_lang_js_asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { Centervue_type_script_lang_js_asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
|
|
252628
252612
|
|
|
252629
252613
|
__webpack_require__(41758);
|
|
252630
252614
|
__webpack_require__(79914);
|
|
@@ -252643,7 +252627,37 @@ var _require5 = __webpack_require__(61154),
|
|
|
252643
252627
|
dragLine = _require5.dragLine;
|
|
252644
252628
|
var _require6 = __webpack_require__(61154),
|
|
252645
252629
|
dragAddNode = _require6.dragAddNode;
|
|
252646
|
-
|
|
252630
|
+
// 按需加载 globalStyle 模块
|
|
252631
|
+
var hollowCircle, createPathLine, createConnect;
|
|
252632
|
+
var loadGlobalStyle = /*#__PURE__*/function () {
|
|
252633
|
+
var _ref = Centervue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/Centervue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
|
|
252634
|
+
var module;
|
|
252635
|
+
return Centervue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
252636
|
+
while (1) switch (_context.prev = _context.next) {
|
|
252637
|
+
case 0:
|
|
252638
|
+
Centervue_type_script_lang_js_jsPlumb.importDefaults({
|
|
252639
|
+
PaintStyle: {
|
|
252640
|
+
lineWidth: 8,
|
|
252641
|
+
stroke: '#00ff54'
|
|
252642
|
+
}
|
|
252643
|
+
});
|
|
252644
|
+
_context.next = 3;
|
|
252645
|
+
return Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__, 93782));
|
|
252646
|
+
case 3:
|
|
252647
|
+
module = _context.sent;
|
|
252648
|
+
hollowCircle = module.hollowCircle;
|
|
252649
|
+
createPathLine = module.createPathLine;
|
|
252650
|
+
createConnect = module.createConnect;
|
|
252651
|
+
case 7:
|
|
252652
|
+
case "end":
|
|
252653
|
+
return _context.stop();
|
|
252654
|
+
}
|
|
252655
|
+
}, _callee);
|
|
252656
|
+
}));
|
|
252657
|
+
return function loadGlobalStyle() {
|
|
252658
|
+
return _ref.apply(this, arguments);
|
|
252659
|
+
};
|
|
252660
|
+
}();
|
|
252647
252661
|
var _require7 = __webpack_require__(92399),
|
|
252648
252662
|
startMove = _require7.startMove;
|
|
252649
252663
|
var _require8 = __webpack_require__(92399),
|
|
@@ -252782,20 +252796,34 @@ var _require21 = __webpack_require__(53978),
|
|
|
252782
252796
|
}
|
|
252783
252797
|
},
|
|
252784
252798
|
created: function created() {
|
|
252785
|
-
|
|
252786
|
-
|
|
252787
|
-
|
|
252788
|
-
|
|
252789
|
-
|
|
252790
|
-
|
|
252791
|
-
|
|
252792
|
-
|
|
252793
|
-
|
|
252794
|
-
|
|
252795
|
-
|
|
252796
|
-
|
|
252797
|
-
|
|
252798
|
-
|
|
252799
|
+
var _this2 = this;
|
|
252800
|
+
return Centervue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/Centervue_type_script_lang_js_regeneratorRuntime().mark(function _callee2() {
|
|
252801
|
+
return Centervue_type_script_lang_js_regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
252802
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
252803
|
+
case 0:
|
|
252804
|
+
_context2.next = 2;
|
|
252805
|
+
return loadGlobalStyle();
|
|
252806
|
+
case 2:
|
|
252807
|
+
ecinc_process.initProcess(_this2);
|
|
252808
|
+
_this2.$bus.on('closeWorkflow', _this2.closeWorkflow);
|
|
252809
|
+
_this2.$bus.on('saveWorkflow', _this2.saveWorkflow);
|
|
252810
|
+
_this2.$bus.on('labelChange', _this2.labelChange); // 修改路径名称
|
|
252811
|
+
_this2.$bus.on('bindName', _this2.bindName);
|
|
252812
|
+
_this2.$bus.on('changeNodeType', _this2.changeNodeType);
|
|
252813
|
+
_this2.$bus.on('saveIdeaLable', _this2.saveIdeaLable);
|
|
252814
|
+
_this2.$bus.on('nodeFieldValueFn', _this2.nodeFieldValueFn);
|
|
252815
|
+
_this2.$bus.on('onSelectSuborgCompleted', _this2.onSelectSuborgCompleted);
|
|
252816
|
+
_this2.$bus.on('onSelectStaffCompleted', _this2.onSelectStaffCompleted);
|
|
252817
|
+
_this2.$bus.on('onSelectWorkgroupCompleted', _this2.onSelectWorkgroupCompleted);
|
|
252818
|
+
_this2.$bus.on('onSelectJobPositionCompleted', _this2.onSelectJobPositionCompleted);
|
|
252819
|
+
_this2.$bus.on('onSelectListpageRowCompleted', _this2.onSelectListpageRowCompleted);
|
|
252820
|
+
_this2.$bus.on('watchLine', _this2.watchLine);
|
|
252821
|
+
case 16:
|
|
252822
|
+
case "end":
|
|
252823
|
+
return _context2.stop();
|
|
252824
|
+
}
|
|
252825
|
+
}, _callee2);
|
|
252826
|
+
}))();
|
|
252799
252827
|
},
|
|
252800
252828
|
beforeDestroy: function beforeDestroy() {
|
|
252801
252829
|
Centervue_type_script_lang_js_jsPlumb.destroy();
|
|
@@ -252814,22 +252842,22 @@ var _require21 = __webpack_require__(53978),
|
|
|
252814
252842
|
this.$bus.off('watchLine', this.watchLine);
|
|
252815
252843
|
},
|
|
252816
252844
|
mounted: function mounted() {
|
|
252817
|
-
var
|
|
252845
|
+
var _this3 = this;
|
|
252818
252846
|
jquery_default()(function () {
|
|
252819
|
-
if (
|
|
252820
|
-
|
|
252847
|
+
if (_this3.$route.path.indexOf('/designer/workflow') !== -1) {
|
|
252848
|
+
_this3.initWfDesigner();
|
|
252821
252849
|
}
|
|
252822
252850
|
});
|
|
252823
252851
|
},
|
|
252824
252852
|
methods: {
|
|
252825
252853
|
initWfDesigner: function initWfDesigner() {
|
|
252826
|
-
var
|
|
252854
|
+
var _this4 = this;
|
|
252827
252855
|
Centervue_type_script_lang_js_jsPlumb.importDefaults({
|
|
252828
252856
|
ReattachConnections: true
|
|
252829
252857
|
});
|
|
252830
252858
|
Centervue_type_script_lang_js_jsPlumb.connectorClass += ' line_path';
|
|
252831
252859
|
this.dragLineObj.init = function (connection, thisConnect) {
|
|
252832
|
-
dragLine(
|
|
252860
|
+
dragLine(_this4, connection, thisConnect);
|
|
252833
252861
|
};
|
|
252834
252862
|
// 区域选择
|
|
252835
252863
|
var oRegionSelect = new RegionSelect({
|
|
@@ -252869,10 +252897,10 @@ var _require21 = __webpack_require__(53978),
|
|
|
252869
252897
|
drag: function drag(event, ui) {
|
|
252870
252898
|
//临时保存当前正在拖拽的新节点
|
|
252871
252899
|
var modelType = jquery_default()(ui.helper[0]).attr('associated');
|
|
252872
|
-
if (modelType !== 'start' && modelType !== 'jsrw' && modelType !== 'jslc' && modelType !== 'parentWf')
|
|
252900
|
+
if (modelType !== 'start' && modelType !== 'jsrw' && modelType !== 'jslc' && modelType !== 'parentWf') _this4.dragNodeUI = ui;
|
|
252873
252901
|
},
|
|
252874
252902
|
stop: function stop(event, ui) {
|
|
252875
|
-
delete
|
|
252903
|
+
delete _this4.dragNodeUI;
|
|
252876
252904
|
}
|
|
252877
252905
|
});
|
|
252878
252906
|
ecinc_process.init();
|
|
@@ -252899,24 +252927,24 @@ var _require21 = __webpack_require__(53978),
|
|
|
252899
252927
|
}
|
|
252900
252928
|
var _this = this;
|
|
252901
252929
|
this.$http(reqParams).then(function (response) {
|
|
252902
|
-
|
|
252903
|
-
|
|
252904
|
-
|
|
252905
|
-
if (
|
|
252906
|
-
|
|
252930
|
+
_this4.wflow = response.body.vo;
|
|
252931
|
+
_this4.id = _this4.wflow.process.id;
|
|
252932
|
+
_this4.process = response.body.vo.process;
|
|
252933
|
+
if (_this4.process.orgCode) {
|
|
252934
|
+
_this4.queryHoliday();
|
|
252907
252935
|
}
|
|
252908
252936
|
if (reqParams.url === 'workflow/wfdProcessMgr/addNew') {
|
|
252909
|
-
ecinc_process.initProcess(
|
|
252937
|
+
ecinc_process.initProcess(_this4);
|
|
252910
252938
|
if (response.body.udmConfig && response.body.udmConfig.indexOf('udmNodes') !== -1) {
|
|
252911
|
-
ecinc_process.setUdmChartdata(
|
|
252939
|
+
ecinc_process.setUdmChartdata(_this4, response.body.udmConfig);
|
|
252912
252940
|
} else {
|
|
252913
|
-
ecinc_process.setNewChartdata(
|
|
252941
|
+
ecinc_process.setNewChartdata(_this4);
|
|
252914
252942
|
}
|
|
252915
252943
|
}
|
|
252916
|
-
if (
|
|
252944
|
+
if (_this4.wflow.oneGroupCorp) {
|
|
252917
252945
|
// 机构选择对话框,使用ocode、nName属性
|
|
252918
|
-
|
|
252919
|
-
|
|
252946
|
+
_this4.wflow.groupOrgans = [];
|
|
252947
|
+
_this4.wflow.groupOrgans.push({
|
|
252920
252948
|
id: '0',
|
|
252921
252949
|
fullID: '0',
|
|
252922
252950
|
parentId: -1,
|
|
@@ -252926,7 +252954,7 @@ var _require21 = __webpack_require__(53978),
|
|
|
252926
252954
|
nLevel: 1,
|
|
252927
252955
|
passenger: {}
|
|
252928
252956
|
});
|
|
252929
|
-
|
|
252957
|
+
_this4.wflow.groupOrgans.push({
|
|
252930
252958
|
id: '1',
|
|
252931
252959
|
fullID: '0-1',
|
|
252932
252960
|
parentId: '0',
|
|
@@ -252936,7 +252964,7 @@ var _require21 = __webpack_require__(53978),
|
|
|
252936
252964
|
nLevel: 2,
|
|
252937
252965
|
passenger: {}
|
|
252938
252966
|
});
|
|
252939
|
-
|
|
252967
|
+
_this4.wflow.groupOrgans.push({
|
|
252940
252968
|
id: '2',
|
|
252941
252969
|
fullID: '0-2',
|
|
252942
252970
|
parentId: '0',
|
|
@@ -252946,7 +252974,7 @@ var _require21 = __webpack_require__(53978),
|
|
|
252946
252974
|
nLevel: 2,
|
|
252947
252975
|
passenger: {}
|
|
252948
252976
|
});
|
|
252949
|
-
|
|
252977
|
+
_this4.wflow.groupOrgans.push({
|
|
252950
252978
|
id: '3',
|
|
252951
252979
|
fullID: '0-3',
|
|
252952
252980
|
parentId: '0',
|
|
@@ -252956,7 +252984,7 @@ var _require21 = __webpack_require__(53978),
|
|
|
252956
252984
|
nLevel: 2,
|
|
252957
252985
|
passenger: {}
|
|
252958
252986
|
});
|
|
252959
|
-
|
|
252987
|
+
_this4.wflow.groupOrgans.push({
|
|
252960
252988
|
id: '4',
|
|
252961
252989
|
fullID: '0-4',
|
|
252962
252990
|
parentId: '0',
|
|
@@ -252966,7 +252994,7 @@ var _require21 = __webpack_require__(53978),
|
|
|
252966
252994
|
nLevel: 2,
|
|
252967
252995
|
passenger: {}
|
|
252968
252996
|
});
|
|
252969
|
-
|
|
252997
|
+
_this4.wflow.groupOrgans.push({
|
|
252970
252998
|
id: '5',
|
|
252971
252999
|
fullID: '0-5',
|
|
252972
253000
|
parentId: '0',
|
|
@@ -252976,7 +253004,7 @@ var _require21 = __webpack_require__(53978),
|
|
|
252976
253004
|
nLevel: 2,
|
|
252977
253005
|
passenger: {}
|
|
252978
253006
|
});
|
|
252979
|
-
|
|
253007
|
+
_this4.wflow.groupOrgans.push({
|
|
252980
253008
|
id: '6',
|
|
252981
253009
|
fullID: '0-6',
|
|
252982
253010
|
parentId: '0',
|
|
@@ -252986,7 +253014,7 @@ var _require21 = __webpack_require__(53978),
|
|
|
252986
253014
|
nLevel: 2,
|
|
252987
253015
|
passenger: {}
|
|
252988
253016
|
});
|
|
252989
|
-
|
|
253017
|
+
_this4.wflow.groupOrgans.push({
|
|
252990
253018
|
id: '7',
|
|
252991
253019
|
fullID: '0-7',
|
|
252992
253020
|
parentId: '0',
|
|
@@ -252996,7 +253024,7 @@ var _require21 = __webpack_require__(53978),
|
|
|
252996
253024
|
nLevel: 2,
|
|
252997
253025
|
passenger: {}
|
|
252998
253026
|
});
|
|
252999
|
-
|
|
253027
|
+
_this4.wflow.groupOrgans.push({
|
|
253000
253028
|
id: '8',
|
|
253001
253029
|
fullID: '0-8',
|
|
253002
253030
|
parentId: '0',
|
|
@@ -253006,7 +253034,7 @@ var _require21 = __webpack_require__(53978),
|
|
|
253006
253034
|
nLevel: 2,
|
|
253007
253035
|
passenger: {}
|
|
253008
253036
|
});
|
|
253009
|
-
|
|
253037
|
+
_this4.$http({
|
|
253010
253038
|
method: 'GET',
|
|
253011
253039
|
url: 'base/organMgr/findTreeNodeVOListByNodeId',
|
|
253012
253040
|
// 加载目录树节点(TreeNode、Oragnization两类对象)url
|
|
@@ -253015,62 +253043,62 @@ var _require21 = __webpack_require__(53978),
|
|
|
253015
253043
|
} // 查询条件
|
|
253016
253044
|
}).then(function (res) {
|
|
253017
253045
|
if (res.code === 'success') {
|
|
253018
|
-
var
|
|
253019
|
-
(
|
|
253046
|
+
var _this4$wflow$groupOrg;
|
|
253047
|
+
(_this4$wflow$groupOrg = _this4.wflow.groupOrgans).push.apply(_this4$wflow$groupOrg, Centervue_type_script_lang_js_toConsumableArray(res.body.listdata));
|
|
253020
253048
|
}
|
|
253021
253049
|
});
|
|
253022
|
-
} else if (
|
|
253050
|
+
} else if (_this4.wflow.groupOrgans && _this4.wflow.groupOrgans.length > 1) {
|
|
253023
253051
|
// 下拉列表,使用code、name属性
|
|
253024
|
-
|
|
253052
|
+
_this4.wflow.groupOrgans.push({
|
|
253025
253053
|
code: 'group_cur_corp',
|
|
253026
253054
|
name: '当前用户所在单位(公司)'
|
|
253027
253055
|
});
|
|
253028
|
-
|
|
253056
|
+
_this4.wflow.groupOrgans.push({
|
|
253029
253057
|
code: 'group_drf_corp',
|
|
253030
253058
|
name: '拟稿用户所在单位(公司)'
|
|
253031
253059
|
});
|
|
253032
|
-
|
|
253060
|
+
_this4.wflow.groupOrgans.push({
|
|
253033
253061
|
code: 'group_his_corp',
|
|
253034
253062
|
name: '历史节点用户单位(公司)'
|
|
253035
253063
|
});
|
|
253036
|
-
|
|
253064
|
+
_this4.wflow.groupOrgans.push({
|
|
253037
253065
|
code: 'group_units_corp',
|
|
253038
253066
|
name: '当前用户兼职单位(公司)'
|
|
253039
253067
|
});
|
|
253040
|
-
|
|
253068
|
+
_this4.wflow.groupOrgans.push({
|
|
253041
253069
|
code: 'group_drf_units_corp',
|
|
253042
253070
|
name: '拟稿用户兼职单位(公司)'
|
|
253043
253071
|
});
|
|
253044
|
-
|
|
253072
|
+
_this4.wflow.groupOrgans.push({
|
|
253045
253073
|
code: 'group_manage_corp',
|
|
253046
253074
|
name: '当前用户分管单位(公司)'
|
|
253047
253075
|
});
|
|
253048
|
-
|
|
253076
|
+
_this4.wflow.groupOrgans.push({
|
|
253049
253077
|
code: 'group_drf_manage_corp',
|
|
253050
253078
|
name: '拟稿用户分管单位(公司)'
|
|
253051
253079
|
});
|
|
253052
|
-
|
|
253080
|
+
_this4.wflow.groupOrgans.push({
|
|
253053
253081
|
code: 'group_all_corp',
|
|
253054
253082
|
name: '不限制(集团各单位)'
|
|
253055
253083
|
});
|
|
253056
253084
|
} else {
|
|
253057
|
-
|
|
253058
|
-
node.selectOrg =
|
|
253059
|
-
node.selectOrgName =
|
|
253060
|
-
node.selectOrgAdd =
|
|
253061
|
-
node.selectOrgNameAdd =
|
|
253085
|
+
_this4.wflow.nodes.forEach(function (node) {
|
|
253086
|
+
node.selectOrg = _this4.wflow.process.orgCode;
|
|
253087
|
+
node.selectOrgName = _this4.wflow.process.orgName;
|
|
253088
|
+
node.selectOrgAdd = _this4.wflow.process.orgCode;
|
|
253089
|
+
node.selectOrgNameAdd = _this4.wflow.process.orgName;
|
|
253062
253090
|
});
|
|
253063
253091
|
}
|
|
253064
|
-
if (
|
|
253065
|
-
|
|
253066
|
-
for (var o = 0; o <
|
|
253067
|
-
|
|
253092
|
+
if (_this4.wflow.nodes.length > 0) {
|
|
253093
|
+
_this4.ideaLabels = _this4.wflow.ideaLabels;
|
|
253094
|
+
for (var o = 0; o < _this4.wflow.paths.length; o++) {
|
|
253095
|
+
_this4.pathObj.push(_this4.wflow.paths[o]);
|
|
253068
253096
|
}
|
|
253069
|
-
|
|
253070
|
-
|
|
253097
|
+
_this4.wflow.paths.length = 0;
|
|
253098
|
+
_this4.emitData();
|
|
253071
253099
|
var chartData = JSON.parse(response.body.vo.process.chartData);
|
|
253072
253100
|
var connectsArr = chartData.connects;
|
|
253073
|
-
|
|
253101
|
+
_this4.connectsArr = connectsArr;
|
|
253074
253102
|
var domHtmlArr = chartData.domHtml;
|
|
253075
253103
|
var nodeIdArr = [];
|
|
253076
253104
|
for (var i = 0; i < domHtmlArr.length; i++) {
|
|
@@ -253081,23 +253109,23 @@ var _require21 = __webpack_require__(53978),
|
|
|
253081
253109
|
jquery_default()('.process').removeClass('secJ');
|
|
253082
253110
|
jquery_default()('.process').each(function (index, elem) {
|
|
253083
253111
|
nodeIdArr.push(jquery_default()(elem).attr('id'));
|
|
253084
|
-
nodeEvents(jquery_default()(elem).attr('id'),
|
|
253112
|
+
nodeEvents(jquery_default()(elem).attr('id'), _this4.wflow, _this4);
|
|
253085
253113
|
if (jquery_default()(elem).hasClass('childWf')) {
|
|
253086
|
-
jquery_default()(elem).find('img').attr('src',
|
|
253114
|
+
jquery_default()(elem).find('img').attr('src', _this4.zlc);
|
|
253087
253115
|
} else if (jquery_default()(elem).hasClass('parentWf')) {
|
|
253088
|
-
jquery_default()(elem).find('img').attr('src',
|
|
253116
|
+
jquery_default()(elem).find('img').attr('src', _this4.plc);
|
|
253089
253117
|
} else if (jquery_default()(elem).hasClass('ptjd')) {
|
|
253090
|
-
jquery_default()(elem).find('img').attr('src',
|
|
253118
|
+
jquery_default()(elem).find('img').attr('src', _this4.ptjd);
|
|
253091
253119
|
} else if (jquery_default()(elem).hasClass('jzjd')) {
|
|
253092
|
-
jquery_default()(elem).find('img').attr('src',
|
|
253120
|
+
jquery_default()(elem).find('img').attr('src', _this4.jzjd);
|
|
253093
253121
|
} else if (jquery_default()(elem).hasClass('drbx')) {
|
|
253094
|
-
jquery_default()(elem).find('img').attr('src',
|
|
253122
|
+
jquery_default()(elem).find('img').attr('src', _this4.drbx);
|
|
253095
253123
|
} else if (jquery_default()(elem).hasClass('drcx')) {
|
|
253096
|
-
jquery_default()(elem).find('img').attr('src',
|
|
253124
|
+
jquery_default()(elem).find('img').attr('src', _this4.drcx);
|
|
253097
253125
|
} else if (jquery_default()(elem).hasClass('hqjd')) {
|
|
253098
|
-
jquery_default()(elem).find('img').attr('src',
|
|
253126
|
+
jquery_default()(elem).find('img').attr('src', _this4.hqjd);
|
|
253099
253127
|
} else if (jquery_default()(elem).hasClass('ywjd')) {
|
|
253100
|
-
jquery_default()(elem).find('img').attr('src',
|
|
253128
|
+
jquery_default()(elem).find('img').attr('src', _this4.ywjd);
|
|
253101
253129
|
}
|
|
253102
253130
|
var ui = {
|
|
253103
253131
|
position: {
|
|
@@ -253114,37 +253142,37 @@ var _require21 = __webpack_require__(53978),
|
|
|
253114
253142
|
Centervue_type_script_lang_js_jsPlumb.addEndpoint(nodeIdArr[u], {
|
|
253115
253143
|
anchors: [0.5, 1, 0, 1],
|
|
253116
253144
|
uuid: jsPlumbUtil.uuid()
|
|
253117
|
-
},
|
|
253145
|
+
}, hollowCircle);
|
|
253118
253146
|
model.start++;
|
|
253119
253147
|
} else {
|
|
253120
253148
|
Centervue_type_script_lang_js_jsPlumb.addEndpoint(nodeIdArr[u], {
|
|
253121
253149
|
anchors: [1, 0.5, 1, 0],
|
|
253122
253150
|
uuid: jsPlumbUtil.uuid()
|
|
253123
|
-
},
|
|
253151
|
+
}, hollowCircle);
|
|
253124
253152
|
Centervue_type_script_lang_js_jsPlumb.addEndpoint(nodeIdArr[u], {
|
|
253125
253153
|
anchors: [0, 0.5, -1, 0],
|
|
253126
253154
|
uuid: jsPlumbUtil.uuid()
|
|
253127
|
-
},
|
|
253155
|
+
}, hollowCircle);
|
|
253128
253156
|
Centervue_type_script_lang_js_jsPlumb.addEndpoint(nodeIdArr[u], {
|
|
253129
253157
|
anchors: [0.5, 0, 0, -1],
|
|
253130
253158
|
uuid: jsPlumbUtil.uuid()
|
|
253131
|
-
},
|
|
253159
|
+
}, hollowCircle);
|
|
253132
253160
|
Centervue_type_script_lang_js_jsPlumb.addEndpoint(nodeIdArr[u], {
|
|
253133
253161
|
anchors: [0.5, 1, 0, 1],
|
|
253134
253162
|
uuid: jsPlumbUtil.uuid()
|
|
253135
|
-
},
|
|
253163
|
+
}, hollowCircle);
|
|
253136
253164
|
}
|
|
253137
253165
|
}
|
|
253138
253166
|
|
|
253139
253167
|
//节点连接线
|
|
253140
|
-
|
|
253168
|
+
createPathLine(_this4.connectsArr);
|
|
253141
253169
|
setTimeout(function () {
|
|
253142
|
-
if (
|
|
253170
|
+
if (_this4.wflow.wfdEvents) {
|
|
253143
253171
|
var allConnections = Centervue_type_script_lang_js_jsPlumb.getAllConnections();
|
|
253144
|
-
|
|
253172
|
+
_this4.wflow.wfdEvents.forEach(function (evt) {
|
|
253145
253173
|
allConnections.forEach(function (conn) {
|
|
253146
253174
|
if (evt.pathId === conn.id) {
|
|
253147
|
-
|
|
253175
|
+
_this4.wflow.paths.forEach(function (path) {
|
|
253148
253176
|
if (evt.pathId === path.id) {
|
|
253149
253177
|
conn.setLabel({
|
|
253150
253178
|
label: path.name + '(E)',
|
|
@@ -253177,8 +253205,8 @@ var _require21 = __webpack_require__(53978),
|
|
|
253177
253205
|
drag: function drag(event, ui) {
|
|
253178
253206
|
var uiid = event.target.id;
|
|
253179
253207
|
MoveSelectDiv(event, ui, uiid);
|
|
253180
|
-
|
|
253181
|
-
|
|
253208
|
+
_this4.ComparePath();
|
|
253209
|
+
_this4.isDomChange = true; // 如果dom移动
|
|
253182
253210
|
Centervue_type_script_lang_js_jsPlumb.repaintEverything();
|
|
253183
253211
|
},
|
|
253184
253212
|
stop: function stop(event, ui) {
|
|
@@ -253192,7 +253220,7 @@ var _require21 = __webpack_require__(53978),
|
|
|
253192
253220
|
jquery_default()('.process').bind('click', function (el) {
|
|
253193
253221
|
jquery_default()('.process').removeClass('seled');
|
|
253194
253222
|
jquery_default()(el.currentTarget).addClass('seled');
|
|
253195
|
-
|
|
253223
|
+
_this4.getHistroyNodes();
|
|
253196
253224
|
var curId = jquery_default()(el.currentTarget).attr('id');
|
|
253197
253225
|
for (var j = 0; j < _this.wflow.nodes.length; j++) {
|
|
253198
253226
|
if (curId === _this.wflow.nodes[j].id) {
|
|
@@ -253222,24 +253250,24 @@ var _require21 = __webpack_require__(53978),
|
|
|
253222
253250
|
}
|
|
253223
253251
|
}
|
|
253224
253252
|
_this.curNodeOperationArr = [];
|
|
253225
|
-
for (var t = 0; t <
|
|
253226
|
-
if (
|
|
253227
|
-
|
|
253253
|
+
for (var t = 0; t < _this4.wflow.operations.length; t++) {
|
|
253254
|
+
if (_this4.wflow.operations[t].nodeId === curId) {
|
|
253255
|
+
_this4.curNodeOperationArr.push(_this4.wflow.operations[t]);
|
|
253228
253256
|
}
|
|
253229
253257
|
}
|
|
253230
253258
|
|
|
253231
253259
|
// 获取环节指定机构、指定群组、指定岗位、指定处理人
|
|
253232
|
-
|
|
253260
|
+
_this4.getNodeSpecialData(curId);
|
|
253233
253261
|
|
|
253234
253262
|
// 获取需要等待的环节
|
|
253235
|
-
|
|
253236
|
-
|
|
253263
|
+
_this4.getWaitNode();
|
|
253264
|
+
_this4.emitData();
|
|
253237
253265
|
});
|
|
253238
253266
|
|
|
253239
253267
|
// 绑定双击给元素动态添加锚点事件
|
|
253240
|
-
|
|
253241
|
-
if (
|
|
253242
|
-
var desc =
|
|
253268
|
+
_this4.AddAnchor();
|
|
253269
|
+
if (_this4.process.description) {
|
|
253270
|
+
var desc = _this4.process.description;
|
|
253243
253271
|
var containerHeight = 180;
|
|
253244
253272
|
var containerLeft = null;
|
|
253245
253273
|
var containerTop = null;
|
|
@@ -253251,15 +253279,15 @@ var _require21 = __webpack_require__(53978),
|
|
|
253251
253279
|
showProcessDesc(desc, containerHeight, containerLeft, containerTop);
|
|
253252
253280
|
}
|
|
253253
253281
|
} else {
|
|
253254
|
-
|
|
253282
|
+
_this4.emitData();
|
|
253255
253283
|
}
|
|
253256
253284
|
var startNode = document.querySelector('.center-container').querySelector('.start');
|
|
253257
253285
|
if (startNode) jquery_default()(startNode).click();
|
|
253258
253286
|
setTimeout(function () {
|
|
253259
|
-
|
|
253287
|
+
_this4.oldWflow = JSON.parse(JSON.stringify(_this4.wflow));
|
|
253260
253288
|
}, 1000);
|
|
253261
253289
|
}, function (error) {
|
|
253262
|
-
|
|
253290
|
+
_this4.$message.error(error);
|
|
253263
253291
|
});
|
|
253264
253292
|
|
|
253265
253293
|
/** *************************************路径数据******************************************/
|
|
@@ -253276,24 +253304,24 @@ var _require21 = __webpack_require__(53978),
|
|
|
253276
253304
|
fillStyle: '#438eb9',
|
|
253277
253305
|
radius: 5
|
|
253278
253306
|
});
|
|
253279
|
-
|
|
253280
|
-
|
|
253281
|
-
|
|
253307
|
+
_this4.dragPath(info);
|
|
253308
|
+
_this4.ComparePath();
|
|
253309
|
+
_this4.emitData();
|
|
253282
253310
|
return false;
|
|
253283
253311
|
});
|
|
253284
253312
|
Centervue_type_script_lang_js_jsPlumb.bind('mousedown', function (connection, originalEvent) {
|
|
253285
253313
|
var thisConnect = {};
|
|
253286
|
-
var len =
|
|
253314
|
+
var len = _this4.connectsArr.length;
|
|
253287
253315
|
for (var i = 0; i < len; i++) {
|
|
253288
|
-
if (connection.id ===
|
|
253289
|
-
thisConnect =
|
|
253316
|
+
if (connection.id === _this4.connectsArr[i].ConnectionId) {
|
|
253317
|
+
thisConnect = _this4.connectsArr[i];
|
|
253290
253318
|
break;
|
|
253291
253319
|
}
|
|
253292
253320
|
}
|
|
253293
|
-
|
|
253321
|
+
_this4.clickPath(connection); //, 此事件会跟click事件冲突,可以把事件函数放在这里执行
|
|
253294
253322
|
// 设置路径颜色
|
|
253295
|
-
|
|
253296
|
-
|
|
253323
|
+
_this4.dragLineObj.init(connection, thisConnect);
|
|
253324
|
+
_this4.emitData();
|
|
253297
253325
|
// $scope.$apply();
|
|
253298
253326
|
return false;
|
|
253299
253327
|
});
|
|
@@ -253344,11 +253372,11 @@ var _require21 = __webpack_require__(53978),
|
|
|
253344
253372
|
}
|
|
253345
253373
|
});
|
|
253346
253374
|
if (showDesc) {
|
|
253347
|
-
var desc =
|
|
253375
|
+
var desc = _this4.process.description;
|
|
253348
253376
|
var containerHeight = 180;
|
|
253349
253377
|
var containerLeft = event.offsetX;
|
|
253350
253378
|
var containerTop = event.offsetY;
|
|
253351
|
-
var chartData = JSON.parse(
|
|
253379
|
+
var chartData = JSON.parse(_this4.process.chartData);
|
|
253352
253380
|
if (chartData.descDiv) {
|
|
253353
253381
|
containerHeight = chartData.descDiv.height;
|
|
253354
253382
|
containerLeft = chartData.descDiv.left;
|
|
@@ -253364,17 +253392,17 @@ var _require21 = __webpack_require__(53978),
|
|
|
253364
253392
|
//显示“添加新节点”按钮
|
|
253365
253393
|
var source = jquery_default()(conn.element);
|
|
253366
253394
|
if (!source.hasClass('jslc') && !source.hasClass('jsrw') && !source.hasClass('parentWf')) {
|
|
253367
|
-
showAddNodeBtn(
|
|
253395
|
+
showAddNodeBtn(_this4, conn, target, originalEvent);
|
|
253368
253396
|
}
|
|
253369
253397
|
} else if (target.tagName === 'path') {
|
|
253370
253398
|
//左侧工具栏面板拖拽新节点到连线
|
|
253371
|
-
if (
|
|
253399
|
+
if (_this4.dragNodeUI) {
|
|
253372
253400
|
//添加可拆分连线标识
|
|
253373
253401
|
jquery_default()(target).addClass('scissors-line');
|
|
253374
253402
|
target.conn = conn;
|
|
253375
253403
|
|
|
253376
253404
|
//显示“插入新节点”提示
|
|
253377
|
-
var insertNode =
|
|
253405
|
+
var insertNode = _this4.dragNodeUI.helper[0].childNodes[0];
|
|
253378
253406
|
jquery_default()(insertNode).addClass('insert-node');
|
|
253379
253407
|
jquery_default()('.insert-node-btn').css({
|
|
253380
253408
|
left: originalEvent.x,
|
|
@@ -253423,7 +253451,7 @@ var _require21 = __webpack_require__(53978),
|
|
|
253423
253451
|
aConn[i].endpoints[0]._jsPlumb.maxConnections = -1;
|
|
253424
253452
|
aConn[i].endpoints[1]._jsPlumb.maxConnections = -1;
|
|
253425
253453
|
}
|
|
253426
|
-
|
|
253454
|
+
_this4.ComparePath();
|
|
253427
253455
|
if (window.getSelection) {
|
|
253428
253456
|
window.getSelection().removeAllRanges();
|
|
253429
253457
|
}
|
|
@@ -253452,7 +253480,7 @@ var _require21 = __webpack_require__(53978),
|
|
|
253452
253480
|
// 删除连线时,获取连线的id,循环所有nextNodes的pathId,如果是删除的连线id,删除nextNode
|
|
253453
253481
|
var deleteConnId = conn.id;
|
|
253454
253482
|
var nextnode = jquery_default()(conn.target);
|
|
253455
|
-
var _this =
|
|
253483
|
+
var _this = _this4;
|
|
253456
253484
|
|
|
253457
253485
|
// 当两个决策节点或者聚合节点删除连接线时,判断第二个节点是否还有其他的连接线,如果没有删除类标记
|
|
253458
253486
|
if ((nextnode.hasClass('jcjd') || nextnode.hasClass('jhjd')) && nextnode.hasClass('lastJ')) {
|
|
@@ -253468,34 +253496,34 @@ var _require21 = __webpack_require__(53978),
|
|
|
253468
253496
|
nextnode.removeClass('lastJ');
|
|
253469
253497
|
}
|
|
253470
253498
|
}
|
|
253471
|
-
for (var _i2 = 0; _i2 <
|
|
253499
|
+
for (var _i2 = 0; _i2 < _this4.wflow.nextNodes.length; _i2++) {
|
|
253472
253500
|
if (_this.wflow.nextNodes[_i2].pathId === deleteConnId) {
|
|
253473
253501
|
_this.wflow.nextNodes.splice(_i2--, 1);
|
|
253474
253502
|
}
|
|
253475
253503
|
}
|
|
253476
|
-
for (var _i3 = 0; _i3 <
|
|
253504
|
+
for (var _i3 = 0; _i3 < _this4.wflow.pathFieldValues.length; _i3++) {
|
|
253477
253505
|
if (_this.wflow.pathFieldValues[_i3].pathId === deleteConnId) {
|
|
253478
253506
|
_this.wflow.pathFieldValues.splice(_i3--, 1);
|
|
253479
253507
|
}
|
|
253480
253508
|
}
|
|
253481
|
-
for (var _i4 = 0; _i4 <
|
|
253509
|
+
for (var _i4 = 0; _i4 < _this4.wflow.paths.length; _i4++) {
|
|
253482
253510
|
if (conn.id === _this.wflow.paths[_i4].id) {
|
|
253483
253511
|
_this.wflow.paths.splice(_i4--, 1);
|
|
253484
253512
|
}
|
|
253485
253513
|
}
|
|
253486
|
-
if (
|
|
253514
|
+
if (_this4.wflow.wfdEvents) {
|
|
253487
253515
|
//删除路径关联的事件
|
|
253488
|
-
for (var k = 0; k <
|
|
253489
|
-
if (
|
|
253490
|
-
if (
|
|
253516
|
+
for (var k = 0; k < _this4.wflow.wfdEvents.length; k++) {
|
|
253517
|
+
if (_this4.wflow.wfdEvents[k].pathId === deleteConnId) {
|
|
253518
|
+
if (_this4.wflow.wfdEvents[k].isPublic === 1) {
|
|
253491
253519
|
//流程公共事件,直接从列表中删除
|
|
253492
|
-
|
|
253493
|
-
} else if (
|
|
253520
|
+
_this4.wflow.wfdEvents.splice(k--, 1);
|
|
253521
|
+
} else if (_this4.wflow.wfdEvents[k].isPublic === 0 && !_this4.wflow.wfdEvents[k].isnew) {
|
|
253494
253522
|
//已经保存过的路径私有事件,设置pathId为空,后续可通过选择常用事件与其它路径重新关联
|
|
253495
|
-
|
|
253523
|
+
_this4.wflow.wfdEvents[k].pathId = '';
|
|
253496
253524
|
} else {
|
|
253497
253525
|
//未保存的路径私有事件,直接从列表中删除
|
|
253498
|
-
|
|
253526
|
+
_this4.wflow.wfdEvents.splice(k--, 1);
|
|
253499
253527
|
}
|
|
253500
253528
|
}
|
|
253501
253529
|
}
|
|
@@ -253512,15 +253540,15 @@ var _require21 = __webpack_require__(53978),
|
|
|
253512
253540
|
var firstEndpoints = [parseFloat(conn.endpoints[0].anchor.x), parseFloat(conn.endpoints[0].anchor.y), conn.endpoints[0].anchor.orientation[0], conn.endpoints[0].anchor.orientation[1]];
|
|
253513
253541
|
var secondEndpoints = [parseFloat(conn.endpoints[1].anchor.x), parseFloat(conn.endpoints[1].anchor.y), conn.endpoints[1].anchor.orientation[0], conn.endpoints[1].anchor.orientation[1]];
|
|
253514
253542
|
var anchors = [firstEndpoints, secondEndpoints];
|
|
253515
|
-
var label = conn.getLabel() ||
|
|
253543
|
+
var label = conn.getLabel() || _this4.curPath.name;
|
|
253516
253544
|
Centervue_type_script_lang_js_jsPlumb.deleteConnection(conn);
|
|
253517
|
-
for (var _i5 = 0; _i5 <
|
|
253518
|
-
if (conn.id ===
|
|
253519
|
-
|
|
253545
|
+
for (var _i5 = 0; _i5 < _this4.wflow.paths.length; _i5++) {
|
|
253546
|
+
if (conn.id === _this4.wflow.paths[_i5].id) {
|
|
253547
|
+
_this4.wflow.paths.splice(_i5--, 1);
|
|
253520
253548
|
}
|
|
253521
253549
|
}
|
|
253522
253550
|
conn.label = label;
|
|
253523
|
-
var a =
|
|
253551
|
+
var a = createConnect(conn, connector, anchors);
|
|
253524
253552
|
a.setLabel({
|
|
253525
253553
|
label: label || ' ',
|
|
253526
253554
|
cssClass: 'line_text',
|
|
@@ -253533,17 +253561,17 @@ var _require21 = __webpack_require__(53978),
|
|
|
253533
253561
|
var firstEndpoints = [parseFloat(conn.endpoints[0].anchor.x), parseFloat(conn.endpoints[0].anchor.y), conn.endpoints[0].anchor.orientation[0], conn.endpoints[0].anchor.orientation[1]];
|
|
253534
253562
|
var secondEndpoints = [parseFloat(conn.endpoints[1].anchor.x), parseFloat(conn.endpoints[1].anchor.y), conn.endpoints[1].anchor.orientation[0], conn.endpoints[1].anchor.orientation[1]];
|
|
253535
253563
|
var anchors = [firstEndpoints, secondEndpoints];
|
|
253536
|
-
var label = conn.getLabel() ||
|
|
253564
|
+
var label = conn.getLabel() || _this4.curPath.name;
|
|
253537
253565
|
Centervue_type_script_lang_js_jsPlumb.deleteConnection(conn);
|
|
253538
|
-
for (var _i6 = 0; _i6 <
|
|
253539
|
-
if (conn.id ===
|
|
253540
|
-
|
|
253566
|
+
for (var _i6 = 0; _i6 < _this4.wflow.paths.length; _i6++) {
|
|
253567
|
+
if (conn.id === _this4.wflow.paths[_i6].id) {
|
|
253568
|
+
_this4.wflow.paths.splice(_i6--, 1);
|
|
253541
253569
|
}
|
|
253542
253570
|
}
|
|
253543
253571
|
var connector = ['Bezier', {
|
|
253544
253572
|
stub: [0, 0]
|
|
253545
253573
|
}];
|
|
253546
|
-
var a =
|
|
253574
|
+
var a = createConnect(conn, connector, anchors);
|
|
253547
253575
|
a.setLabel({
|
|
253548
253576
|
label: label || ' ',
|
|
253549
253577
|
cssClass: 'line_text',
|
|
@@ -253556,11 +253584,11 @@ var _require21 = __webpack_require__(53978),
|
|
|
253556
253584
|
var firstEndpoints = [parseFloat(conn.endpoints[0].anchor.x), parseFloat(conn.endpoints[0].anchor.y), conn.endpoints[0].anchor.orientation[0], conn.endpoints[0].anchor.orientation[1]];
|
|
253557
253585
|
var secondEndpoints = [parseFloat(conn.endpoints[1].anchor.x), parseFloat(conn.endpoints[1].anchor.y), conn.endpoints[1].anchor.orientation[0], conn.endpoints[1].anchor.orientation[1]];
|
|
253558
253586
|
var anchors = [firstEndpoints, secondEndpoints];
|
|
253559
|
-
var label = conn.getLabel() ||
|
|
253587
|
+
var label = conn.getLabel() || _this4.curPath.name;
|
|
253560
253588
|
Centervue_type_script_lang_js_jsPlumb.deleteConnection(conn);
|
|
253561
|
-
for (var _i7 = 0; _i7 <
|
|
253562
|
-
if (conn.id ===
|
|
253563
|
-
|
|
253589
|
+
for (var _i7 = 0; _i7 < _this4.wflow.paths.length; _i7++) {
|
|
253590
|
+
if (conn.id === _this4.wflow.paths[_i7].id) {
|
|
253591
|
+
_this4.wflow.paths.splice(_i7--, 1);
|
|
253564
253592
|
}
|
|
253565
253593
|
}
|
|
253566
253594
|
var connector = ['Flowchart', {
|
|
@@ -253570,7 +253598,7 @@ var _require21 = __webpack_require__(53978),
|
|
|
253570
253598
|
alwaysRespectStubs: false,
|
|
253571
253599
|
midpoint: 0.5
|
|
253572
253600
|
}];
|
|
253573
|
-
var a =
|
|
253601
|
+
var a = createConnect(conn, connector, anchors);
|
|
253574
253602
|
a.setLabel({
|
|
253575
253603
|
label: label || ' ',
|
|
253576
253604
|
cssClass: 'line_text',
|
|
@@ -253600,16 +253628,16 @@ var _require21 = __webpack_require__(53978),
|
|
|
253600
253628
|
jquery_default()('#center').droppable({
|
|
253601
253629
|
scope: 'plant',
|
|
253602
253630
|
drop: function drop(event, ui) {
|
|
253603
|
-
dragAddNode(event, ui,
|
|
253631
|
+
dragAddNode(event, ui, _this4, model_data/* wfNode */.EP);
|
|
253604
253632
|
//拖拉放置节点后,自动设置为手动连接模式
|
|
253605
|
-
|
|
253606
|
-
var selectedItem =
|
|
253633
|
+
_this4.$vnode.context.$refs['siderefs'].selectedItemType = 'line';
|
|
253634
|
+
var selectedItem = _this4.$vnode.context.$refs['siderefs'].$el.querySelector('.selected');
|
|
253607
253635
|
if (!jquery_default()(selectedItem).hasClass('case-line')) {
|
|
253608
253636
|
jquery_default()(selectedItem).removeClass('selected');
|
|
253609
|
-
jquery_default()(
|
|
253637
|
+
jquery_default()(_this4.$vnode.context.$refs['siderefs'].$el.querySelector('.case-line')).addClass('selected');
|
|
253610
253638
|
}
|
|
253611
|
-
|
|
253612
|
-
var curNodeDom = document.getElementById(
|
|
253639
|
+
_this4.ComparePath();
|
|
253640
|
+
var curNodeDom = document.getElementById(_this4.curNode.id);
|
|
253613
253641
|
if (curNodeDom) jquery_default()(curNodeDom).click();
|
|
253614
253642
|
}
|
|
253615
253643
|
});
|
|
@@ -253695,7 +253723,7 @@ var _require21 = __webpack_require__(53978),
|
|
|
253695
253723
|
}
|
|
253696
253724
|
},
|
|
253697
253725
|
handleBtn: function handleBtn() {
|
|
253698
|
-
var
|
|
253726
|
+
var _this5 = this;
|
|
253699
253727
|
jquery_default()('#center').bind('mousedown', function (e) {
|
|
253700
253728
|
if (e.which === 3) {
|
|
253701
253729
|
// console.log(e)
|
|
@@ -253713,11 +253741,11 @@ var _require21 = __webpack_require__(53978),
|
|
|
253713
253741
|
jquery_default()('.dropdown-menu').find('#manualConn').unbind();
|
|
253714
253742
|
jquery_default()('#manualConn').bind('click', function () {
|
|
253715
253743
|
//设置为手动连接模式
|
|
253716
|
-
|
|
253717
|
-
var selectedItem =
|
|
253744
|
+
_this5.$vnode.context.$refs['siderefs'].selectedItemType = 'line';
|
|
253745
|
+
var selectedItem = _this5.$vnode.context.$refs['siderefs'].$el.querySelector('.selected');
|
|
253718
253746
|
if (!jquery_default()(selectedItem).hasClass('case-line')) {
|
|
253719
253747
|
jquery_default()(selectedItem).removeClass('selected');
|
|
253720
|
-
jquery_default()(
|
|
253748
|
+
jquery_default()(_this5.$vnode.context.$refs['siderefs'].$el.querySelector('.case-line')).addClass('selected');
|
|
253721
253749
|
}
|
|
253722
253750
|
});
|
|
253723
253751
|
} else if (arr.length === 2) {
|
|
@@ -253773,13 +253801,13 @@ var _require21 = __webpack_require__(53978),
|
|
|
253773
253801
|
},
|
|
253774
253802
|
// 点击环节计算需要等待环节
|
|
253775
253803
|
getWaitNode: function getWaitNode() {
|
|
253776
|
-
var
|
|
253804
|
+
var _this6 = this;
|
|
253777
253805
|
// waitNodeArr
|
|
253778
253806
|
this.waitNodeArr = [];
|
|
253779
253807
|
var ptNodeList = [];
|
|
253780
253808
|
var ptNode = jquery_default()('#center').find('.process');
|
|
253781
253809
|
ptNode.each(function (i, elem) {
|
|
253782
|
-
var isPtNode = ptNode.eq(i).hasClass('start') || ptNode.eq(i).hasClass('jsrw') || ptNode.eq(i).hasClass('jslc') || ptNode.eq(i).hasClass('jcjd') || ptNode.eq(i).hasClass('zyjd') || ptNode.eq(i).hasClass('dfzjd') || ptNode.eq(i).hasClass('jhjd') || ptNode.eq(i).hasClass('parentWf') || ptNode.eq(i).attr('id') ===
|
|
253810
|
+
var isPtNode = ptNode.eq(i).hasClass('start') || ptNode.eq(i).hasClass('jsrw') || ptNode.eq(i).hasClass('jslc') || ptNode.eq(i).hasClass('jcjd') || ptNode.eq(i).hasClass('zyjd') || ptNode.eq(i).hasClass('dfzjd') || ptNode.eq(i).hasClass('jhjd') || ptNode.eq(i).hasClass('parentWf') || ptNode.eq(i).attr('id') === _this6.curNode.id;
|
|
253783
253811
|
if (!isPtNode) {
|
|
253784
253812
|
ptNodeList.push(ptNode.eq(i));
|
|
253785
253813
|
}
|
|
@@ -253812,7 +253840,7 @@ var _require21 = __webpack_require__(53978),
|
|
|
253812
253840
|
}
|
|
253813
253841
|
},
|
|
253814
253842
|
dragPath: function dragPath(pathTarget) {
|
|
253815
|
-
var
|
|
253843
|
+
var _this7 = this;
|
|
253816
253844
|
this.curPath = {};
|
|
253817
253845
|
for (var p = 0; p < this.pathObj.length; p++) {
|
|
253818
253846
|
if (this.pathObj[p].id === pathTarget.connection._jsPlumb.parameters.pathId) {
|
|
@@ -253834,7 +253862,7 @@ var _require21 = __webpack_require__(53978),
|
|
|
253834
253862
|
if (isStartPersonNode && !jquery_default()(pathTarget.source).hasClass('start')) {
|
|
253835
253863
|
this.curPath.preNodeId = jquery_default()(pathTarget.source).attr('id');
|
|
253836
253864
|
var pushed = this.wflow.paths.filter(function (path) {
|
|
253837
|
-
return path.id ===
|
|
253865
|
+
return path.id === _this7.curPath.id;
|
|
253838
253866
|
});
|
|
253839
253867
|
if (pushed.length === 0) {
|
|
253840
253868
|
this.wflow.paths.push(this.curPath);
|
|
@@ -253842,8 +253870,8 @@ var _require21 = __webpack_require__(53978),
|
|
|
253842
253870
|
}
|
|
253843
253871
|
if (this.curPath.preNodeId !== '' && this.curPath.preNodeId !== undefined) {
|
|
253844
253872
|
this.wflow.nodes.forEach(function (node) {
|
|
253845
|
-
if (
|
|
253846
|
-
|
|
253873
|
+
if (_this7.curPath.preNodeId === node.id) {
|
|
253874
|
+
_this7.curPath.preNodeName = node.name;
|
|
253847
253875
|
}
|
|
253848
253876
|
});
|
|
253849
253877
|
}
|
|
@@ -253904,8 +253932,8 @@ var _require21 = __webpack_require__(53978),
|
|
|
253904
253932
|
this.curPath.preNodeId = jquery_default()(pathTarget.source).attr('id');
|
|
253905
253933
|
this.curPath.ctrlType = 6;
|
|
253906
253934
|
this.wflow.nodes.forEach(function (node) {
|
|
253907
|
-
if (
|
|
253908
|
-
|
|
253935
|
+
if (_this7.curPath.preNodeId === node.id) {
|
|
253936
|
+
_this7.curPath.preNodeName = node.name;
|
|
253909
253937
|
}
|
|
253910
253938
|
});
|
|
253911
253939
|
} else {
|
|
@@ -253924,7 +253952,7 @@ var _require21 = __webpack_require__(53978),
|
|
|
253924
253952
|
}
|
|
253925
253953
|
}
|
|
253926
253954
|
var _pushed = this.wflow.paths.filter(function (path) {
|
|
253927
|
-
return path.id ===
|
|
253955
|
+
return path.id === _this7.curPath.id;
|
|
253928
253956
|
});
|
|
253929
253957
|
if (_pushed.length === 0) {
|
|
253930
253958
|
this.wflow.paths.push(this.curPath);
|
|
@@ -254030,7 +254058,7 @@ var _require21 = __webpack_require__(53978),
|
|
|
254030
254058
|
}
|
|
254031
254059
|
},
|
|
254032
254060
|
clickPath: function clickPath(pathTarget) {
|
|
254033
|
-
var
|
|
254061
|
+
var _this8 = this;
|
|
254034
254062
|
var paths = this.wflow.paths.filter(function (path) {
|
|
254035
254063
|
return pathTarget.id === path.id;
|
|
254036
254064
|
});
|
|
@@ -254041,7 +254069,7 @@ var _require21 = __webpack_require__(53978),
|
|
|
254041
254069
|
var _loop = function _loop() {
|
|
254042
254070
|
if (allConnection[i].targetId === pathTarget.sourceId) {
|
|
254043
254071
|
var prevPath = allConnection[i];
|
|
254044
|
-
var nextNodes =
|
|
254072
|
+
var nextNodes = _this8.wflow.nextNodes.filter(function (nextNode) {
|
|
254045
254073
|
return nextNode.pathId === prevPath.id && nextNode.nextNodeId === pathTarget.targetId;
|
|
254046
254074
|
});
|
|
254047
254075
|
if (nextNodes.length === 0) {
|
|
@@ -254052,7 +254080,7 @@ var _require21 = __webpack_require__(53978),
|
|
|
254052
254080
|
nextNodeId: pathTarget.targetId,
|
|
254053
254081
|
pathId: prevPath.id
|
|
254054
254082
|
};
|
|
254055
|
-
|
|
254083
|
+
_this8.wflow.nextNodes.push(curNextNode);
|
|
254056
254084
|
}
|
|
254057
254085
|
}
|
|
254058
254086
|
};
|
|
@@ -254074,8 +254102,8 @@ var _require21 = __webpack_require__(53978),
|
|
|
254074
254102
|
}
|
|
254075
254103
|
if (!this.curPath.preNodeName && this.curPath.preNodeId) {
|
|
254076
254104
|
this.wflow.nodes.forEach(function (node) {
|
|
254077
|
-
if (
|
|
254078
|
-
|
|
254105
|
+
if (_this8.curPath.preNodeId === node.id) {
|
|
254106
|
+
_this8.curPath.preNodeName = node.name;
|
|
254079
254107
|
}
|
|
254080
254108
|
});
|
|
254081
254109
|
}
|
|
@@ -254096,11 +254124,11 @@ var _require21 = __webpack_require__(53978),
|
|
|
254096
254124
|
ecinc_process.connection = pathTarget; // 为实现动态改变路径名称
|
|
254097
254125
|
|
|
254098
254126
|
setTimeout(function () {
|
|
254099
|
-
if (
|
|
254100
|
-
|
|
254101
|
-
if (evt.pathId ===
|
|
254127
|
+
if (_this8.wflow.wfdEvents) {
|
|
254128
|
+
_this8.wflow.wfdEvents.forEach(function (evt) {
|
|
254129
|
+
if (evt.pathId === _this8.curPath.id) {
|
|
254102
254130
|
ecinc_process.connection.setLabel({
|
|
254103
|
-
label:
|
|
254131
|
+
label: _this8.curPath.name + '(E)',
|
|
254104
254132
|
cssClass: 'line_text'
|
|
254105
254133
|
});
|
|
254106
254134
|
}
|
|
@@ -254154,7 +254182,7 @@ var _require21 = __webpack_require__(53978),
|
|
|
254154
254182
|
var nextPath = _allConnection[_i11];
|
|
254155
254183
|
var nextIsPersonNode = jquery_default()(nextPath.target).hasClass('ptjd') || jquery_default()(nextPath.target).hasClass('jzjd') || jquery_default()(nextPath.target).hasClass('drbx') || jquery_default()(nextPath.target).hasClass('drcx') || jquery_default()(nextPath.target).hasClass('hqjd') || jquery_default()(nextPath.target).hasClass('ywjd') || jquery_default()(nextPath.target).hasClass('jcjd') || jquery_default()(nextPath.target).hasClass('jhjd') || jquery_default()(nextPath.target).hasClass('childWf');
|
|
254156
254184
|
if (nextIsPersonNode) {
|
|
254157
|
-
var _nextNodes =
|
|
254185
|
+
var _nextNodes = _this8.wflow.nextNodes.filter(function (nextNode) {
|
|
254158
254186
|
return nextNode.pathId === pathTarget.id && nextNode.nextNodeId === nextPath.targetId;
|
|
254159
254187
|
});
|
|
254160
254188
|
if (_nextNodes.length === 0) {
|
|
@@ -254165,11 +254193,11 @@ var _require21 = __webpack_require__(53978),
|
|
|
254165
254193
|
nextNodeId: nextPath.targetId,
|
|
254166
254194
|
pathId: pathTarget.id
|
|
254167
254195
|
};
|
|
254168
|
-
|
|
254196
|
+
_this8.wflow.nextNodes.push(_curNextNode);
|
|
254169
254197
|
_nextNodes.push(_curNextNode);
|
|
254170
254198
|
}
|
|
254171
254199
|
_nextNodes[0].nextNodeVal = jquery_default()(nextPath.target).find('p').html();
|
|
254172
|
-
|
|
254200
|
+
_this8.nextNodeArr.push(_nextNodes[0]);
|
|
254173
254201
|
}
|
|
254174
254202
|
}
|
|
254175
254203
|
};
|
|
@@ -254320,7 +254348,7 @@ var _require21 = __webpack_require__(53978),
|
|
|
254320
254348
|
},
|
|
254321
254349
|
// 保存流程验证
|
|
254322
254350
|
customValidate: function customValidate(wflow) {
|
|
254323
|
-
var
|
|
254351
|
+
var _this9 = this;
|
|
254324
254352
|
// 1process的名称(显示流程面板)
|
|
254325
254353
|
// 2process编码(显示流程面板)
|
|
254326
254354
|
if (wflow.process.sysCode === '') {
|
|
@@ -254428,7 +254456,7 @@ var _require21 = __webpack_require__(53978),
|
|
|
254428
254456
|
return btn.id === oper.btnGroupId;
|
|
254429
254457
|
});
|
|
254430
254458
|
if (!groupBtn || groupBtn.length === 0) {
|
|
254431
|
-
|
|
254459
|
+
_this9.$alert('下拉子按钮“' + oper.btnName + '”没有父级按钮,不允许保存', _this9.$tx('common.operationTip', '操作提示'), {
|
|
254432
254460
|
type: 'warning'
|
|
254433
254461
|
});
|
|
254434
254462
|
return {
|
|
@@ -254520,7 +254548,7 @@ var _require21 = __webpack_require__(53978),
|
|
|
254520
254548
|
},
|
|
254521
254549
|
// 保存
|
|
254522
254550
|
saveWorkflow: function saveWorkflow(actionType, callback) {
|
|
254523
|
-
var
|
|
254551
|
+
var _this10 = this;
|
|
254524
254552
|
var _this = this;
|
|
254525
254553
|
var wflow = JSON.parse(JSON.stringify(this.wflow));
|
|
254526
254554
|
wflow.process.chartData = {};
|
|
@@ -254594,7 +254622,7 @@ var _require21 = __webpack_require__(53978),
|
|
|
254594
254622
|
this.saveWflowData(wflow, connects);
|
|
254595
254623
|
this.$http(req).then(function (response) {
|
|
254596
254624
|
if (response.code === 'success') {
|
|
254597
|
-
|
|
254625
|
+
_this10.$message({
|
|
254598
254626
|
message: '保存成功',
|
|
254599
254627
|
type: 'success'
|
|
254600
254628
|
});
|
|
@@ -254604,31 +254632,31 @@ var _require21 = __webpack_require__(53978),
|
|
|
254604
254632
|
}
|
|
254605
254633
|
if (actionType !== 'SaveAndClose') {
|
|
254606
254634
|
var reload = false;
|
|
254607
|
-
if (
|
|
254635
|
+
if (_this10.$route.query.copy || _this10.$route.query.id && _this10.$route.query.id !== response.body.vo.process.id) {
|
|
254608
254636
|
reload = true;
|
|
254609
|
-
delete
|
|
254637
|
+
delete _this10.$route.query.copy;
|
|
254610
254638
|
}
|
|
254611
|
-
|
|
254612
|
-
|
|
254613
|
-
|
|
254614
|
-
|
|
254615
|
-
if (node.id ===
|
|
254616
|
-
|
|
254639
|
+
_this10.$route.query.id = response.body.vo.process.id;
|
|
254640
|
+
_this10.$set(_this10, 'wflow', response.body.vo);
|
|
254641
|
+
_this10.$set(_this10, 'process', _this10.wflow.process);
|
|
254642
|
+
_this10.wflow.nodes.forEach(function (node) {
|
|
254643
|
+
if (node.id === _this10.curNode.id) {
|
|
254644
|
+
_this10.$set(_this10, 'curNode', node);
|
|
254617
254645
|
}
|
|
254618
254646
|
});
|
|
254619
|
-
|
|
254620
|
-
if (path.id ===
|
|
254621
|
-
|
|
254647
|
+
_this10.wflow.paths.forEach(function (path) {
|
|
254648
|
+
if (path.id === _this10.curPath.id) {
|
|
254649
|
+
_this10.$set(_this10, 'curPath', path);
|
|
254622
254650
|
}
|
|
254623
254651
|
});
|
|
254624
|
-
|
|
254652
|
+
_this10.emitData();
|
|
254625
254653
|
if (callback) {
|
|
254626
254654
|
callback(response);
|
|
254627
254655
|
}
|
|
254628
254656
|
var newhref = window.location.href.split('?')[0] + '?id=' + response.body.vo.process.id;
|
|
254629
|
-
for (var key in
|
|
254657
|
+
for (var key in _this10.$route.query) {
|
|
254630
254658
|
if (key !== 'id' && key !== 'copy' && key !== 't') {
|
|
254631
|
-
newhref += '&' + key + '=' +
|
|
254659
|
+
newhref += '&' + key + '=' + _this10.$route.query[key];
|
|
254632
254660
|
}
|
|
254633
254661
|
}
|
|
254634
254662
|
newhref += '&t=' + new Date().getTime();
|
|
@@ -254646,15 +254674,15 @@ var _require21 = __webpack_require__(53978),
|
|
|
254646
254674
|
}, 1000);
|
|
254647
254675
|
}
|
|
254648
254676
|
} else {
|
|
254649
|
-
|
|
254677
|
+
_this10.$alert(response.message, '操作提示', {
|
|
254650
254678
|
type: 'error'
|
|
254651
254679
|
});
|
|
254652
|
-
|
|
254680
|
+
_this10.$bus.emit('savedProcess');
|
|
254653
254681
|
}
|
|
254654
254682
|
}, function (error) {
|
|
254655
254683
|
console.log(error);
|
|
254656
|
-
|
|
254657
|
-
|
|
254684
|
+
_this10.$message.error('保存失败');
|
|
254685
|
+
_this10.$bus.emit('savedProcess');
|
|
254658
254686
|
});
|
|
254659
254687
|
} else {
|
|
254660
254688
|
this.$bus.emit('savedProcess');
|
|
@@ -254750,7 +254778,7 @@ var _require21 = __webpack_require__(53978),
|
|
|
254750
254778
|
* 选择部门/科室/班组对话框确认完成
|
|
254751
254779
|
*/
|
|
254752
254780
|
nodeFieldValueFn: function nodeFieldValueFn(type, nodeId, department, text) {
|
|
254753
|
-
var
|
|
254781
|
+
var _this11 = this;
|
|
254754
254782
|
// type,类型,nodeId:当前环节ID,department:选择框id,text:选择后部门名字
|
|
254755
254783
|
// 选择机构
|
|
254756
254784
|
var fieldValue = {
|
|
@@ -254826,7 +254854,7 @@ var _require21 = __webpack_require__(53978),
|
|
|
254826
254854
|
var nodeFieldValue = JSON.parse(JSON.stringify(fieldValue));
|
|
254827
254855
|
nodeFieldValue.value = v;
|
|
254828
254856
|
nodeFieldValue.id = (0,common/* uuid */.u)();
|
|
254829
|
-
|
|
254857
|
+
_this11.wflow.nodeFieldValues.push(nodeFieldValue);
|
|
254830
254858
|
});
|
|
254831
254859
|
} else {
|
|
254832
254860
|
for (var _i17 = 0; _i17 < this.wflow.pathFieldValues.length; _i17++) {
|
|
@@ -254840,7 +254868,7 @@ var _require21 = __webpack_require__(53978),
|
|
|
254840
254868
|
var pathFieldValue = JSON.parse(JSON.stringify(fieldValue));
|
|
254841
254869
|
pathFieldValue.value = v;
|
|
254842
254870
|
pathFieldValue.id = (0,common/* uuid */.u)();
|
|
254843
|
-
|
|
254871
|
+
_this11.wflow.pathFieldValues.push(pathFieldValue);
|
|
254844
254872
|
});
|
|
254845
254873
|
}
|
|
254846
254874
|
this.emitData();
|
|
@@ -254875,7 +254903,7 @@ var _require21 = __webpack_require__(53978),
|
|
|
254875
254903
|
* 选择机构人员对话框确认完成
|
|
254876
254904
|
*/
|
|
254877
254905
|
onSelectStaffCompleted: function onSelectStaffCompleted(selectedNodes, attr) {
|
|
254878
|
-
var
|
|
254906
|
+
var _this12 = this;
|
|
254879
254907
|
var staffIds = '';
|
|
254880
254908
|
var selected = '';
|
|
254881
254909
|
var type = attr.nodefield;
|
|
@@ -254884,7 +254912,7 @@ var _require21 = __webpack_require__(53978),
|
|
|
254884
254912
|
selected += ',';
|
|
254885
254913
|
staffIds += ',';
|
|
254886
254914
|
}
|
|
254887
|
-
if (node.orgCode && (
|
|
254915
|
+
if (node.orgCode && (_this12.curNode.selectOrg === 'group_all_corp' || _this12.curNode.selectOrg === 'group_cur_corp')) {
|
|
254888
254916
|
selected += node.name + '/' + node.orgCode;
|
|
254889
254917
|
} else {
|
|
254890
254918
|
selected += node.name;
|
|
@@ -254969,7 +254997,7 @@ var _require21 = __webpack_require__(53978),
|
|
|
254969
254997
|
if (type === 1) {
|
|
254970
254998
|
strlinetype = 'Flowchart';
|
|
254971
254999
|
strlinecolor = '#42546c';
|
|
254972
|
-
|
|
255000
|
+
hollowCircle.connector = ['Flowchart', {
|
|
254973
255001
|
stub: [50, 50],
|
|
254974
255002
|
gap: 0,
|
|
254975
255003
|
cornerRadius: 5,
|
|
@@ -254979,7 +255007,7 @@ var _require21 = __webpack_require__(53978),
|
|
|
254979
255007
|
} else if (type === 2) {
|
|
254980
255008
|
strlinetype = 'Straight';
|
|
254981
255009
|
strlinecolor = '#42546c';
|
|
254982
|
-
|
|
255010
|
+
hollowCircle.connector = ['Straight', {
|
|
254983
255011
|
stub: [0, 0],
|
|
254984
255012
|
midpoint: 0.5
|
|
254985
255013
|
}];
|
|
@@ -254987,7 +255015,7 @@ var _require21 = __webpack_require__(53978),
|
|
|
254987
255015
|
} else if (type === 3) {
|
|
254988
255016
|
strlinetype = 'Bezier';
|
|
254989
255017
|
strlinecolor = '#42546c';
|
|
254990
|
-
|
|
255018
|
+
hollowCircle.connector = ['Bezier', {
|
|
254991
255019
|
stub: [0, 0],
|
|
254992
255020
|
gap: 0,
|
|
254993
255021
|
cornerRadius: 5,
|
|
@@ -255013,7 +255041,7 @@ var _require21 = __webpack_require__(53978),
|
|
|
255013
255041
|
}
|
|
255014
255042
|
},
|
|
255015
255043
|
AddAnchor: function AddAnchor() {
|
|
255016
|
-
ecinc_process.AddAnchor(this,
|
|
255044
|
+
ecinc_process.AddAnchor(this, hollowCircle);
|
|
255017
255045
|
},
|
|
255018
255046
|
// 判断是否有 路径超出了范围
|
|
255019
255047
|
ComparePath: function ComparePath() {
|
|
@@ -255033,7 +255061,7 @@ var _require21 = __webpack_require__(53978),
|
|
|
255033
255061
|
}
|
|
255034
255062
|
},
|
|
255035
255063
|
queryHoliday: function queryHoliday() {
|
|
255036
|
-
var
|
|
255064
|
+
var _this13 = this;
|
|
255037
255065
|
var year = new Date().getFullYear();
|
|
255038
255066
|
var params = [{
|
|
255039
255067
|
compare: '=',
|
|
@@ -255055,10 +255083,10 @@ var _require21 = __webpack_require__(53978),
|
|
|
255055
255083
|
var listdata = response.body.listdata;
|
|
255056
255084
|
if (response.code === 'success') {
|
|
255057
255085
|
if (listdata.length > 0) {
|
|
255058
|
-
|
|
255086
|
+
_this13.$vnode.context.holiday = listdata[0];
|
|
255059
255087
|
}
|
|
255060
255088
|
} else {
|
|
255061
|
-
|
|
255089
|
+
_this13.$alert(response.message, _this13.$tx('common.operationTip', '操作提示'), {
|
|
255062
255090
|
type: 'error'
|
|
255063
255091
|
});
|
|
255064
255092
|
}
|
|
@@ -255068,13 +255096,13 @@ var _require21 = __webpack_require__(53978),
|
|
|
255068
255096
|
});
|
|
255069
255097
|
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/Center/index.vue?vue&type=script&lang=js
|
|
255070
255098
|
/* harmony default export */ var components_Centervue_type_script_lang_js = (Centervue_type_script_lang_js);
|
|
255071
|
-
// 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/Center/index.vue?vue&type=style&index=0&id=
|
|
255072
|
-
var
|
|
255073
|
-
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/Center/index.vue?vue&type=style&index=0&id=
|
|
255099
|
+
// 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/Center/index.vue?vue&type=style&index=0&id=65c42420&prod&scoped=true&lang=scss
|
|
255100
|
+
var Centervue_type_style_index_0_id_65c42420_prod_scoped_true_lang_scss = __webpack_require__(6665);
|
|
255101
|
+
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/Center/index.vue?vue&type=style&index=0&id=65c42420&prod&scoped=true&lang=scss
|
|
255074
255102
|
|
|
255075
|
-
// 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/Center/index.vue?vue&type=style&index=1&id=
|
|
255076
|
-
var
|
|
255077
|
-
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/Center/index.vue?vue&type=style&index=1&id=
|
|
255103
|
+
// 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/Center/index.vue?vue&type=style&index=1&id=65c42420&prod&lang=scss
|
|
255104
|
+
var Centervue_type_style_index_1_id_65c42420_prod_lang_scss = __webpack_require__(90093);
|
|
255105
|
+
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/Center/index.vue?vue&type=style&index=1&id=65c42420&prod&lang=scss
|
|
255078
255106
|
|
|
255079
255107
|
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/Center/index.vue
|
|
255080
255108
|
|
|
@@ -255088,11 +255116,11 @@ var Centervue_type_style_index_1_id_6988b490_prod_lang_scss = __webpack_require_
|
|
|
255088
255116
|
|
|
255089
255117
|
var Center_component = (0,componentNormalizer/* default */.A)(
|
|
255090
255118
|
components_Centervue_type_script_lang_js,
|
|
255091
|
-
|
|
255092
|
-
|
|
255119
|
+
Centervue_type_template_id_65c42420_scoped_true_render,
|
|
255120
|
+
Centervue_type_template_id_65c42420_scoped_true_staticRenderFns,
|
|
255093
255121
|
false,
|
|
255094
255122
|
null,
|
|
255095
|
-
"
|
|
255123
|
+
"65c42420",
|
|
255096
255124
|
null
|
|
255097
255125
|
|
|
255098
255126
|
)
|
|
@@ -263045,7 +263073,7 @@ var PanelPath_Tab2_component = (0,componentNormalizer/* default */.A)(
|
|
|
263045
263073
|
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/RightForm/PanelPath/index.vue?vue&type=script&lang=js
|
|
263046
263074
|
/* harmony default export */ var RightForm_PanelPathvue_type_script_lang_js = (PanelPathvue_type_script_lang_js);
|
|
263047
263075
|
// 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/RightForm/PanelPath/index.vue?vue&type=style&index=0&id=311f67d4&prod&scoped=true&lang=scss
|
|
263048
|
-
var PanelPathvue_type_style_index_0_id_311f67d4_prod_scoped_true_lang_scss = __webpack_require__(
|
|
263076
|
+
var PanelPathvue_type_style_index_0_id_311f67d4_prod_scoped_true_lang_scss = __webpack_require__(30325);
|
|
263049
263077
|
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/RightForm/PanelPath/index.vue?vue&type=style&index=0&id=311f67d4&prod&scoped=true&lang=scss
|
|
263050
263078
|
|
|
263051
263079
|
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/RightForm/PanelPath/index.vue
|
|
@@ -272335,8 +272363,8 @@ var PanelAggregation_component = (0,componentNormalizer/* default */.A)(
|
|
|
272335
272363
|
)
|
|
272336
272364
|
|
|
272337
272365
|
/* harmony default export */ var PanelAggregation = (PanelAggregation_component.exports);
|
|
272338
|
-
;// 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/RightForm/PanelDecision/IKexpression.vue?vue&type=template&id=
|
|
272339
|
-
var
|
|
272366
|
+
;// 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/RightForm/PanelDecision/IKexpression.vue?vue&type=template&id=e0705338&scoped=true
|
|
272367
|
+
var IKexpressionvue_type_template_id_e0705338_scoped_true_render = function render() {
|
|
272340
272368
|
var _vm = this,
|
|
272341
272369
|
_c = _vm._self._c;
|
|
272342
272370
|
return _vm.formulaDialogFormVisible ? _c('el-dialog', {
|
|
@@ -272527,14 +272555,11 @@ var IKexpressionvue_type_template_id_6593145a_scoped_true_render = function rend
|
|
|
272527
272555
|
}, [_vm._v(_vm._s(btn.btnName))]);
|
|
272528
272556
|
}), 1) : _vm._e()], 1) : _vm._e();
|
|
272529
272557
|
};
|
|
272530
|
-
var
|
|
272558
|
+
var IKexpressionvue_type_template_id_e0705338_scoped_true_staticRenderFns = [];
|
|
272531
272559
|
|
|
272532
272560
|
;// 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/RightForm/PanelDecision/IKexpression.vue?vue&type=script&lang=js
|
|
272533
|
-
var IKexpressionvue_type_script_lang_js_Treeselect = window.VueTreeselect.Treeselect;
|
|
272534
272561
|
/* harmony default export */ var IKexpressionvue_type_script_lang_js = ({
|
|
272535
|
-
components: {
|
|
272536
|
-
Treeselect: IKexpressionvue_type_script_lang_js_Treeselect
|
|
272537
|
-
},
|
|
272562
|
+
components: {},
|
|
272538
272563
|
data: function data() {
|
|
272539
272564
|
return {
|
|
272540
272565
|
searchFields: [],
|
|
@@ -272583,6 +272608,7 @@ var IKexpressionvue_type_script_lang_js_Treeselect = window.VueTreeselect.Treese
|
|
|
272583
272608
|
};
|
|
272584
272609
|
},
|
|
272585
272610
|
created: function created() {
|
|
272611
|
+
this.$options.components['Treeselect'] = window.VueTreeselect.Treeselect;
|
|
272586
272612
|
this.$bus.on('createIKexpression', this.createIKexpression);
|
|
272587
272613
|
},
|
|
272588
272614
|
beforeDestroy: function beforeDestroy() {
|
|
@@ -272776,9 +272802,9 @@ var IKexpressionvue_type_script_lang_js_Treeselect = window.VueTreeselect.Treese
|
|
|
272776
272802
|
});
|
|
272777
272803
|
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/RightForm/PanelDecision/IKexpression.vue?vue&type=script&lang=js
|
|
272778
272804
|
/* harmony default export */ var PanelDecision_IKexpressionvue_type_script_lang_js = (IKexpressionvue_type_script_lang_js);
|
|
272779
|
-
// 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/RightForm/PanelDecision/IKexpression.vue?vue&type=style&index=0&id=
|
|
272780
|
-
var
|
|
272781
|
-
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/RightForm/PanelDecision/IKexpression.vue?vue&type=style&index=0&id=
|
|
272805
|
+
// 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/RightForm/PanelDecision/IKexpression.vue?vue&type=style&index=0&id=e0705338&prod&scoped=true&lang=scss
|
|
272806
|
+
var IKexpressionvue_type_style_index_0_id_e0705338_prod_scoped_true_lang_scss = __webpack_require__(28790);
|
|
272807
|
+
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/RightForm/PanelDecision/IKexpression.vue?vue&type=style&index=0&id=e0705338&prod&scoped=true&lang=scss
|
|
272782
272808
|
|
|
272783
272809
|
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/RightForm/PanelDecision/IKexpression.vue
|
|
272784
272810
|
|
|
@@ -272791,11 +272817,11 @@ var IKexpressionvue_type_style_index_0_id_6593145a_prod_scoped_true_lang_scss =
|
|
|
272791
272817
|
|
|
272792
272818
|
var IKexpression_component = (0,componentNormalizer/* default */.A)(
|
|
272793
272819
|
PanelDecision_IKexpressionvue_type_script_lang_js,
|
|
272794
|
-
|
|
272795
|
-
|
|
272820
|
+
IKexpressionvue_type_template_id_e0705338_scoped_true_render,
|
|
272821
|
+
IKexpressionvue_type_template_id_e0705338_scoped_true_staticRenderFns,
|
|
272796
272822
|
false,
|
|
272797
272823
|
null,
|
|
272798
|
-
"
|
|
272824
|
+
"e0705338",
|
|
272799
272825
|
null
|
|
272800
272826
|
|
|
272801
272827
|
)
|
|
@@ -273636,8 +273662,8 @@ var ImportWf_component = (0,componentNormalizer/* default */.A)(
|
|
|
273636
273662
|
)
|
|
273637
273663
|
|
|
273638
273664
|
/* harmony default export */ var ImportWf = (ImportWf_component.exports);
|
|
273639
|
-
;// 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=
|
|
273640
|
-
var
|
|
273665
|
+
;// 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=2e3361cd&scoped=true
|
|
273666
|
+
var FlowTracevue_type_template_id_2e3361cd_scoped_true_render = function render() {
|
|
273641
273667
|
var _vm = this,
|
|
273642
273668
|
_c = _vm._self._c;
|
|
273643
273669
|
return _c('div', {
|
|
@@ -273817,7 +273843,7 @@ var FlowTracevue_type_template_id_6068dbe8_scoped_true_render = function render(
|
|
|
273817
273843
|
}
|
|
273818
273844
|
}) : _vm._e()], 1);
|
|
273819
273845
|
};
|
|
273820
|
-
var
|
|
273846
|
+
var FlowTracevue_type_template_id_2e3361cd_scoped_true_staticRenderFns = [function () {
|
|
273821
273847
|
var _vm = this,
|
|
273822
273848
|
_c = _vm._self._c;
|
|
273823
273849
|
return _c('ul', {
|
|
@@ -273845,7 +273871,7 @@ var FlowTracevue_type_template_id_6068dbe8_scoped_true_staticRenderFns = [functi
|
|
|
273845
273871
|
}, [_vm._v("设置为添加新节点模式")])])]);
|
|
273846
273872
|
}];
|
|
273847
273873
|
|
|
273848
|
-
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/FlowTrace/index.vue?vue&type=template&id=
|
|
273874
|
+
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/FlowTrace/index.vue?vue&type=template&id=2e3361cd&scoped=true
|
|
273849
273875
|
|
|
273850
273876
|
;// 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
|
|
273851
273877
|
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); }
|
|
@@ -273854,6 +273880,9 @@ function FlowTracevue_type_script_lang_js_objectSpread(e) { for (var r = 1; r <
|
|
|
273854
273880
|
function FlowTracevue_type_script_lang_js_defineProperty(e, r, t) { return (r = FlowTracevue_type_script_lang_js_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
273855
273881
|
function FlowTracevue_type_script_lang_js_toPropertyKey(t) { var i = FlowTracevue_type_script_lang_js_toPrimitive(t, "string"); return "symbol" == FlowTracevue_type_script_lang_js_typeof(i) ? i : i + ""; }
|
|
273856
273882
|
function FlowTracevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != FlowTracevue_type_script_lang_js_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != FlowTracevue_type_script_lang_js_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
273883
|
+
function FlowTracevue_type_script_lang_js_regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ FlowTracevue_type_script_lang_js_regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == FlowTracevue_type_script_lang_js_typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(FlowTracevue_type_script_lang_js_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, catch: function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
|
|
273884
|
+
function FlowTracevue_type_script_lang_js_asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
|
|
273885
|
+
function FlowTracevue_type_script_lang_js_asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { FlowTracevue_type_script_lang_js_asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { FlowTracevue_type_script_lang_js_asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
|
|
273857
273886
|
|
|
273858
273887
|
var FlowTracevue_type_script_lang_js_jsPlumb = window.jsPlumb;
|
|
273859
273888
|
|
|
@@ -273866,7 +273895,36 @@ var FlowTracevue_type_script_lang_js_require2 = __webpack_require__(92399),
|
|
|
273866
273895
|
FlowTracevue_type_script_lang_js_MoveSelectDiv = FlowTracevue_type_script_lang_js_require2.MoveSelectDiv,
|
|
273867
273896
|
FlowTracevue_type_script_lang_js_resetLocation = FlowTracevue_type_script_lang_js_require2.resetLocation,
|
|
273868
273897
|
FlowTracevue_type_script_lang_js_showProcessDesc = FlowTracevue_type_script_lang_js_require2.showProcessDesc;
|
|
273869
|
-
|
|
273898
|
+
// 按需加载 globalStyle 模块
|
|
273899
|
+
var FlowTracevue_type_script_lang_js_hollowCircle, FlowTracevue_type_script_lang_js_createPathLine;
|
|
273900
|
+
var FlowTracevue_type_script_lang_js_loadGlobalStyle = /*#__PURE__*/function () {
|
|
273901
|
+
var _ref = FlowTracevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/FlowTracevue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
|
|
273902
|
+
var module;
|
|
273903
|
+
return FlowTracevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
273904
|
+
while (1) switch (_context.prev = _context.next) {
|
|
273905
|
+
case 0:
|
|
273906
|
+
FlowTracevue_type_script_lang_js_jsPlumb.importDefaults({
|
|
273907
|
+
PaintStyle: {
|
|
273908
|
+
lineWidth: 8,
|
|
273909
|
+
stroke: '#00ff54'
|
|
273910
|
+
}
|
|
273911
|
+
});
|
|
273912
|
+
_context.next = 3;
|
|
273913
|
+
return Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__, 93782));
|
|
273914
|
+
case 3:
|
|
273915
|
+
module = _context.sent;
|
|
273916
|
+
FlowTracevue_type_script_lang_js_hollowCircle = module.hollowCircle;
|
|
273917
|
+
FlowTracevue_type_script_lang_js_createPathLine = module.createPathLine;
|
|
273918
|
+
case 6:
|
|
273919
|
+
case "end":
|
|
273920
|
+
return _context.stop();
|
|
273921
|
+
}
|
|
273922
|
+
}, _callee);
|
|
273923
|
+
}));
|
|
273924
|
+
return function loadGlobalStyle() {
|
|
273925
|
+
return _ref.apply(this, arguments);
|
|
273926
|
+
};
|
|
273927
|
+
}();
|
|
273870
273928
|
var FlowTracevue_type_script_lang_js_require3 = __webpack_require__(92399),
|
|
273871
273929
|
FlowTracevue_type_script_lang_js_showAddNodeBtn = FlowTracevue_type_script_lang_js_require3.showAddNodeBtn,
|
|
273872
273930
|
FlowTracevue_type_script_lang_js_addNodeBtnClick = FlowTracevue_type_script_lang_js_require3.addNodeBtnClick;
|
|
@@ -274025,504 +274083,527 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
274025
274083
|
},
|
|
274026
274084
|
initFlowTrace: function initFlowTrace() {
|
|
274027
274085
|
var _this4 = this;
|
|
274028
|
-
|
|
274029
|
-
|
|
274030
|
-
|
|
274031
|
-
|
|
274032
|
-
|
|
274033
|
-
|
|
274034
|
-
|
|
274035
|
-
|
|
274036
|
-
|
|
274037
|
-
|
|
274038
|
-
|
|
274039
|
-
|
|
274040
|
-
resolve(true);
|
|
274041
|
-
var descDiv = document.querySelector('.node-bg-desc');
|
|
274042
|
-
var desc = '1、鼠标移到“结束处理”路径前端锚点或无连接线锚点,可添加新节点;\r\n2、双击节点可以设置节点属性;\r\n3、点击工具栏中的“流程自测”按钮,可以测试流程配置是否正常。';
|
|
274043
|
-
var containerHeight = 130;
|
|
274044
|
-
var containerLeft = descDiv.offsetLeft + 10;
|
|
274045
|
-
var containerTop = 40;
|
|
274046
|
-
FlowTracevue_type_script_lang_js_showProcessDesc(desc, containerHeight, containerLeft, containerTop, 'none');
|
|
274047
|
-
} else if (_this.wfInstance.udmNodes) {
|
|
274048
|
-
var _descDiv = document.querySelector('.node-bg-desc');
|
|
274049
|
-
var _desc = '1、鼠标移到“结束处理”路径前端锚点或无连接线锚点,可添加新节点;\r\n2、双击节点可以设置节点属性;\r\n3、点击工具栏中的“流程自测”按钮,可以测试流程配置是否正常。';
|
|
274050
|
-
var _containerHeight = 130;
|
|
274051
|
-
var _containerLeft = _descDiv.offsetLeft + 10;
|
|
274052
|
-
var _containerTop = 40;
|
|
274053
|
-
FlowTracevue_type_script_lang_js_showProcessDesc(_desc, _containerHeight, _containerLeft, _containerTop, 'none');
|
|
274054
|
-
|
|
274055
|
-
//发起人自定义流程-暂时保留直接添加节点模式
|
|
274056
|
-
var connectsArr = [];
|
|
274057
|
-
var udmNodes = _this.wfInstance.udmNodes;
|
|
274058
|
-
if (typeof udmNodes === 'string') {
|
|
274059
|
-
udmNodes = JSON.parse(udmNodes);
|
|
274060
|
-
}
|
|
274061
|
-
|
|
274062
|
-
//开始节点
|
|
274063
|
-
var startId = (0,common/* uuid */.u)();
|
|
274064
|
-
var startNodeHtml = _this4.wfNodeHtml.start.domH.replace('id=""', 'id="' + startId + '"');
|
|
274065
|
-
jquery_default()('#center').append(startNodeHtml);
|
|
274066
|
-
|
|
274067
|
-
//结束节点
|
|
274068
|
-
var endId = (0,common/* uuid */.u)();
|
|
274069
|
-
var endNodeHtml = _this4.wfNodeHtml.jslc.domH.replace('id=""', 'id="' + endId + '"');
|
|
274070
|
-
var top = 100 + (100 + 80) * (udmNodes.length + 1);
|
|
274071
|
-
endNodeHtml = endNodeHtml.replace('style=""', 'style="left: 570px; top: ' + top + 'px;"');
|
|
274072
|
-
jquery_default()('#center').append(endNodeHtml);
|
|
274073
|
-
|
|
274074
|
-
//人工节点
|
|
274075
|
-
udmNodes.forEach(function (node, index) {
|
|
274076
|
-
if (index === 0) {
|
|
274077
|
-
var pathLine = JSON.parse(JSON.stringify(_this4.connectLine));
|
|
274078
|
-
pathLine.ConnectionId = (0,common/* uuid */.u)();
|
|
274079
|
-
pathLine.PageSourceId = startId;
|
|
274080
|
-
pathLine.PageTargetId = node.uuid;
|
|
274081
|
-
connectsArr.push(pathLine);
|
|
274082
|
-
} else if (node.returnHistoryTN > 0 && _this4.wfInstance.status > 0) {
|
|
274083
|
-
var _pathLine = JSON.parse(JSON.stringify(_this4.connectLine));
|
|
274084
|
-
_pathLine.ConnectionId = (0,common/* uuid */.u)();
|
|
274085
|
-
_pathLine.label = '退回';
|
|
274086
|
-
_pathLine.PageSourceId = node.uuid;
|
|
274087
|
-
if (node.returnHistoryTN == 1) {
|
|
274088
|
-
//退回上一节点
|
|
274089
|
-
_pathLine.PageTargetId = udmNodes[index - 1].uuid;
|
|
274090
|
-
_pathLine.pathMinX = -53;
|
|
274091
|
-
_pathLine.firstEndpoints = [0, 0.5, -1, 0];
|
|
274092
|
-
_pathLine.secondEndpoints = [0, 0.5, -1, 0];
|
|
274093
|
-
} else {
|
|
274094
|
-
//退回发起节点
|
|
274095
|
-
_pathLine.PageTargetId = udmNodes[0].uuid;
|
|
274096
|
-
_pathLine.pathMaxX = 53;
|
|
274097
|
-
_pathLine.firstEndpoints = [1, 0.5, 1, 0];
|
|
274098
|
-
_pathLine.secondEndpoints = [1, 0.5, 1, 0];
|
|
274099
|
-
}
|
|
274100
|
-
_pathLine.linesCount = 3;
|
|
274101
|
-
connectsArr.push(_pathLine);
|
|
274102
|
-
_this4.pathObj.push({
|
|
274103
|
-
id: _pathLine.ConnectionId,
|
|
274104
|
-
name: _pathLine.label
|
|
274105
|
-
});
|
|
274106
|
-
}
|
|
274107
|
-
if (index + 1 === udmNodes.length) {
|
|
274108
|
-
var _pathLine2 = JSON.parse(JSON.stringify(_this4.connectLine));
|
|
274109
|
-
_pathLine2.ConnectionId = (0,common/* uuid */.u)();
|
|
274110
|
-
_pathLine2.label = '结束处理';
|
|
274111
|
-
_pathLine2.PageSourceId = node.uuid;
|
|
274112
|
-
_pathLine2.PageTargetId = endId;
|
|
274113
|
-
connectsArr.push(_pathLine2);
|
|
274114
|
-
_this4.pathObj.push({
|
|
274115
|
-
id: _pathLine2.ConnectionId,
|
|
274116
|
-
name: _pathLine2.label
|
|
274117
|
-
});
|
|
274118
|
-
}
|
|
274119
|
-
if (index + 1 < udmNodes.length) {
|
|
274120
|
-
var _pathLine3 = JSON.parse(JSON.stringify(_this4.connectLine));
|
|
274121
|
-
_pathLine3.ConnectionId = (0,common/* uuid */.u)();
|
|
274122
|
-
_pathLine3.label = '送' + udmNodes[index + 1].name;
|
|
274123
|
-
_pathLine3.PageSourceId = node.uuid;
|
|
274124
|
-
_pathLine3.PageTargetId = udmNodes[index + 1].uuid;
|
|
274125
|
-
connectsArr.push(_pathLine3);
|
|
274126
|
-
_this4.pathObj.push({
|
|
274127
|
-
id: _pathLine3.ConnectionId,
|
|
274128
|
-
name: _pathLine3.label
|
|
274129
|
-
});
|
|
274130
|
-
}
|
|
274131
|
-
var nodeHtml = '';
|
|
274132
|
-
if (node.todoMode == 0) {
|
|
274133
|
-
nodeHtml = _this4.wfNodeHtml.ptjd.domH.replace('<p>普通节点</p>', '<p>' + node.name + '</p>');
|
|
274134
|
-
} else if (node.todoMode == 1) {
|
|
274135
|
-
nodeHtml = _this4.wfNodeHtml.drbx.domH.replace('<p>多人并行</p>', '<p>' + node.name + '</p>');
|
|
274136
|
-
} else if (node.todoMode == 2) {
|
|
274137
|
-
nodeHtml = _this4.wfNodeHtml.hqjd.domH.replace('<p>多人会签</p>', '<p>' + node.name + '</p>');
|
|
274138
|
-
} else if (node.todoMode == 3) {
|
|
274139
|
-
nodeHtml = _this4.wfNodeHtml.drcx.domH.replace('<p>多人串行</p>', '<p>' + node.name + '</p>');
|
|
274140
|
-
} else if (node.todoMode == 4) {
|
|
274141
|
-
nodeHtml = _this4.wfNodeHtml.jzjd.domH.replace('<p>多人竞争</p>', '<p>' + node.name + '</p>');
|
|
274142
|
-
} else if (node.todoMode == 5) {
|
|
274143
|
-
nodeHtml = _this4.wfNodeHtml.ywjd.domH.replace('<p>多人阅文</p>', '<p>' + node.name + '</p>');
|
|
274144
|
-
}
|
|
274145
|
-
var top = 100 + (100 + 80) * (index + 1);
|
|
274146
|
-
nodeHtml = nodeHtml.replace('style=""', 'style="left: 530px; top: ' + top + 'px;"');
|
|
274147
|
-
jquery_default()('#center').append(nodeHtml.replace('id=""', 'id="' + node.uuid + '"'));
|
|
274148
|
-
_this.wflow.nodes.push(node);
|
|
274149
|
-
});
|
|
274150
|
-
_this.connectsArr = connectsArr;
|
|
274151
|
-
resolve(true);
|
|
274152
|
-
} else {
|
|
274153
|
-
//流程配置
|
|
274154
|
-
_this4.$http({
|
|
274155
|
-
method: 'GET',
|
|
274156
|
-
params: {
|
|
274157
|
-
product: _this4.product,
|
|
274158
|
-
dwadmin: _this4.dwadmin,
|
|
274159
|
-
copy: _this4.$route.query.copy
|
|
274160
|
-
},
|
|
274161
|
-
contentType: 'application/x-www-form-urlencoded',
|
|
274162
|
-
url: 'workflow/wfdProcessMgr/getById?id=' + _this4.wfInstance.wfId + ''
|
|
274163
|
-
}).then(function (response) {
|
|
274164
|
-
_this4.wflow = response.body.vo;
|
|
274165
|
-
for (var o = 0; o < _this4.wflow.paths.length; o++) {
|
|
274166
|
-
_this4.pathObj.push(_this4.wflow.paths[o]);
|
|
274167
|
-
}
|
|
274168
|
-
_this4.wflow.paths.length = 0;
|
|
274169
|
-
_this4.process = response.body.vo.process;
|
|
274170
|
-
var chartData = JSON.parse(_this4.process.chartData);
|
|
274171
|
-
var connectsArr = chartData.connects;
|
|
274172
|
-
_this4.connectsArr = connectsArr;
|
|
274173
|
-
var domHtmlArr = chartData.domHtml;
|
|
274174
|
-
for (var _i = 0; _i < domHtmlArr.length; _i++) {
|
|
274175
|
-
jquery_default()('#center').append(common/* Base64 */.o.decode(domHtmlArr[_i].domH));
|
|
274176
|
-
}
|
|
274177
|
-
if (_this4.process && _this4.process.description) {
|
|
274178
|
-
var desc = _this4.process.description;
|
|
274179
|
-
var containerHeight = 180;
|
|
274180
|
-
var containerLeft = null;
|
|
274181
|
-
var containerTop = null;
|
|
274182
|
-
if (chartData.descDiv) {
|
|
274183
|
-
containerHeight = chartData.descDiv.height;
|
|
274184
|
-
containerLeft = chartData.descDiv.left;
|
|
274185
|
-
containerTop = chartData.descDiv.top;
|
|
274186
|
-
}
|
|
274187
|
-
FlowTracevue_type_script_lang_js_showProcessDesc(desc, containerHeight, containerLeft, containerTop);
|
|
274188
|
-
}
|
|
274189
|
-
resolve(true);
|
|
274190
|
-
}, function (error) {
|
|
274191
|
-
_this4.$message.error(error);
|
|
274192
|
-
reject(error);
|
|
274193
|
-
});
|
|
274194
|
-
}
|
|
274195
|
-
}).then(function () {
|
|
274196
|
-
_this4.loading = false;
|
|
274197
|
-
var nodeIdArr = [];
|
|
274198
|
-
jquery_default()('.process').removeClass('seled');
|
|
274199
|
-
jquery_default()('.process').each(function (index, elem) {
|
|
274200
|
-
nodeIdArr.push(jquery_default()(elem).attr('id'));
|
|
274201
|
-
if (jquery_default()(elem).hasClass('childWf')) {
|
|
274202
|
-
jquery_default()(elem).find('img').attr('src', _this4.zlc);
|
|
274203
|
-
} else if (jquery_default()(elem).hasClass('parentWf')) {
|
|
274204
|
-
jquery_default()(elem).find('img').attr('src', _this4.plc);
|
|
274205
|
-
} else if (jquery_default()(elem).hasClass('ptjd')) {
|
|
274206
|
-
jquery_default()(elem).find('img').attr('src', _this4.ptjd);
|
|
274207
|
-
jquery_default()(elem).find('span').text('普通节点');
|
|
274208
|
-
} else if (jquery_default()(elem).hasClass('jzjd')) {
|
|
274209
|
-
jquery_default()(elem).find('img').attr('src', _this4.jzjd);
|
|
274210
|
-
jquery_default()(elem).find('span').text('竞争节点');
|
|
274211
|
-
} else if (jquery_default()(elem).hasClass('drbx')) {
|
|
274212
|
-
jquery_default()(elem).find('img').attr('src', _this4.drbx);
|
|
274213
|
-
jquery_default()(elem).find('span').text('多人并行');
|
|
274214
|
-
} else if (jquery_default()(elem).hasClass('drcx')) {
|
|
274215
|
-
jquery_default()(elem).find('img').attr('src', _this4.drcx);
|
|
274216
|
-
jquery_default()(elem).find('span').text('多人串行');
|
|
274217
|
-
} else if (jquery_default()(elem).hasClass('hqjd')) {
|
|
274218
|
-
jquery_default()(elem).find('img').attr('src', _this4.hqjd);
|
|
274219
|
-
jquery_default()(elem).find('span').text('会签节点');
|
|
274220
|
-
} else if (jquery_default()(elem).hasClass('ywjd')) {
|
|
274221
|
-
jquery_default()(elem).find('img').attr('src', _this4.ywjd);
|
|
274222
|
-
jquery_default()(elem).find('span').text('阅文节点');
|
|
274223
|
-
}
|
|
274224
|
-
if (_this.wfInstance.udmNodes && _this.wfInstance.udmNodes.length > 0 && _this4.wfInstance.creatorAccount === _this4.curTN.userAccount && _this4.wfInstance.status < 2) {
|
|
274225
|
-
FlowTracevue_type_script_lang_js_nodeEvents(jquery_default()(elem).attr('id'), _this4.wflow, _this4);
|
|
274226
|
-
}
|
|
274227
|
-
if (elem.innerHTML && elem.firstChild && elem.firstChild.nextElementSibling) {
|
|
274228
|
-
//删除流程跟踪图中的环节处理人
|
|
274229
|
-
elem.innerHTML = elem.firstChild.outerHTML + elem.firstChild.nextElementSibling.outerHTML;
|
|
274230
|
-
}
|
|
274231
|
-
var ui = {
|
|
274232
|
-
position: {
|
|
274233
|
-
left: elem.offsetLeft,
|
|
274234
|
-
top: elem.offsetTop
|
|
274235
|
-
}
|
|
274236
|
-
};
|
|
274237
|
-
FlowTracevue_type_script_lang_js_resetLocation(ui, jquery_default()(elem).attr('id'));
|
|
274238
|
-
});
|
|
274239
|
-
nodeIdArr.forEach(function (nodeId) {
|
|
274240
|
-
jquery_default()("#".concat(nodeId)).addClass('model_process_wwc');
|
|
274241
|
-
});
|
|
274242
|
-
if (_this4.wflogList && _this4.wflogList.length > 0) {
|
|
274243
|
-
_this4.wflogList.forEach(function (wflog) {
|
|
274244
|
-
if (!wflog.parentId) return;
|
|
274245
|
-
var pwflog = _this4.wflogList.filter(function (pwflog) {
|
|
274246
|
-
return pwflog.id === wflog.parentId;
|
|
274247
|
-
});
|
|
274248
|
-
if (pwflog.length === 0) return;
|
|
274249
|
-
var connectLine = _this4.connectsArr.filter(function (conn) {
|
|
274250
|
-
return conn.PageSourceId === pwflog[0].nodeId && conn.PageTargetId === wflog.nodeId;
|
|
274251
|
-
});
|
|
274252
|
-
if (connectLine.length === 0 && wflog.prePathType === 3) {
|
|
274253
|
-
//动态生成驳回连线
|
|
274254
|
-
//console.log(wflog)
|
|
274255
|
-
var pathLine = JSON.parse(JSON.stringify(_this4.connectLine));
|
|
274256
|
-
pathLine.ConnectionId = (0,common/* uuid */.u)();
|
|
274257
|
-
pathLine.label = pwflog[0].pathName;
|
|
274258
|
-
pathLine.PageSourceId = pwflog[0].nodeId;
|
|
274259
|
-
|
|
274260
|
-
//退回历史节点
|
|
274261
|
-
pathLine.PageTargetId = wflog.nodeId;
|
|
274262
|
-
pathLine.pathMinX = -53 - Math.random() * 50;
|
|
274263
|
-
pathLine.firstEndpoints = [0, 0.4, -1, 0]; //左出
|
|
274264
|
-
pathLine.secondEndpoints = [0, 0.6, -1, 0]; //左入
|
|
274265
|
-
pathLine.linesCount = 3;
|
|
274266
|
-
_this4.connectsArr.push(pathLine);
|
|
274267
|
-
_this4.pathObj.push({
|
|
274268
|
-
id: pathLine.ConnectionId,
|
|
274269
|
-
name: pathLine.label
|
|
274270
|
-
});
|
|
274271
|
-
}
|
|
274272
|
-
});
|
|
274273
|
-
}
|
|
274274
|
-
if (_this4.wfInstance.creatorAccount === _this4.curTN.userAccount && _this4.wfInstance.status < 2) {
|
|
274275
|
-
if (_this.wfInstance.udmNodes && _this.wfInstance.udmNodes.length > 0) {
|
|
274276
|
-
nodeIdArr.forEach(function (nodeId) {
|
|
274277
|
-
if (!jquery_default()('#' + nodeId).hasClass('start')) {
|
|
274278
|
-
FlowTracevue_type_script_lang_js_jsPlumb.addEndpoint(nodeId, {
|
|
274279
|
-
anchors: [1, 0.5, 1, 0],
|
|
274280
|
-
uuid: jsPlumbUtil.uuid()
|
|
274281
|
-
}, globalStyle/* hollowCircle */.Yy);
|
|
274282
|
-
FlowTracevue_type_script_lang_js_jsPlumb.addEndpoint(nodeId, {
|
|
274283
|
-
anchors: [0, 0.5, -1, 0],
|
|
274284
|
-
uuid: jsPlumbUtil.uuid()
|
|
274285
|
-
}, globalStyle/* hollowCircle */.Yy);
|
|
274286
|
-
FlowTracevue_type_script_lang_js_jsPlumb.addEndpoint(nodeId, {
|
|
274287
|
-
anchors: [0.5, 0, 0, -1],
|
|
274288
|
-
uuid: jsPlumbUtil.uuid()
|
|
274289
|
-
}, globalStyle/* hollowCircle */.Yy);
|
|
274290
|
-
FlowTracevue_type_script_lang_js_jsPlumb.addEndpoint(nodeId, {
|
|
274291
|
-
anchors: [0.5, 1, 0, 1],
|
|
274292
|
-
uuid: jsPlumbUtil.uuid()
|
|
274293
|
-
}, globalStyle/* hollowCircle */.Yy);
|
|
274086
|
+
return FlowTracevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/FlowTracevue_type_script_lang_js_regeneratorRuntime().mark(function _callee2() {
|
|
274087
|
+
var _this;
|
|
274088
|
+
return FlowTracevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
274089
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
274090
|
+
case 0:
|
|
274091
|
+
_context2.next = 2;
|
|
274092
|
+
return FlowTracevue_type_script_lang_js_loadGlobalStyle();
|
|
274093
|
+
case 2:
|
|
274094
|
+
_this = _this4;
|
|
274095
|
+
if (_this.loading) {
|
|
274096
|
+
_context2.next = 5;
|
|
274097
|
+
break;
|
|
274294
274098
|
}
|
|
274295
|
-
|
|
274296
|
-
|
|
274297
|
-
|
|
274099
|
+
return _context2.abrupt("return");
|
|
274100
|
+
case 5:
|
|
274101
|
+
//只加载一次
|
|
274298
274102
|
|
|
274299
|
-
|
|
274300
|
-
|
|
274301
|
-
|
|
274302
|
-
|
|
274303
|
-
|
|
274103
|
+
new Promise(function (resolve, reject) {
|
|
274104
|
+
if (_this.wfInstance.passenger.chartData) {
|
|
274105
|
+
var chartData = _this.wfInstance.passenger.chartData;
|
|
274106
|
+
_this4.connectsArr = chartData.connects;
|
|
274107
|
+
var domHtmlArr = chartData.domHtml;
|
|
274108
|
+
for (var i = 0; i < domHtmlArr.length; i++) {
|
|
274109
|
+
jquery_default()('#center').append(common/* Base64 */.o.decode(domHtmlArr[i].domH));
|
|
274110
|
+
}
|
|
274111
|
+
jquery_default()('.process').removeClass('seled');
|
|
274112
|
+
resolve(true);
|
|
274113
|
+
var descDiv = document.querySelector('.node-bg-desc');
|
|
274114
|
+
var desc = '1、鼠标移到“结束处理”路径前端锚点或无连接线锚点,可添加新节点;\r\n2、双击节点可以设置节点属性;\r\n3、点击工具栏中的“流程自测”按钮,可以测试流程配置是否正常。';
|
|
274115
|
+
var containerHeight = 130;
|
|
274116
|
+
var containerLeft = descDiv.offsetLeft + 10;
|
|
274117
|
+
var containerTop = 40;
|
|
274118
|
+
FlowTracevue_type_script_lang_js_showProcessDesc(desc, containerHeight, containerLeft, containerTop, 'none');
|
|
274119
|
+
} else if (_this.wfInstance.udmNodes) {
|
|
274120
|
+
var _descDiv = document.querySelector('.node-bg-desc');
|
|
274121
|
+
var _desc = '1、鼠标移到“结束处理”路径前端锚点或无连接线锚点,可添加新节点;\r\n2、双击节点可以设置节点属性;\r\n3、点击工具栏中的“流程自测”按钮,可以测试流程配置是否正常。';
|
|
274122
|
+
var _containerHeight = 130;
|
|
274123
|
+
var _containerLeft = _descDiv.offsetLeft + 10;
|
|
274124
|
+
var _containerTop = 40;
|
|
274125
|
+
FlowTracevue_type_script_lang_js_showProcessDesc(_desc, _containerHeight, _containerLeft, _containerTop, 'none');
|
|
274126
|
+
|
|
274127
|
+
//发起人自定义流程-暂时保留直接添加节点模式
|
|
274128
|
+
var connectsArr = [];
|
|
274129
|
+
var udmNodes = _this.wfInstance.udmNodes;
|
|
274130
|
+
if (typeof udmNodes === 'string') {
|
|
274131
|
+
udmNodes = JSON.parse(udmNodes);
|
|
274132
|
+
}
|
|
274304
274133
|
|
|
274305
|
-
|
|
274306
|
-
|
|
274307
|
-
|
|
274308
|
-
|
|
274309
|
-
|
|
274310
|
-
|
|
274311
|
-
|
|
274312
|
-
|
|
274313
|
-
|
|
274314
|
-
|
|
274315
|
-
|
|
274316
|
-
|
|
274317
|
-
|
|
274318
|
-
|
|
274319
|
-
|
|
274320
|
-
|
|
274321
|
-
|
|
274322
|
-
|
|
274323
|
-
|
|
274324
|
-
|
|
274325
|
-
|
|
274326
|
-
|
|
274327
|
-
|
|
274328
|
-
|
|
274329
|
-
|
|
274330
|
-
|
|
274331
|
-
|
|
274332
|
-
|
|
274333
|
-
|
|
274334
|
-
|
|
274335
|
-
|
|
274336
|
-
|
|
274337
|
-
|
|
274338
|
-
|
|
274339
|
-
|
|
274340
|
-
|
|
274341
|
-
|
|
274342
|
-
|
|
274343
|
-
|
|
274344
|
-
|
|
274345
|
-
|
|
274346
|
-
|
|
274347
|
-
|
|
274348
|
-
|
|
274349
|
-
|
|
274134
|
+
//开始节点
|
|
274135
|
+
var startId = (0,common/* uuid */.u)();
|
|
274136
|
+
var startNodeHtml = _this4.wfNodeHtml.start.domH.replace('id=""', 'id="' + startId + '"');
|
|
274137
|
+
jquery_default()('#center').append(startNodeHtml);
|
|
274138
|
+
|
|
274139
|
+
//结束节点
|
|
274140
|
+
var endId = (0,common/* uuid */.u)();
|
|
274141
|
+
var endNodeHtml = _this4.wfNodeHtml.jslc.domH.replace('id=""', 'id="' + endId + '"');
|
|
274142
|
+
var top = 100 + (100 + 80) * (udmNodes.length + 1);
|
|
274143
|
+
endNodeHtml = endNodeHtml.replace('style=""', 'style="left: 570px; top: ' + top + 'px;"');
|
|
274144
|
+
jquery_default()('#center').append(endNodeHtml);
|
|
274145
|
+
|
|
274146
|
+
//人工节点
|
|
274147
|
+
udmNodes.forEach(function (node, index) {
|
|
274148
|
+
if (index === 0) {
|
|
274149
|
+
var pathLine = JSON.parse(JSON.stringify(_this4.connectLine));
|
|
274150
|
+
pathLine.ConnectionId = (0,common/* uuid */.u)();
|
|
274151
|
+
pathLine.PageSourceId = startId;
|
|
274152
|
+
pathLine.PageTargetId = node.uuid;
|
|
274153
|
+
connectsArr.push(pathLine);
|
|
274154
|
+
} else if (node.returnHistoryTN > 0 && _this4.wfInstance.status > 0) {
|
|
274155
|
+
var _pathLine = JSON.parse(JSON.stringify(_this4.connectLine));
|
|
274156
|
+
_pathLine.ConnectionId = (0,common/* uuid */.u)();
|
|
274157
|
+
_pathLine.label = '退回';
|
|
274158
|
+
_pathLine.PageSourceId = node.uuid;
|
|
274159
|
+
if (node.returnHistoryTN == 1) {
|
|
274160
|
+
//退回上一节点
|
|
274161
|
+
_pathLine.PageTargetId = udmNodes[index - 1].uuid;
|
|
274162
|
+
_pathLine.pathMinX = -53;
|
|
274163
|
+
_pathLine.firstEndpoints = [0, 0.5, -1, 0];
|
|
274164
|
+
_pathLine.secondEndpoints = [0, 0.5, -1, 0];
|
|
274165
|
+
} else {
|
|
274166
|
+
//退回发起节点
|
|
274167
|
+
_pathLine.PageTargetId = udmNodes[0].uuid;
|
|
274168
|
+
_pathLine.pathMaxX = 53;
|
|
274169
|
+
_pathLine.firstEndpoints = [1, 0.5, 1, 0];
|
|
274170
|
+
_pathLine.secondEndpoints = [1, 0.5, 1, 0];
|
|
274171
|
+
}
|
|
274172
|
+
_pathLine.linesCount = 3;
|
|
274173
|
+
connectsArr.push(_pathLine);
|
|
274174
|
+
_this4.pathObj.push({
|
|
274175
|
+
id: _pathLine.ConnectionId,
|
|
274176
|
+
name: _pathLine.label
|
|
274177
|
+
});
|
|
274178
|
+
}
|
|
274179
|
+
if (index + 1 === udmNodes.length) {
|
|
274180
|
+
var _pathLine2 = JSON.parse(JSON.stringify(_this4.connectLine));
|
|
274181
|
+
_pathLine2.ConnectionId = (0,common/* uuid */.u)();
|
|
274182
|
+
_pathLine2.label = '结束处理';
|
|
274183
|
+
_pathLine2.PageSourceId = node.uuid;
|
|
274184
|
+
_pathLine2.PageTargetId = endId;
|
|
274185
|
+
connectsArr.push(_pathLine2);
|
|
274186
|
+
_this4.pathObj.push({
|
|
274187
|
+
id: _pathLine2.ConnectionId,
|
|
274188
|
+
name: _pathLine2.label
|
|
274189
|
+
});
|
|
274190
|
+
}
|
|
274191
|
+
if (index + 1 < udmNodes.length) {
|
|
274192
|
+
var _pathLine3 = JSON.parse(JSON.stringify(_this4.connectLine));
|
|
274193
|
+
_pathLine3.ConnectionId = (0,common/* uuid */.u)();
|
|
274194
|
+
_pathLine3.label = '送' + udmNodes[index + 1].name;
|
|
274195
|
+
_pathLine3.PageSourceId = node.uuid;
|
|
274196
|
+
_pathLine3.PageTargetId = udmNodes[index + 1].uuid;
|
|
274197
|
+
connectsArr.push(_pathLine3);
|
|
274198
|
+
_this4.pathObj.push({
|
|
274199
|
+
id: _pathLine3.ConnectionId,
|
|
274200
|
+
name: _pathLine3.label
|
|
274201
|
+
});
|
|
274202
|
+
}
|
|
274203
|
+
var nodeHtml = '';
|
|
274204
|
+
if (node.todoMode == 0) {
|
|
274205
|
+
nodeHtml = _this4.wfNodeHtml.ptjd.domH.replace('<p>普通节点</p>', '<p>' + node.name + '</p>');
|
|
274206
|
+
} else if (node.todoMode == 1) {
|
|
274207
|
+
nodeHtml = _this4.wfNodeHtml.drbx.domH.replace('<p>多人并行</p>', '<p>' + node.name + '</p>');
|
|
274208
|
+
} else if (node.todoMode == 2) {
|
|
274209
|
+
nodeHtml = _this4.wfNodeHtml.hqjd.domH.replace('<p>多人会签</p>', '<p>' + node.name + '</p>');
|
|
274210
|
+
} else if (node.todoMode == 3) {
|
|
274211
|
+
nodeHtml = _this4.wfNodeHtml.drcx.domH.replace('<p>多人串行</p>', '<p>' + node.name + '</p>');
|
|
274212
|
+
} else if (node.todoMode == 4) {
|
|
274213
|
+
nodeHtml = _this4.wfNodeHtml.jzjd.domH.replace('<p>多人竞争</p>', '<p>' + node.name + '</p>');
|
|
274214
|
+
} else if (node.todoMode == 5) {
|
|
274215
|
+
nodeHtml = _this4.wfNodeHtml.ywjd.domH.replace('<p>多人阅文</p>', '<p>' + node.name + '</p>');
|
|
274216
|
+
}
|
|
274217
|
+
var top = 100 + (100 + 80) * (index + 1);
|
|
274218
|
+
nodeHtml = nodeHtml.replace('style=""', 'style="left: 530px; top: ' + top + 'px;"');
|
|
274219
|
+
jquery_default()('#center').append(nodeHtml.replace('id=""', 'id="' + node.uuid + '"'));
|
|
274220
|
+
_this.wflow.nodes.push(node);
|
|
274221
|
+
});
|
|
274222
|
+
_this.connectsArr = connectsArr;
|
|
274223
|
+
resolve(true);
|
|
274224
|
+
} else {
|
|
274225
|
+
//流程配置
|
|
274226
|
+
_this4.$http({
|
|
274227
|
+
method: 'GET',
|
|
274228
|
+
params: {
|
|
274229
|
+
product: _this4.product,
|
|
274230
|
+
dwadmin: _this4.dwadmin,
|
|
274231
|
+
copy: _this4.$route.query.copy
|
|
274232
|
+
},
|
|
274233
|
+
contentType: 'application/x-www-form-urlencoded',
|
|
274234
|
+
url: 'workflow/wfdProcessMgr/getById?id=' + _this4.wfInstance.wfId + ''
|
|
274235
|
+
}).then(function (response) {
|
|
274236
|
+
_this4.wflow = response.body.vo;
|
|
274237
|
+
for (var o = 0; o < _this4.wflow.paths.length; o++) {
|
|
274238
|
+
_this4.pathObj.push(_this4.wflow.paths[o]);
|
|
274239
|
+
}
|
|
274240
|
+
_this4.wflow.paths.length = 0;
|
|
274241
|
+
_this4.process = response.body.vo.process;
|
|
274242
|
+
var chartData = JSON.parse(_this4.process.chartData);
|
|
274243
|
+
var connectsArr = chartData.connects;
|
|
274244
|
+
_this4.connectsArr = connectsArr;
|
|
274245
|
+
var domHtmlArr = chartData.domHtml;
|
|
274246
|
+
for (var _i = 0; _i < domHtmlArr.length; _i++) {
|
|
274247
|
+
jquery_default()('#center').append(common/* Base64 */.o.decode(domHtmlArr[_i].domH));
|
|
274248
|
+
}
|
|
274249
|
+
if (_this4.process && _this4.process.description) {
|
|
274250
|
+
var desc = _this4.process.description;
|
|
274251
|
+
var containerHeight = 180;
|
|
274252
|
+
var containerLeft = null;
|
|
274253
|
+
var containerTop = null;
|
|
274254
|
+
if (chartData.descDiv) {
|
|
274255
|
+
containerHeight = chartData.descDiv.height;
|
|
274256
|
+
containerLeft = chartData.descDiv.left;
|
|
274257
|
+
containerTop = chartData.descDiv.top;
|
|
274258
|
+
}
|
|
274259
|
+
FlowTracevue_type_script_lang_js_showProcessDesc(desc, containerHeight, containerLeft, containerTop);
|
|
274260
|
+
}
|
|
274261
|
+
resolve(true);
|
|
274262
|
+
}, function (error) {
|
|
274263
|
+
_this4.$message.error(error);
|
|
274264
|
+
reject(error);
|
|
274265
|
+
});
|
|
274266
|
+
}
|
|
274267
|
+
}).then(function () {
|
|
274268
|
+
_this4.loading = false;
|
|
274269
|
+
var nodeIdArr = [];
|
|
274270
|
+
jquery_default()('.process').removeClass('seled');
|
|
274271
|
+
jquery_default()('.process').each(function (index, elem) {
|
|
274272
|
+
nodeIdArr.push(jquery_default()(elem).attr('id'));
|
|
274273
|
+
if (jquery_default()(elem).hasClass('childWf')) {
|
|
274274
|
+
jquery_default()(elem).find('img').attr('src', _this4.zlc);
|
|
274275
|
+
} else if (jquery_default()(elem).hasClass('parentWf')) {
|
|
274276
|
+
jquery_default()(elem).find('img').attr('src', _this4.plc);
|
|
274277
|
+
} else if (jquery_default()(elem).hasClass('ptjd')) {
|
|
274278
|
+
jquery_default()(elem).find('img').attr('src', _this4.ptjd);
|
|
274279
|
+
jquery_default()(elem).find('span').text('普通节点');
|
|
274280
|
+
} else if (jquery_default()(elem).hasClass('jzjd')) {
|
|
274281
|
+
jquery_default()(elem).find('img').attr('src', _this4.jzjd);
|
|
274282
|
+
jquery_default()(elem).find('span').text('竞争节点');
|
|
274283
|
+
} else if (jquery_default()(elem).hasClass('drbx')) {
|
|
274284
|
+
jquery_default()(elem).find('img').attr('src', _this4.drbx);
|
|
274285
|
+
jquery_default()(elem).find('span').text('多人并行');
|
|
274286
|
+
} else if (jquery_default()(elem).hasClass('drcx')) {
|
|
274287
|
+
jquery_default()(elem).find('img').attr('src', _this4.drcx);
|
|
274288
|
+
jquery_default()(elem).find('span').text('多人串行');
|
|
274289
|
+
} else if (jquery_default()(elem).hasClass('hqjd')) {
|
|
274290
|
+
jquery_default()(elem).find('img').attr('src', _this4.hqjd);
|
|
274291
|
+
jquery_default()(elem).find('span').text('会签节点');
|
|
274292
|
+
} else if (jquery_default()(elem).hasClass('ywjd')) {
|
|
274293
|
+
jquery_default()(elem).find('img').attr('src', _this4.ywjd);
|
|
274294
|
+
jquery_default()(elem).find('span').text('阅文节点');
|
|
274295
|
+
}
|
|
274296
|
+
if (_this.wfInstance.udmNodes && _this.wfInstance.udmNodes.length > 0 && _this4.wfInstance.creatorAccount === _this4.curTN.userAccount && _this4.wfInstance.status < 2) {
|
|
274297
|
+
FlowTracevue_type_script_lang_js_nodeEvents(jquery_default()(elem).attr('id'), _this4.wflow, _this4);
|
|
274298
|
+
}
|
|
274299
|
+
if (elem.innerHTML && elem.firstChild && elem.firstChild.nextElementSibling) {
|
|
274300
|
+
//删除流程跟踪图中的环节处理人
|
|
274301
|
+
elem.innerHTML = elem.firstChild.outerHTML + elem.firstChild.nextElementSibling.outerHTML;
|
|
274302
|
+
}
|
|
274303
|
+
var ui = {
|
|
274304
|
+
position: {
|
|
274305
|
+
left: elem.offsetLeft,
|
|
274306
|
+
top: elem.offsetTop
|
|
274307
|
+
}
|
|
274308
|
+
};
|
|
274309
|
+
FlowTracevue_type_script_lang_js_resetLocation(ui, jquery_default()(elem).attr('id'));
|
|
274310
|
+
});
|
|
274311
|
+
nodeIdArr.forEach(function (nodeId) {
|
|
274312
|
+
jquery_default()("#".concat(nodeId)).addClass('model_process_wwc');
|
|
274313
|
+
});
|
|
274314
|
+
if (_this4.wflogList && _this4.wflogList.length > 0) {
|
|
274315
|
+
_this4.wflogList.forEach(function (wflog) {
|
|
274316
|
+
if (!wflog.parentId) return;
|
|
274317
|
+
var pwflog = _this4.wflogList.filter(function (pwflog) {
|
|
274318
|
+
return pwflog.id === wflog.parentId;
|
|
274319
|
+
});
|
|
274320
|
+
if (pwflog.length === 0) return;
|
|
274321
|
+
var connectLine = _this4.connectsArr.filter(function (conn) {
|
|
274322
|
+
return conn.PageSourceId === pwflog[0].nodeId && conn.PageTargetId === wflog.nodeId;
|
|
274323
|
+
});
|
|
274324
|
+
if (connectLine.length === 0 && wflog.prePathType === 3) {
|
|
274325
|
+
//动态生成驳回连线
|
|
274326
|
+
//console.log(wflog)
|
|
274327
|
+
var pathLine = JSON.parse(JSON.stringify(_this4.connectLine));
|
|
274328
|
+
pathLine.ConnectionId = (0,common/* uuid */.u)();
|
|
274329
|
+
pathLine.label = pwflog[0].pathName;
|
|
274330
|
+
pathLine.PageSourceId = pwflog[0].nodeId;
|
|
274331
|
+
|
|
274332
|
+
//退回历史节点
|
|
274333
|
+
pathLine.PageTargetId = wflog.nodeId;
|
|
274334
|
+
pathLine.pathMinX = -53 - Math.random() * 50;
|
|
274335
|
+
pathLine.firstEndpoints = [0, 0.4, -1, 0]; //左出
|
|
274336
|
+
pathLine.secondEndpoints = [0, 0.6, -1, 0]; //左入
|
|
274337
|
+
pathLine.linesCount = 3;
|
|
274338
|
+
_this4.connectsArr.push(pathLine);
|
|
274339
|
+
_this4.pathObj.push({
|
|
274340
|
+
id: pathLine.ConnectionId,
|
|
274341
|
+
name: pathLine.label
|
|
274342
|
+
});
|
|
274343
|
+
}
|
|
274344
|
+
});
|
|
274345
|
+
}
|
|
274346
|
+
if (_this4.wfInstance.creatorAccount === _this4.curTN.userAccount && _this4.wfInstance.status < 2) {
|
|
274347
|
+
if (_this.wfInstance.udmNodes && _this.wfInstance.udmNodes.length > 0) {
|
|
274348
|
+
nodeIdArr.forEach(function (nodeId) {
|
|
274349
|
+
if (!jquery_default()('#' + nodeId).hasClass('start')) {
|
|
274350
|
+
FlowTracevue_type_script_lang_js_jsPlumb.addEndpoint(nodeId, {
|
|
274351
|
+
anchors: [1, 0.5, 1, 0],
|
|
274352
|
+
uuid: jsPlumbUtil.uuid()
|
|
274353
|
+
}, FlowTracevue_type_script_lang_js_hollowCircle);
|
|
274354
|
+
FlowTracevue_type_script_lang_js_jsPlumb.addEndpoint(nodeId, {
|
|
274355
|
+
anchors: [0, 0.5, -1, 0],
|
|
274356
|
+
uuid: jsPlumbUtil.uuid()
|
|
274357
|
+
}, FlowTracevue_type_script_lang_js_hollowCircle);
|
|
274358
|
+
FlowTracevue_type_script_lang_js_jsPlumb.addEndpoint(nodeId, {
|
|
274359
|
+
anchors: [0.5, 0, 0, -1],
|
|
274360
|
+
uuid: jsPlumbUtil.uuid()
|
|
274361
|
+
}, FlowTracevue_type_script_lang_js_hollowCircle);
|
|
274362
|
+
FlowTracevue_type_script_lang_js_jsPlumb.addEndpoint(nodeId, {
|
|
274363
|
+
anchors: [0.5, 1, 0, 1],
|
|
274364
|
+
uuid: jsPlumbUtil.uuid()
|
|
274365
|
+
}, FlowTracevue_type_script_lang_js_hollowCircle);
|
|
274366
|
+
}
|
|
274367
|
+
});
|
|
274368
|
+
}
|
|
274369
|
+
}
|
|
274350
274370
|
|
|
274351
|
-
|
|
274352
|
-
|
|
274353
|
-
|
|
274354
|
-
|
|
274355
|
-
|
|
274356
|
-
fillStyle: '#438eb9',
|
|
274357
|
-
radius: 5,
|
|
274358
|
-
lineWidth: '5px',
|
|
274359
|
-
strokeWidth: 2
|
|
274360
|
-
});
|
|
274361
|
-
_this4.ComparePath();
|
|
274362
|
-
_this4.redoPaths.push(info); // 全部连接后,再重复设置一次连接线新式,解决决策、聚合节点后已执行路径样式不能更新的问题
|
|
274371
|
+
//节点连接线
|
|
274372
|
+
FlowTracevue_type_script_lang_js_createPathLine(_this4.connectsArr);
|
|
274373
|
+
if (_this.wfInstance.udmNodes && _this4.wfInstance.creatorAccount === _this4.curTN.userAccount && _this4.wfInstance.status < 2) {
|
|
274374
|
+
// 双击给该元素动态添加锚点
|
|
274375
|
+
_this4.AddAnchor();
|
|
274363
274376
|
|
|
274364
|
-
|
|
274365
|
-
|
|
274366
|
-
|
|
274367
|
-
|
|
274368
|
-
|
|
274369
|
-
|
|
274370
|
-
|
|
274371
|
-
|
|
274372
|
-
|
|
274373
|
-
|
|
274374
|
-
|
|
274375
|
-
|
|
274376
|
-
|
|
274377
|
-
|
|
274378
|
-
|
|
274379
|
-
|
|
274380
|
-
|
|
274381
|
-
|
|
274382
|
-
|
|
274383
|
-
|
|
274384
|
-
|
|
274385
|
-
|
|
274386
|
-
|
|
274387
|
-
|
|
274388
|
-
|
|
274389
|
-
|
|
274390
|
-
|
|
274391
|
-
|
|
274392
|
-
|
|
274393
|
-
|
|
274394
|
-
|
|
274395
|
-
|
|
274396
|
-
|
|
274397
|
-
|
|
274398
|
-
|
|
274399
|
-
|
|
274400
|
-
|
|
274401
|
-
|
|
274402
|
-
|
|
274403
|
-
|
|
274404
|
-
|
|
274405
|
-
|
|
274406
|
-
|
|
274407
|
-
|
|
274408
|
-
|
|
274409
|
-
});
|
|
274410
|
-
jquery_default()('#center').bind('mouseover', function (originalEvent) {
|
|
274411
|
-
var target = originalEvent.target || originalEvent.toElement;
|
|
274412
|
-
if (target.tagName !== 'circle' && target.tagName !== 'BUTTON' && target.tagName !== 'I') {
|
|
274413
|
-
jquery_default()('.icon-drag-line').css({
|
|
274414
|
-
display: 'none'
|
|
274415
|
-
});
|
|
274416
|
-
}
|
|
274417
|
-
});
|
|
274418
|
-
jquery_default()('#center').bind('mouseout', function (originalEvent) {
|
|
274419
|
-
_this.saveChartData();
|
|
274420
|
-
});
|
|
274421
|
-
FlowTracevue_type_script_lang_js_jsPlumb.bind('contextmenu', function (conn, originalEvent) {
|
|
274422
|
-
if (jquery_default()('#centextMenu').length > 0) {
|
|
274423
|
-
jquery_default()('#centextMenu').remove();
|
|
274424
|
-
}
|
|
274425
|
-
var aConn = FlowTracevue_type_script_lang_js_jsPlumb.getConnections(); // 获取容器所有的连接线
|
|
274426
|
-
for (var i = 0; i < aConn.length; i++) {
|
|
274427
|
-
if (aConn[i].id !== conn.id) {
|
|
274428
|
-
aConn[i].setPaintStyle({
|
|
274429
|
-
stroke: '#438eb9',
|
|
274430
|
-
fillStyle: '#438eb9',
|
|
274431
|
-
radius: 5
|
|
274432
|
-
});
|
|
274433
|
-
} else {
|
|
274434
|
-
aConn[i].setPaintStyle({
|
|
274435
|
-
stroke: 'red'
|
|
274436
|
-
});
|
|
274437
|
-
}
|
|
274438
|
-
}
|
|
274439
|
-
var centextMenu = '<div id="centextMenu" style=" top:' + (originalEvent.pageY - 90) + 'px;left:' + (originalEvent.pageX - 20) + 'px;">' + '<a class="delete_line" href="javascript:;">删除连接线</a></div>';
|
|
274440
|
-
jquery_default()('#center').append(centextMenu);
|
|
274441
|
-
jquery_default()('.delete_line').bind('click', function () {
|
|
274442
|
-
// 删除连线时,获取连线的id,循环所有nextNodes的pathId,如果是删除的连线id,删除nextNode
|
|
274443
|
-
var deleteConnId = conn.id;
|
|
274444
|
-
var nextnode = jquery_default()(conn.target);
|
|
274445
|
-
var _this = _this4;
|
|
274377
|
+
// 选择加载的node拖放,支持单个、多个
|
|
274378
|
+
jquery_default()('.process').draggable({
|
|
274379
|
+
containment: '#center'
|
|
274380
|
+
});
|
|
274381
|
+
jquery_default()('.process').draggable({
|
|
274382
|
+
distance: 20
|
|
274383
|
+
});
|
|
274384
|
+
jquery_default()('.process').draggable({
|
|
274385
|
+
grid: [10, 10],
|
|
274386
|
+
start: function start() {
|
|
274387
|
+
FlowTracevue_type_script_lang_js_startMove();
|
|
274388
|
+
FlowTracevue_type_script_lang_js_jsPlumb.repaintEverything();
|
|
274389
|
+
},
|
|
274390
|
+
drag: function drag(event, ui) {
|
|
274391
|
+
var uiid = event.target.id;
|
|
274392
|
+
FlowTracevue_type_script_lang_js_MoveSelectDiv(event, ui, uiid);
|
|
274393
|
+
_this4.ComparePath();
|
|
274394
|
+
_this4.isDomChange = true; // 如果dom移动
|
|
274395
|
+
FlowTracevue_type_script_lang_js_jsPlumb.repaintEverything();
|
|
274396
|
+
},
|
|
274397
|
+
stop: function stop(event, ui) {
|
|
274398
|
+
FlowTracevue_type_script_lang_js_resetLocation(ui, event.target.id);
|
|
274399
|
+
FlowTracevue_type_script_lang_js_jsPlumb.repaintEverything();
|
|
274400
|
+
}
|
|
274401
|
+
});
|
|
274402
|
+
}
|
|
274403
|
+
if (_this4.wflogList && _this4.wflogList.length > 0 && (!_this.wfInstance.udmNodes || _this.wfInstance.udmNodes && _this.wfInstance.status > 0)) {
|
|
274404
|
+
var wflogList = _this4.setWflogNodeId(_this4.wflogList);
|
|
274405
|
+
for (var i = 0; i < _this4.redoPathsTimes; i++) {
|
|
274406
|
+
_this4.redoPaths.forEach(function (info) {
|
|
274407
|
+
_this4.flowRedo(info, wflogList); // 再重复设置一次连接线样式,解决决策、聚合节点后已执行路径样式不能更新的问题
|
|
274408
|
+
});
|
|
274409
|
+
}
|
|
274410
|
+
}
|
|
274411
|
+
document.querySelectorAll('.model_process_wwc').forEach(function (wwc) {
|
|
274412
|
+
wwc.onclick = function () {
|
|
274413
|
+
_this4.showWflog = null;
|
|
274414
|
+
};
|
|
274415
|
+
});
|
|
274416
|
+
_this4.wflow.ideaLabels = [{}];
|
|
274417
|
+
_this4.ideaArr = [];
|
|
274418
|
+
var processDesc = document.querySelector('.process-desc-container');
|
|
274419
|
+
if (processDesc) processDesc.style.display = '';
|
|
274420
|
+
_this4.$emit('clickloading');
|
|
274421
|
+
});
|
|
274446
274422
|
|
|
274447
|
-
|
|
274448
|
-
|
|
274449
|
-
|
|
274450
|
-
|
|
274451
|
-
|
|
274452
|
-
|
|
274453
|
-
|
|
274454
|
-
|
|
274423
|
+
// 1路径创建
|
|
274424
|
+
FlowTracevue_type_script_lang_js_jsPlumb.bind('connection', function (info) {
|
|
274425
|
+
_this4.dragPath(info);
|
|
274426
|
+
info.connection.setPaintStyle({
|
|
274427
|
+
stroke: '#438eb9',
|
|
274428
|
+
fillStyle: '#438eb9',
|
|
274429
|
+
radius: 5,
|
|
274430
|
+
lineWidth: '5px',
|
|
274431
|
+
strokeWidth: 2
|
|
274432
|
+
});
|
|
274433
|
+
_this4.ComparePath();
|
|
274434
|
+
_this4.redoPaths.push(info); // 全部连接后,再重复设置一次连接线新式,解决决策、聚合节点后已执行路径样式不能更新的问题
|
|
274435
|
+
|
|
274436
|
+
return false;
|
|
274437
|
+
});
|
|
274438
|
+
if (!(!_this.wfInstance.udmNodes || _this4.wfInstance.creatorAccount !== _this4.curTN.userAccount || _this4.wfInstance.status >= 2)) {
|
|
274439
|
+
_context2.next = 9;
|
|
274440
|
+
break;
|
|
274455
274441
|
}
|
|
274456
|
-
|
|
274457
|
-
|
|
274458
|
-
|
|
274459
|
-
|
|
274460
|
-
|
|
274461
|
-
|
|
274462
|
-
|
|
274463
|
-
|
|
274464
|
-
|
|
274465
|
-
|
|
274466
|
-
|
|
274467
|
-
|
|
274468
|
-
|
|
274469
|
-
|
|
274470
|
-
|
|
274471
|
-
|
|
274472
|
-
|
|
274473
|
-
|
|
274474
|
-
|
|
274475
|
-
|
|
274476
|
-
|
|
274477
|
-
|
|
274478
|
-
|
|
274479
|
-
|
|
274442
|
+
return _context2.abrupt("return");
|
|
274443
|
+
case 9:
|
|
274444
|
+
jquery_default()('#center').click(function () {
|
|
274445
|
+
jquery_default()('#centextMenu').remove();
|
|
274446
|
+
var aConn = FlowTracevue_type_script_lang_js_jsPlumb.getConnections(); // 获取容器所有的连接线
|
|
274447
|
+
for (var i = 0; i < aConn.length; i++) {
|
|
274448
|
+
aConn[i].setPaintStyle({
|
|
274449
|
+
stroke: '#438eb9',
|
|
274450
|
+
fillStyle: '#438eb9',
|
|
274451
|
+
radius: 5
|
|
274452
|
+
});
|
|
274453
|
+
aConn[i].endpoints[0]._jsPlumb.maxConnections = -1;
|
|
274454
|
+
aConn[i].endpoints[1]._jsPlumb.maxConnections = -1;
|
|
274455
|
+
}
|
|
274456
|
+
_this.ComparePath();
|
|
274457
|
+
if (window.getSelection) {
|
|
274458
|
+
window.getSelection().removeAllRanges();
|
|
274459
|
+
}
|
|
274460
|
+
});
|
|
274461
|
+
FlowTracevue_type_script_lang_js_jsPlumb.bind('mouseover', function (conn, originalEvent) {
|
|
274462
|
+
var target = originalEvent.target || originalEvent.toElement;
|
|
274463
|
+
if (target.tagName === 'circle' && conn && !_this4.dragLine) {
|
|
274464
|
+
//显示“添加新节点”按钮
|
|
274465
|
+
var source = jquery_default()(conn.element);
|
|
274466
|
+
if (!source.hasClass('model_process_yb') && !source.hasClass('jslc') && !source.hasClass('jsrw') && !source.hasClass('parentWf')) {
|
|
274467
|
+
FlowTracevue_type_script_lang_js_showAddNodeBtn(_this4, conn, target, originalEvent);
|
|
274468
|
+
}
|
|
274469
|
+
} else if (target.tagName === 'circle' && _this4.dragLine) {
|
|
274470
|
+
var targetDiv = target.parentElement.parentElement;
|
|
274471
|
+
var btn = document.querySelector('.icon-drag-line');
|
|
274472
|
+
btn.style.top = targetDiv.style.top;
|
|
274473
|
+
btn.style.left = targetDiv.style.left;
|
|
274474
|
+
btn.style.display = 'block';
|
|
274475
|
+
}
|
|
274476
|
+
});
|
|
274477
|
+
jquery_default()(document).bind('mouseout', function (originalEvent) {
|
|
274478
|
+
var target = originalEvent.target || originalEvent.toElement;
|
|
274479
|
+
if (target.tagName !== 'circle') {
|
|
274480
|
+
//隐藏“添加新节点”按钮
|
|
274481
|
+
var btn = document.querySelector('.add-node-btn');
|
|
274482
|
+
if (btn) btn.style.display = 'none';
|
|
274483
|
+
}
|
|
274484
|
+
});
|
|
274485
|
+
jquery_default()('#center').bind('mouseover', function (originalEvent) {
|
|
274486
|
+
var target = originalEvent.target || originalEvent.toElement;
|
|
274487
|
+
if (target.tagName !== 'circle' && target.tagName !== 'BUTTON' && target.tagName !== 'I') {
|
|
274488
|
+
jquery_default()('.icon-drag-line').css({
|
|
274489
|
+
display: 'none'
|
|
274490
|
+
});
|
|
274491
|
+
}
|
|
274492
|
+
});
|
|
274493
|
+
jquery_default()('#center').bind('mouseout', function (originalEvent) {
|
|
274494
|
+
_this.saveChartData();
|
|
274495
|
+
});
|
|
274496
|
+
FlowTracevue_type_script_lang_js_jsPlumb.bind('contextmenu', function (conn, originalEvent) {
|
|
274497
|
+
if (jquery_default()('#centextMenu').length > 0) {
|
|
274498
|
+
jquery_default()('#centextMenu').remove();
|
|
274499
|
+
}
|
|
274500
|
+
var aConn = FlowTracevue_type_script_lang_js_jsPlumb.getConnections(); // 获取容器所有的连接线
|
|
274501
|
+
for (var i = 0; i < aConn.length; i++) {
|
|
274502
|
+
if (aConn[i].id !== conn.id) {
|
|
274503
|
+
aConn[i].setPaintStyle({
|
|
274504
|
+
stroke: '#438eb9',
|
|
274505
|
+
fillStyle: '#438eb9',
|
|
274506
|
+
radius: 5
|
|
274507
|
+
});
|
|
274508
|
+
} else {
|
|
274509
|
+
aConn[i].setPaintStyle({
|
|
274510
|
+
stroke: 'red'
|
|
274511
|
+
});
|
|
274512
|
+
}
|
|
274513
|
+
}
|
|
274514
|
+
var centextMenu = '<div id="centextMenu" style=" top:' + (originalEvent.pageY - 90) + 'px;left:' + (originalEvent.pageX - 20) + 'px;">' + '<a class="delete_line" href="javascript:;">删除连接线</a></div>';
|
|
274515
|
+
jquery_default()('#center').append(centextMenu);
|
|
274516
|
+
jquery_default()('.delete_line').bind('click', function () {
|
|
274517
|
+
// 删除连线时,获取连线的id,循环所有nextNodes的pathId,如果是删除的连线id,删除nextNode
|
|
274518
|
+
var deleteConnId = conn.id;
|
|
274519
|
+
var nextnode = jquery_default()(conn.target);
|
|
274520
|
+
var _this = _this4;
|
|
274521
|
+
|
|
274522
|
+
// 当两个决策节点或者聚合节点删除连接线时,判断第二个节点是否还有其他的连接线,如果没有删除类标记
|
|
274523
|
+
if ((nextnode.hasClass('jcjd') || nextnode.hasClass('jhjd')) && nextnode.hasClass('lastJ')) {
|
|
274524
|
+
var targgetId = conn.targetId;
|
|
274525
|
+
var allConnections = FlowTracevue_type_script_lang_js_jsPlumb.getAllConnections();
|
|
274526
|
+
var counts = 0;
|
|
274527
|
+
for (var _i2 = 0; _i2 < allConnections.length; _i2++) {
|
|
274528
|
+
if (allConnections[_i2].id !== conn.id && (jquery_default()(allConnections[_i2].source).hasClass('jcjd') || jquery_default()(allConnections[_i2].source).hasClass('jhjd')) && allConnections[_i2].targetId === targgetId) {
|
|
274529
|
+
counts++;
|
|
274530
|
+
}
|
|
274531
|
+
}
|
|
274532
|
+
if (counts === 0) {
|
|
274533
|
+
nextnode.removeClass('lastJ');
|
|
274534
|
+
}
|
|
274535
|
+
}
|
|
274536
|
+
for (var _i3 = 0; _i3 < _this4.wflow.nextNodes.length; _i3++) {
|
|
274537
|
+
if (_this.wflow.nextNodes[_i3].pathId === deleteConnId) {
|
|
274538
|
+
_this.wflow.nextNodes.splice(_i3--, 1);
|
|
274539
|
+
}
|
|
274540
|
+
}
|
|
274541
|
+
for (var _i4 = 0; _i4 < _this4.wflow.pathFieldValues.length; _i4++) {
|
|
274542
|
+
if (_this.wflow.pathFieldValues[_i4].pathId === deleteConnId) {
|
|
274543
|
+
_this.wflow.pathFieldValues.splice(_i4--, 1);
|
|
274544
|
+
}
|
|
274545
|
+
}
|
|
274546
|
+
for (var _i5 = 0; _i5 < _this4.wflow.paths.length; _i5++) {
|
|
274547
|
+
if (conn.id === _this.wflow.paths[_i5].id) {
|
|
274548
|
+
_this.wflow.paths.splice(_i5--, 1);
|
|
274549
|
+
}
|
|
274550
|
+
}
|
|
274551
|
+
FlowTracevue_type_script_lang_js_jsPlumb.deleteConnection(conn);
|
|
274552
|
+
// 删除wflow.paths中的path
|
|
274553
|
+
});
|
|
274554
|
+
});
|
|
274480
274555
|
|
|
274481
|
-
|
|
274482
|
-
|
|
274483
|
-
|
|
274484
|
-
|
|
274485
|
-
|
|
274486
|
-
|
|
274487
|
-
|
|
274488
|
-
|
|
274489
|
-
|
|
274490
|
-
|
|
274491
|
-
|
|
274492
|
-
|
|
274493
|
-
|
|
274494
|
-
|
|
274495
|
-
|
|
274496
|
-
|
|
274497
|
-
|
|
274498
|
-
|
|
274499
|
-
|
|
274500
|
-
|
|
274501
|
-
|
|
274502
|
-
|
|
274503
|
-
|
|
274504
|
-
|
|
274505
|
-
|
|
274506
|
-
|
|
274507
|
-
|
|
274508
|
-
|
|
274509
|
-
|
|
274510
|
-
|
|
274511
|
-
|
|
274512
|
-
|
|
274513
|
-
|
|
274514
|
-
|
|
274515
|
-
|
|
274516
|
-
|
|
274517
|
-
|
|
274556
|
+
// 3自定义右键菜单
|
|
274557
|
+
jquery_default()(document).bind('contextmenu', function () {
|
|
274558
|
+
return false;
|
|
274559
|
+
});
|
|
274560
|
+
jquery_default()('#center').bind('mousedown', function (e) {
|
|
274561
|
+
if (e.which === 3) {
|
|
274562
|
+
jquery_default()('.dropdown-menu').hide();
|
|
274563
|
+
if (e.target.offsetParent && e.target.offsetParent.id === 'addNodeBtn') {
|
|
274564
|
+
jquery_default()('.dropdown-menu').find('a').hide();
|
|
274565
|
+
jquery_default()('#centextMenu').remove();
|
|
274566
|
+
jquery_default()('.dropdown-menu').show();
|
|
274567
|
+
jquery_default()('.dropdown-menu').css({
|
|
274568
|
+
left: e.pageX,
|
|
274569
|
+
top: e.pageY
|
|
274570
|
+
});
|
|
274571
|
+
jquery_default()('#manualConn').show();
|
|
274572
|
+
jquery_default()('.dropdown-menu').find('#manualConn').unbind();
|
|
274573
|
+
jquery_default()('#manualConn').bind('click', function () {
|
|
274574
|
+
//设置为连接线模式
|
|
274575
|
+
_this.dragLine = true;
|
|
274576
|
+
_this.$forceUpdate();
|
|
274577
|
+
});
|
|
274578
|
+
} else if (e.target.offsetParent && e.target.offsetParent.id === 'dragLineBtn') {
|
|
274579
|
+
jquery_default()('.dropdown-menu').find('a').hide();
|
|
274580
|
+
jquery_default()('#centextMenu').remove();
|
|
274581
|
+
jquery_default()('.dropdown-menu').show();
|
|
274582
|
+
jquery_default()('.dropdown-menu').css({
|
|
274583
|
+
left: e.pageX,
|
|
274584
|
+
top: e.pageY
|
|
274585
|
+
});
|
|
274586
|
+
jquery_default()('#autoConn').show();
|
|
274587
|
+
jquery_default()('.dropdown-menu').find('#autoConn').unbind();
|
|
274588
|
+
jquery_default()('#autoConn').bind('click', function () {
|
|
274589
|
+
//设置为连接线模式
|
|
274590
|
+
_this.dragLine = false;
|
|
274591
|
+
_this.$forceUpdate();
|
|
274592
|
+
});
|
|
274593
|
+
}
|
|
274594
|
+
return false;
|
|
274595
|
+
}
|
|
274596
|
+
});
|
|
274597
|
+
jquery_default()(document).bind('click', function () {
|
|
274598
|
+
jquery_default()('.dropdown-menu').hide();
|
|
274599
|
+
jquery_default()('.dropdown-menu').find('#deleteNode').unbind();
|
|
274600
|
+
});
|
|
274601
|
+
case 18:
|
|
274602
|
+
case "end":
|
|
274603
|
+
return _context2.stop();
|
|
274518
274604
|
}
|
|
274519
|
-
|
|
274520
|
-
|
|
274521
|
-
});
|
|
274522
|
-
jquery_default()(document).bind('click', function () {
|
|
274523
|
-
jquery_default()('.dropdown-menu').hide();
|
|
274524
|
-
jquery_default()('.dropdown-menu').find('#deleteNode').unbind();
|
|
274525
|
-
});
|
|
274605
|
+
}, _callee2);
|
|
274606
|
+
}))();
|
|
274526
274607
|
},
|
|
274527
274608
|
setWflogNodeId: function setWflogNodeId(wflogList) {
|
|
274528
274609
|
if (!this.wfInstance.udmNodes) {
|
|
@@ -274883,7 +274964,7 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
274883
274964
|
FlowTracevue_type_script_lang_js_ecinc_process.ComparePath();
|
|
274884
274965
|
},
|
|
274885
274966
|
AddAnchor: function AddAnchor() {
|
|
274886
|
-
FlowTracevue_type_script_lang_js_ecinc_process.AddAnchor(this,
|
|
274967
|
+
FlowTracevue_type_script_lang_js_ecinc_process.AddAnchor(this, FlowTracevue_type_script_lang_js_hollowCircle);
|
|
274887
274968
|
},
|
|
274888
274969
|
// 环节数量
|
|
274889
274970
|
getProcessNum: function getProcessNum() {
|
|
@@ -274994,9 +275075,9 @@ var FlowTracevue_type_script_lang_js_require4 = __webpack_require__(53978),
|
|
|
274994
275075
|
});
|
|
274995
275076
|
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/FlowTrace/index.vue?vue&type=script&lang=js
|
|
274996
275077
|
/* harmony default export */ var components_FlowTracevue_type_script_lang_js = (FlowTracevue_type_script_lang_js);
|
|
274997
|
-
// 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=
|
|
274998
|
-
var
|
|
274999
|
-
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/FlowTrace/index.vue?vue&type=style&index=0&id=
|
|
275078
|
+
// 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=2e3361cd&prod&scoped=true&lang=scss
|
|
275079
|
+
var FlowTracevue_type_style_index_0_id_2e3361cd_prod_scoped_true_lang_scss = __webpack_require__(18050);
|
|
275080
|
+
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/FlowTrace/index.vue?vue&type=style&index=0&id=2e3361cd&prod&scoped=true&lang=scss
|
|
275000
275081
|
|
|
275001
275082
|
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/FlowTrace/index.vue
|
|
275002
275083
|
|
|
@@ -275009,18 +275090,18 @@ var FlowTracevue_type_style_index_0_id_6068dbe8_prod_scoped_true_lang_scss = __w
|
|
|
275009
275090
|
|
|
275010
275091
|
var FlowTrace_component = (0,componentNormalizer/* default */.A)(
|
|
275011
275092
|
components_FlowTracevue_type_script_lang_js,
|
|
275012
|
-
|
|
275013
|
-
|
|
275093
|
+
FlowTracevue_type_template_id_2e3361cd_scoped_true_render,
|
|
275094
|
+
FlowTracevue_type_template_id_2e3361cd_scoped_true_staticRenderFns,
|
|
275014
275095
|
false,
|
|
275015
275096
|
null,
|
|
275016
|
-
"
|
|
275097
|
+
"2e3361cd",
|
|
275017
275098
|
null
|
|
275018
275099
|
|
|
275019
275100
|
)
|
|
275020
275101
|
|
|
275021
275102
|
/* harmony default export */ var FlowTrace = (FlowTrace_component.exports);
|
|
275022
|
-
;// 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/Tester/index.vue?vue&type=template&id=
|
|
275023
|
-
var
|
|
275103
|
+
;// 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/Tester/index.vue?vue&type=template&id=54588e1a&scoped=true
|
|
275104
|
+
var Testervue_type_template_id_54588e1a_scoped_true_render = function render() {
|
|
275024
275105
|
var _vm = this,
|
|
275025
275106
|
_c = _vm._self._c;
|
|
275026
275107
|
return _c('div', {
|
|
@@ -275189,7 +275270,7 @@ var Testervue_type_template_id_35c6e176_scoped_true_render = function render() {
|
|
|
275189
275270
|
}
|
|
275190
275271
|
}), _c('ModifyWflogSubmitFile'), _c('select-dialog')], 1);
|
|
275191
275272
|
};
|
|
275192
|
-
var
|
|
275273
|
+
var Testervue_type_template_id_54588e1a_scoped_true_staticRenderFns = [];
|
|
275193
275274
|
|
|
275194
275275
|
;// 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/Tester/TestConfig.vue?vue&type=template&id=43babeb0&scoped=true
|
|
275195
275276
|
var TestConfigvue_type_template_id_43babeb0_scoped_true_render = function render() {
|
|
@@ -275706,15 +275787,15 @@ var TestConfig_component = (0,componentNormalizer/* default */.A)(
|
|
|
275706
275787
|
|
|
275707
275788
|
/* harmony default export */ var TestConfig = (TestConfig_component.exports);
|
|
275708
275789
|
;// 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/Tester/index.vue?vue&type=script&lang=js
|
|
275709
|
-
function Testervue_type_script_lang_js_regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ Testervue_type_script_lang_js_regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == Testervue_type_script_lang_js_typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(Testervue_type_script_lang_js_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, catch: function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
|
|
275710
275790
|
function Testervue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return Testervue_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; }, Testervue_type_script_lang_js_typeof(o); }
|
|
275711
|
-
function Testervue_type_script_lang_js_asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
|
|
275712
|
-
function Testervue_type_script_lang_js_asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { Testervue_type_script_lang_js_asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { Testervue_type_script_lang_js_asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
|
|
275713
275791
|
function Testervue_type_script_lang_js_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
275714
275792
|
function Testervue_type_script_lang_js_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? Testervue_type_script_lang_js_ownKeys(Object(t), !0).forEach(function (r) { Testervue_type_script_lang_js_defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : Testervue_type_script_lang_js_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
275715
275793
|
function Testervue_type_script_lang_js_defineProperty(e, r, t) { return (r = Testervue_type_script_lang_js_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
275716
275794
|
function Testervue_type_script_lang_js_toPropertyKey(t) { var i = Testervue_type_script_lang_js_toPrimitive(t, "string"); return "symbol" == Testervue_type_script_lang_js_typeof(i) ? i : i + ""; }
|
|
275717
275795
|
function Testervue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Testervue_type_script_lang_js_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != Testervue_type_script_lang_js_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
275796
|
+
function Testervue_type_script_lang_js_regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ Testervue_type_script_lang_js_regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == Testervue_type_script_lang_js_typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(Testervue_type_script_lang_js_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, catch: function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
|
|
275797
|
+
function Testervue_type_script_lang_js_asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
|
|
275798
|
+
function Testervue_type_script_lang_js_asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { Testervue_type_script_lang_js_asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { Testervue_type_script_lang_js_asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
|
|
275718
275799
|
|
|
275719
275800
|
__webpack_require__(41758);
|
|
275720
275801
|
__webpack_require__(79914);
|
|
@@ -275724,7 +275805,35 @@ var Testervue_type_script_lang_js_jsPlumb = window.jsPlumb;
|
|
|
275724
275805
|
|
|
275725
275806
|
var Testervue_type_script_lang_js_require = __webpack_require__(61154),
|
|
275726
275807
|
Testervue_type_script_lang_js_nodeEvents = Testervue_type_script_lang_js_require.nodeEvents;
|
|
275727
|
-
|
|
275808
|
+
// 按需加载 globalStyle 模块
|
|
275809
|
+
var Testervue_type_script_lang_js_createPathLine;
|
|
275810
|
+
var Testervue_type_script_lang_js_loadGlobalStyle = /*#__PURE__*/function () {
|
|
275811
|
+
var _ref = Testervue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/Testervue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
|
|
275812
|
+
var module;
|
|
275813
|
+
return Testervue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
275814
|
+
while (1) switch (_context.prev = _context.next) {
|
|
275815
|
+
case 0:
|
|
275816
|
+
Testervue_type_script_lang_js_jsPlumb.importDefaults({
|
|
275817
|
+
PaintStyle: {
|
|
275818
|
+
lineWidth: 8,
|
|
275819
|
+
stroke: '#00ff54'
|
|
275820
|
+
}
|
|
275821
|
+
});
|
|
275822
|
+
_context.next = 3;
|
|
275823
|
+
return Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__, 93782));
|
|
275824
|
+
case 3:
|
|
275825
|
+
module = _context.sent;
|
|
275826
|
+
Testervue_type_script_lang_js_createPathLine = module.createPathLine;
|
|
275827
|
+
case 5:
|
|
275828
|
+
case "end":
|
|
275829
|
+
return _context.stop();
|
|
275830
|
+
}
|
|
275831
|
+
}, _callee);
|
|
275832
|
+
}));
|
|
275833
|
+
return function loadGlobalStyle() {
|
|
275834
|
+
return _ref.apply(this, arguments);
|
|
275835
|
+
};
|
|
275836
|
+
}();
|
|
275728
275837
|
var Testervue_type_script_lang_js_require2 = __webpack_require__(53978),
|
|
275729
275838
|
Testervue_type_script_lang_js_ecinc_process = Testervue_type_script_lang_js_require2.ecinc_process;
|
|
275730
275839
|
var Testervue_type_script_lang_js_require3 = __webpack_require__(53978),
|
|
@@ -275792,114 +275901,128 @@ var Testervue_type_script_lang_js_require3 = __webpack_require__(53978),
|
|
|
275792
275901
|
},
|
|
275793
275902
|
mounted: function mounted() {
|
|
275794
275903
|
var _this2 = this;
|
|
275795
|
-
|
|
275796
|
-
|
|
275797
|
-
|
|
275798
|
-
|
|
275799
|
-
|
|
275800
|
-
|
|
275801
|
-
|
|
275802
|
-
|
|
275803
|
-
|
|
275804
|
-
|
|
275805
|
-
|
|
275806
|
-
|
|
275807
|
-
|
|
275808
|
-
|
|
275809
|
-
|
|
275810
|
-
|
|
275811
|
-
|
|
275812
|
-
|
|
275813
|
-
|
|
275814
|
-
|
|
275815
|
-
|
|
275816
|
-
|
|
275817
|
-
|
|
275818
|
-
|
|
275819
|
-
|
|
275820
|
-
|
|
275821
|
-
|
|
275822
|
-
|
|
275823
|
-
|
|
275824
|
-
|
|
275825
|
-
|
|
275826
|
-
|
|
275827
|
-
|
|
275828
|
-
|
|
275829
|
-
|
|
275830
|
-
|
|
275831
|
-
|
|
275832
|
-
|
|
275833
|
-
|
|
275834
|
-
|
|
275835
|
-
|
|
275836
|
-
|
|
275837
|
-
|
|
275838
|
-
|
|
275839
|
-
|
|
275840
|
-
|
|
275841
|
-
|
|
275842
|
-
|
|
275843
|
-
|
|
275844
|
-
|
|
275845
|
-
|
|
275846
|
-
|
|
275847
|
-
|
|
275848
|
-
|
|
275849
|
-
|
|
275850
|
-
|
|
275851
|
-
|
|
275852
|
-
|
|
275853
|
-
|
|
275854
|
-
|
|
275855
|
-
|
|
275856
|
-
|
|
275857
|
-
|
|
275858
|
-
|
|
275859
|
-
|
|
275860
|
-
|
|
275861
|
-
|
|
275862
|
-
|
|
275863
|
-
|
|
275864
|
-
|
|
275865
|
-
|
|
275866
|
-
|
|
275904
|
+
return Testervue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/Testervue_type_script_lang_js_regeneratorRuntime().mark(function _callee2() {
|
|
275905
|
+
var reqUrl;
|
|
275906
|
+
return Testervue_type_script_lang_js_regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
275907
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
275908
|
+
case 0:
|
|
275909
|
+
_context2.next = 2;
|
|
275910
|
+
return Testervue_type_script_lang_js_loadGlobalStyle();
|
|
275911
|
+
case 2:
|
|
275912
|
+
Testervue_type_script_lang_js_ecinc_process.init();
|
|
275913
|
+
Testervue_type_script_lang_js_ecinc_attr_panel.init();
|
|
275914
|
+
reqUrl = 'workflow/wfdProcessMgr/getById?id=' + _this2.$route.query.id + '&tester=1';
|
|
275915
|
+
if (_this2.$route.query.udmWfInstanceId) {
|
|
275916
|
+
reqUrl += '&udmWfInstanceId=' + _this2.$route.query.udmWfInstanceId;
|
|
275917
|
+
}
|
|
275918
|
+
_this2.$http({
|
|
275919
|
+
method: 'GET',
|
|
275920
|
+
contentType: 'application/x-www-form-urlencoded',
|
|
275921
|
+
url: reqUrl
|
|
275922
|
+
}).then(function (response) {
|
|
275923
|
+
_this2.loading = false;
|
|
275924
|
+
if (response.body.autoTestConfigs && response.body.autoTestConfigs.length > 0) {
|
|
275925
|
+
_this2.testerVo = response.body.autoTestConfigs[0];
|
|
275926
|
+
}
|
|
275927
|
+
_this2.wflow = response.body.vo;
|
|
275928
|
+
_this2.responseVo = JSON.parse(JSON.stringify(response.body.vo));
|
|
275929
|
+
_this2.ideaL = _this2.wflow.ideaLabels;
|
|
275930
|
+
for (var k = 0; k < _this2.wflow.paths.length; k++) {
|
|
275931
|
+
_this2.getWflow.push(_this2.wflow.paths[k].id);
|
|
275932
|
+
}
|
|
275933
|
+
for (var o = 0; o < _this2.wflow.paths.length; o++) {
|
|
275934
|
+
_this2.pathObj.push(_this2.wflow.paths[o]);
|
|
275935
|
+
}
|
|
275936
|
+
_this2.wflow.paths.length = 0;
|
|
275937
|
+
_this2.process = response.body.vo.process;
|
|
275938
|
+
if (_this2.$route.query.udmWfName) {
|
|
275939
|
+
_this2.process.name = _this2.$route.query.udmWfName;
|
|
275940
|
+
}
|
|
275941
|
+
var chartData = JSON.parse(response.body.vo.process.chartData);
|
|
275942
|
+
var connectsArr = chartData.connects;
|
|
275943
|
+
_this2.connectsArr = connectsArr;
|
|
275944
|
+
var domHtmlArr = chartData.domHtml;
|
|
275945
|
+
var nodeIdArr = [];
|
|
275946
|
+
for (var i = 0; i < domHtmlArr.length; i++) {
|
|
275947
|
+
jquery_default()('#center').append(common/* Base64 */.o.decode(domHtmlArr[i].domH));
|
|
275948
|
+
}
|
|
275949
|
+
jquery_default()('.process').removeClass('seled');
|
|
275950
|
+
jquery_default()('.process').each(function (index, elem) {
|
|
275951
|
+
nodeIdArr.push(jquery_default()(elem).attr('id'));
|
|
275952
|
+
Testervue_type_script_lang_js_nodeEvents(jquery_default()(elem).attr('id'), _this2.wflow, _this2);
|
|
275953
|
+
if (jquery_default()(elem).hasClass('childWf')) {
|
|
275954
|
+
jquery_default()(elem).find('img').attr('src', _this2.zlc);
|
|
275955
|
+
} else if (jquery_default()(elem).hasClass('parentWf')) {
|
|
275956
|
+
jquery_default()(elem).find('img').attr('src', _this2.plc);
|
|
275957
|
+
} else if (jquery_default()(elem).hasClass('ptjd')) {
|
|
275958
|
+
jquery_default()(elem).find('img').attr('src', _this2.ptjd);
|
|
275959
|
+
jquery_default()(elem).find('span').text('普通节点');
|
|
275960
|
+
} else if (jquery_default()(elem).hasClass('jzjd')) {
|
|
275961
|
+
jquery_default()(elem).find('img').attr('src', _this2.jzjd);
|
|
275962
|
+
jquery_default()(elem).find('span').text('竞争节点');
|
|
275963
|
+
} else if (jquery_default()(elem).hasClass('drbx')) {
|
|
275964
|
+
jquery_default()(elem).find('img').attr('src', _this2.drbx);
|
|
275965
|
+
jquery_default()(elem).find('span').text('多人并行');
|
|
275966
|
+
} else if (jquery_default()(elem).hasClass('drcx')) {
|
|
275967
|
+
jquery_default()(elem).find('img').attr('src', _this2.drcx);
|
|
275968
|
+
jquery_default()(elem).find('span').text('多人串行');
|
|
275969
|
+
} else if (jquery_default()(elem).hasClass('hqjd')) {
|
|
275970
|
+
jquery_default()(elem).find('img').attr('src', _this2.hqjd);
|
|
275971
|
+
jquery_default()(elem).find('span').text('会签节点');
|
|
275972
|
+
} else if (jquery_default()(elem).hasClass('ywjd')) {
|
|
275973
|
+
jquery_default()(elem).find('img').attr('src', _this2.ywjd);
|
|
275974
|
+
jquery_default()(elem).find('span').text('阅文节点');
|
|
275975
|
+
}
|
|
275976
|
+
if (elem.innerHTML && elem.firstChild && elem.firstChild.nextElementSibling) {
|
|
275977
|
+
//删除流程跟踪图中的环节处理人
|
|
275978
|
+
elem.innerHTML = elem.firstChild.outerHTML + elem.firstChild.nextElementSibling.outerHTML;
|
|
275979
|
+
}
|
|
275980
|
+
});
|
|
275981
|
+
nodeIdArr.forEach(function (data) {
|
|
275982
|
+
jquery_default()("#".concat(data)).addClass('model_process_wwc');
|
|
275983
|
+
});
|
|
275867
275984
|
|
|
275868
|
-
|
|
275869
|
-
|
|
275870
|
-
|
|
275871
|
-
|
|
275872
|
-
|
|
275873
|
-
|
|
275874
|
-
|
|
275875
|
-
|
|
275876
|
-
|
|
275877
|
-
|
|
275985
|
+
//节点连接线
|
|
275986
|
+
Testervue_type_script_lang_js_createPathLine(_this2.connectsArr);
|
|
275987
|
+
for (var _i = 0; _i < _this2.redoPathsTimes; _i++) {
|
|
275988
|
+
_this2.redoPaths.forEach(function (info) {
|
|
275989
|
+
_this2.flowRedo(info, 300); // 再重复设置一次连接线样式,解决决策、聚合节点后已执行路径样式不能更新的问题
|
|
275990
|
+
});
|
|
275991
|
+
}
|
|
275992
|
+
}, function (error) {
|
|
275993
|
+
_this2.$message.error(error);
|
|
275994
|
+
});
|
|
275878
275995
|
|
|
275879
|
-
|
|
275880
|
-
|
|
275881
|
-
|
|
275882
|
-
|
|
275883
|
-
|
|
275884
|
-
|
|
275885
|
-
|
|
275886
|
-
|
|
275887
|
-
|
|
275888
|
-
|
|
275889
|
-
|
|
275890
|
-
|
|
275891
|
-
|
|
275892
|
-
|
|
275893
|
-
|
|
275996
|
+
/** *************************************路径数据******************************************/
|
|
275997
|
+
|
|
275998
|
+
// 1路径创建
|
|
275999
|
+
Testervue_type_script_lang_js_jsPlumb.bind('connection', function (info) {
|
|
276000
|
+
// console.log(info)
|
|
276001
|
+
_this2.dragPath(info);
|
|
276002
|
+
info.connection.setPaintStyle({
|
|
276003
|
+
stroke: '#438eb9',
|
|
276004
|
+
fillStyle: '#438eb9',
|
|
276005
|
+
radius: 5,
|
|
276006
|
+
lineWidth: '5px',
|
|
276007
|
+
strokeWidth: 2
|
|
276008
|
+
});
|
|
276009
|
+
_this2.ComparePath();
|
|
276010
|
+
_this2.redoPaths.push(info); // 全部连接后,再重复设置一次连接线新式,解决决策、聚合节点后已执行路径样式不能更新的问题
|
|
275894
276011
|
|
|
275895
|
-
|
|
275896
|
-
|
|
275897
|
-
|
|
275898
|
-
|
|
275899
|
-
|
|
275900
|
-
|
|
275901
|
-
|
|
275902
|
-
|
|
276012
|
+
return false;
|
|
276013
|
+
});
|
|
276014
|
+
_this2.wflow.ideaLabels = [{}];
|
|
276015
|
+
_this2.ideaArr = [];
|
|
276016
|
+
_this2.$refs['scrollbar'].wrap.addEventListener('scroll', function () {
|
|
276017
|
+
// 滚动时隐藏流程环节日志
|
|
276018
|
+
_this2.showWflog = null;
|
|
276019
|
+
});
|
|
276020
|
+
case 11:
|
|
276021
|
+
case "end":
|
|
276022
|
+
return _context2.stop();
|
|
276023
|
+
}
|
|
276024
|
+
}, _callee2);
|
|
276025
|
+
}))();
|
|
275903
276026
|
},
|
|
275904
276027
|
methods: {
|
|
275905
276028
|
flowRedo: function flowRedo(info, delay) {
|
|
@@ -276120,20 +276243,20 @@ var Testervue_type_script_lang_js_require3 = __webpack_require__(53978),
|
|
|
276120
276243
|
},
|
|
276121
276244
|
startWfTest: function startWfTest(testMode) {
|
|
276122
276245
|
var _this5 = this;
|
|
276123
|
-
return Testervue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/Testervue_type_script_lang_js_regeneratorRuntime().mark(function
|
|
276246
|
+
return Testervue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/Testervue_type_script_lang_js_regeneratorRuntime().mark(function _callee3() {
|
|
276124
276247
|
var saveRSt, _this, wfParams, worform;
|
|
276125
|
-
return Testervue_type_script_lang_js_regeneratorRuntime().wrap(function
|
|
276126
|
-
while (1) switch (
|
|
276248
|
+
return Testervue_type_script_lang_js_regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
276249
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
276127
276250
|
case 0:
|
|
276128
|
-
|
|
276251
|
+
_context3.next = 2;
|
|
276129
276252
|
return _this5.$refs['testConfig'].saveAutoTestConfig();
|
|
276130
276253
|
case 2:
|
|
276131
|
-
saveRSt =
|
|
276254
|
+
saveRSt = _context3.sent;
|
|
276132
276255
|
if (saveRSt) {
|
|
276133
|
-
|
|
276256
|
+
_context3.next = 5;
|
|
276134
276257
|
break;
|
|
276135
276258
|
}
|
|
276136
|
-
return
|
|
276259
|
+
return _context3.abrupt("return");
|
|
276137
276260
|
case 5:
|
|
276138
276261
|
_this5.initNodeInfo();
|
|
276139
276262
|
_this5.todoTestRoutes = [];
|
|
@@ -276210,9 +276333,9 @@ var Testervue_type_script_lang_js_require3 = __webpack_require__(53978),
|
|
|
276210
276333
|
});
|
|
276211
276334
|
case 19:
|
|
276212
276335
|
case "end":
|
|
276213
|
-
return
|
|
276336
|
+
return _context3.stop();
|
|
276214
276337
|
}
|
|
276215
|
-
},
|
|
276338
|
+
}, _callee3);
|
|
276216
276339
|
}))();
|
|
276217
276340
|
},
|
|
276218
276341
|
manualSbumit: function manualSbumit(wflog) {
|
|
@@ -276591,9 +276714,9 @@ var Testervue_type_script_lang_js_require3 = __webpack_require__(53978),
|
|
|
276591
276714
|
});
|
|
276592
276715
|
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/Tester/index.vue?vue&type=script&lang=js
|
|
276593
276716
|
/* harmony default export */ var components_Testervue_type_script_lang_js = (Testervue_type_script_lang_js);
|
|
276594
|
-
// 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/Tester/index.vue?vue&type=style&index=0&id=
|
|
276595
|
-
var
|
|
276596
|
-
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/Tester/index.vue?vue&type=style&index=0&id=
|
|
276717
|
+
// 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/Tester/index.vue?vue&type=style&index=0&id=54588e1a&prod&scoped=true&lang=scss
|
|
276718
|
+
var Testervue_type_style_index_0_id_54588e1a_prod_scoped_true_lang_scss = __webpack_require__(67368);
|
|
276719
|
+
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/Tester/index.vue?vue&type=style&index=0&id=54588e1a&prod&scoped=true&lang=scss
|
|
276597
276720
|
|
|
276598
276721
|
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/Tester/index.vue
|
|
276599
276722
|
|
|
@@ -276606,11 +276729,11 @@ var Testervue_type_style_index_0_id_35c6e176_prod_scoped_true_lang_scss = __webp
|
|
|
276606
276729
|
|
|
276607
276730
|
var Tester_component = (0,componentNormalizer/* default */.A)(
|
|
276608
276731
|
components_Testervue_type_script_lang_js,
|
|
276609
|
-
|
|
276610
|
-
|
|
276732
|
+
Testervue_type_template_id_54588e1a_scoped_true_render,
|
|
276733
|
+
Testervue_type_template_id_54588e1a_scoped_true_staticRenderFns,
|
|
276611
276734
|
false,
|
|
276612
276735
|
null,
|
|
276613
|
-
"
|
|
276736
|
+
"54588e1a",
|
|
276614
276737
|
null
|
|
276615
276738
|
|
|
276616
276739
|
)
|