ecinc-cloud-wappaio 9.7.3 → 9.7.5
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 +1268 -237
- package/lib/ecwappaio.umd.js +1266 -235
- package/lib/ecwappaio.umd.min.js +1 -1
- package/package.json +1 -1
package/lib/ecwappaio.common.js
CHANGED
|
@@ -33213,7 +33213,7 @@ var TextRecognition_PDFInjector = PDFInjector;
|
|
|
33213
33213
|
|
|
33214
33214
|
/***/ }),
|
|
33215
33215
|
|
|
33216
|
-
/***/
|
|
33216
|
+
/***/ 53596:
|
|
33217
33217
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
33218
33218
|
|
|
33219
33219
|
"use strict";
|
|
@@ -36657,8 +36657,8 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
|
36657
36657
|
)
|
|
36658
36658
|
|
|
36659
36659
|
/* harmony default export */ var Attachment = (component.exports);
|
|
36660
|
-
;// 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=
|
|
36661
|
-
var
|
|
36660
|
+
;// 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=75fd78f9&scoped=true
|
|
36661
|
+
var BodyFilevue_type_template_id_75fd78f9_scoped_true_render = function render() {
|
|
36662
36662
|
var _vm = this,
|
|
36663
36663
|
_c = _vm._self._c;
|
|
36664
36664
|
return _c('div', {
|
|
@@ -37177,7 +37177,7 @@ var BodyFilevue_type_template_id_769fc0cb_scoped_true_render = function render()
|
|
|
37177
37177
|
return _vm.viewBodyfile(attach);
|
|
37178
37178
|
}
|
|
37179
37179
|
}
|
|
37180
|
-
}, [_vm._v(_vm._s(attach.fileVer) + "
|
|
37180
|
+
}, [_vm._v(_vm._s(attach.fileVer) + " ")])]), _c('el-col', {
|
|
37181
37181
|
attrs: {
|
|
37182
37182
|
"span": 6
|
|
37183
37183
|
}
|
|
@@ -37338,7 +37338,7 @@ var BodyFilevue_type_template_id_769fc0cb_scoped_true_render = function render()
|
|
|
37338
37338
|
expression: "'BodyFile.mattersNeeding'"
|
|
37339
37339
|
}],
|
|
37340
37340
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
37341
|
-
}, [_vm._v("注意事项")]), _c('td', {
|
|
37341
|
+
}, [_vm._v("注意事项 ")]), _c('td', {
|
|
37342
37342
|
staticClass: "el-table__cell tdcont tdw83"
|
|
37343
37343
|
}, [_c('div', {
|
|
37344
37344
|
staticStyle: {
|
|
@@ -37405,8 +37405,10 @@ var BodyFilevue_type_template_id_769fc0cb_scoped_true_render = function render()
|
|
|
37405
37405
|
}
|
|
37406
37406
|
}, [_vm._v("确 定")])], 1)], 1) : _vm._e()], 1);
|
|
37407
37407
|
};
|
|
37408
|
-
var
|
|
37408
|
+
var BodyFilevue_type_template_id_75fd78f9_scoped_true_staticRenderFns = [];
|
|
37409
37409
|
|
|
37410
|
+
// EXTERNAL MODULE: ./node_modules/nprogress/nprogress.js
|
|
37411
|
+
var nprogress = __webpack_require__(5947);
|
|
37410
37412
|
;// 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
|
|
37411
37413
|
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); }
|
|
37412
37414
|
function BodyFilevue_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 */ BodyFilevue_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" == BodyFilevue_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(BodyFilevue_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; }
|
|
@@ -37425,6 +37427,7 @@ function BodyFilevue_type_script_lang_js_toPropertyKey(t) { var i = BodyFilevue_
|
|
|
37425
37427
|
function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != BodyFilevue_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" != BodyFilevue_type_script_lang_js_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
37426
37428
|
|
|
37427
37429
|
|
|
37430
|
+
|
|
37428
37431
|
/* harmony default export */ var BodyFilevue_type_script_lang_js = ({
|
|
37429
37432
|
name: 'BodyFile',
|
|
37430
37433
|
components: {},
|
|
@@ -37541,7 +37544,6 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
|
|
|
37541
37544
|
computed: BodyFilevue_type_script_lang_js_objectSpread({}, (0,vuex_esm/* mapGetters */.L8)(['loginUser'])),
|
|
37542
37545
|
watch: {
|
|
37543
37546
|
curTN: function curTN() {
|
|
37544
|
-
this.frmRowCellCount = this.$vnode.context.frmRowCellCount;
|
|
37545
37547
|
if (this.flBodyfile !== null) {
|
|
37546
37548
|
this.setExtName();
|
|
37547
37549
|
} else {
|
|
@@ -37551,7 +37553,8 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
|
|
|
37551
37553
|
}
|
|
37552
37554
|
};
|
|
37553
37555
|
}
|
|
37554
|
-
}
|
|
37556
|
+
},
|
|
37557
|
+
flBodyfile: function flBodyfile() {}
|
|
37555
37558
|
},
|
|
37556
37559
|
created: function created() {
|
|
37557
37560
|
this.$bus.on('uploadBodyFile', this.uploadBodyFile);
|
|
@@ -37564,9 +37567,15 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
|
|
|
37564
37567
|
this.$bus.off('btnStampBodyFileClick', this.btnStampBodyFileClick);
|
|
37565
37568
|
},
|
|
37566
37569
|
mounted: function mounted() {
|
|
37570
|
+
var _this2 = this;
|
|
37567
37571
|
this.bodyFileTitle = this.bodyFileTitle || this.$tx('ecwapp.Wflowform.BodyFile.fileBody', '文件正文');
|
|
37568
37572
|
this.setExtName();
|
|
37569
|
-
|
|
37573
|
+
var timer = window.setInterval(function () {
|
|
37574
|
+
if (_this2.$vnode.context.frmRowCellCount || _this2.$vnode.context.formEvents) {
|
|
37575
|
+
_this2.frmRowCellCount = _this2.$vnode.context.frmRowCellCount;
|
|
37576
|
+
window.clearInterval(timer); // Clear the interval when the value is set
|
|
37577
|
+
}
|
|
37578
|
+
}, 500);
|
|
37570
37579
|
},
|
|
37571
37580
|
methods: {
|
|
37572
37581
|
uploadBodyFile: function uploadBodyFile(file, fileList) {
|
|
@@ -37580,15 +37589,15 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
|
|
|
37580
37589
|
}
|
|
37581
37590
|
},
|
|
37582
37591
|
setExtName: function setExtName() {
|
|
37583
|
-
var
|
|
37592
|
+
var _this3 = this;
|
|
37584
37593
|
if (this.flBodyfile && this.flBodyfile.originalName) {
|
|
37585
37594
|
var oriangialName = this.flBodyfile.originalName.replace('.des', '').replace('.xor', '').replace('.rsm3', '').replace('.sm4', '');
|
|
37586
37595
|
this.extName = oriangialName.substring(oriangialName.lastIndexOf('.')).toLowerCase();
|
|
37587
37596
|
this.flDocfile = null;
|
|
37588
37597
|
this.attachments.forEach(function (attach) {
|
|
37589
|
-
if (attach.fileType === 'BODY' && attach.filePath.indexOf('/noTracks/') === -1 && attach.id !==
|
|
37590
|
-
|
|
37591
|
-
|
|
37598
|
+
if (attach.fileType === 'BODY' && attach.filePath.indexOf('/noTracks/') === -1 && attach.id !== _this3.flBodyfile.id && attach.originalName.split('.')[0] === _this3.flBodyfile.originalName.split('.')[0]) {
|
|
37599
|
+
_this3.flDocfile = attach;
|
|
37600
|
+
_this3.flDocfile.fileName = _this3.flBodyfile.fileName.split('.')[0] + '.' + attach.originalName.split('.')[1];
|
|
37592
37601
|
}
|
|
37593
37602
|
});
|
|
37594
37603
|
if (this.curTN.passenger.firstNodeName === this.curTN.tnNodeName && this.curTN.tnCanEdit === 1) {
|
|
@@ -37597,7 +37606,7 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
|
|
|
37597
37606
|
}
|
|
37598
37607
|
},
|
|
37599
37608
|
viewBodyfile: function viewBodyfile(flBodyfile, sign) {
|
|
37600
|
-
var
|
|
37609
|
+
var _this4 = this;
|
|
37601
37610
|
if (flBodyfile.id === undefined) return;
|
|
37602
37611
|
if (this.extName === '.pdf' && (this.viewer === 'pdfjs' || sign === 'sign')) {
|
|
37603
37612
|
var fileurl = "/apigw" + '/' + this.wfAttachUrl + '/downloadById?inline=true&attachIds=' + flBodyfile.id + '&saveAs=' + encodeURI(flBodyfile.fileName);
|
|
@@ -37617,27 +37626,27 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
|
|
|
37617
37626
|
if (res.code === 'success') {
|
|
37618
37627
|
var tSessionId = res.body.tSessionId;
|
|
37619
37628
|
var hostname = location.href.split('#')[0];
|
|
37620
|
-
var downUrl = hostname.substring(0, hostname.length - 1) + "/apigw" + '/' +
|
|
37629
|
+
var downUrl = hostname.substring(0, hostname.length - 1) + "/apigw" + '/' + _this4.wfAttachUrl + '/downloadById?attachIds=' + flBodyfile.id + '&httpPort=' + location.port + '&csrfToken=' + window.$auth.getCsrfToken() + '&tSessionId=' + tSessionId;
|
|
37621
37630
|
var convertType = '0';
|
|
37622
|
-
if (
|
|
37631
|
+
if (_this4.extName === '.ofd') {
|
|
37623
37632
|
convertType = '21';
|
|
37624
|
-
} else if (
|
|
37633
|
+
} else if (_this4.extName === '.pdf' || _this4.extName === '.pdfx') {
|
|
37625
37634
|
convertType = '20';
|
|
37626
37635
|
}
|
|
37627
|
-
downUrl =
|
|
37628
|
-
if (
|
|
37629
|
-
downUrl += '&' +
|
|
37636
|
+
downUrl = _this4.viewer.split('=')[1] + '/composite/httpfile?convertType=' + convertType + '&fileUrl=' + encodeURIComponent(downUrl);
|
|
37637
|
+
if (_this4.viewerUrlParams) {
|
|
37638
|
+
downUrl += '&' + _this4.viewerUrlParams;
|
|
37630
37639
|
}
|
|
37631
37640
|
if (downUrl.indexOf('&acceptTracks=0') === -1) {
|
|
37632
37641
|
downUrl += '&acceptTracks=0';
|
|
37633
37642
|
}
|
|
37634
|
-
|
|
37643
|
+
_this4.$bus.emit('showDoingDialog', _this4.$tx('ecwapp.Wflowform.BodyFile.downloadingWait', '正在下载文件,请稍候...'));
|
|
37635
37644
|
$.post(downUrl, {}, function (res) {
|
|
37636
|
-
|
|
37645
|
+
_this4.$bus.emit('closeDoingDialog');
|
|
37637
37646
|
if (res.errorcode === 0) {
|
|
37638
37647
|
window.open(res.data.viewUrl);
|
|
37639
37648
|
} else {
|
|
37640
|
-
|
|
37649
|
+
_this4.$alert(res.message, _this4.$tx('common.operationTip', '操作提示'), {
|
|
37641
37650
|
type: 'error'
|
|
37642
37651
|
});
|
|
37643
37652
|
}
|
|
@@ -37657,7 +37666,7 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
|
|
|
37657
37666
|
window.open(downUrl);
|
|
37658
37667
|
},
|
|
37659
37668
|
removeBodyfile: function removeBodyfile(flBodyfile) {
|
|
37660
|
-
var
|
|
37669
|
+
var _this5 = this;
|
|
37661
37670
|
var confirmMsg = this.$tx('ecwapp.Wflowform.BodyFile.deleterCurrent', '您是否确认删除当前的文件?');
|
|
37662
37671
|
if (flBodyfile.fileStatus === 8) {
|
|
37663
37672
|
confirmMsg = this.$tx('ecwapp.Wflowform.BodyFile.deleterHistor', '您是否确认删除历史版本文件?');
|
|
@@ -37671,23 +37680,23 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
|
|
|
37671
37680
|
while (1) switch (_context.prev = _context.next) {
|
|
37672
37681
|
case 0:
|
|
37673
37682
|
if (flBodyfile.fileStatus !== 8) {
|
|
37674
|
-
document.querySelector('.removeBodyfileIcon').innerHTML =
|
|
37683
|
+
document.querySelector('.removeBodyfileIcon').innerHTML = _this5.$tx('ecwapp.Common.deleting', ' 正在删除...');
|
|
37675
37684
|
}
|
|
37676
37685
|
deleteIds = flBodyfile.id;
|
|
37677
|
-
|
|
37686
|
+
_this5.$http({
|
|
37678
37687
|
method: 'DELETE',
|
|
37679
37688
|
contentType: 'application/x-www-form-urlencoded',
|
|
37680
37689
|
params: {
|
|
37681
37690
|
attachIds: deleteIds
|
|
37682
37691
|
},
|
|
37683
|
-
url:
|
|
37692
|
+
url: _this5.wfAttachUrl + '/delete'
|
|
37684
37693
|
}).then(function (res) {
|
|
37685
37694
|
var $scope = _this.$vnode.context;
|
|
37686
37695
|
if (res.code === 'success') {
|
|
37687
37696
|
if (flBodyfile.fileStatus !== 8) {
|
|
37688
|
-
if (typeof
|
|
37689
|
-
if (typeof
|
|
37690
|
-
if (typeof
|
|
37697
|
+
if (typeof _this5.vo.flBodyFilename !== 'undefined') _this5.vo.flBodyFilename = null;
|
|
37698
|
+
if (typeof _this5.vo.signedFileName !== 'undefined') _this5.vo.signedFileName = null; //盖章文件名
|
|
37699
|
+
if (typeof _this5.vo.sealFileName !== 'undefined') _this5.vo.sealFileName = null; //签章平台文件名
|
|
37691
37700
|
|
|
37692
37701
|
if ($scope.commandBar) {
|
|
37693
37702
|
$scope.commandBar.forEach(function (btn) {
|
|
@@ -37756,7 +37765,7 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
|
|
|
37756
37765
|
}
|
|
37757
37766
|
});
|
|
37758
37767
|
} else {
|
|
37759
|
-
|
|
37768
|
+
_this5.viewHistoryfile(_this5.flBodyfile);
|
|
37760
37769
|
}
|
|
37761
37770
|
} else {
|
|
37762
37771
|
_this.$alert(res.message, _this.$tx('common.operationTip', '操作提示'), {
|
|
@@ -37817,13 +37826,13 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
|
|
|
37817
37826
|
}
|
|
37818
37827
|
},
|
|
37819
37828
|
selectBodyfile: function selectBodyfile() {
|
|
37820
|
-
var
|
|
37829
|
+
var _this6 = this;
|
|
37821
37830
|
this.$vnode.context.formValidate(function () {
|
|
37822
|
-
|
|
37831
|
+
_this6.$el.querySelector('#btn-upload').click();
|
|
37823
37832
|
});
|
|
37824
37833
|
},
|
|
37825
37834
|
btnStampBodyFileClick: function btnStampBodyFileClick(stampType) {
|
|
37826
|
-
var
|
|
37835
|
+
var _this7 = this;
|
|
37827
37836
|
//table-row表示审批表单行内嵌入,不需要响应btnStampBodyFileClick事件
|
|
37828
37837
|
if (this.bodyFileShow === 'table-row') {
|
|
37829
37838
|
return;
|
|
@@ -37841,7 +37850,7 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
|
|
|
37841
37850
|
type: 'warning',
|
|
37842
37851
|
dangerouslyUseHTMLString: true
|
|
37843
37852
|
}).then(function () {
|
|
37844
|
-
|
|
37853
|
+
_this7.isPdfFileStampType = true;
|
|
37845
37854
|
});
|
|
37846
37855
|
} else {
|
|
37847
37856
|
this.isPdfFileStampType = true;
|
|
@@ -37856,7 +37865,7 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
|
|
|
37856
37865
|
type: 'warning',
|
|
37857
37866
|
dangerouslyUseHTMLString: true
|
|
37858
37867
|
}).then(function () {
|
|
37859
|
-
|
|
37868
|
+
_this7.isPdfFileStampType = true;
|
|
37860
37869
|
});
|
|
37861
37870
|
} else {
|
|
37862
37871
|
this.isPdfFileStampType = true;
|
|
@@ -37866,7 +37875,7 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
|
|
|
37866
37875
|
type: 'warning',
|
|
37867
37876
|
dangerouslyUseHTMLString: true
|
|
37868
37877
|
}).then(function () {
|
|
37869
|
-
|
|
37878
|
+
_this7.isPdfFileStampType = true;
|
|
37870
37879
|
});
|
|
37871
37880
|
}
|
|
37872
37881
|
} else {
|
|
@@ -37911,7 +37920,7 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
|
|
|
37911
37920
|
console.log('上传盖章文件', this.bodyfile);
|
|
37912
37921
|
},
|
|
37913
37922
|
StampClick: function StampClick() {
|
|
37914
|
-
var
|
|
37923
|
+
var _this8 = this;
|
|
37915
37924
|
if (!this.haveFile) {
|
|
37916
37925
|
this.$message.warning(this.$tx('ecwapp.Wflowform.BodyFile.cannotSave', '当前还未上传盖章文件,不能保存!'));
|
|
37917
37926
|
return;
|
|
@@ -37922,7 +37931,7 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
|
|
|
37922
37931
|
this.$vnode.context.vo.signedFileName = this.flBodysignedFile.file.name;
|
|
37923
37932
|
this.$vnode.context.btnSubmitClick('AutoSave', function (res) {
|
|
37924
37933
|
if (res === true) {
|
|
37925
|
-
|
|
37934
|
+
_this8.isPdfFileStampType = false;
|
|
37926
37935
|
}
|
|
37927
37936
|
});
|
|
37928
37937
|
} catch (error) {
|
|
@@ -37930,12 +37939,12 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
|
|
|
37930
37939
|
}
|
|
37931
37940
|
},
|
|
37932
37941
|
viewHistoryfile: function viewHistoryfile(file) {
|
|
37933
|
-
var
|
|
37942
|
+
var _this9 = this;
|
|
37934
37943
|
if (this.bodyFileShow !== 'sidebar-area') {
|
|
37935
37944
|
if (this.$vnode.context.activeName !== 'second') {
|
|
37936
37945
|
this.$vnode.context.activeName = 'second'; //查询历史版本,切换到流程表单的正文标签
|
|
37937
37946
|
this.$nextTick(function () {
|
|
37938
|
-
|
|
37947
|
+
_this9.$bus.emit('viewHistoryfile', file);
|
|
37939
37948
|
});
|
|
37940
37949
|
}
|
|
37941
37950
|
return;
|
|
@@ -37955,17 +37964,17 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
|
|
|
37955
37964
|
url: listdataUrl
|
|
37956
37965
|
}).then(function (res) {
|
|
37957
37966
|
if (res.code === 'success') {
|
|
37958
|
-
|
|
37967
|
+
_this9.historyFiles = res.body.pageInfo.list.filter(function (attach) {
|
|
37959
37968
|
attach.updateTime = (0,utils/* formatTime */.fU)(attach.updateTime);
|
|
37960
37969
|
attach.avatarUrl = "/apigw" + '/base/user/downloadPhotoByAccount?orgCode=' + attach.orgCode + '&account=' + attach.updateBy + '&httpPort=' + location.port + '&csrfToken=' + window.$auth.getCsrfToken();
|
|
37961
37970
|
return true;
|
|
37962
37971
|
});
|
|
37963
37972
|
} else {
|
|
37964
|
-
|
|
37973
|
+
_this9.$alert(res.message, _this9.$tx('common.operationTip', '操作提示'), {
|
|
37965
37974
|
type: 'error'
|
|
37966
37975
|
});
|
|
37967
37976
|
}
|
|
37968
|
-
|
|
37977
|
+
_this9.loading = false;
|
|
37969
37978
|
});
|
|
37970
37979
|
},
|
|
37971
37980
|
moreMenuitemClick: function moreMenuitemClick(command) {
|
|
@@ -38057,9 +38066,9 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
|
|
|
38057
38066
|
});
|
|
38058
38067
|
;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/BodyFile.vue?vue&type=script&lang=js
|
|
38059
38068
|
/* harmony default export */ var src_BodyFilevue_type_script_lang_js = (BodyFilevue_type_script_lang_js);
|
|
38060
|
-
// 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=
|
|
38061
|
-
var
|
|
38062
|
-
;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=
|
|
38069
|
+
// 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=75fd78f9&prod&scoped=true&lang=scss
|
|
38070
|
+
var BodyFilevue_type_style_index_0_id_75fd78f9_prod_scoped_true_lang_scss = __webpack_require__(55284);
|
|
38071
|
+
;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=75fd78f9&prod&scoped=true&lang=scss
|
|
38063
38072
|
|
|
38064
38073
|
;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/BodyFile.vue
|
|
38065
38074
|
|
|
@@ -38072,11 +38081,11 @@ var BodyFilevue_type_style_index_0_id_769fc0cb_prod_scoped_true_lang_scss = __we
|
|
|
38072
38081
|
|
|
38073
38082
|
var BodyFile_component = (0,componentNormalizer/* default */.A)(
|
|
38074
38083
|
src_BodyFilevue_type_script_lang_js,
|
|
38075
|
-
|
|
38076
|
-
|
|
38084
|
+
BodyFilevue_type_template_id_75fd78f9_scoped_true_render,
|
|
38085
|
+
BodyFilevue_type_template_id_75fd78f9_scoped_true_staticRenderFns,
|
|
38077
38086
|
false,
|
|
38078
38087
|
null,
|
|
38079
|
-
"
|
|
38088
|
+
"75fd78f9",
|
|
38080
38089
|
null
|
|
38081
38090
|
|
|
38082
38091
|
)
|
|
@@ -38465,8 +38474,8 @@ var CommandBar_component = (0,componentNormalizer/* default */.A)(
|
|
|
38465
38474
|
)
|
|
38466
38475
|
|
|
38467
38476
|
/* harmony default export */ var CommandBar = (CommandBar_component.exports);
|
|
38468
|
-
;// 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/HandleIdea.vue?vue&type=template&id=
|
|
38469
|
-
var
|
|
38477
|
+
;// 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/HandleIdea.vue?vue&type=template&id=52885f54&scoped=true
|
|
38478
|
+
var HandleIdeavue_type_template_id_52885f54_scoped_true_render = function render() {
|
|
38470
38479
|
var _vm = this,
|
|
38471
38480
|
_c = _vm._self._c;
|
|
38472
38481
|
return !_vm.showHistoryIdeaList ? _c('div', {
|
|
@@ -38502,7 +38511,7 @@ var HandleIdeavue_type_template_id_28023d64_scoped_true_render = function render
|
|
|
38502
38511
|
staticClass: "el-table__cell tdlbl",
|
|
38503
38512
|
class: _vm.frmRowCellCount != 24 ? group !== 'ungrouped' ? 'tdw13' : 'tdw17' : group !== 'ungrouped' ? 'span2' : 'span4',
|
|
38504
38513
|
attrs: {
|
|
38505
|
-
"colspan": wfIdea.colspan ? wfIdea.colspan : _vm.frmRowCellCount == 24 ? 4 :
|
|
38514
|
+
"colspan": wfIdea.colspan ? wfIdea.colspan : _vm.frmRowCellCount == 24 ? 4 : 1
|
|
38506
38515
|
}
|
|
38507
38516
|
}, [_vm.curTN.tnIdeaPosition === 2 && wfIdea.ideaLabelName === _vm.curTN.tnIdeaLabelName ? [_c('IdeaInputBox', {
|
|
38508
38517
|
staticStyle: {
|
|
@@ -38648,7 +38657,7 @@ var HandleIdeavue_type_template_id_28023d64_scoped_true_render = function render
|
|
|
38648
38657
|
'span4': _vm.frmRowCellCount == 24
|
|
38649
38658
|
},
|
|
38650
38659
|
attrs: {
|
|
38651
|
-
"colspan": _vm.frmRowCellCount == 24 ? 4 :
|
|
38660
|
+
"colspan": _vm.frmRowCellCount == 24 ? 4 : 1
|
|
38652
38661
|
}
|
|
38653
38662
|
}, [_vm.curTN.tnIdeaPosition === 2 && wfIdea.ideaLabelName === _vm.curTN.tnIdeaLabelName ? [_c('IdeaInputBox', {
|
|
38654
38663
|
staticStyle: {
|
|
@@ -38764,7 +38773,7 @@ var HandleIdeavue_type_template_id_28023d64_scoped_true_render = function render
|
|
|
38764
38773
|
}
|
|
38765
38774
|
}, [_vm._v("删除流程实例意见")])], 2) : _vm._e();
|
|
38766
38775
|
};
|
|
38767
|
-
var
|
|
38776
|
+
var HandleIdeavue_type_template_id_52885f54_scoped_true_staticRenderFns = [];
|
|
38768
38777
|
|
|
38769
38778
|
;// 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/HandleIdea.vue?vue&type=script&lang=js
|
|
38770
38779
|
/* harmony default export */ var HandleIdeavue_type_script_lang_js = ({
|
|
@@ -39080,7 +39089,7 @@ var HandleIdeavue_type_template_id_28023d64_scoped_true_staticRenderFns = [];
|
|
|
39080
39089
|
}
|
|
39081
39090
|
});
|
|
39082
39091
|
if (groupIdeaList.length === 1) {
|
|
39083
|
-
groupIdeaList[0].colspan = _this4.frmRowCellCount == 24 ? 4 : 2;
|
|
39092
|
+
groupIdeaList[0].colspan = _this4.frmRowCellCount == 24 ? 4 : _this4.labelGroupShowType === 'rowspan' ? 2 : 1;
|
|
39084
39093
|
}
|
|
39085
39094
|
ideaLabelGroup[group] = groupIdeaList;
|
|
39086
39095
|
};
|
|
@@ -39098,6 +39107,7 @@ var HandleIdeavue_type_template_id_28023d64_scoped_true_staticRenderFns = [];
|
|
|
39098
39107
|
ideaSignature.style.maxWidth = '100px';
|
|
39099
39108
|
ideaSignature.style.maxHeight = '50px';
|
|
39100
39109
|
});
|
|
39110
|
+
this.setIdeaLabelWidth(true);
|
|
39101
39111
|
setTimeout(function () {
|
|
39102
39112
|
_this4.setIdeaTextAlign();
|
|
39103
39113
|
_this4.initDeleteIdeaBtn();
|
|
@@ -39107,6 +39117,9 @@ var HandleIdeavue_type_template_id_28023d64_scoped_true_staticRenderFns = [];
|
|
|
39107
39117
|
},
|
|
39108
39118
|
setIdeaTextAlign: function setIdeaTextAlign() {
|
|
39109
39119
|
var ideaDivs = document.querySelectorAll('.tdw83 .ideaDiv');
|
|
39120
|
+
if (ideaDivs.length === 0) {
|
|
39121
|
+
ideaDivs = document.querySelectorAll('.tdw87 .ideaDiv');
|
|
39122
|
+
}
|
|
39110
39123
|
ideaDivs.forEach(function (ideaDiv) {
|
|
39111
39124
|
var p = ideaDiv.querySelector('p[align="center"]');
|
|
39112
39125
|
if (p) {
|
|
@@ -39136,13 +39149,14 @@ var HandleIdeavue_type_template_id_28023d64_scoped_true_staticRenderFns = [];
|
|
|
39136
39149
|
}
|
|
39137
39150
|
});
|
|
39138
39151
|
},
|
|
39139
|
-
setIdeaLabelWidth: function setIdeaLabelWidth() {
|
|
39152
|
+
setIdeaLabelWidth: function setIdeaLabelWidth(inited) {
|
|
39140
39153
|
var _this6 = this;
|
|
39141
39154
|
this.$nextTick(function () {
|
|
39142
|
-
_this6.initUdmIdeaLables();
|
|
39143
|
-
|
|
39144
|
-
|
|
39145
|
-
|
|
39155
|
+
if (!inited) _this6.initUdmIdeaLables();
|
|
39156
|
+
var wform = document.querySelector('.wflow-busiform');
|
|
39157
|
+
if (!wform) wform = document.querySelector('.form-container').querySelector('.el-form');
|
|
39158
|
+
if (wform && wform.querySelector('.tdw13')) {
|
|
39159
|
+
var formWidth = wform.clientWidth * 0.131 + 'px';
|
|
39146
39160
|
document.querySelectorAll('.tdw17').forEach(function (td) {
|
|
39147
39161
|
td.style.width = formWidth;
|
|
39148
39162
|
});
|
|
@@ -39227,13 +39241,13 @@ window.callDeleteIdeaBtnClick = function (ideaId) {
|
|
|
39227
39241
|
};
|
|
39228
39242
|
;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/HandleIdea.vue?vue&type=script&lang=js
|
|
39229
39243
|
/* harmony default export */ var src_HandleIdeavue_type_script_lang_js = (HandleIdeavue_type_script_lang_js);
|
|
39230
|
-
// 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/HandleIdea.vue?vue&type=style&index=0&id=
|
|
39231
|
-
var
|
|
39232
|
-
;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/HandleIdea.vue?vue&type=style&index=0&id=
|
|
39244
|
+
// 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/HandleIdea.vue?vue&type=style&index=0&id=52885f54&prod&scoped=true&lang=scss
|
|
39245
|
+
var HandleIdeavue_type_style_index_0_id_52885f54_prod_scoped_true_lang_scss = __webpack_require__(10736);
|
|
39246
|
+
;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/HandleIdea.vue?vue&type=style&index=0&id=52885f54&prod&scoped=true&lang=scss
|
|
39233
39247
|
|
|
39234
|
-
// 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/HandleIdea.vue?vue&type=style&index=1&id=
|
|
39235
|
-
var
|
|
39236
|
-
;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/HandleIdea.vue?vue&type=style&index=1&id=
|
|
39248
|
+
// 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/HandleIdea.vue?vue&type=style&index=1&id=52885f54&prod&lang=scss
|
|
39249
|
+
var HandleIdeavue_type_style_index_1_id_52885f54_prod_lang_scss = __webpack_require__(30976);
|
|
39250
|
+
;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/HandleIdea.vue?vue&type=style&index=1&id=52885f54&prod&lang=scss
|
|
39237
39251
|
|
|
39238
39252
|
;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/HandleIdea.vue
|
|
39239
39253
|
|
|
@@ -39247,11 +39261,11 @@ var HandleIdeavue_type_style_index_1_id_28023d64_prod_lang_scss = __webpack_requ
|
|
|
39247
39261
|
|
|
39248
39262
|
var HandleIdea_component = (0,componentNormalizer/* default */.A)(
|
|
39249
39263
|
src_HandleIdeavue_type_script_lang_js,
|
|
39250
|
-
|
|
39251
|
-
|
|
39264
|
+
HandleIdeavue_type_template_id_52885f54_scoped_true_render,
|
|
39265
|
+
HandleIdeavue_type_template_id_52885f54_scoped_true_staticRenderFns,
|
|
39252
39266
|
false,
|
|
39253
39267
|
null,
|
|
39254
|
-
"
|
|
39268
|
+
"52885f54",
|
|
39255
39269
|
null
|
|
39256
39270
|
|
|
39257
39271
|
)
|
|
@@ -116355,7 +116369,7 @@ var UdmGenerator_UserModuleForm = UserModuleForm;
|
|
|
116355
116369
|
|
|
116356
116370
|
/***/ }),
|
|
116357
116371
|
|
|
116358
|
-
/***/
|
|
116372
|
+
/***/ 34797:
|
|
116359
116373
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
116360
116374
|
|
|
116361
116375
|
"use strict";
|
|
@@ -117022,8 +117036,8 @@ var SideBar_component = (0,componentNormalizer/* default */.A)(
|
|
|
117022
117036
|
)
|
|
117023
117037
|
|
|
117024
117038
|
/* harmony default export */ var SideBar = (SideBar_component.exports);
|
|
117025
|
-
;// 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=
|
|
117026
|
-
var
|
|
117039
|
+
;// 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=5c4008d4&scoped=true
|
|
117040
|
+
var Centervue_type_template_id_5c4008d4_scoped_true_render = function render() {
|
|
117027
117041
|
var _vm = this,
|
|
117028
117042
|
_c = _vm._self._c;
|
|
117029
117043
|
return _c('el-scrollbar', {
|
|
@@ -117142,7 +117156,7 @@ var Centervue_type_template_id_cf0d53e6_scoped_true_render = function render() {
|
|
|
117142
117156
|
}
|
|
117143
117157
|
})], 1)], 1)]);
|
|
117144
117158
|
};
|
|
117145
|
-
var
|
|
117159
|
+
var Centervue_type_template_id_5c4008d4_scoped_true_staticRenderFns = [];
|
|
117146
117160
|
|
|
117147
117161
|
// EXTERNAL MODULE: ./node_modules/jquery/dist/jquery.js
|
|
117148
117162
|
var jquery = __webpack_require__(74692);
|
|
@@ -117187,8 +117201,13 @@ var _require5 = __webpack_require__(61154),
|
|
|
117187
117201
|
dragLine = _require5.dragLine;
|
|
117188
117202
|
var _require6 = __webpack_require__(61154),
|
|
117189
117203
|
dragAddNode = _require6.dragAddNode;
|
|
117204
|
+
var _require7 = __webpack_require__(61154),
|
|
117205
|
+
bindConnectionEvents = _require7.bindConnectionEvents;
|
|
117190
117206
|
// 按需加载 globalStyle 模块
|
|
117191
117207
|
var hollowCircle, createPathLine, createConnect;
|
|
117208
|
+
var resetEndpointSourceFlags, clearEndpointFillStyle, applyConnectionStyle;
|
|
117209
|
+
var checkAndAddArrow, initConnectionEndpointMode, setAnchorCreateMode, setConnectionEndpointCreateMode, resetAllAnchorEndpoints, resetAllConnectionEndpoints;
|
|
117210
|
+
var CONNECTION_DEFAULT_STYLE;
|
|
117192
117211
|
var loadGlobalStyle = /*#__PURE__*/function () {
|
|
117193
117212
|
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
117194
117213
|
var module;
|
|
@@ -117208,7 +117227,17 @@ var loadGlobalStyle = /*#__PURE__*/function () {
|
|
|
117208
117227
|
hollowCircle = module.hollowCircle;
|
|
117209
117228
|
createPathLine = module.createPathLine;
|
|
117210
117229
|
createConnect = module.createConnect;
|
|
117211
|
-
|
|
117230
|
+
CONNECTION_DEFAULT_STYLE = module.CONNECTION_DEFAULT_STYLE;
|
|
117231
|
+
resetEndpointSourceFlags = module.resetEndpointSourceFlags;
|
|
117232
|
+
clearEndpointFillStyle = module.clearEndpointFillStyle;
|
|
117233
|
+
applyConnectionStyle = module.applyConnectionStyle;
|
|
117234
|
+
checkAndAddArrow = module.checkAndAddArrow;
|
|
117235
|
+
initConnectionEndpointMode = module.initConnectionEndpointMode;
|
|
117236
|
+
setAnchorCreateMode = module.setAnchorCreateMode;
|
|
117237
|
+
setConnectionEndpointCreateMode = module.setConnectionEndpointCreateMode;
|
|
117238
|
+
resetAllAnchorEndpoints = module.resetAllAnchorEndpoints;
|
|
117239
|
+
resetAllConnectionEndpoints = module.resetAllConnectionEndpoints;
|
|
117240
|
+
case 17:
|
|
117212
117241
|
case "end":
|
|
117213
117242
|
return _context.stop();
|
|
117214
117243
|
}
|
|
@@ -117218,37 +117247,37 @@ var loadGlobalStyle = /*#__PURE__*/function () {
|
|
|
117218
117247
|
return _ref.apply(this, arguments);
|
|
117219
117248
|
};
|
|
117220
117249
|
}();
|
|
117221
|
-
var _require7 = __webpack_require__(92399),
|
|
117222
|
-
startMove = _require7.startMove;
|
|
117223
117250
|
var _require8 = __webpack_require__(92399),
|
|
117224
|
-
|
|
117251
|
+
startMove = _require8.startMove;
|
|
117225
117252
|
var _require9 = __webpack_require__(92399),
|
|
117226
|
-
|
|
117253
|
+
MoveSelectDiv = _require9.MoveSelectDiv;
|
|
117227
117254
|
var _require10 = __webpack_require__(92399),
|
|
117228
|
-
|
|
117255
|
+
getSelectedRegions = _require10.getSelectedRegions;
|
|
117229
117256
|
var _require11 = __webpack_require__(92399),
|
|
117230
|
-
|
|
117257
|
+
resetLocation = _require11.resetLocation;
|
|
117231
117258
|
var _require12 = __webpack_require__(92399),
|
|
117232
|
-
|
|
117259
|
+
RegionSelect = _require12.RegionSelect;
|
|
117233
117260
|
var _require13 = __webpack_require__(92399),
|
|
117234
|
-
|
|
117261
|
+
SelectAlignCenter = _require13.SelectAlignCenter;
|
|
117235
117262
|
var _require14 = __webpack_require__(92399),
|
|
117236
|
-
|
|
117263
|
+
SelectAlignMean = _require14.SelectAlignMean;
|
|
117237
117264
|
var _require15 = __webpack_require__(92399),
|
|
117238
|
-
|
|
117265
|
+
SelectMeanCenter = _require15.SelectMeanCenter;
|
|
117239
117266
|
var _require16 = __webpack_require__(92399),
|
|
117240
|
-
|
|
117267
|
+
SelectAlignTop = _require16.SelectAlignTop;
|
|
117241
117268
|
var _require17 = __webpack_require__(92399),
|
|
117242
|
-
|
|
117269
|
+
SelectAlignMiddle = _require17.SelectAlignMiddle;
|
|
117243
117270
|
var _require18 = __webpack_require__(92399),
|
|
117244
|
-
|
|
117271
|
+
SelectAlignLeft = _require18.SelectAlignLeft;
|
|
117245
117272
|
var _require19 = __webpack_require__(92399),
|
|
117246
|
-
|
|
117247
|
-
|
|
117248
|
-
|
|
117249
|
-
|
|
117273
|
+
showProcessDesc = _require19.showProcessDesc;
|
|
117274
|
+
var _require20 = __webpack_require__(92399),
|
|
117275
|
+
showAddNodeBtn = _require20.showAddNodeBtn,
|
|
117276
|
+
addNodeBtnClick = _require20.addNodeBtnClick;
|
|
117250
117277
|
var _require21 = __webpack_require__(53978),
|
|
117251
|
-
|
|
117278
|
+
ecinc_process = _require21.ecinc_process;
|
|
117279
|
+
var _require22 = __webpack_require__(53978),
|
|
117280
|
+
ecinc_attr_panel = _require22.ecinc_attr_panel;
|
|
117252
117281
|
|
|
117253
117282
|
/* harmony default export */ var Centervue_type_script_lang_js = ({
|
|
117254
117283
|
components: {},
|
|
@@ -117413,7 +117442,20 @@ var _require21 = __webpack_require__(53978),
|
|
|
117413
117442
|
initWfDesigner: function initWfDesigner() {
|
|
117414
117443
|
var _this4 = this;
|
|
117415
117444
|
Centervue_type_script_lang_js_jsPlumb.importDefaults({
|
|
117416
|
-
ReattachConnections: true
|
|
117445
|
+
ReattachConnections: true,
|
|
117446
|
+
// 统一拖拽创建的新连接线类型(Flowchart折线,与createPathLine一致)
|
|
117447
|
+
Connector: ['Flowchart', {
|
|
117448
|
+
stub: [10, 50],
|
|
117449
|
+
alwaysRespectStubs: false,
|
|
117450
|
+
midpoint: 0,
|
|
117451
|
+
cornerRadius: 5
|
|
117452
|
+
}],
|
|
117453
|
+
// 统一连接线颜色(覆盖 loadGlobalStyle 的绿色 PaintStyle)
|
|
117454
|
+
PaintStyle: {
|
|
117455
|
+
stroke: '#438eb9',
|
|
117456
|
+
strokeWidth: 2
|
|
117457
|
+
}
|
|
117458
|
+
// 注:不设 ConnectionOverlays,避免与 createConnect 的 overlays 叠加产生双箭头
|
|
117417
117459
|
});
|
|
117418
117460
|
Centervue_type_script_lang_js_jsPlumb.connectorClass += ' line_path';
|
|
117419
117461
|
this.dragLineObj.init = function (connection, thisConnect) {
|
|
@@ -117724,6 +117766,14 @@ var _require21 = __webpack_require__(53978),
|
|
|
117724
117766
|
}
|
|
117725
117767
|
}
|
|
117726
117768
|
|
|
117769
|
+
// 标记所有锚点端点为原始源端点(区别于连接端点)
|
|
117770
|
+
jquery_default()('.process').each(function () {
|
|
117771
|
+
var eps = Centervue_type_script_lang_js_jsPlumb.getEndpoints(this);
|
|
117772
|
+
for (var i = 0; i < eps.length; i++) {
|
|
117773
|
+
if (eps[i].isSource) eps[i]._wfOrigSource = true;
|
|
117774
|
+
}
|
|
117775
|
+
});
|
|
117776
|
+
|
|
117727
117777
|
//节点连接线
|
|
117728
117778
|
createPathLine(_this4.connectsArr);
|
|
117729
117779
|
setTimeout(function () {
|
|
@@ -117780,6 +117830,32 @@ var _require21 = __webpack_require__(53978),
|
|
|
117780
117830
|
jquery_default()('.process').bind('click', function (el) {
|
|
117781
117831
|
jquery_default()('.process').removeClass('seled');
|
|
117782
117832
|
jquery_default()(el.currentTarget).addClass('seled');
|
|
117833
|
+
// === 新增:点击节点时清除连接 active 状态 ===
|
|
117834
|
+
jquery_default()('.jtk-connector').removeClass('wf-conn-active');
|
|
117835
|
+
jquery_default()('.jtk-endpoint').removeClass('wf-ep-active');
|
|
117836
|
+
// 移除所有连接端点的永久标记,让锚点 (z-index:5) 置顶,捕获拖拽事件
|
|
117837
|
+
jquery_default()('.jtk-endpoint').removeClass('wf-conn-ep');
|
|
117838
|
+
_this4._connectionSelected = false; // 取消连接线选中
|
|
117839
|
+
// === 清除所有端点的选中样式,恢复端点默认属性 ===
|
|
117840
|
+
jquery_default()('.jtk-endpoint').removeClass('wf-sel-ep');
|
|
117841
|
+
resetAllAnchorEndpoints(jquery_default()('.process').get());
|
|
117842
|
+
resetAllConnectionEndpoints(); // 显式重置所有连接端点(恢复移动模式)
|
|
117843
|
+
// 重置所有连接线为默认蓝色(清除连接选中红色)
|
|
117844
|
+
var resetConns = Centervue_type_script_lang_js_jsPlumb.getAllConnections();
|
|
117845
|
+
for (var ri = 0; ri < resetConns.length; ri++) {
|
|
117846
|
+
resetConns[ri].setPaintStyle(CONNECTION_DEFAULT_STYLE);
|
|
117847
|
+
}
|
|
117848
|
+
|
|
117849
|
+
// === 选中节点:锚点变红 + 锚点端点启用源模式 ===
|
|
117850
|
+
// 1. 锚点端点加 wf-sel-ep 类(CSS 控制红色)
|
|
117851
|
+
var selEndpoints = Centervue_type_script_lang_js_jsPlumb.getEndpoints(el.currentTarget);
|
|
117852
|
+
for (var ei = 0; ei < selEndpoints.length; ei++) {
|
|
117853
|
+
jquery_default()(selEndpoints[ei].canvas).addClass('wf-sel-ep');
|
|
117854
|
+
}
|
|
117855
|
+
// 2. 选中节点的锚点端点启用源模式(拖拽时创建新连接而非移动已有连接)
|
|
117856
|
+
setAnchorCreateMode(selEndpoints);
|
|
117857
|
+
// 3. 选中节点的连接端点也启用创建模式(拖拽连接端点也生成新连接)
|
|
117858
|
+
setConnectionEndpointCreateMode(el.currentTarget);
|
|
117783
117859
|
_this4.getHistroyNodes();
|
|
117784
117860
|
var curId = jquery_default()(el.currentTarget).attr('id');
|
|
117785
117861
|
for (var j = 0; j < _this.wflow.nodes.length; j++) {
|
|
@@ -117821,6 +117897,8 @@ var _require21 = __webpack_require__(53978),
|
|
|
117821
117897
|
|
|
117822
117898
|
// 获取需要等待的环节
|
|
117823
117899
|
_this4.getWaitNode();
|
|
117900
|
+
// === 新增:清除连接选中状态,保证节点/连接互斥 ===
|
|
117901
|
+
_this4.curPath = {};
|
|
117824
117902
|
_this4.emitData();
|
|
117825
117903
|
});
|
|
117826
117904
|
|
|
@@ -117852,54 +117930,44 @@ var _require21 = __webpack_require__(53978),
|
|
|
117852
117930
|
|
|
117853
117931
|
/** *************************************路径数据******************************************/
|
|
117854
117932
|
|
|
117933
|
+
// beforeDrag: 从空锚点/未满端点拖拽新建连接时触发(jpc==null,源模式走此分支)
|
|
117934
|
+
Centervue_type_script_lang_js_jsPlumb.bind('beforeDrag', function (info) {
|
|
117935
|
+
// 连接线被选中时,阻止从锚点创建新连接(用户应拖拽连接端点来移动)
|
|
117936
|
+
if (_this4._connectionSelected) {
|
|
117937
|
+
return false;
|
|
117938
|
+
}
|
|
117939
|
+
clearEndpointFillStyle(info.endpoint);
|
|
117940
|
+
return true;
|
|
117941
|
+
});
|
|
117942
|
+
// beforeStartDetach: 从已有连接线的端点拖拽时触发(jpc!=null)
|
|
117943
|
+
Centervue_type_script_lang_js_jsPlumb.bind('beforeStartDetach', function (info) {
|
|
117944
|
+
clearEndpointFillStyle(info.endpoint);
|
|
117945
|
+
return true;
|
|
117946
|
+
});
|
|
117947
|
+
|
|
117948
|
+
// connectionDrag、connectionMoved、connectionDetached、connectionAborted、mousedown、click
|
|
117949
|
+
// 已提取到 drag.js 的 bindConnectionEvents(vm) 函数
|
|
117950
|
+
bindConnectionEvents(this);
|
|
117951
|
+
|
|
117855
117952
|
// 1路径创建
|
|
117856
117953
|
Centervue_type_script_lang_js_jsPlumb.bind('connection', function (info) {
|
|
117857
|
-
|
|
117858
|
-
|
|
117859
|
-
|
|
117954
|
+
// 已移除 setHoverPaintStyle({ stroke: 'red' }):避免节点选中时悬停连接线端点导致变红
|
|
117955
|
+
|
|
117956
|
+
// 设置新连接线样式 + 检查并添加 Arrow 箭头覆盖
|
|
117957
|
+
applyConnectionStyle(info.connection);
|
|
117958
|
+
checkAndAddArrow(info.connection);
|
|
117959
|
+
|
|
117960
|
+
// === 连接端点标记 + 设置永久源模式(始终可拖拽) ===
|
|
117961
|
+
if (info.connection.endpoints) {
|
|
117962
|
+
info.connection.endpoints.forEach(function (ep) {
|
|
117963
|
+
initConnectionEndpointMode(ep);
|
|
117860
117964
|
});
|
|
117861
117965
|
}
|
|
117862
|
-
info.connection.setPaintStyle({
|
|
117863
|
-
stroke: '#438eb9',
|
|
117864
|
-
fillStyle: '#438eb9',
|
|
117865
|
-
radius: 5
|
|
117866
|
-
});
|
|
117867
117966
|
_this4.dragPath(info);
|
|
117868
117967
|
_this4.ComparePath();
|
|
117869
117968
|
_this4.emitData();
|
|
117870
117969
|
return false;
|
|
117871
117970
|
});
|
|
117872
|
-
Centervue_type_script_lang_js_jsPlumb.bind('mousedown', function (connection, originalEvent) {
|
|
117873
|
-
var thisConnect = {};
|
|
117874
|
-
var len = _this4.connectsArr.length;
|
|
117875
|
-
for (var i = 0; i < len; i++) {
|
|
117876
|
-
if (connection.id === _this4.connectsArr[i].ConnectionId) {
|
|
117877
|
-
thisConnect = _this4.connectsArr[i];
|
|
117878
|
-
break;
|
|
117879
|
-
}
|
|
117880
|
-
}
|
|
117881
|
-
_this4.clickPath(connection); //, 此事件会跟click事件冲突,可以把事件函数放在这里执行
|
|
117882
|
-
// 设置路径颜色
|
|
117883
|
-
_this4.dragLineObj.init(connection, thisConnect);
|
|
117884
|
-
_this4.emitData();
|
|
117885
|
-
// $scope.$apply();
|
|
117886
|
-
return false;
|
|
117887
|
-
});
|
|
117888
|
-
// 2路径点击
|
|
117889
|
-
Centervue_type_script_lang_js_jsPlumb.bind('click', function (conn, originalEvent) {
|
|
117890
|
-
conn.endpoints[0]._jsPlumb.maxConnections = 1;
|
|
117891
|
-
conn.endpoints[1]._jsPlumb.maxConnections = 1;
|
|
117892
|
-
if (jquery_default()('.panel_path').css('display') !== 'none') {
|
|
117893
|
-
if (!jquery_default()(conn.source).hasClass('dfzjd') && !jquery_default()(conn.source).hasClass('zyjd')) {
|
|
117894
|
-
conn.setPaintStyle({
|
|
117895
|
-
stroke: 'red',
|
|
117896
|
-
corsor: 'move'
|
|
117897
|
-
});
|
|
117898
|
-
}
|
|
117899
|
-
}
|
|
117900
|
-
jquery_default()('.process').removeClass('seled');
|
|
117901
|
-
return false;
|
|
117902
|
-
});
|
|
117903
117971
|
|
|
117904
117972
|
// 3自定义右键菜单
|
|
117905
117973
|
jquery_default()(document).bind('contextmenu', function () {
|
|
@@ -118000,16 +118068,35 @@ var _require21 = __webpack_require__(53978),
|
|
|
118000
118068
|
jquery_default()(document).click(function () {
|
|
118001
118069
|
jquery_default()('#centextMenu').remove();
|
|
118002
118070
|
});
|
|
118003
|
-
|
|
118004
|
-
|
|
118005
|
-
|
|
118006
|
-
|
|
118007
|
-
|
|
118008
|
-
|
|
118009
|
-
|
|
118010
|
-
|
|
118011
|
-
|
|
118012
|
-
|
|
118071
|
+
|
|
118072
|
+
// connectionDrag/connectionDragStop 已提取到 bindConnectionEvents
|
|
118073
|
+
|
|
118074
|
+
jquery_default()('#center').click(function (e) {
|
|
118075
|
+
// 若点击目标是节点或其子元素,不取消节点选中(事件已冒泡处理)
|
|
118076
|
+
if (jquery_default()(e.target).closest('.process').length > 0) return;
|
|
118077
|
+
// 若点击目标是连接线或端点,不取消选中(由 jsPlumb mousedown/click 事件处理)
|
|
118078
|
+
if (jquery_default()(e.target).closest('.jtk-connector, .jtk-endpoint').length > 0) return;
|
|
118079
|
+
// 拖拽创建连接后的 mouseup 会触发 click,此时不应取消选中
|
|
118080
|
+
if (_this4._connectionDragging) {
|
|
118081
|
+
_this4._connectionDragging = false;
|
|
118082
|
+
return;
|
|
118083
|
+
}
|
|
118084
|
+
// 点击画布空白处:清除节点选中和连接选中
|
|
118085
|
+
var prevSelNodes2 = jquery_default()('.process.seled');
|
|
118086
|
+
jquery_default()('.process').removeClass('seled');
|
|
118087
|
+
jquery_default()('.jtk-endpoint').removeClass('wf-sel-ep');
|
|
118088
|
+
_this4._connectionSelected = false; // 取消连接线选中
|
|
118089
|
+
// 仅重置之前选中的节点的锚点端点源模式标志
|
|
118090
|
+
resetAllAnchorEndpoints(prevSelNodes2.get());
|
|
118091
|
+
resetAllConnectionEndpoints(); // 显式重置所有连接端点(恢复移动模式)
|
|
118092
|
+
var allConns2 = Centervue_type_script_lang_js_jsPlumb.getAllConnections();
|
|
118093
|
+
for (var ci = 0; ci < allConns2.length; ci++) {
|
|
118094
|
+
allConns2[ci].setDetachable(true);
|
|
118095
|
+
}
|
|
118096
|
+
// 清除连接选中状态
|
|
118097
|
+
jquery_default()('.jtk-connector').removeClass('wf-conn-active');
|
|
118098
|
+
for (var i = 0; i < allConns2.length; i++) {
|
|
118099
|
+
applyConnectionStyle(allConns2[i]);
|
|
118013
118100
|
}
|
|
118014
118101
|
_this4.ComparePath();
|
|
118015
118102
|
if (window.getSelection) {
|
|
@@ -118021,17 +118108,21 @@ var _require21 = __webpack_require__(53978),
|
|
|
118021
118108
|
jquery_default()('#centextMenu').remove();
|
|
118022
118109
|
}
|
|
118023
118110
|
var aConn = Centervue_type_script_lang_js_jsPlumb.getConnections(); // 获取容器所有的连接线
|
|
118111
|
+
// 清除所有连接选中状态
|
|
118112
|
+
jquery_default()('.jtk-connector').removeClass('wf-conn-active');
|
|
118024
118113
|
for (var i = 0; i < aConn.length; i++) {
|
|
118025
118114
|
if (aConn[i].id !== conn.id) {
|
|
118026
|
-
aConn[i]
|
|
118027
|
-
stroke: '#438eb9',
|
|
118028
|
-
fillStyle: '#438eb9',
|
|
118029
|
-
radius: 5
|
|
118030
|
-
});
|
|
118115
|
+
applyConnectionStyle(aConn[i]);
|
|
118031
118116
|
} else {
|
|
118032
118117
|
aConn[i].setPaintStyle({
|
|
118033
|
-
stroke: 'red'
|
|
118118
|
+
stroke: 'red',
|
|
118119
|
+
strokeWidth: 2
|
|
118034
118120
|
});
|
|
118121
|
+
jquery_default()(aConn[i].connector.canvas).closest('.jtk-connector').addClass('wf-conn-active');
|
|
118122
|
+
// 将选中连接线 DOM 移到父容器末尾,确保最上层渲染
|
|
118123
|
+
var _ctxConn = jquery_default()(aConn[i].connector.canvas).closest('.jtk-connector');
|
|
118124
|
+
var _ctxParent = _ctxConn.parent();
|
|
118125
|
+
if (_ctxParent.length > 0) _ctxParent[0].appendChild(_ctxConn[0]);
|
|
118035
118126
|
}
|
|
118036
118127
|
}
|
|
118037
118128
|
var centextMenu = '<div id="centextMenu" style=" top:' + originalEvent.pageY + 'px;left:' + originalEvent.pageX + 'px;">' + '<a class="delete_line" href="javascript:;">删除连接线</a><a class="change_line_workline" href="javascript:;">转变为折线</a>' + '<a class="change_line_stright" href="javascript:;">转变为直线</a><a class="change_line_Bezier" href="javascript:;">转变为曲线</a>' + '<div style="height:2px;margin:8px 0 8px 8px;width:90%;background-color:#F5F7FA"/><a class="change_label_left" href="javascript:;">标签靠前</a>' + '<a class="change_label_center" href="javascript:;">标签居中</a><a class="change_label_right" href="javascript:;">标签靠后</a></div>';
|
|
@@ -118401,6 +118492,29 @@ var _require21 = __webpack_require__(53978),
|
|
|
118401
118492
|
},
|
|
118402
118493
|
dragPath: function dragPath(pathTarget) {
|
|
118403
118494
|
var _this7 = this;
|
|
118495
|
+
// 同一节点并且同一锚点时:删除已创建的连接线并退出
|
|
118496
|
+
if (pathTarget.sourceId === pathTarget.targetId) {
|
|
118497
|
+
var sameAnchor = false;
|
|
118498
|
+
try {
|
|
118499
|
+
// 获取源端点和目标端点的锚点位置进行比较
|
|
118500
|
+
var srcEp = pathTarget.sourceEndpoint || pathTarget.connection && pathTarget.connection.endpoints && pathTarget.connection.endpoints[0];
|
|
118501
|
+
var tgtEp = pathTarget.targetEndpoint || pathTarget.connection && pathTarget.connection.endpoints && pathTarget.connection.endpoints[1];
|
|
118502
|
+
if (srcEp && tgtEp && srcEp.anchor && tgtEp.anchor) {
|
|
118503
|
+
sameAnchor = srcEp.anchor.x === tgtEp.anchor.x && srcEp.anchor.y === tgtEp.anchor.y;
|
|
118504
|
+
}
|
|
118505
|
+
} catch (e) {
|
|
118506
|
+
// 无法获取锚点信息时默认视为同锚点
|
|
118507
|
+
sameAnchor = true;
|
|
118508
|
+
}
|
|
118509
|
+
if (sameAnchor) {
|
|
118510
|
+
try {
|
|
118511
|
+
Centervue_type_script_lang_js_jsPlumb.deleteConnection(pathTarget.connection);
|
|
118512
|
+
} catch (e) {
|
|
118513
|
+
console.warn('dragPath: deleteConnection failed', e);
|
|
118514
|
+
}
|
|
118515
|
+
return;
|
|
118516
|
+
}
|
|
118517
|
+
}
|
|
118404
118518
|
this.curPath = {};
|
|
118405
118519
|
for (var p = 0; p < this.pathObj.length; p++) {
|
|
118406
118520
|
if (this.pathObj[p].id === pathTarget.connection._jsPlumb.parameters.pathId) {
|
|
@@ -118879,9 +118993,12 @@ var _require21 = __webpack_require__(53978),
|
|
|
118879
118993
|
validatePath: function validatePath(target, msg, allConn) {
|
|
118880
118994
|
this.curPath = target;
|
|
118881
118995
|
this.emitData();
|
|
118996
|
+
// 清除所有连接选中状态
|
|
118997
|
+
jquery_default()('.jtk-connector').removeClass('wf-conn-active');
|
|
118882
118998
|
for (var i = 0; i < allConn.length; i++) {
|
|
118883
118999
|
allConn[i].setPaintStyle({
|
|
118884
|
-
stroke: '#42546c'
|
|
119000
|
+
stroke: '#42546c',
|
|
119001
|
+
strokeWidth: 2
|
|
118885
119002
|
});
|
|
118886
119003
|
}
|
|
118887
119004
|
var found = false;
|
|
@@ -118889,8 +119006,14 @@ var _require21 = __webpack_require__(53978),
|
|
|
118889
119006
|
if (target.id === allConn[u].id) {
|
|
118890
119007
|
ecinc_process.connection = allConn[u];
|
|
118891
119008
|
allConn[u].setPaintStyle({
|
|
118892
|
-
stroke: 'red'
|
|
119009
|
+
stroke: 'red',
|
|
119010
|
+
strokeWidth: 2
|
|
118893
119011
|
});
|
|
119012
|
+
jquery_default()(allConn[u].connector.canvas).closest('.jtk-connector').addClass('wf-conn-active');
|
|
119013
|
+
// 将选中连接线 DOM 移到父容器末尾,确保最上层渲染
|
|
119014
|
+
var _vpConn = jquery_default()(allConn[u].connector.canvas).closest('.jtk-connector');
|
|
119015
|
+
var _vpParent = _vpConn.parent();
|
|
119016
|
+
if (_vpParent.length > 0) _vpParent[0].appendChild(_vpConn[0]);
|
|
118894
119017
|
found = true;
|
|
118895
119018
|
break;
|
|
118896
119019
|
}
|
|
@@ -119656,13 +119779,13 @@ var _require21 = __webpack_require__(53978),
|
|
|
119656
119779
|
});
|
|
119657
119780
|
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/Center/index.vue?vue&type=script&lang=js
|
|
119658
119781
|
/* harmony default export */ var components_Centervue_type_script_lang_js = (Centervue_type_script_lang_js);
|
|
119659
|
-
// 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=
|
|
119660
|
-
var
|
|
119661
|
-
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/Center/index.vue?vue&type=style&index=0&id=
|
|
119782
|
+
// 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=5c4008d4&prod&scoped=true&lang=scss
|
|
119783
|
+
var Centervue_type_style_index_0_id_5c4008d4_prod_scoped_true_lang_scss = __webpack_require__(31099);
|
|
119784
|
+
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/Center/index.vue?vue&type=style&index=0&id=5c4008d4&prod&scoped=true&lang=scss
|
|
119662
119785
|
|
|
119663
|
-
// 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=
|
|
119664
|
-
var
|
|
119665
|
-
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/Center/index.vue?vue&type=style&index=1&id=
|
|
119786
|
+
// 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=5c4008d4&prod&lang=scss
|
|
119787
|
+
var Centervue_type_style_index_1_id_5c4008d4_prod_lang_scss = __webpack_require__(32011);
|
|
119788
|
+
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/Center/index.vue?vue&type=style&index=1&id=5c4008d4&prod&lang=scss
|
|
119666
119789
|
|
|
119667
119790
|
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/Center/index.vue
|
|
119668
119791
|
|
|
@@ -119676,11 +119799,11 @@ var Centervue_type_style_index_1_id_cf0d53e6_prod_lang_scss = __webpack_require_
|
|
|
119676
119799
|
|
|
119677
119800
|
var Center_component = (0,componentNormalizer/* default */.A)(
|
|
119678
119801
|
components_Centervue_type_script_lang_js,
|
|
119679
|
-
|
|
119680
|
-
|
|
119802
|
+
Centervue_type_template_id_5c4008d4_scoped_true_render,
|
|
119803
|
+
Centervue_type_template_id_5c4008d4_scoped_true_staticRenderFns,
|
|
119681
119804
|
false,
|
|
119682
119805
|
null,
|
|
119683
|
-
"
|
|
119806
|
+
"5c4008d4",
|
|
119684
119807
|
null
|
|
119685
119808
|
|
|
119686
119809
|
)
|
|
@@ -124978,8 +125101,8 @@ var Tab3_component = (0,componentNormalizer/* default */.A)(
|
|
|
124978
125101
|
)
|
|
124979
125102
|
|
|
124980
125103
|
/* harmony default export */ var Tab3 = (Tab3_component.exports);
|
|
124981
|
-
;// 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/PanelProcess/Tab4.vue?vue&type=template&id=
|
|
124982
|
-
var
|
|
125104
|
+
;// 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/PanelProcess/Tab4.vue?vue&type=template&id=4c5b4236&scoped=true
|
|
125105
|
+
var Tab4vue_type_template_id_4c5b4236_scoped_true_render = function render() {
|
|
124983
125106
|
var _vm = this,
|
|
124984
125107
|
_c = _vm._self._c;
|
|
124985
125108
|
return _vm.wflow.wfdEvents ? _c('div', {
|
|
@@ -125070,7 +125193,7 @@ var Tab4vue_type_template_id_1251ec84_scoped_true_render = function render() {
|
|
|
125070
125193
|
})])]);
|
|
125071
125194
|
})], 2)])]) : _vm._e();
|
|
125072
125195
|
};
|
|
125073
|
-
var
|
|
125196
|
+
var Tab4vue_type_template_id_4c5b4236_scoped_true_staticRenderFns = [function () {
|
|
125074
125197
|
var _vm = this,
|
|
125075
125198
|
_c = _vm._self._c;
|
|
125076
125199
|
return _c('tr', [_c('th', {
|
|
@@ -125098,7 +125221,7 @@ var Tab4vue_type_template_id_1251ec84_scoped_true_staticRenderFns = [function ()
|
|
|
125098
125221
|
}, [_vm._v("操作")])]);
|
|
125099
125222
|
}];
|
|
125100
125223
|
|
|
125101
|
-
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/RightForm/PanelProcess/Tab4.vue?vue&type=template&id=
|
|
125224
|
+
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/RightForm/PanelProcess/Tab4.vue?vue&type=template&id=4c5b4236&scoped=true
|
|
125102
125225
|
|
|
125103
125226
|
;// 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/PanelProcess/Tab4.vue?vue&type=script&lang=js
|
|
125104
125227
|
/* harmony default export */ var Tab4vue_type_script_lang_js = ({
|
|
@@ -125257,9 +125380,9 @@ var Tab4vue_type_template_id_1251ec84_scoped_true_staticRenderFns = [function ()
|
|
|
125257
125380
|
});
|
|
125258
125381
|
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/RightForm/PanelProcess/Tab4.vue?vue&type=script&lang=js
|
|
125259
125382
|
/* harmony default export */ var PanelProcess_Tab4vue_type_script_lang_js = (Tab4vue_type_script_lang_js);
|
|
125260
|
-
// 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/PanelProcess/Tab4.vue?vue&type=style&index=0&id=
|
|
125261
|
-
var
|
|
125262
|
-
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/RightForm/PanelProcess/Tab4.vue?vue&type=style&index=0&id=
|
|
125383
|
+
// 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/PanelProcess/Tab4.vue?vue&type=style&index=0&id=4c5b4236&prod&scoped=true&lang=scss
|
|
125384
|
+
var Tab4vue_type_style_index_0_id_4c5b4236_prod_scoped_true_lang_scss = __webpack_require__(93270);
|
|
125385
|
+
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/RightForm/PanelProcess/Tab4.vue?vue&type=style&index=0&id=4c5b4236&prod&scoped=true&lang=scss
|
|
125263
125386
|
|
|
125264
125387
|
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/RightForm/PanelProcess/Tab4.vue
|
|
125265
125388
|
|
|
@@ -125272,11 +125395,11 @@ var Tab4vue_type_style_index_0_id_1251ec84_prod_scoped_true_lang_scss = __webpac
|
|
|
125272
125395
|
|
|
125273
125396
|
var Tab4_component = (0,componentNormalizer/* default */.A)(
|
|
125274
125397
|
PanelProcess_Tab4vue_type_script_lang_js,
|
|
125275
|
-
|
|
125276
|
-
|
|
125398
|
+
Tab4vue_type_template_id_4c5b4236_scoped_true_render,
|
|
125399
|
+
Tab4vue_type_template_id_4c5b4236_scoped_true_staticRenderFns,
|
|
125277
125400
|
false,
|
|
125278
125401
|
null,
|
|
125279
|
-
"
|
|
125402
|
+
"4c5b4236",
|
|
125280
125403
|
null
|
|
125281
125404
|
|
|
125282
125405
|
)
|
|
@@ -127633,7 +127756,7 @@ var PanelPath_Tab2_component = (0,componentNormalizer/* default */.A)(
|
|
|
127633
127756
|
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/RightForm/PanelPath/index.vue?vue&type=script&lang=js
|
|
127634
127757
|
/* harmony default export */ var RightForm_PanelPathvue_type_script_lang_js = (PanelPathvue_type_script_lang_js);
|
|
127635
127758
|
// 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
|
|
127636
|
-
var PanelPathvue_type_style_index_0_id_311f67d4_prod_scoped_true_lang_scss = __webpack_require__(
|
|
127759
|
+
var PanelPathvue_type_style_index_0_id_311f67d4_prod_scoped_true_lang_scss = __webpack_require__(52706);
|
|
127637
127760
|
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/RightForm/PanelPath/index.vue?vue&type=style&index=0&id=311f67d4&prod&scoped=true&lang=scss
|
|
127638
127761
|
|
|
127639
127762
|
;// CONCATENATED MODULE: ./packages/ecwplus/WorkflowDesigner/src/components/RightForm/PanelPath/index.vue
|
|
@@ -137906,6 +138029,7 @@ var Base64 = {
|
|
|
137906
138029
|
"use strict";
|
|
137907
138030
|
__webpack_require__.r(__webpack_exports__);
|
|
137908
138031
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
138032
|
+
/* harmony export */ bindConnectionEvents: function() { return /* binding */ bindConnectionEvents; },
|
|
137909
138033
|
/* harmony export */ dragAddNode: function() { return /* binding */ dragAddNode; },
|
|
137910
138034
|
/* harmony export */ dragLine: function() { return /* binding */ dragLine; },
|
|
137911
138035
|
/* harmony export */ getPathXyData: function() { return /* binding */ getPathXyData; },
|
|
@@ -137988,7 +138112,7 @@ function nodeEvents(id, wflow, $scope) {
|
|
|
137988
138112
|
$scope.$confirm('您是否确认删除选择的节点?', $scope.$t('common.confirm'), {
|
|
137989
138113
|
type: 'warning'
|
|
137990
138114
|
}).then(function () {
|
|
137991
|
-
var targetId, sourceId;
|
|
138115
|
+
var targetId, sourceId, targetPrevPath, sourceNextPath;
|
|
137992
138116
|
for (var i = 0; i < allConnection.length; i++) {
|
|
137993
138117
|
// targetId,sourceId
|
|
137994
138118
|
if (allConnection[i].targetId == curNodeId) {
|
|
@@ -137996,11 +138120,19 @@ function nodeEvents(id, wflow, $scope) {
|
|
|
137996
138120
|
pathArr.push(allConnection[i]);
|
|
137997
138121
|
}
|
|
137998
138122
|
if (allConnection[i].sourceId == curNodeId) {
|
|
137999
|
-
targetId = allConnection[i].
|
|
138123
|
+
targetId = allConnection[i].targetId;
|
|
138000
138124
|
pathArr.push(allConnection[i]);
|
|
138001
138125
|
}
|
|
138002
138126
|
}
|
|
138003
|
-
|
|
138127
|
+
for (var i = 0; i < allConnection.length; i++) {
|
|
138128
|
+
if (allConnection[i].targetId == targetId && allConnection[i].sourceId !== curNodeId) {
|
|
138129
|
+
targetPrevPath = true;
|
|
138130
|
+
}
|
|
138131
|
+
if (allConnection[i].sourceId == sourceId && allConnection[i].targetId !== curNodeId) {
|
|
138132
|
+
sourceNextPath = true;
|
|
138133
|
+
}
|
|
138134
|
+
}
|
|
138135
|
+
if (targetId && sourceId && (!sourceNextPath || !targetPrevPath)) {
|
|
138004
138136
|
var pathLine = {
|
|
138005
138137
|
ConnectionId: '',
|
|
138006
138138
|
PageSourceId: '',
|
|
@@ -138749,6 +138881,145 @@ function viewLinkedProcess(wflow, curNodeId) {
|
|
|
138749
138881
|
}
|
|
138750
138882
|
|
|
138751
138883
|
|
|
138884
|
+
// ========== 连接线交互事件绑定(从 Center/index.vue 提取) ==========
|
|
138885
|
+
|
|
138886
|
+
/**
|
|
138887
|
+
* 选中连接线:设置样式 + DOM 重排序 + 端点高亮
|
|
138888
|
+
* @param {Object} vm - Vue 实例
|
|
138889
|
+
* @param {Object} connection - jsPlumb 连接对象
|
|
138890
|
+
*/
|
|
138891
|
+
function selectConnection(vm, connection) {
|
|
138892
|
+
// === 连接 active 状态管理 ===
|
|
138893
|
+
jquery__WEBPACK_IMPORTED_MODULE_0___default()('.jtk-connector').removeClass('wf-conn-active');
|
|
138894
|
+
jquery__WEBPACK_IMPORTED_MODULE_0___default()('.jtk-endpoint').removeClass('wf-ep-active');
|
|
138895
|
+
|
|
138896
|
+
// 找到连接的 SVG 容器添加 wf-conn-active
|
|
138897
|
+
if (connection.connector && connection.connector.canvas) {
|
|
138898
|
+
var $selectedConn = jquery__WEBPACK_IMPORTED_MODULE_0___default()(connection.connector.canvas).closest('.jtk-connector');
|
|
138899
|
+
$selectedConn.addClass('wf-conn-active');
|
|
138900
|
+
// 将选中的连接线 DOM 元素移到父容器末尾,确保在最上层渲染
|
|
138901
|
+
var connParent = $selectedConn.parent();
|
|
138902
|
+
if (connParent.length > 0) {
|
|
138903
|
+
connParent[0].appendChild($selectedConn[0]);
|
|
138904
|
+
}
|
|
138905
|
+
}
|
|
138906
|
+
|
|
138907
|
+
// 选中连接线显示红色(setPaintStyle + setTimeout 双重保障)
|
|
138908
|
+
if (!jquery__WEBPACK_IMPORTED_MODULE_0___default()(connection.source).hasClass('dfzjd') && !jquery__WEBPACK_IMPORTED_MODULE_0___default()(connection.source).hasClass('zyjd')) {
|
|
138909
|
+
connection.setPaintStyle({
|
|
138910
|
+
stroke: 'red',
|
|
138911
|
+
strokeWidth: 2
|
|
138912
|
+
});
|
|
138913
|
+
setTimeout(function () {
|
|
138914
|
+
connection.setPaintStyle({
|
|
138915
|
+
stroke: 'red',
|
|
138916
|
+
strokeWidth: 2
|
|
138917
|
+
});
|
|
138918
|
+
}, 0);
|
|
138919
|
+
}
|
|
138920
|
+
|
|
138921
|
+
// 给连接两端端点添加 wf-ep-active 和 wf-conn-ep
|
|
138922
|
+
if (connection.endpoints) {
|
|
138923
|
+
connection.endpoints.forEach(function (ep) {
|
|
138924
|
+
if (ep.canvas) {
|
|
138925
|
+
jquery__WEBPACK_IMPORTED_MODULE_0___default()(ep.canvas).addClass('wf-ep-active');
|
|
138926
|
+
jquery__WEBPACK_IMPORTED_MODULE_0___default()(ep.canvas).addClass('wf-conn-ep');
|
|
138927
|
+
}
|
|
138928
|
+
});
|
|
138929
|
+
}
|
|
138930
|
+
}
|
|
138931
|
+
|
|
138932
|
+
/**
|
|
138933
|
+
* 绑定所有连接线交互事件(mousedown/click/moved/detached/aborted/drag)
|
|
138934
|
+
* @param {Object} vm - Vue 实例
|
|
138935
|
+
*/
|
|
138936
|
+
function bindConnectionEvents(vm) {
|
|
138937
|
+
// connectionDetached: 连接线断开时重置端点标志
|
|
138938
|
+
jsPlumb.bind('connectionDetached', function (info) {
|
|
138939
|
+
if (info.connection && info.connection.endpoints) {
|
|
138940
|
+
info.connection.endpoints.forEach(function (ep) {
|
|
138941
|
+
(0,_globalStyle_js__WEBPACK_IMPORTED_MODULE_3__.resetEndpointSourceFlags)(ep);
|
|
138942
|
+
});
|
|
138943
|
+
}
|
|
138944
|
+
});
|
|
138945
|
+
|
|
138946
|
+
// connectionAborted: 拖拽连接线取消时重置端点状态
|
|
138947
|
+
jsPlumb.bind('connectionAborted', function (info) {
|
|
138948
|
+
if (info.connection && info.connection.endpoints) {
|
|
138949
|
+
info.connection.endpoints.forEach(function (ep) {
|
|
138950
|
+
(0,_globalStyle_js__WEBPACK_IMPORTED_MODULE_3__.resetEndpointSourceFlags)(ep);
|
|
138951
|
+
});
|
|
138952
|
+
}
|
|
138953
|
+
});
|
|
138954
|
+
|
|
138955
|
+
// mousedown: 连接线点击选中(状态管理 + 样式设置 + 节点清除)
|
|
138956
|
+
jsPlumb.bind('mousedown', function (connection, originalEvent) {
|
|
138957
|
+
var thisConnect = {};
|
|
138958
|
+
var len = vm.connectsArr.length;
|
|
138959
|
+
for (var i = 0; i < len; i++) {
|
|
138960
|
+
if (connection.id === vm.connectsArr[i].ConnectionId) {
|
|
138961
|
+
thisConnect = vm.connectsArr[i];
|
|
138962
|
+
break;
|
|
138963
|
+
}
|
|
138964
|
+
}
|
|
138965
|
+
|
|
138966
|
+
// === 节点/连接互斥,清除节点选中 ===
|
|
138967
|
+
var prevSelNodes = jquery__WEBPACK_IMPORTED_MODULE_0___default()('.process.seled');
|
|
138968
|
+
jquery__WEBPACK_IMPORTED_MODULE_0___default()('.process').removeClass('seled');
|
|
138969
|
+
jquery__WEBPACK_IMPORTED_MODULE_0___default()('.jtk-endpoint').removeClass('wf-sel-ep');
|
|
138970
|
+
(0,_globalStyle_js__WEBPACK_IMPORTED_MODULE_3__.resetAllAnchorEndpoints)(prevSelNodes.get());
|
|
138971
|
+
(0,_globalStyle_js__WEBPACK_IMPORTED_MODULE_3__.resetAllConnectionEndpoints)(); // 显式重置所有连接端点(恢复移动模式)
|
|
138972
|
+
|
|
138973
|
+
var allConns = jsPlumb.getAllConnections();
|
|
138974
|
+
for (var ci = 0; ci < allConns.length; ci++) {
|
|
138975
|
+
allConns[ci].setDetachable(true);
|
|
138976
|
+
(0,_globalStyle_js__WEBPACK_IMPORTED_MODULE_3__.applyConnectionStyle)(allConns[ci]);
|
|
138977
|
+
}
|
|
138978
|
+
vm._connectionSelected = true;
|
|
138979
|
+
vm.clickPath(connection);
|
|
138980
|
+
vm.dragLineObj.init(connection, thisConnect);
|
|
138981
|
+
selectConnection(vm, connection);
|
|
138982
|
+
vm.emitData();
|
|
138983
|
+
return false;
|
|
138984
|
+
});
|
|
138985
|
+
|
|
138986
|
+
// click: 路径面板展示(状态管理由 mousedown 处理)
|
|
138987
|
+
jsPlumb.bind('click', function (conn) {
|
|
138988
|
+
vm.clickPath(conn);
|
|
138989
|
+
return false;
|
|
138990
|
+
});
|
|
138991
|
+
|
|
138992
|
+
// connectionMoved: 连接端点拖移完成后同步数据模型 + 重置端点状态
|
|
138993
|
+
jsPlumb.bind('connectionMoved', function (info) {
|
|
138994
|
+
vm.dragPath({
|
|
138995
|
+
connection: info.connection,
|
|
138996
|
+
source: info.connection.source,
|
|
138997
|
+
target: info.connection.target,
|
|
138998
|
+
sourceId: info.connection.sourceId,
|
|
138999
|
+
targetId: info.connection.targetId
|
|
139000
|
+
});
|
|
139001
|
+
var idx = info.index;
|
|
139002
|
+
if (idx === 0 && info.originalSourceEndpoint) {
|
|
139003
|
+
(0,_globalStyle_js__WEBPACK_IMPORTED_MODULE_3__.resetEndpointSourceFlags)(info.originalSourceEndpoint);
|
|
139004
|
+
} else if (idx === 1 && info.originalTargetEndpoint) {
|
|
139005
|
+
(0,_globalStyle_js__WEBPACK_IMPORTED_MODULE_3__.resetEndpointSourceFlags)(info.originalTargetEndpoint);
|
|
139006
|
+
}
|
|
139007
|
+
vm.ComparePath();
|
|
139008
|
+
vm.emitData();
|
|
139009
|
+
});
|
|
139010
|
+
|
|
139011
|
+
// connectionDrag: 拖拽创建新连接线时强制设置样式 + 拖拽状态追踪
|
|
139012
|
+
jsPlumb.bind('connectionDrag', function (conn) {
|
|
139013
|
+
(0,_globalStyle_js__WEBPACK_IMPORTED_MODULE_3__.applyConnectionStyle)(conn);
|
|
139014
|
+
vm._connectionDragging = true;
|
|
139015
|
+
});
|
|
139016
|
+
|
|
139017
|
+
// connectionDragStop: 拖拽停止后重置状态标志
|
|
139018
|
+
jsPlumb.bind('connectionDragStop', function () {
|
|
139019
|
+
vm._connectionDragging = false;
|
|
139020
|
+
});
|
|
139021
|
+
}
|
|
139022
|
+
|
|
138752
139023
|
/***/ }),
|
|
138753
139024
|
|
|
138754
139025
|
/***/ 93782:
|
|
@@ -138757,12 +139028,31 @@ function viewLinkedProcess(wflow, curNodeId) {
|
|
|
138757
139028
|
"use strict";
|
|
138758
139029
|
__webpack_require__.r(__webpack_exports__);
|
|
138759
139030
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
139031
|
+
/* harmony export */ CONNECTION_DEFAULT_STYLE: function() { return /* binding */ CONNECTION_DEFAULT_STYLE; },
|
|
139032
|
+
/* harmony export */ applyConnectionStyle: function() { return /* binding */ applyConnectionStyle; },
|
|
139033
|
+
/* harmony export */ checkAndAddArrow: function() { return /* binding */ checkAndAddArrow; },
|
|
139034
|
+
/* harmony export */ clearEndpointFillStyle: function() { return /* binding */ clearEndpointFillStyle; },
|
|
138760
139035
|
/* harmony export */ createConnect: function() { return /* binding */ createConnect; },
|
|
138761
139036
|
/* harmony export */ createPathLine: function() { return /* binding */ createPathLine; },
|
|
138762
|
-
/* harmony export */ hollowCircle: function() { return /* binding */ hollowCircle; }
|
|
139037
|
+
/* harmony export */ hollowCircle: function() { return /* binding */ hollowCircle; },
|
|
139038
|
+
/* harmony export */ initConnectionEndpointMode: function() { return /* binding */ initConnectionEndpointMode; },
|
|
139039
|
+
/* harmony export */ resetAllAnchorEndpoints: function() { return /* binding */ resetAllAnchorEndpoints; },
|
|
139040
|
+
/* harmony export */ resetAllConnectionEndpoints: function() { return /* binding */ resetAllConnectionEndpoints; },
|
|
139041
|
+
/* harmony export */ resetEndpointSourceFlags: function() { return /* binding */ resetEndpointSourceFlags; },
|
|
139042
|
+
/* harmony export */ setAnchorCreateMode: function() { return /* binding */ setAnchorCreateMode; },
|
|
139043
|
+
/* harmony export */ setConnectionEndpointCreateMode: function() { return /* binding */ setConnectionEndpointCreateMode; }
|
|
138763
139044
|
/* harmony export */ });
|
|
139045
|
+
/* harmony import */ var jquery__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(74692);
|
|
139046
|
+
/* harmony import */ var jquery__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(jquery__WEBPACK_IMPORTED_MODULE_0__);
|
|
139047
|
+
|
|
138764
139048
|
var jsPlumb = window.jsPlumb;
|
|
138765
139049
|
|
|
139050
|
+
// ========== 连接线默认样式常量 ==========
|
|
139051
|
+
var CONNECTION_DEFAULT_STYLE = {
|
|
139052
|
+
stroke: '#438eb9',
|
|
139053
|
+
strokeWidth: 2
|
|
139054
|
+
};
|
|
139055
|
+
|
|
138766
139056
|
// 端点样式,(修改变量名)
|
|
138767
139057
|
var hollowCircle = {
|
|
138768
139058
|
DragOptions: {
|
|
@@ -138806,7 +139096,7 @@ var hollowCircle = {
|
|
|
138806
139096
|
cssClass: 'line_text',
|
|
138807
139097
|
events: {
|
|
138808
139098
|
mousedown: function mousedown(labelOverlay, originalEvent) {
|
|
138809
|
-
jsPlumb.draggable(
|
|
139099
|
+
jsPlumb.draggable(jquery__WEBPACK_IMPORTED_MODULE_0___default()('.line_text'));
|
|
138810
139100
|
},
|
|
138811
139101
|
mouseout: function mouseout() {
|
|
138812
139102
|
return false;
|
|
@@ -138822,6 +139112,8 @@ function createConnect(conn, connector, anchors) {
|
|
|
138822
139112
|
target: conn.targetId || conn.PageTargetId,
|
|
138823
139113
|
anchors: anchors,
|
|
138824
139114
|
editable: true,
|
|
139115
|
+
connectionsDetachable: true,
|
|
139116
|
+
// 允许拖移连接端点(jsPlumb 2.15.6 默认即为 true,此处显式声明)
|
|
138825
139117
|
parameters: {
|
|
138826
139118
|
pathId: conn.id || conn.ConnectionId
|
|
138827
139119
|
},
|
|
@@ -138841,11 +139133,25 @@ function createConnect(conn, connector, anchors) {
|
|
|
138841
139133
|
}]
|
|
138842
139134
|
});
|
|
138843
139135
|
if (a) {
|
|
138844
|
-
|
|
138845
|
-
|
|
138846
|
-
|
|
138847
|
-
|
|
138848
|
-
|
|
139136
|
+
// 安全检查:确保连接内部状态完整后再设标签,防止 _jsPlumb.overlays 为 null
|
|
139137
|
+
if (a._jsPlumb && a._jsPlumb.overlays) {
|
|
139138
|
+
a.setLabel({
|
|
139139
|
+
label: conn.label || ' ',
|
|
139140
|
+
cssClass: 'line_text',
|
|
139141
|
+
location: conn.labelLocation || 0.5
|
|
139142
|
+
});
|
|
139143
|
+
} else {
|
|
139144
|
+
// 连接对象未完全初始化,延迟设置标签
|
|
139145
|
+
setTimeout(function () {
|
|
139146
|
+
if (a._jsPlumb && a._jsPlumb.overlays) {
|
|
139147
|
+
a.setLabel({
|
|
139148
|
+
label: conn.label || ' ',
|
|
139149
|
+
cssClass: 'line_text',
|
|
139150
|
+
location: conn.labelLocation || 0.5
|
|
139151
|
+
});
|
|
139152
|
+
}
|
|
139153
|
+
}, 100);
|
|
139154
|
+
}
|
|
138849
139155
|
a.labelLocation = conn.labelLocation;
|
|
138850
139156
|
} else {
|
|
138851
139157
|
console.log('createConnect failure', a);
|
|
@@ -138972,18 +139278,260 @@ function createPathLine(connectsArr) {
|
|
|
138972
139278
|
stub: [0, 0]
|
|
138973
139279
|
}];
|
|
138974
139280
|
}
|
|
138975
|
-
var sourceNode =
|
|
139281
|
+
var sourceNode = jquery__WEBPACK_IMPORTED_MODULE_0___default()('#' + connectsArr[j].PageSourceId);
|
|
138976
139282
|
if (sourceNode.hasClass('dfzjd') || sourceNode.hasClass('zyjd')) {
|
|
138977
139283
|
connectsArr[j].label = '';
|
|
138978
139284
|
}
|
|
138979
139285
|
try {
|
|
138980
139286
|
createConnect(connectsArr[j], connector, anchors);
|
|
138981
139287
|
} catch (e) {
|
|
138982
|
-
|
|
139288
|
+
try {
|
|
139289
|
+
createConnect(connectsArr[j], connector, anchors);
|
|
139290
|
+
} catch (e2) {
|
|
139291
|
+
console.warn('createConnect failed after retry:', e2.message, connectsArr[j]);
|
|
139292
|
+
}
|
|
139293
|
+
}
|
|
139294
|
+
}
|
|
139295
|
+
}
|
|
139296
|
+
|
|
139297
|
+
|
|
139298
|
+
// ========== 端点源模式工具函数 ==========
|
|
139299
|
+
|
|
139300
|
+
/**
|
|
139301
|
+
* 重置端点的临时源模式标志,恢复默认拖拽行为
|
|
139302
|
+
* - 连接端点:恢复到移动模式(isSource=true, maxConnections=1, dragAllowedWhenFull=true)
|
|
139303
|
+
* - 锚点端点:完全重置源模式(isSource=false)
|
|
139304
|
+
*/
|
|
139305
|
+
function resetEndpointSourceFlags(ep) {
|
|
139306
|
+
if (!ep) return;
|
|
139307
|
+
// 连接端点优先处理(无论是否有 _wfOrigSource,连接端点必须恢复到移动模式状态)
|
|
139308
|
+
if (ep._wfConnEp && ep._wfSourceMode) {
|
|
139309
|
+
delete ep.isTemporarySource;
|
|
139310
|
+
ep.isSource = true;
|
|
139311
|
+
ep.isTemporarySource = true;
|
|
139312
|
+
ep.dragAllowedWhenFull = true;
|
|
139313
|
+
if (ep._jsPlumb) {
|
|
139314
|
+
ep._jsPlumb.maxConnections = 1; // isFull()=true → 拖拽进入移动模式
|
|
139315
|
+
}
|
|
139316
|
+
if (ep._wfOrigPaintStyle) {
|
|
139317
|
+
for (var rk in ep._wfOrigPaintStyle) {
|
|
139318
|
+
ep._jsPlumb.paintStyle[rk] = ep._wfOrigPaintStyle[rk];
|
|
139319
|
+
}
|
|
139320
|
+
delete ep._jsPlumb.paintStyle.fill;
|
|
139321
|
+
if (ep._wfOrigPaintStyle.fill) ep._jsPlumb.paintStyle.fill = ep._wfOrigPaintStyle.fill;
|
|
139322
|
+
ep._jsPlumb.paintStyleInUse = ep._jsPlumb.paintStyle;
|
|
139323
|
+
delete ep._wfOrigPaintStyle;
|
|
139324
|
+
}
|
|
139325
|
+
if (ep._wfOrigGetPaintStyle) {
|
|
139326
|
+
ep.getPaintStyle = ep._wfOrigGetPaintStyle;
|
|
139327
|
+
delete ep._wfOrigGetPaintStyle;
|
|
139328
|
+
}
|
|
139329
|
+
delete ep._wfSourceMode;
|
|
139330
|
+
return;
|
|
139331
|
+
}
|
|
139332
|
+
if (ep._wfOrigSource) return; // 原始锚点源端点不重置
|
|
139333
|
+
delete ep.isTemporarySource;
|
|
139334
|
+
if (!ep._wfSourceMode) return;
|
|
139335
|
+
// 非连接端点(普通锚点端点):完全重置源模式
|
|
139336
|
+
ep.isSource = false;
|
|
139337
|
+
ep.connectionsDetachable = true;
|
|
139338
|
+
ep.dragAllowedWhenFull = false;
|
|
139339
|
+
if (ep._jsPlumb) {
|
|
139340
|
+
if (ep._wfOrigMaxConnections !== undefined) {
|
|
139341
|
+
ep._jsPlumb.maxConnections = ep._wfOrigMaxConnections;
|
|
139342
|
+
delete ep._wfOrigMaxConnections;
|
|
139343
|
+
}
|
|
139344
|
+
if (ep._wfOrigPaintStyle) {
|
|
139345
|
+
for (var rk in ep._wfOrigPaintStyle) {
|
|
139346
|
+
ep._jsPlumb.paintStyle[rk] = ep._wfOrigPaintStyle[rk];
|
|
139347
|
+
}
|
|
139348
|
+
delete ep._jsPlumb.paintStyle.fill;
|
|
139349
|
+
if (ep._wfOrigPaintStyle.fill) ep._jsPlumb.paintStyle.fill = ep._wfOrigPaintStyle.fill;
|
|
139350
|
+
ep._jsPlumb.paintStyleInUse = ep._jsPlumb.paintStyle;
|
|
139351
|
+
delete ep._wfOrigPaintStyle;
|
|
138983
139352
|
}
|
|
139353
|
+
if (ep._wfOrigGetPaintStyle) {
|
|
139354
|
+
ep.getPaintStyle = ep._wfOrigGetPaintStyle;
|
|
139355
|
+
delete ep._wfOrigGetPaintStyle;
|
|
139356
|
+
}
|
|
139357
|
+
delete ep._wfSourceMode;
|
|
139358
|
+
}
|
|
139359
|
+
delete ep.connector;
|
|
139360
|
+
delete ep.connectorOverlays;
|
|
139361
|
+
delete ep.connectorStyle;
|
|
139362
|
+
}
|
|
139363
|
+
|
|
139364
|
+
/**
|
|
139365
|
+
* 清除端点 paintStyle 中的 fill/outline 属性(防止拖拽时箭头填充异常)
|
|
139366
|
+
*/
|
|
139367
|
+
function clearEndpointFillStyle(ep) {
|
|
139368
|
+
if (ep && ep._jsPlumb && ep._jsPlumb.paintStyle) {
|
|
139369
|
+
delete ep._jsPlumb.paintStyle.fill;
|
|
139370
|
+
delete ep._jsPlumb.paintStyle.outlineStroke;
|
|
139371
|
+
delete ep._jsPlumb.paintStyle.outlineWidth;
|
|
139372
|
+
ep._jsPlumb.paintStyle.fill = 'none';
|
|
139373
|
+
ep._jsPlumb.paintStyleInUse = ep._jsPlumb.paintStyle;
|
|
139374
|
+
}
|
|
139375
|
+
if (ep && ep.connectorStyle) {
|
|
139376
|
+
delete ep.connectorStyle.fill;
|
|
138984
139377
|
}
|
|
138985
139378
|
}
|
|
138986
139379
|
|
|
139380
|
+
// ========== 连接线样式工具函数 ==========
|
|
139381
|
+
|
|
139382
|
+
/**
|
|
139383
|
+
* 设置连接线默认蓝色样式
|
|
139384
|
+
*/
|
|
139385
|
+
function applyConnectionStyle(connection) {
|
|
139386
|
+
if (connection && connection.setPaintStyle) {
|
|
139387
|
+
connection.setPaintStyle(CONNECTION_DEFAULT_STYLE);
|
|
139388
|
+
}
|
|
139389
|
+
}
|
|
139390
|
+
|
|
139391
|
+
/**
|
|
139392
|
+
* 检查连接线是否已有 Arrow 箭头覆盖,无则补充
|
|
139393
|
+
*/
|
|
139394
|
+
function checkAndAddArrow(connection) {
|
|
139395
|
+
var overlays = connection.getOverlays();
|
|
139396
|
+
var hasArrow = false;
|
|
139397
|
+
for (var key in overlays) {
|
|
139398
|
+
if (overlays[key] && overlays[key].type === 'Arrow') {
|
|
139399
|
+
hasArrow = true;
|
|
139400
|
+
break;
|
|
139401
|
+
}
|
|
139402
|
+
}
|
|
139403
|
+
if (!hasArrow) {
|
|
139404
|
+
connection.addOverlay(['Arrow', {
|
|
139405
|
+
width: 10,
|
|
139406
|
+
length: 10,
|
|
139407
|
+
location: 1
|
|
139408
|
+
}]);
|
|
139409
|
+
}
|
|
139410
|
+
}
|
|
139411
|
+
|
|
139412
|
+
// ========== 端点模式工具函数 ==========
|
|
139413
|
+
|
|
139414
|
+
/**
|
|
139415
|
+
* 初始化连接端点的永久源模式(始终可拖拽移动连接线)
|
|
139416
|
+
* maxConnections=1 配合 isFull()=true 确保拖拽进入移动模式
|
|
139417
|
+
* 若端点已处于节点选中的创建模式(_wfSourceMode),保留 maxConnections 不变
|
|
139418
|
+
*/
|
|
139419
|
+
function initConnectionEndpointMode(ep) {
|
|
139420
|
+
if (ep.canvas) {
|
|
139421
|
+
jquery__WEBPACK_IMPORTED_MODULE_0___default()(ep.canvas).addClass('wf-conn-ep'); // 永久标记:连接端点 z-index:6,高于锚点 z-index:5
|
|
139422
|
+
jquery__WEBPACK_IMPORTED_MODULE_0___default()(ep.canvas).addClass('wf-ep-active'); // 新连接立即 active,z-index:7 置顶可拖拽
|
|
139423
|
+
}
|
|
139424
|
+
ep._wfConnEp = true;
|
|
139425
|
+
ep.isSource = true;
|
|
139426
|
+
ep.isTemporarySource = true;
|
|
139427
|
+
ep.dragAllowedWhenFull = true;
|
|
139428
|
+
if (ep._jsPlumb) {
|
|
139429
|
+
if (ep._wfSourceMode) {
|
|
139430
|
+
// 端点已处于创建模式(节点选中时设置),保留 maxConnections 不变
|
|
139431
|
+
// 确保用户可以连续从同一节点拖拽创建多条连接线
|
|
139432
|
+
return;
|
|
139433
|
+
}
|
|
139434
|
+
if (ep._wfOrigMaxConnections === undefined) {
|
|
139435
|
+
ep._wfOrigMaxConnections = ep._jsPlumb.maxConnections;
|
|
139436
|
+
}
|
|
139437
|
+
ep._jsPlumb.maxConnections = 1;
|
|
139438
|
+
}
|
|
139439
|
+
}
|
|
139440
|
+
|
|
139441
|
+
/**
|
|
139442
|
+
* 设置选中节点的锚点端点为创建模式(拖拽时创建新连接)
|
|
139443
|
+
* maxConnections=-1 确保 connectorSelector 返回的 jpc 不被 isFull 拦截
|
|
139444
|
+
*/
|
|
139445
|
+
function setAnchorCreateMode(eps) {
|
|
139446
|
+
for (var i = 0; i < eps.length; i++) {
|
|
139447
|
+
var aep = eps[i];
|
|
139448
|
+
if (aep && aep._wfOrigSource) {
|
|
139449
|
+
if (!aep._wfSourceMode) {
|
|
139450
|
+
aep._wfSourceMode = true;
|
|
139451
|
+
if (aep._jsPlumb && aep._wfOrigMaxConnections === undefined) {
|
|
139452
|
+
aep._wfOrigMaxConnections = aep._jsPlumb.maxConnections;
|
|
139453
|
+
}
|
|
139454
|
+
}
|
|
139455
|
+
if (aep._jsPlumb) aep._jsPlumb.maxConnections = -1;
|
|
139456
|
+
}
|
|
139457
|
+
}
|
|
139458
|
+
}
|
|
139459
|
+
|
|
139460
|
+
/**
|
|
139461
|
+
* 设置选中节点的连接端点为创建模式(拖拽时生成新连接而非移动已有连接)
|
|
139462
|
+
* maxConnections=2 使 isFull() 返回 false(1 < 2),jsPlumb 进入创建模式
|
|
139463
|
+
*/
|
|
139464
|
+
function setConnectionEndpointCreateMode(node) {
|
|
139465
|
+
var nodeConns = jsPlumb.getConnections({
|
|
139466
|
+
source: node
|
|
139467
|
+
}).concat(jsPlumb.getConnections({
|
|
139468
|
+
target: node
|
|
139469
|
+
}));
|
|
139470
|
+
for (var ci = 0; ci < nodeConns.length; ci++) {
|
|
139471
|
+
if (!nodeConns[ci].endpoints) continue;
|
|
139472
|
+
for (var ei = 0; ei < nodeConns[ci].endpoints.length; ei++) {
|
|
139473
|
+
var ep = nodeConns[ci].endpoints[ei];
|
|
139474
|
+
if (ep && !ep._wfSourceMode) {
|
|
139475
|
+
ep._wfSourceMode = true;
|
|
139476
|
+
ep.isSource = true;
|
|
139477
|
+
ep.isTemporarySource = true;
|
|
139478
|
+
ep.dragAllowedWhenFull = true;
|
|
139479
|
+
if (ep._jsPlumb) {
|
|
139480
|
+
if (ep._wfOrigMaxConnections === undefined) {
|
|
139481
|
+
ep._wfOrigMaxConnections = ep._jsPlumb.maxConnections;
|
|
139482
|
+
}
|
|
139483
|
+
ep._jsPlumb.maxConnections = 99;
|
|
139484
|
+
// 清除 paintStyle 中的填充属性(避免拖拽时箭头填充异常)
|
|
139485
|
+
if (!ep._wfOrigPaintStyle) {
|
|
139486
|
+
ep._wfOrigPaintStyle = {};
|
|
139487
|
+
for (var pk in ep._jsPlumb.paintStyle) {
|
|
139488
|
+
ep._wfOrigPaintStyle[pk] = ep._jsPlumb.paintStyle[pk];
|
|
139489
|
+
}
|
|
139490
|
+
}
|
|
139491
|
+
delete ep._jsPlumb.paintStyle.fill;
|
|
139492
|
+
delete ep._jsPlumb.paintStyle.outlineStroke;
|
|
139493
|
+
delete ep._jsPlumb.paintStyle.outlineWidth;
|
|
139494
|
+
ep._jsPlumb.paintStyle.fill = 'none';
|
|
139495
|
+
ep._jsPlumb.paintStyleInUse = ep._jsPlumb.paintStyle;
|
|
139496
|
+
if (!ep._wfOrigGetPaintStyle) {
|
|
139497
|
+
ep._wfOrigGetPaintStyle = ep.getPaintStyle;
|
|
139498
|
+
}
|
|
139499
|
+
ep.getPaintStyle = function () {
|
|
139500
|
+
return ep._jsPlumb.paintStyle;
|
|
139501
|
+
};
|
|
139502
|
+
}
|
|
139503
|
+
}
|
|
139504
|
+
}
|
|
139505
|
+
}
|
|
139506
|
+
}
|
|
139507
|
+
|
|
139508
|
+
/**
|
|
139509
|
+
* 重置所有节点的锚点端点(恢复默认状态)
|
|
139510
|
+
* 遍历节点数组,获取每个节点的锚点端点并调用 resetEndpointSourceFlags
|
|
139511
|
+
*/
|
|
139512
|
+
function resetAllAnchorEndpoints(nodes) {
|
|
139513
|
+
for (var i = 0; i < nodes.length; i++) {
|
|
139514
|
+
var eps = jsPlumb.getEndpoints(nodes[i]);
|
|
139515
|
+
for (var j = 0; j < eps.length; j++) {
|
|
139516
|
+
eps[j].setEnabled(true);
|
|
139517
|
+
resetEndpointSourceFlags(eps[j]);
|
|
139518
|
+
}
|
|
139519
|
+
}
|
|
139520
|
+
}
|
|
139521
|
+
|
|
139522
|
+
/**
|
|
139523
|
+
* 重置所有连接线的连接端点(恢复移动模式 maxConnections=1)
|
|
139524
|
+
* 通过 getAllConnections 遍历,确保连接端点被显式重置
|
|
139525
|
+
*/
|
|
139526
|
+
function resetAllConnectionEndpoints() {
|
|
139527
|
+
var allConns = jsPlumb.getAllConnections();
|
|
139528
|
+
for (var i = 0; i < allConns.length; i++) {
|
|
139529
|
+
if (!allConns[i].endpoints) continue;
|
|
139530
|
+
for (var j = 0; j < allConns[i].endpoints.length; j++) {
|
|
139531
|
+
resetEndpointSourceFlags(allConns[i].endpoints[j]);
|
|
139532
|
+
}
|
|
139533
|
+
}
|
|
139534
|
+
}
|
|
138987
139535
|
|
|
138988
139536
|
/***/ }),
|
|
138989
139537
|
|
|
@@ -164970,7 +165518,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-820fd3ea]:export{stdMenuBgcolo
|
|
|
164970
165518
|
|
|
164971
165519
|
/***/ }),
|
|
164972
165520
|
|
|
164973
|
-
/***/
|
|
165521
|
+
/***/ 92794:
|
|
164974
165522
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
164975
165523
|
|
|
164976
165524
|
"use strict";
|
|
@@ -164984,7 +165532,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
164984
165532
|
|
|
164985
165533
|
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()));
|
|
164986
165534
|
// Module
|
|
164987
|
-
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-
|
|
165535
|
+
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-75fd78f9] .el-upload--text{width:100%}[data-v-75fd78f9] .el-upload .el-input-group .el-input__inner{display:inline-block;vertical-align:baseline}.docfileIcon[data-v-75fd78f9]{padding-left:10px;padding-right:10px}.file-right-box[data-v-75fd78f9]{position:fixed;bottom:0;top:73px;height:calc(100vh - 73px)!important;z-index:1199}.file-right-box .right-box-div1[data-v-75fd78f9]{float:left;height:100%;background:#fff;border-left:1px solid #ddd;overflow:hidden;font-size:14px}.file-right-box .right-box-div1[data-v-75fd78f9] .el-scrollbar{height:calc(100vh - 112px);width:100%}.file-right-box .right-box-div1[data-v-75fd78f9] .el-scrollbar .el-scrollbar__wrap{overflow-x:auto}.file-right-box .right-box-div1 .navbar[data-v-75fd78f9]{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-75fd78f9] .el-icon-close{float:right;cursor:pointer}.file-right-box .right-box-div1 .fileitem[data-v-75fd78f9]{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-75fd78f9]{cursor:pointer}@media (max-width:1569px){.right-box-div1[data-v-75fd78f9]{width:280px}}@media (min-width:1570px){.right-box-div1[data-v-75fd78f9]{width:350px}}.sidebar-area[data-v-75fd78f9]{border-bottom:1px solid #eee}.sidebar-area .sidebar-area-title[data-v-75fd78f9]{font-weight:600;line-height:24px;padding:10px}.sidebar-area .sidebar-area-title .el-button--primary[data-v-75fd78f9]{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-75fd78f9]{display:inline-block;vertical-align:top}.sidebar-area .sidebar-area-title i[data-v-75fd78f9]{margin:3px 5px 0 10px;font-size:14px}.sidebar-area .sidebar-area-content[data-v-75fd78f9]{padding-left:20px;padding-right:10px;padding-bottom:10px}.sidebar-area .sidebar-area-content .attach-row[data-v-75fd78f9]{line-height:21px}.sidebar-area .sidebar-area-content .attach-row .attach-name[data-v-75fd78f9]{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-75fd78f9]{height:50px;line-height:50px}.table-row .attach-name[data-v-75fd78f9]{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.table-row .removeBodyfileIcon[data-v-75fd78f9]{display:block}.fileHovering[data-v-75fd78f9]{background:#a5c45d}.fileHovering[data-v-75fd78f9] .el-input-group__append,.fileHovering[data-v-75fd78f9] .el-input__inner{opacity:.5!important}", ""]);
|
|
164988
165536
|
// Exports
|
|
164989
165537
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
164990
165538
|
|
|
@@ -165012,7 +165560,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-e8bcd130]:export{stdMenuBgcolo
|
|
|
165012
165560
|
|
|
165013
165561
|
/***/ }),
|
|
165014
165562
|
|
|
165015
|
-
/***/
|
|
165563
|
+
/***/ 42854:
|
|
165016
165564
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
165017
165565
|
|
|
165018
165566
|
"use strict";
|
|
@@ -165026,14 +165574,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
165026
165574
|
|
|
165027
165575
|
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()));
|
|
165028
165576
|
// Module
|
|
165029
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".idea-collapse-icon[data-v-
|
|
165577
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".idea-collapse-icon[data-v-52885f54]{float:right}.idea-collapse-icon .el-link[data-v-52885f54]{margin-top:2px}.idea-collapse-icon .el-link[data-v-52885f54],.idea-collapse-icon .el-link[data-v-52885f54] i{font-weight:600;font-size:14px}.idea-collapse-icon .el-link--default[data-v-52885f54]{display:table-cell}[data-v-52885f54] .el-collapse-item__header,[data-v-52885f54] .el-collapse-item__header i{font-weight:600;font-size:14px}[data-v-52885f54] .el-collapse-item__wrap{border-bottom:0!important}[data-v-52885f54] .el-collapse-item__wrap .el-collapse-item__content{padding-bottom:0!important}.idea-form[data-v-52885f54]{margin-top:-1px;position:relative;z-index:1000}.el-form .el-table__body .tdcont[data-v-52885f54]{line-height:20px}[data-v-52885f54] .highlight{font-weight:600;color:#323233}.idea-group[data-v-52885f54]{border-bottom:1px solid #e4e5e8}.l-text[data-v-52885f54]{font-weight:600}", ""]);
|
|
165030
165578
|
// Exports
|
|
165031
165579
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
165032
165580
|
|
|
165033
165581
|
|
|
165034
165582
|
/***/ }),
|
|
165035
165583
|
|
|
165036
|
-
/***/
|
|
165584
|
+
/***/ 858:
|
|
165037
165585
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
165038
165586
|
|
|
165039
165587
|
"use strict";
|
|
@@ -167133,7 +167681,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".setting .header[data-v-8cadfe0a]{widt
|
|
|
167133
167681
|
|
|
167134
167682
|
/***/ }),
|
|
167135
167683
|
|
|
167136
|
-
/***/
|
|
167684
|
+
/***/ 73313:
|
|
167137
167685
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
167138
167686
|
|
|
167139
167687
|
"use strict";
|
|
@@ -167147,14 +167695,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
167147
167695
|
|
|
167148
167696
|
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()));
|
|
167149
167697
|
// Module
|
|
167150
|
-
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-
|
|
167698
|
+
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-5c4008d4] .el-scrollbar__wrap{overflow-x:auto}#center[data-v-5c4008d4]{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-5c4008d4]{position:relative;margin:-15px -10px;z-index:4000;display:none}#center .insert-node-btn[data-v-5c4008d4]{position:fixed;margin:-15px -10px;z-index:4000;display:none}li[data-v-5c4008d4],ul[data-v-5c4008d4]{list-style:none}", ""]);
|
|
167151
167699
|
// Exports
|
|
167152
167700
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
167153
167701
|
|
|
167154
167702
|
|
|
167155
167703
|
/***/ }),
|
|
167156
167704
|
|
|
167157
|
-
/***/
|
|
167705
|
+
/***/ 96141:
|
|
167158
167706
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
167159
167707
|
|
|
167160
167708
|
"use strict";
|
|
@@ -167168,7 +167716,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
167168
167716
|
|
|
167169
167717
|
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()));
|
|
167170
167718
|
// Module
|
|
167171
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".process-desc-container{width:350px;border:1px solid #dadada;background-color:#f8f8ff;font-size:14px;z-index:1001}.process-desc-container .label{padding-left:5px;padding-right:5px;height:30px;line-height:30px;cursor:pointer}.process-desc-container .label span{float:left}.process-desc-container .label img{margin-top:3px;float:right}.process-desc-container .content{border-top:1px solid #dadada;background-color:#fff}.process-desc-container .content textarea{width:100%;min-height:120px;border:0}", ""]);
|
|
167719
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".line_text{cursor:pointer;position:absolute;left:0;top:0;font-size:14px}.evt_line{color:orange}.dropdown-menu{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{padding:5px 20px;line-height:2;white-space:nowrap;color:#333}.dropdown-menu li:hover{background:#f5f5f5}.process svg:hover path:last-child{fill:red}.process path{stroke-width:2;cursor:pointer}.process path:last-child{fill:#438eb9}.process circle{fill:#438eb9;stroke:none}.move,.move path{cursor:move}.process-desc-container{width:350px;border:1px solid #dadada;background-color:#f8f8ff;font-size:14px;z-index:1001}.process-desc-container .label{padding-left:5px;padding-right:5px;height:30px;line-height:30px;cursor:pointer}.process-desc-container .label span{float:left}.process-desc-container .label img{margin-top:3px;float:right}.process-desc-container .content{border-top:1px solid #dadada;background-color:#fff}.process-desc-container .content textarea{width:100%;min-height:120px;border:0}.jtk-endpoint{z-index:3}.seled .jtk-endpoint{z-index:5}.jtk-endpoint.wf-conn-ep{z-index:6}.jtk-connector.wf-conn-active{z-index:1999!important}.jtk-connector.wf-conn-active path{stroke:red!important;stroke-width:2px!important}.jtk-connector:not(.wf-conn-active){z-index:4}.jtk-endpoint.wf-ep-active{z-index:2001!important}.jtk-endpoint.jtk-drag-active{z-index:10!important}.jtk-endpoint circle{fill:#438eb9!important;stroke:none!important}.jtk-endpoint.wf-sel-ep circle{fill:red!important}", ""]);
|
|
167172
167720
|
// Exports
|
|
167173
167721
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
167174
167722
|
|
|
@@ -167740,7 +168288,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "table[data-v-981ff2e2]{border-collapse
|
|
|
167740
168288
|
|
|
167741
168289
|
/***/ }),
|
|
167742
168290
|
|
|
167743
|
-
/***/
|
|
168291
|
+
/***/ 21660:
|
|
167744
168292
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
167745
168293
|
|
|
167746
168294
|
"use strict";
|
|
@@ -167754,7 +168302,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
167754
168302
|
|
|
167755
168303
|
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()));
|
|
167756
168304
|
// Module
|
|
167757
|
-
___CSS_LOADER_EXPORT___.push([module.id, "table[data-v-
|
|
168305
|
+
___CSS_LOADER_EXPORT___.push([module.id, "table[data-v-4c5b4236]{border-collapse:collapse}table tr td[data-v-4c5b4236]{border:1px solid #e2e2e2;padding:5px;height:40px;color:#555;font-size:12px;line-height:30px}table tr td em[data-v-4c5b4236]{color:red}table tr .tdBg[data-v-4c5b4236]{font-weight:700}[data-v-4c5b4236] .el-input__inner{height:35px!important;line-height:35px!important;font-size:12px}[data-v-4c5b4236] .el-textarea__inner{font-size:12px}[data-v-4c5b4236] .el-select{width:100%;display:inline-block;position:relative}[data-v-4c5b4236] .el-checkbox__label,[data-v-4c5b4236] .el-radio__label{font-size:12px;padding-left:5px}.tableBox table[data-v-4c5b4236]{border-collapse:collapse}.tableBox table th[data-v-4c5b4236]{background:#f2f2f2;border-bottom:none;background-image:-webkit-gradient(linear,left top,left bottom,from(#f8f8f8),to(#ececec));background-image:linear-gradient(180deg,#f8f8f8 0,#ececec);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\"#fff8f8f8\",endColorstr=\"#ffececec\",GradientType=0);font-size:12px;padding:8px;line-height:1.42857143;color:#555;border:1px solid #e2e2e2}.tableBox table th .addbtn[data-v-4c5b4236],.tableBox table th .addbtn i[data-v-4c5b4236]{color:#337ab7;font-weight:700}.tableBox table tr[data-v-4c5b4236]:nth-of-type(odd){background:#f9f9f9}.tableBox table tr[data-v-4c5b4236]{cursor:pointer}.tableBox table td[data-v-4c5b4236],.tableBox table tr[data-v-4c5b4236]{font-size:12px;border:1px solid #e2e2e2}.tableBox table td[data-v-4c5b4236]{line-height:20px;height:35px;color:#555}.tableBox table td .deleteButton[data-v-4c5b4236]{color:#dd5a43;padding:2px 3px;border:1px solid transparent;border-radius:2px}.tableBox table td .deleteButton[data-v-4c5b4236]:hover{border:1px solid #abbac3;text-decoration:none}.tableBox table td .editButton[data-v-4c5b4236]{color:#478fca;padding:2px 3px;border:1px solid transparent;border-radius:2px}.tableBox table td .editButton[data-v-4c5b4236]:hover{border:1px solid #abbac3;text-decoration:none}.tableBox table td .disabledButton[data-v-4c5b4236]{color:#a9a9a9}.tableBox .el-row[data-v-4c5b4236]{margin-top:10px;padding:10px}.tableBox[data-v-4c5b4236] .el-checkbox__label{display:none}.tableBox .el-button-group[data-v-4c5b4236]{float:right;margin-top:-10px;margin-bottom:10px}.my-addon[data-v-4c5b4236]{position:absolute;top:0;right:0;height:35px;width:35px;background:#eee;text-align:center;line-height:35px;border-radius:5px;border:1px solid #ccc;-webkit-box-sizing:border-box;box-sizing:border-box}[data-v-4c5b4236] .el-button--mini{padding:0!important;line-height:20px;font-size:12px}", ""]);
|
|
167758
168306
|
// Exports
|
|
167759
168307
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
167760
168308
|
|
|
@@ -223992,6 +224540,489 @@ webpackContext.id = 35358;
|
|
|
223992
224540
|
})));
|
|
223993
224541
|
|
|
223994
224542
|
|
|
224543
|
+
/***/ }),
|
|
224544
|
+
|
|
224545
|
+
/***/ 5947:
|
|
224546
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
224547
|
+
|
|
224548
|
+
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
|
|
224549
|
+
* @license MIT */
|
|
224550
|
+
|
|
224551
|
+
;(function(root, factory) {
|
|
224552
|
+
|
|
224553
|
+
if (true) {
|
|
224554
|
+
!(__WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
|
|
224555
|
+
__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
|
|
224556
|
+
(__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) :
|
|
224557
|
+
__WEBPACK_AMD_DEFINE_FACTORY__),
|
|
224558
|
+
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
|
|
224559
|
+
} else {}
|
|
224560
|
+
|
|
224561
|
+
})(this, function() {
|
|
224562
|
+
var NProgress = {};
|
|
224563
|
+
|
|
224564
|
+
NProgress.version = '0.2.0';
|
|
224565
|
+
|
|
224566
|
+
var Settings = NProgress.settings = {
|
|
224567
|
+
minimum: 0.08,
|
|
224568
|
+
easing: 'ease',
|
|
224569
|
+
positionUsing: '',
|
|
224570
|
+
speed: 200,
|
|
224571
|
+
trickle: true,
|
|
224572
|
+
trickleRate: 0.02,
|
|
224573
|
+
trickleSpeed: 800,
|
|
224574
|
+
showSpinner: true,
|
|
224575
|
+
barSelector: '[role="bar"]',
|
|
224576
|
+
spinnerSelector: '[role="spinner"]',
|
|
224577
|
+
parent: 'body',
|
|
224578
|
+
template: '<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'
|
|
224579
|
+
};
|
|
224580
|
+
|
|
224581
|
+
/**
|
|
224582
|
+
* Updates configuration.
|
|
224583
|
+
*
|
|
224584
|
+
* NProgress.configure({
|
|
224585
|
+
* minimum: 0.1
|
|
224586
|
+
* });
|
|
224587
|
+
*/
|
|
224588
|
+
NProgress.configure = function(options) {
|
|
224589
|
+
var key, value;
|
|
224590
|
+
for (key in options) {
|
|
224591
|
+
value = options[key];
|
|
224592
|
+
if (value !== undefined && options.hasOwnProperty(key)) Settings[key] = value;
|
|
224593
|
+
}
|
|
224594
|
+
|
|
224595
|
+
return this;
|
|
224596
|
+
};
|
|
224597
|
+
|
|
224598
|
+
/**
|
|
224599
|
+
* Last number.
|
|
224600
|
+
*/
|
|
224601
|
+
|
|
224602
|
+
NProgress.status = null;
|
|
224603
|
+
|
|
224604
|
+
/**
|
|
224605
|
+
* Sets the progress bar status, where `n` is a number from `0.0` to `1.0`.
|
|
224606
|
+
*
|
|
224607
|
+
* NProgress.set(0.4);
|
|
224608
|
+
* NProgress.set(1.0);
|
|
224609
|
+
*/
|
|
224610
|
+
|
|
224611
|
+
NProgress.set = function(n) {
|
|
224612
|
+
var started = NProgress.isStarted();
|
|
224613
|
+
|
|
224614
|
+
n = clamp(n, Settings.minimum, 1);
|
|
224615
|
+
NProgress.status = (n === 1 ? null : n);
|
|
224616
|
+
|
|
224617
|
+
var progress = NProgress.render(!started),
|
|
224618
|
+
bar = progress.querySelector(Settings.barSelector),
|
|
224619
|
+
speed = Settings.speed,
|
|
224620
|
+
ease = Settings.easing;
|
|
224621
|
+
|
|
224622
|
+
progress.offsetWidth; /* Repaint */
|
|
224623
|
+
|
|
224624
|
+
queue(function(next) {
|
|
224625
|
+
// Set positionUsing if it hasn't already been set
|
|
224626
|
+
if (Settings.positionUsing === '') Settings.positionUsing = NProgress.getPositioningCSS();
|
|
224627
|
+
|
|
224628
|
+
// Add transition
|
|
224629
|
+
css(bar, barPositionCSS(n, speed, ease));
|
|
224630
|
+
|
|
224631
|
+
if (n === 1) {
|
|
224632
|
+
// Fade out
|
|
224633
|
+
css(progress, {
|
|
224634
|
+
transition: 'none',
|
|
224635
|
+
opacity: 1
|
|
224636
|
+
});
|
|
224637
|
+
progress.offsetWidth; /* Repaint */
|
|
224638
|
+
|
|
224639
|
+
setTimeout(function() {
|
|
224640
|
+
css(progress, {
|
|
224641
|
+
transition: 'all ' + speed + 'ms linear',
|
|
224642
|
+
opacity: 0
|
|
224643
|
+
});
|
|
224644
|
+
setTimeout(function() {
|
|
224645
|
+
NProgress.remove();
|
|
224646
|
+
next();
|
|
224647
|
+
}, speed);
|
|
224648
|
+
}, speed);
|
|
224649
|
+
} else {
|
|
224650
|
+
setTimeout(next, speed);
|
|
224651
|
+
}
|
|
224652
|
+
});
|
|
224653
|
+
|
|
224654
|
+
return this;
|
|
224655
|
+
};
|
|
224656
|
+
|
|
224657
|
+
NProgress.isStarted = function() {
|
|
224658
|
+
return typeof NProgress.status === 'number';
|
|
224659
|
+
};
|
|
224660
|
+
|
|
224661
|
+
/**
|
|
224662
|
+
* Shows the progress bar.
|
|
224663
|
+
* This is the same as setting the status to 0%, except that it doesn't go backwards.
|
|
224664
|
+
*
|
|
224665
|
+
* NProgress.start();
|
|
224666
|
+
*
|
|
224667
|
+
*/
|
|
224668
|
+
NProgress.start = function() {
|
|
224669
|
+
if (!NProgress.status) NProgress.set(0);
|
|
224670
|
+
|
|
224671
|
+
var work = function() {
|
|
224672
|
+
setTimeout(function() {
|
|
224673
|
+
if (!NProgress.status) return;
|
|
224674
|
+
NProgress.trickle();
|
|
224675
|
+
work();
|
|
224676
|
+
}, Settings.trickleSpeed);
|
|
224677
|
+
};
|
|
224678
|
+
|
|
224679
|
+
if (Settings.trickle) work();
|
|
224680
|
+
|
|
224681
|
+
return this;
|
|
224682
|
+
};
|
|
224683
|
+
|
|
224684
|
+
/**
|
|
224685
|
+
* Hides the progress bar.
|
|
224686
|
+
* This is the *sort of* the same as setting the status to 100%, with the
|
|
224687
|
+
* difference being `done()` makes some placebo effect of some realistic motion.
|
|
224688
|
+
*
|
|
224689
|
+
* NProgress.done();
|
|
224690
|
+
*
|
|
224691
|
+
* If `true` is passed, it will show the progress bar even if its hidden.
|
|
224692
|
+
*
|
|
224693
|
+
* NProgress.done(true);
|
|
224694
|
+
*/
|
|
224695
|
+
|
|
224696
|
+
NProgress.done = function(force) {
|
|
224697
|
+
if (!force && !NProgress.status) return this;
|
|
224698
|
+
|
|
224699
|
+
return NProgress.inc(0.3 + 0.5 * Math.random()).set(1);
|
|
224700
|
+
};
|
|
224701
|
+
|
|
224702
|
+
/**
|
|
224703
|
+
* Increments by a random amount.
|
|
224704
|
+
*/
|
|
224705
|
+
|
|
224706
|
+
NProgress.inc = function(amount) {
|
|
224707
|
+
var n = NProgress.status;
|
|
224708
|
+
|
|
224709
|
+
if (!n) {
|
|
224710
|
+
return NProgress.start();
|
|
224711
|
+
} else {
|
|
224712
|
+
if (typeof amount !== 'number') {
|
|
224713
|
+
amount = (1 - n) * clamp(Math.random() * n, 0.1, 0.95);
|
|
224714
|
+
}
|
|
224715
|
+
|
|
224716
|
+
n = clamp(n + amount, 0, 0.994);
|
|
224717
|
+
return NProgress.set(n);
|
|
224718
|
+
}
|
|
224719
|
+
};
|
|
224720
|
+
|
|
224721
|
+
NProgress.trickle = function() {
|
|
224722
|
+
return NProgress.inc(Math.random() * Settings.trickleRate);
|
|
224723
|
+
};
|
|
224724
|
+
|
|
224725
|
+
/**
|
|
224726
|
+
* Waits for all supplied jQuery promises and
|
|
224727
|
+
* increases the progress as the promises resolve.
|
|
224728
|
+
*
|
|
224729
|
+
* @param $promise jQUery Promise
|
|
224730
|
+
*/
|
|
224731
|
+
(function() {
|
|
224732
|
+
var initial = 0, current = 0;
|
|
224733
|
+
|
|
224734
|
+
NProgress.promise = function($promise) {
|
|
224735
|
+
if (!$promise || $promise.state() === "resolved") {
|
|
224736
|
+
return this;
|
|
224737
|
+
}
|
|
224738
|
+
|
|
224739
|
+
if (current === 0) {
|
|
224740
|
+
NProgress.start();
|
|
224741
|
+
}
|
|
224742
|
+
|
|
224743
|
+
initial++;
|
|
224744
|
+
current++;
|
|
224745
|
+
|
|
224746
|
+
$promise.always(function() {
|
|
224747
|
+
current--;
|
|
224748
|
+
if (current === 0) {
|
|
224749
|
+
initial = 0;
|
|
224750
|
+
NProgress.done();
|
|
224751
|
+
} else {
|
|
224752
|
+
NProgress.set((initial - current) / initial);
|
|
224753
|
+
}
|
|
224754
|
+
});
|
|
224755
|
+
|
|
224756
|
+
return this;
|
|
224757
|
+
};
|
|
224758
|
+
|
|
224759
|
+
})();
|
|
224760
|
+
|
|
224761
|
+
/**
|
|
224762
|
+
* (Internal) renders the progress bar markup based on the `template`
|
|
224763
|
+
* setting.
|
|
224764
|
+
*/
|
|
224765
|
+
|
|
224766
|
+
NProgress.render = function(fromStart) {
|
|
224767
|
+
if (NProgress.isRendered()) return document.getElementById('nprogress');
|
|
224768
|
+
|
|
224769
|
+
addClass(document.documentElement, 'nprogress-busy');
|
|
224770
|
+
|
|
224771
|
+
var progress = document.createElement('div');
|
|
224772
|
+
progress.id = 'nprogress';
|
|
224773
|
+
progress.innerHTML = Settings.template;
|
|
224774
|
+
|
|
224775
|
+
var bar = progress.querySelector(Settings.barSelector),
|
|
224776
|
+
perc = fromStart ? '-100' : toBarPerc(NProgress.status || 0),
|
|
224777
|
+
parent = document.querySelector(Settings.parent),
|
|
224778
|
+
spinner;
|
|
224779
|
+
|
|
224780
|
+
css(bar, {
|
|
224781
|
+
transition: 'all 0 linear',
|
|
224782
|
+
transform: 'translate3d(' + perc + '%,0,0)'
|
|
224783
|
+
});
|
|
224784
|
+
|
|
224785
|
+
if (!Settings.showSpinner) {
|
|
224786
|
+
spinner = progress.querySelector(Settings.spinnerSelector);
|
|
224787
|
+
spinner && removeElement(spinner);
|
|
224788
|
+
}
|
|
224789
|
+
|
|
224790
|
+
if (parent != document.body) {
|
|
224791
|
+
addClass(parent, 'nprogress-custom-parent');
|
|
224792
|
+
}
|
|
224793
|
+
|
|
224794
|
+
parent.appendChild(progress);
|
|
224795
|
+
return progress;
|
|
224796
|
+
};
|
|
224797
|
+
|
|
224798
|
+
/**
|
|
224799
|
+
* Removes the element. Opposite of render().
|
|
224800
|
+
*/
|
|
224801
|
+
|
|
224802
|
+
NProgress.remove = function() {
|
|
224803
|
+
removeClass(document.documentElement, 'nprogress-busy');
|
|
224804
|
+
removeClass(document.querySelector(Settings.parent), 'nprogress-custom-parent');
|
|
224805
|
+
var progress = document.getElementById('nprogress');
|
|
224806
|
+
progress && removeElement(progress);
|
|
224807
|
+
};
|
|
224808
|
+
|
|
224809
|
+
/**
|
|
224810
|
+
* Checks if the progress bar is rendered.
|
|
224811
|
+
*/
|
|
224812
|
+
|
|
224813
|
+
NProgress.isRendered = function() {
|
|
224814
|
+
return !!document.getElementById('nprogress');
|
|
224815
|
+
};
|
|
224816
|
+
|
|
224817
|
+
/**
|
|
224818
|
+
* Determine which positioning CSS rule to use.
|
|
224819
|
+
*/
|
|
224820
|
+
|
|
224821
|
+
NProgress.getPositioningCSS = function() {
|
|
224822
|
+
// Sniff on document.body.style
|
|
224823
|
+
var bodyStyle = document.body.style;
|
|
224824
|
+
|
|
224825
|
+
// Sniff prefixes
|
|
224826
|
+
var vendorPrefix = ('WebkitTransform' in bodyStyle) ? 'Webkit' :
|
|
224827
|
+
('MozTransform' in bodyStyle) ? 'Moz' :
|
|
224828
|
+
('msTransform' in bodyStyle) ? 'ms' :
|
|
224829
|
+
('OTransform' in bodyStyle) ? 'O' : '';
|
|
224830
|
+
|
|
224831
|
+
if (vendorPrefix + 'Perspective' in bodyStyle) {
|
|
224832
|
+
// Modern browsers with 3D support, e.g. Webkit, IE10
|
|
224833
|
+
return 'translate3d';
|
|
224834
|
+
} else if (vendorPrefix + 'Transform' in bodyStyle) {
|
|
224835
|
+
// Browsers without 3D support, e.g. IE9
|
|
224836
|
+
return 'translate';
|
|
224837
|
+
} else {
|
|
224838
|
+
// Browsers without translate() support, e.g. IE7-8
|
|
224839
|
+
return 'margin';
|
|
224840
|
+
}
|
|
224841
|
+
};
|
|
224842
|
+
|
|
224843
|
+
/**
|
|
224844
|
+
* Helpers
|
|
224845
|
+
*/
|
|
224846
|
+
|
|
224847
|
+
function clamp(n, min, max) {
|
|
224848
|
+
if (n < min) return min;
|
|
224849
|
+
if (n > max) return max;
|
|
224850
|
+
return n;
|
|
224851
|
+
}
|
|
224852
|
+
|
|
224853
|
+
/**
|
|
224854
|
+
* (Internal) converts a percentage (`0..1`) to a bar translateX
|
|
224855
|
+
* percentage (`-100%..0%`).
|
|
224856
|
+
*/
|
|
224857
|
+
|
|
224858
|
+
function toBarPerc(n) {
|
|
224859
|
+
return (-1 + n) * 100;
|
|
224860
|
+
}
|
|
224861
|
+
|
|
224862
|
+
|
|
224863
|
+
/**
|
|
224864
|
+
* (Internal) returns the correct CSS for changing the bar's
|
|
224865
|
+
* position given an n percentage, and speed and ease from Settings
|
|
224866
|
+
*/
|
|
224867
|
+
|
|
224868
|
+
function barPositionCSS(n, speed, ease) {
|
|
224869
|
+
var barCSS;
|
|
224870
|
+
|
|
224871
|
+
if (Settings.positionUsing === 'translate3d') {
|
|
224872
|
+
barCSS = { transform: 'translate3d('+toBarPerc(n)+'%,0,0)' };
|
|
224873
|
+
} else if (Settings.positionUsing === 'translate') {
|
|
224874
|
+
barCSS = { transform: 'translate('+toBarPerc(n)+'%,0)' };
|
|
224875
|
+
} else {
|
|
224876
|
+
barCSS = { 'margin-left': toBarPerc(n)+'%' };
|
|
224877
|
+
}
|
|
224878
|
+
|
|
224879
|
+
barCSS.transition = 'all '+speed+'ms '+ease;
|
|
224880
|
+
|
|
224881
|
+
return barCSS;
|
|
224882
|
+
}
|
|
224883
|
+
|
|
224884
|
+
/**
|
|
224885
|
+
* (Internal) Queues a function to be executed.
|
|
224886
|
+
*/
|
|
224887
|
+
|
|
224888
|
+
var queue = (function() {
|
|
224889
|
+
var pending = [];
|
|
224890
|
+
|
|
224891
|
+
function next() {
|
|
224892
|
+
var fn = pending.shift();
|
|
224893
|
+
if (fn) {
|
|
224894
|
+
fn(next);
|
|
224895
|
+
}
|
|
224896
|
+
}
|
|
224897
|
+
|
|
224898
|
+
return function(fn) {
|
|
224899
|
+
pending.push(fn);
|
|
224900
|
+
if (pending.length == 1) next();
|
|
224901
|
+
};
|
|
224902
|
+
})();
|
|
224903
|
+
|
|
224904
|
+
/**
|
|
224905
|
+
* (Internal) Applies css properties to an element, similar to the jQuery
|
|
224906
|
+
* css method.
|
|
224907
|
+
*
|
|
224908
|
+
* While this helper does assist with vendor prefixed property names, it
|
|
224909
|
+
* does not perform any manipulation of values prior to setting styles.
|
|
224910
|
+
*/
|
|
224911
|
+
|
|
224912
|
+
var css = (function() {
|
|
224913
|
+
var cssPrefixes = [ 'Webkit', 'O', 'Moz', 'ms' ],
|
|
224914
|
+
cssProps = {};
|
|
224915
|
+
|
|
224916
|
+
function camelCase(string) {
|
|
224917
|
+
return string.replace(/^-ms-/, 'ms-').replace(/-([\da-z])/gi, function(match, letter) {
|
|
224918
|
+
return letter.toUpperCase();
|
|
224919
|
+
});
|
|
224920
|
+
}
|
|
224921
|
+
|
|
224922
|
+
function getVendorProp(name) {
|
|
224923
|
+
var style = document.body.style;
|
|
224924
|
+
if (name in style) return name;
|
|
224925
|
+
|
|
224926
|
+
var i = cssPrefixes.length,
|
|
224927
|
+
capName = name.charAt(0).toUpperCase() + name.slice(1),
|
|
224928
|
+
vendorName;
|
|
224929
|
+
while (i--) {
|
|
224930
|
+
vendorName = cssPrefixes[i] + capName;
|
|
224931
|
+
if (vendorName in style) return vendorName;
|
|
224932
|
+
}
|
|
224933
|
+
|
|
224934
|
+
return name;
|
|
224935
|
+
}
|
|
224936
|
+
|
|
224937
|
+
function getStyleProp(name) {
|
|
224938
|
+
name = camelCase(name);
|
|
224939
|
+
return cssProps[name] || (cssProps[name] = getVendorProp(name));
|
|
224940
|
+
}
|
|
224941
|
+
|
|
224942
|
+
function applyCss(element, prop, value) {
|
|
224943
|
+
prop = getStyleProp(prop);
|
|
224944
|
+
element.style[prop] = value;
|
|
224945
|
+
}
|
|
224946
|
+
|
|
224947
|
+
return function(element, properties) {
|
|
224948
|
+
var args = arguments,
|
|
224949
|
+
prop,
|
|
224950
|
+
value;
|
|
224951
|
+
|
|
224952
|
+
if (args.length == 2) {
|
|
224953
|
+
for (prop in properties) {
|
|
224954
|
+
value = properties[prop];
|
|
224955
|
+
if (value !== undefined && properties.hasOwnProperty(prop)) applyCss(element, prop, value);
|
|
224956
|
+
}
|
|
224957
|
+
} else {
|
|
224958
|
+
applyCss(element, args[1], args[2]);
|
|
224959
|
+
}
|
|
224960
|
+
}
|
|
224961
|
+
})();
|
|
224962
|
+
|
|
224963
|
+
/**
|
|
224964
|
+
* (Internal) Determines if an element or space separated list of class names contains a class name.
|
|
224965
|
+
*/
|
|
224966
|
+
|
|
224967
|
+
function hasClass(element, name) {
|
|
224968
|
+
var list = typeof element == 'string' ? element : classList(element);
|
|
224969
|
+
return list.indexOf(' ' + name + ' ') >= 0;
|
|
224970
|
+
}
|
|
224971
|
+
|
|
224972
|
+
/**
|
|
224973
|
+
* (Internal) Adds a class to an element.
|
|
224974
|
+
*/
|
|
224975
|
+
|
|
224976
|
+
function addClass(element, name) {
|
|
224977
|
+
var oldList = classList(element),
|
|
224978
|
+
newList = oldList + name;
|
|
224979
|
+
|
|
224980
|
+
if (hasClass(oldList, name)) return;
|
|
224981
|
+
|
|
224982
|
+
// Trim the opening space.
|
|
224983
|
+
element.className = newList.substring(1);
|
|
224984
|
+
}
|
|
224985
|
+
|
|
224986
|
+
/**
|
|
224987
|
+
* (Internal) Removes a class from an element.
|
|
224988
|
+
*/
|
|
224989
|
+
|
|
224990
|
+
function removeClass(element, name) {
|
|
224991
|
+
var oldList = classList(element),
|
|
224992
|
+
newList;
|
|
224993
|
+
|
|
224994
|
+
if (!hasClass(element, name)) return;
|
|
224995
|
+
|
|
224996
|
+
// Replace the class name.
|
|
224997
|
+
newList = oldList.replace(' ' + name + ' ', ' ');
|
|
224998
|
+
|
|
224999
|
+
// Trim the opening and closing spaces.
|
|
225000
|
+
element.className = newList.substring(1, newList.length - 1);
|
|
225001
|
+
}
|
|
225002
|
+
|
|
225003
|
+
/**
|
|
225004
|
+
* (Internal) Gets a space separated list of the class names on the element.
|
|
225005
|
+
* The list is wrapped with a single space on each end to facilitate finding
|
|
225006
|
+
* matches within the list.
|
|
225007
|
+
*/
|
|
225008
|
+
|
|
225009
|
+
function classList(element) {
|
|
225010
|
+
return (' ' + (element.className || '') + ' ').replace(/\s+/gi, ' ');
|
|
225011
|
+
}
|
|
225012
|
+
|
|
225013
|
+
/**
|
|
225014
|
+
* (Internal) Removes an element from the DOM.
|
|
225015
|
+
*/
|
|
225016
|
+
|
|
225017
|
+
function removeElement(element) {
|
|
225018
|
+
element && element.parentNode && element.parentNode.removeChild(element);
|
|
225019
|
+
}
|
|
225020
|
+
|
|
225021
|
+
return NProgress;
|
|
225022
|
+
});
|
|
225023
|
+
|
|
225024
|
+
|
|
225025
|
+
|
|
223995
225026
|
/***/ }),
|
|
223996
225027
|
|
|
223997
225028
|
/***/ 58859:
|
|
@@ -260788,19 +261819,19 @@ var update = add("24d90c28", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
260788
261819
|
|
|
260789
261820
|
/***/ }),
|
|
260790
261821
|
|
|
260791
|
-
/***/
|
|
261822
|
+
/***/ 55284:
|
|
260792
261823
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
260793
261824
|
|
|
260794
261825
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
260795
261826
|
|
|
260796
261827
|
// load the styles
|
|
260797
|
-
var content = __webpack_require__(
|
|
261828
|
+
var content = __webpack_require__(92794);
|
|
260798
261829
|
if(content.__esModule) content = content.default;
|
|
260799
261830
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
260800
261831
|
if(content.locals) module.exports = content.locals;
|
|
260801
261832
|
// add the styles to the DOM
|
|
260802
261833
|
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
260803
|
-
var update = add("
|
|
261834
|
+
var update = add("0ed069fd", content, true, {"sourceMap":false,"shadowMode":false});
|
|
260804
261835
|
|
|
260805
261836
|
/***/ }),
|
|
260806
261837
|
|
|
@@ -260820,35 +261851,35 @@ var update = add("03d01f0b", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
260820
261851
|
|
|
260821
261852
|
/***/ }),
|
|
260822
261853
|
|
|
260823
|
-
/***/
|
|
261854
|
+
/***/ 10736:
|
|
260824
261855
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
260825
261856
|
|
|
260826
261857
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
260827
261858
|
|
|
260828
261859
|
// load the styles
|
|
260829
|
-
var content = __webpack_require__(
|
|
261860
|
+
var content = __webpack_require__(42854);
|
|
260830
261861
|
if(content.__esModule) content = content.default;
|
|
260831
261862
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
260832
261863
|
if(content.locals) module.exports = content.locals;
|
|
260833
261864
|
// add the styles to the DOM
|
|
260834
261865
|
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
260835
|
-
var update = add("
|
|
261866
|
+
var update = add("4e6ba95a", content, true, {"sourceMap":false,"shadowMode":false});
|
|
260836
261867
|
|
|
260837
261868
|
/***/ }),
|
|
260838
261869
|
|
|
260839
|
-
/***/
|
|
261870
|
+
/***/ 30976:
|
|
260840
261871
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
260841
261872
|
|
|
260842
261873
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
260843
261874
|
|
|
260844
261875
|
// load the styles
|
|
260845
|
-
var content = __webpack_require__(
|
|
261876
|
+
var content = __webpack_require__(858);
|
|
260846
261877
|
if(content.__esModule) content = content.default;
|
|
260847
261878
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
260848
261879
|
if(content.locals) module.exports = content.locals;
|
|
260849
261880
|
// add the styles to the DOM
|
|
260850
261881
|
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
260851
|
-
var update = add("
|
|
261882
|
+
var update = add("7f239c60", content, true, {"sourceMap":false,"shadowMode":false});
|
|
260852
261883
|
|
|
260853
261884
|
/***/ }),
|
|
260854
261885
|
|
|
@@ -262436,35 +263467,35 @@ var update = add("0ef0df88", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
262436
263467
|
|
|
262437
263468
|
/***/ }),
|
|
262438
263469
|
|
|
262439
|
-
/***/
|
|
263470
|
+
/***/ 31099:
|
|
262440
263471
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
262441
263472
|
|
|
262442
263473
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
262443
263474
|
|
|
262444
263475
|
// load the styles
|
|
262445
|
-
var content = __webpack_require__(
|
|
263476
|
+
var content = __webpack_require__(73313);
|
|
262446
263477
|
if(content.__esModule) content = content.default;
|
|
262447
263478
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
262448
263479
|
if(content.locals) module.exports = content.locals;
|
|
262449
263480
|
// add the styles to the DOM
|
|
262450
263481
|
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
262451
|
-
var update = add("
|
|
263482
|
+
var update = add("13933678", content, true, {"sourceMap":false,"shadowMode":false});
|
|
262452
263483
|
|
|
262453
263484
|
/***/ }),
|
|
262454
263485
|
|
|
262455
|
-
/***/
|
|
263486
|
+
/***/ 32011:
|
|
262456
263487
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
262457
263488
|
|
|
262458
263489
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
262459
263490
|
|
|
262460
263491
|
// load the styles
|
|
262461
|
-
var content = __webpack_require__(
|
|
263492
|
+
var content = __webpack_require__(96141);
|
|
262462
263493
|
if(content.__esModule) content = content.default;
|
|
262463
263494
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
262464
263495
|
if(content.locals) module.exports = content.locals;
|
|
262465
263496
|
// add the styles to the DOM
|
|
262466
263497
|
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
262467
|
-
var update = add("
|
|
263498
|
+
var update = add("a1a82e7c", content, true, {"sourceMap":false,"shadowMode":false});
|
|
262468
263499
|
|
|
262469
263500
|
/***/ }),
|
|
262470
263501
|
|
|
@@ -262788,7 +263819,7 @@ var update = add("0ef85e9f", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
262788
263819
|
|
|
262789
263820
|
/***/ }),
|
|
262790
263821
|
|
|
262791
|
-
/***/
|
|
263822
|
+
/***/ 52706:
|
|
262792
263823
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
262793
263824
|
|
|
262794
263825
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
@@ -262884,19 +263915,19 @@ var update = add("06390188", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
262884
263915
|
|
|
262885
263916
|
/***/ }),
|
|
262886
263917
|
|
|
262887
|
-
/***/
|
|
263918
|
+
/***/ 93270:
|
|
262888
263919
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
262889
263920
|
|
|
262890
263921
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
262891
263922
|
|
|
262892
263923
|
// load the styles
|
|
262893
|
-
var content = __webpack_require__(
|
|
263924
|
+
var content = __webpack_require__(21660);
|
|
262894
263925
|
if(content.__esModule) content = content.default;
|
|
262895
263926
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
262896
263927
|
if(content.locals) module.exports = content.locals;
|
|
262897
263928
|
// add the styles to the DOM
|
|
262898
263929
|
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
262899
|
-
var update = add("
|
|
263930
|
+
var update = add("21408fec", content, true, {"sourceMap":false,"shadowMode":false});
|
|
262900
263931
|
|
|
262901
263932
|
/***/ }),
|
|
262902
263933
|
|
|
@@ -284710,87 +285741,87 @@ var asyncComponents = [
|
|
|
284710
285741
|
}],
|
|
284711
285742
|
// ========== ecwapp/Wflowform 工作流表单子组件 → chunk: wflow-form ==========
|
|
284712
285743
|
['Attachment', function () {
|
|
284713
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
285744
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 53596)).then(function (m) {
|
|
284714
285745
|
return m.Attachment;
|
|
284715
285746
|
});
|
|
284716
285747
|
}], ['BodyFile', function () {
|
|
284717
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
285748
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 53596)).then(function (m) {
|
|
284718
285749
|
return m.BodyFile;
|
|
284719
285750
|
});
|
|
284720
285751
|
}], ['CommandBar', function () {
|
|
284721
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
285752
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 53596)).then(function (m) {
|
|
284722
285753
|
return m.CommandBar;
|
|
284723
285754
|
});
|
|
284724
285755
|
}], ['HandleIdea', function () {
|
|
284725
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
285756
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 53596)).then(function (m) {
|
|
284726
285757
|
return m.HandleIdea;
|
|
284727
285758
|
});
|
|
284728
285759
|
}], ['IdeaInputBox', function () {
|
|
284729
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
285760
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 53596)).then(function (m) {
|
|
284730
285761
|
return m.IdeaInputBox;
|
|
284731
285762
|
});
|
|
284732
285763
|
}], ['ModifyWflogAddUser', function () {
|
|
284733
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
285764
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 53596)).then(function (m) {
|
|
284734
285765
|
return m.ModifyWflogAddUser;
|
|
284735
285766
|
});
|
|
284736
285767
|
}], ['ModifyWflogIdea', function () {
|
|
284737
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
285768
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 53596)).then(function (m) {
|
|
284738
285769
|
return m.ModifyWflogIdea;
|
|
284739
285770
|
});
|
|
284740
285771
|
}], ['WriteToReadIdea', function () {
|
|
284741
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
285772
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 53596)).then(function (m) {
|
|
284742
285773
|
return m.WriteToReadIdea;
|
|
284743
285774
|
});
|
|
284744
285775
|
}], ['ModifyWflogSubmitFile', function () {
|
|
284745
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
285776
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 53596)).then(function (m) {
|
|
284746
285777
|
return m.ModifyWflogSubmitFile;
|
|
284747
285778
|
});
|
|
284748
285779
|
}], ['ModifyWfNodelog', function () {
|
|
284749
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
285780
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 53596)).then(function (m) {
|
|
284750
285781
|
return m.ModifyWfNodelog;
|
|
284751
285782
|
});
|
|
284752
285783
|
}], ['SelectOuterDeputy', function () {
|
|
284753
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
285784
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 53596)).then(function (m) {
|
|
284754
285785
|
return m.SelectOuterDeputy;
|
|
284755
285786
|
});
|
|
284756
285787
|
}], ['SubmitHandle', function () {
|
|
284757
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
285788
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 53596)).then(function (m) {
|
|
284758
285789
|
return m.SubmitHandle;
|
|
284759
285790
|
});
|
|
284760
285791
|
}], ['SubmitDialog', function () {
|
|
284761
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
285792
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 53596)).then(function (m) {
|
|
284762
285793
|
return m.SubmitDialog;
|
|
284763
285794
|
});
|
|
284764
285795
|
}], ['WfNodelogList', function () {
|
|
284765
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
285796
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 53596)).then(function (m) {
|
|
284766
285797
|
return m.WfNodelogList;
|
|
284767
285798
|
});
|
|
284768
285799
|
}], ['WflogAddReader', function () {
|
|
284769
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
285800
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 53596)).then(function (m) {
|
|
284770
285801
|
return m.WflogAddReader;
|
|
284771
285802
|
});
|
|
284772
285803
|
}], ['WflowView', function () {
|
|
284773
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
285804
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 53596)).then(function (m) {
|
|
284774
285805
|
return m.WflowView;
|
|
284775
285806
|
});
|
|
284776
285807
|
}], ['ImgView', function () {
|
|
284777
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
285808
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 53596)).then(function (m) {
|
|
284778
285809
|
return m.ImgView;
|
|
284779
285810
|
});
|
|
284780
285811
|
}], ['IdeaSignature', function () {
|
|
284781
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
285812
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 53596)).then(function (m) {
|
|
284782
285813
|
return m.IdeaSignature;
|
|
284783
285814
|
});
|
|
284784
285815
|
}], ['ReplaceFile', function () {
|
|
284785
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
285816
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 53596)).then(function (m) {
|
|
284786
285817
|
return m.ReplaceFile;
|
|
284787
285818
|
});
|
|
284788
285819
|
}], ['ViewBodyFile', function () {
|
|
284789
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
285820
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 53596)).then(function (m) {
|
|
284790
285821
|
return m.ViewBodyFile;
|
|
284791
285822
|
});
|
|
284792
285823
|
}], ['WformLayout', function () {
|
|
284793
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
285824
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 53596)).then(function (m) {
|
|
284794
285825
|
return m.WformLayout;
|
|
284795
285826
|
});
|
|
284796
285827
|
}],
|
|
@@ -285002,7 +286033,7 @@ var asyncComponents = [
|
|
|
285002
286033
|
}],
|
|
285003
286034
|
// ========== 工作流设计器 + 系统设计器 ==========
|
|
285004
286035
|
['WflowDesigner', function () {
|
|
285005
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286036
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 34797));
|
|
285006
286037
|
}], ['ImportWf', function () {
|
|
285007
286038
|
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 39934));
|
|
285008
286039
|
}], ['WflowTrace', function () {
|
|
@@ -285075,10 +286106,10 @@ var WfengineModule = function WfengineModule() {
|
|
|
285075
286106
|
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 55543));
|
|
285076
286107
|
};
|
|
285077
286108
|
var WflowformModule = function WflowformModule() {
|
|
285078
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286109
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 53596));
|
|
285079
286110
|
};
|
|
285080
286111
|
var WflowDesignerModule = function WflowDesignerModule() {
|
|
285081
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286112
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 34797));
|
|
285082
286113
|
};
|
|
285083
286114
|
var WflowTraceModule = function WflowTraceModule() {
|
|
285084
286115
|
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 85197));
|