ecinc-cloud-wappaio 9.7.4 → 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 +605 -108
- package/lib/ecwappaio.umd.js +603 -106
- package/lib/ecwappaio.umd.min.js +1 -1
- package/package.json +1 -1
package/lib/ecwappaio.umd.js
CHANGED
|
@@ -33223,7 +33223,7 @@ var TextRecognition_PDFInjector = PDFInjector;
|
|
|
33223
33223
|
|
|
33224
33224
|
/***/ }),
|
|
33225
33225
|
|
|
33226
|
-
/***/
|
|
33226
|
+
/***/ 16410:
|
|
33227
33227
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
33228
33228
|
|
|
33229
33229
|
"use strict";
|
|
@@ -36667,8 +36667,8 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
|
36667
36667
|
)
|
|
36668
36668
|
|
|
36669
36669
|
/* harmony default export */ var Attachment = (component.exports);
|
|
36670
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-83.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=
|
|
36671
|
-
var
|
|
36670
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-83.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
|
|
36671
|
+
var BodyFilevue_type_template_id_75fd78f9_scoped_true_render = function render() {
|
|
36672
36672
|
var _vm = this,
|
|
36673
36673
|
_c = _vm._self._c;
|
|
36674
36674
|
return _c('div', {
|
|
@@ -37187,7 +37187,7 @@ var BodyFilevue_type_template_id_769fc0cb_scoped_true_render = function render()
|
|
|
37187
37187
|
return _vm.viewBodyfile(attach);
|
|
37188
37188
|
}
|
|
37189
37189
|
}
|
|
37190
|
-
}, [_vm._v(_vm._s(attach.fileVer) + "
|
|
37190
|
+
}, [_vm._v(_vm._s(attach.fileVer) + " ")])]), _c('el-col', {
|
|
37191
37191
|
attrs: {
|
|
37192
37192
|
"span": 6
|
|
37193
37193
|
}
|
|
@@ -37348,7 +37348,7 @@ var BodyFilevue_type_template_id_769fc0cb_scoped_true_render = function render()
|
|
|
37348
37348
|
expression: "'BodyFile.mattersNeeding'"
|
|
37349
37349
|
}],
|
|
37350
37350
|
staticClass: "el-table__cell tdlbl tdw17"
|
|
37351
|
-
}, [_vm._v("注意事项")]), _c('td', {
|
|
37351
|
+
}, [_vm._v("注意事项 ")]), _c('td', {
|
|
37352
37352
|
staticClass: "el-table__cell tdcont tdw83"
|
|
37353
37353
|
}, [_c('div', {
|
|
37354
37354
|
staticStyle: {
|
|
@@ -37415,8 +37415,10 @@ var BodyFilevue_type_template_id_769fc0cb_scoped_true_render = function render()
|
|
|
37415
37415
|
}
|
|
37416
37416
|
}, [_vm._v("确 定")])], 1)], 1) : _vm._e()], 1);
|
|
37417
37417
|
};
|
|
37418
|
-
var
|
|
37418
|
+
var BodyFilevue_type_template_id_75fd78f9_scoped_true_staticRenderFns = [];
|
|
37419
37419
|
|
|
37420
|
+
// EXTERNAL MODULE: ./node_modules/nprogress/nprogress.js
|
|
37421
|
+
var nprogress = __webpack_require__(5947);
|
|
37420
37422
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-83.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
|
|
37421
37423
|
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); }
|
|
37422
37424
|
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; }
|
|
@@ -37435,6 +37437,7 @@ function BodyFilevue_type_script_lang_js_toPropertyKey(t) { var i = BodyFilevue_
|
|
|
37435
37437
|
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); }
|
|
37436
37438
|
|
|
37437
37439
|
|
|
37440
|
+
|
|
37438
37441
|
/* harmony default export */ var BodyFilevue_type_script_lang_js = ({
|
|
37439
37442
|
name: 'BodyFile',
|
|
37440
37443
|
components: {},
|
|
@@ -37551,7 +37554,6 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
|
|
|
37551
37554
|
computed: BodyFilevue_type_script_lang_js_objectSpread({}, (0,vuex_esm/* mapGetters */.L8)(['loginUser'])),
|
|
37552
37555
|
watch: {
|
|
37553
37556
|
curTN: function curTN() {
|
|
37554
|
-
this.frmRowCellCount = this.$vnode.context.frmRowCellCount;
|
|
37555
37557
|
if (this.flBodyfile !== null) {
|
|
37556
37558
|
this.setExtName();
|
|
37557
37559
|
} else {
|
|
@@ -37561,7 +37563,8 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
|
|
|
37561
37563
|
}
|
|
37562
37564
|
};
|
|
37563
37565
|
}
|
|
37564
|
-
}
|
|
37566
|
+
},
|
|
37567
|
+
flBodyfile: function flBodyfile() {}
|
|
37565
37568
|
},
|
|
37566
37569
|
created: function created() {
|
|
37567
37570
|
this.$bus.on('uploadBodyFile', this.uploadBodyFile);
|
|
@@ -37574,9 +37577,15 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
|
|
|
37574
37577
|
this.$bus.off('btnStampBodyFileClick', this.btnStampBodyFileClick);
|
|
37575
37578
|
},
|
|
37576
37579
|
mounted: function mounted() {
|
|
37580
|
+
var _this2 = this;
|
|
37577
37581
|
this.bodyFileTitle = this.bodyFileTitle || this.$tx('ecwapp.Wflowform.BodyFile.fileBody', '文件正文');
|
|
37578
37582
|
this.setExtName();
|
|
37579
|
-
|
|
37583
|
+
var timer = window.setInterval(function () {
|
|
37584
|
+
if (_this2.$vnode.context.frmRowCellCount || _this2.$vnode.context.formEvents) {
|
|
37585
|
+
_this2.frmRowCellCount = _this2.$vnode.context.frmRowCellCount;
|
|
37586
|
+
window.clearInterval(timer); // Clear the interval when the value is set
|
|
37587
|
+
}
|
|
37588
|
+
}, 500);
|
|
37580
37589
|
},
|
|
37581
37590
|
methods: {
|
|
37582
37591
|
uploadBodyFile: function uploadBodyFile(file, fileList) {
|
|
@@ -37590,15 +37599,15 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
|
|
|
37590
37599
|
}
|
|
37591
37600
|
},
|
|
37592
37601
|
setExtName: function setExtName() {
|
|
37593
|
-
var
|
|
37602
|
+
var _this3 = this;
|
|
37594
37603
|
if (this.flBodyfile && this.flBodyfile.originalName) {
|
|
37595
37604
|
var oriangialName = this.flBodyfile.originalName.replace('.des', '').replace('.xor', '').replace('.rsm3', '').replace('.sm4', '');
|
|
37596
37605
|
this.extName = oriangialName.substring(oriangialName.lastIndexOf('.')).toLowerCase();
|
|
37597
37606
|
this.flDocfile = null;
|
|
37598
37607
|
this.attachments.forEach(function (attach) {
|
|
37599
|
-
if (attach.fileType === 'BODY' && attach.filePath.indexOf('/noTracks/') === -1 && attach.id !==
|
|
37600
|
-
|
|
37601
|
-
|
|
37608
|
+
if (attach.fileType === 'BODY' && attach.filePath.indexOf('/noTracks/') === -1 && attach.id !== _this3.flBodyfile.id && attach.originalName.split('.')[0] === _this3.flBodyfile.originalName.split('.')[0]) {
|
|
37609
|
+
_this3.flDocfile = attach;
|
|
37610
|
+
_this3.flDocfile.fileName = _this3.flBodyfile.fileName.split('.')[0] + '.' + attach.originalName.split('.')[1];
|
|
37602
37611
|
}
|
|
37603
37612
|
});
|
|
37604
37613
|
if (this.curTN.passenger.firstNodeName === this.curTN.tnNodeName && this.curTN.tnCanEdit === 1) {
|
|
@@ -37607,7 +37616,7 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
|
|
|
37607
37616
|
}
|
|
37608
37617
|
},
|
|
37609
37618
|
viewBodyfile: function viewBodyfile(flBodyfile, sign) {
|
|
37610
|
-
var
|
|
37619
|
+
var _this4 = this;
|
|
37611
37620
|
if (flBodyfile.id === undefined) return;
|
|
37612
37621
|
if (this.extName === '.pdf' && (this.viewer === 'pdfjs' || sign === 'sign')) {
|
|
37613
37622
|
var fileurl = "/apigw" + '/' + this.wfAttachUrl + '/downloadById?inline=true&attachIds=' + flBodyfile.id + '&saveAs=' + encodeURI(flBodyfile.fileName);
|
|
@@ -37627,27 +37636,27 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
|
|
|
37627
37636
|
if (res.code === 'success') {
|
|
37628
37637
|
var tSessionId = res.body.tSessionId;
|
|
37629
37638
|
var hostname = location.href.split('#')[0];
|
|
37630
|
-
var downUrl = hostname.substring(0, hostname.length - 1) + "/apigw" + '/' +
|
|
37639
|
+
var downUrl = hostname.substring(0, hostname.length - 1) + "/apigw" + '/' + _this4.wfAttachUrl + '/downloadById?attachIds=' + flBodyfile.id + '&httpPort=' + location.port + '&csrfToken=' + window.$auth.getCsrfToken() + '&tSessionId=' + tSessionId;
|
|
37631
37640
|
var convertType = '0';
|
|
37632
|
-
if (
|
|
37641
|
+
if (_this4.extName === '.ofd') {
|
|
37633
37642
|
convertType = '21';
|
|
37634
|
-
} else if (
|
|
37643
|
+
} else if (_this4.extName === '.pdf' || _this4.extName === '.pdfx') {
|
|
37635
37644
|
convertType = '20';
|
|
37636
37645
|
}
|
|
37637
|
-
downUrl =
|
|
37638
|
-
if (
|
|
37639
|
-
downUrl += '&' +
|
|
37646
|
+
downUrl = _this4.viewer.split('=')[1] + '/composite/httpfile?convertType=' + convertType + '&fileUrl=' + encodeURIComponent(downUrl);
|
|
37647
|
+
if (_this4.viewerUrlParams) {
|
|
37648
|
+
downUrl += '&' + _this4.viewerUrlParams;
|
|
37640
37649
|
}
|
|
37641
37650
|
if (downUrl.indexOf('&acceptTracks=0') === -1) {
|
|
37642
37651
|
downUrl += '&acceptTracks=0';
|
|
37643
37652
|
}
|
|
37644
|
-
|
|
37653
|
+
_this4.$bus.emit('showDoingDialog', _this4.$tx('ecwapp.Wflowform.BodyFile.downloadingWait', '正在下载文件,请稍候...'));
|
|
37645
37654
|
$.post(downUrl, {}, function (res) {
|
|
37646
|
-
|
|
37655
|
+
_this4.$bus.emit('closeDoingDialog');
|
|
37647
37656
|
if (res.errorcode === 0) {
|
|
37648
37657
|
window.open(res.data.viewUrl);
|
|
37649
37658
|
} else {
|
|
37650
|
-
|
|
37659
|
+
_this4.$alert(res.message, _this4.$tx('common.operationTip', '操作提示'), {
|
|
37651
37660
|
type: 'error'
|
|
37652
37661
|
});
|
|
37653
37662
|
}
|
|
@@ -37667,7 +37676,7 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
|
|
|
37667
37676
|
window.open(downUrl);
|
|
37668
37677
|
},
|
|
37669
37678
|
removeBodyfile: function removeBodyfile(flBodyfile) {
|
|
37670
|
-
var
|
|
37679
|
+
var _this5 = this;
|
|
37671
37680
|
var confirmMsg = this.$tx('ecwapp.Wflowform.BodyFile.deleterCurrent', '您是否确认删除当前的文件?');
|
|
37672
37681
|
if (flBodyfile.fileStatus === 8) {
|
|
37673
37682
|
confirmMsg = this.$tx('ecwapp.Wflowform.BodyFile.deleterHistor', '您是否确认删除历史版本文件?');
|
|
@@ -37681,23 +37690,23 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
|
|
|
37681
37690
|
while (1) switch (_context.prev = _context.next) {
|
|
37682
37691
|
case 0:
|
|
37683
37692
|
if (flBodyfile.fileStatus !== 8) {
|
|
37684
|
-
document.querySelector('.removeBodyfileIcon').innerHTML =
|
|
37693
|
+
document.querySelector('.removeBodyfileIcon').innerHTML = _this5.$tx('ecwapp.Common.deleting', ' 正在删除...');
|
|
37685
37694
|
}
|
|
37686
37695
|
deleteIds = flBodyfile.id;
|
|
37687
|
-
|
|
37696
|
+
_this5.$http({
|
|
37688
37697
|
method: 'DELETE',
|
|
37689
37698
|
contentType: 'application/x-www-form-urlencoded',
|
|
37690
37699
|
params: {
|
|
37691
37700
|
attachIds: deleteIds
|
|
37692
37701
|
},
|
|
37693
|
-
url:
|
|
37702
|
+
url: _this5.wfAttachUrl + '/delete'
|
|
37694
37703
|
}).then(function (res) {
|
|
37695
37704
|
var $scope = _this.$vnode.context;
|
|
37696
37705
|
if (res.code === 'success') {
|
|
37697
37706
|
if (flBodyfile.fileStatus !== 8) {
|
|
37698
|
-
if (typeof
|
|
37699
|
-
if (typeof
|
|
37700
|
-
if (typeof
|
|
37707
|
+
if (typeof _this5.vo.flBodyFilename !== 'undefined') _this5.vo.flBodyFilename = null;
|
|
37708
|
+
if (typeof _this5.vo.signedFileName !== 'undefined') _this5.vo.signedFileName = null; //盖章文件名
|
|
37709
|
+
if (typeof _this5.vo.sealFileName !== 'undefined') _this5.vo.sealFileName = null; //签章平台文件名
|
|
37701
37710
|
|
|
37702
37711
|
if ($scope.commandBar) {
|
|
37703
37712
|
$scope.commandBar.forEach(function (btn) {
|
|
@@ -37766,7 +37775,7 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
|
|
|
37766
37775
|
}
|
|
37767
37776
|
});
|
|
37768
37777
|
} else {
|
|
37769
|
-
|
|
37778
|
+
_this5.viewHistoryfile(_this5.flBodyfile);
|
|
37770
37779
|
}
|
|
37771
37780
|
} else {
|
|
37772
37781
|
_this.$alert(res.message, _this.$tx('common.operationTip', '操作提示'), {
|
|
@@ -37827,13 +37836,13 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
|
|
|
37827
37836
|
}
|
|
37828
37837
|
},
|
|
37829
37838
|
selectBodyfile: function selectBodyfile() {
|
|
37830
|
-
var
|
|
37839
|
+
var _this6 = this;
|
|
37831
37840
|
this.$vnode.context.formValidate(function () {
|
|
37832
|
-
|
|
37841
|
+
_this6.$el.querySelector('#btn-upload').click();
|
|
37833
37842
|
});
|
|
37834
37843
|
},
|
|
37835
37844
|
btnStampBodyFileClick: function btnStampBodyFileClick(stampType) {
|
|
37836
|
-
var
|
|
37845
|
+
var _this7 = this;
|
|
37837
37846
|
//table-row表示审批表单行内嵌入,不需要响应btnStampBodyFileClick事件
|
|
37838
37847
|
if (this.bodyFileShow === 'table-row') {
|
|
37839
37848
|
return;
|
|
@@ -37851,7 +37860,7 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
|
|
|
37851
37860
|
type: 'warning',
|
|
37852
37861
|
dangerouslyUseHTMLString: true
|
|
37853
37862
|
}).then(function () {
|
|
37854
|
-
|
|
37863
|
+
_this7.isPdfFileStampType = true;
|
|
37855
37864
|
});
|
|
37856
37865
|
} else {
|
|
37857
37866
|
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
|
} else {
|
|
37872
37881
|
this.isPdfFileStampType = true;
|
|
@@ -37876,7 +37885,7 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
|
|
|
37876
37885
|
type: 'warning',
|
|
37877
37886
|
dangerouslyUseHTMLString: true
|
|
37878
37887
|
}).then(function () {
|
|
37879
|
-
|
|
37888
|
+
_this7.isPdfFileStampType = true;
|
|
37880
37889
|
});
|
|
37881
37890
|
}
|
|
37882
37891
|
} else {
|
|
@@ -37921,7 +37930,7 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
|
|
|
37921
37930
|
console.log('上传盖章文件', this.bodyfile);
|
|
37922
37931
|
},
|
|
37923
37932
|
StampClick: function StampClick() {
|
|
37924
|
-
var
|
|
37933
|
+
var _this8 = this;
|
|
37925
37934
|
if (!this.haveFile) {
|
|
37926
37935
|
this.$message.warning(this.$tx('ecwapp.Wflowform.BodyFile.cannotSave', '当前还未上传盖章文件,不能保存!'));
|
|
37927
37936
|
return;
|
|
@@ -37932,7 +37941,7 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
|
|
|
37932
37941
|
this.$vnode.context.vo.signedFileName = this.flBodysignedFile.file.name;
|
|
37933
37942
|
this.$vnode.context.btnSubmitClick('AutoSave', function (res) {
|
|
37934
37943
|
if (res === true) {
|
|
37935
|
-
|
|
37944
|
+
_this8.isPdfFileStampType = false;
|
|
37936
37945
|
}
|
|
37937
37946
|
});
|
|
37938
37947
|
} catch (error) {
|
|
@@ -37940,12 +37949,12 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
|
|
|
37940
37949
|
}
|
|
37941
37950
|
},
|
|
37942
37951
|
viewHistoryfile: function viewHistoryfile(file) {
|
|
37943
|
-
var
|
|
37952
|
+
var _this9 = this;
|
|
37944
37953
|
if (this.bodyFileShow !== 'sidebar-area') {
|
|
37945
37954
|
if (this.$vnode.context.activeName !== 'second') {
|
|
37946
37955
|
this.$vnode.context.activeName = 'second'; //查询历史版本,切换到流程表单的正文标签
|
|
37947
37956
|
this.$nextTick(function () {
|
|
37948
|
-
|
|
37957
|
+
_this9.$bus.emit('viewHistoryfile', file);
|
|
37949
37958
|
});
|
|
37950
37959
|
}
|
|
37951
37960
|
return;
|
|
@@ -37965,17 +37974,17 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
|
|
|
37965
37974
|
url: listdataUrl
|
|
37966
37975
|
}).then(function (res) {
|
|
37967
37976
|
if (res.code === 'success') {
|
|
37968
|
-
|
|
37977
|
+
_this9.historyFiles = res.body.pageInfo.list.filter(function (attach) {
|
|
37969
37978
|
attach.updateTime = (0,utils/* formatTime */.fU)(attach.updateTime);
|
|
37970
37979
|
attach.avatarUrl = "/apigw" + '/base/user/downloadPhotoByAccount?orgCode=' + attach.orgCode + '&account=' + attach.updateBy + '&httpPort=' + location.port + '&csrfToken=' + window.$auth.getCsrfToken();
|
|
37971
37980
|
return true;
|
|
37972
37981
|
});
|
|
37973
37982
|
} else {
|
|
37974
|
-
|
|
37983
|
+
_this9.$alert(res.message, _this9.$tx('common.operationTip', '操作提示'), {
|
|
37975
37984
|
type: 'error'
|
|
37976
37985
|
});
|
|
37977
37986
|
}
|
|
37978
|
-
|
|
37987
|
+
_this9.loading = false;
|
|
37979
37988
|
});
|
|
37980
37989
|
},
|
|
37981
37990
|
moreMenuitemClick: function moreMenuitemClick(command) {
|
|
@@ -38067,9 +38076,9 @@ function BodyFilevue_type_script_lang_js_toPrimitive(t, r) { if ("object" != Bod
|
|
|
38067
38076
|
});
|
|
38068
38077
|
;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/BodyFile.vue?vue&type=script&lang=js
|
|
38069
38078
|
/* harmony default export */ var src_BodyFilevue_type_script_lang_js = (BodyFilevue_type_script_lang_js);
|
|
38070
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-65.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65.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=
|
|
38071
|
-
var
|
|
38072
|
-
;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=
|
|
38079
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-65.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65.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
|
|
38080
|
+
var BodyFilevue_type_style_index_0_id_75fd78f9_prod_scoped_true_lang_scss = __webpack_require__(26155);
|
|
38081
|
+
;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=75fd78f9&prod&scoped=true&lang=scss
|
|
38073
38082
|
|
|
38074
38083
|
;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/BodyFile.vue
|
|
38075
38084
|
|
|
@@ -38082,11 +38091,11 @@ var BodyFilevue_type_style_index_0_id_769fc0cb_prod_scoped_true_lang_scss = __we
|
|
|
38082
38091
|
|
|
38083
38092
|
var BodyFile_component = (0,componentNormalizer/* default */.A)(
|
|
38084
38093
|
src_BodyFilevue_type_script_lang_js,
|
|
38085
|
-
|
|
38086
|
-
|
|
38094
|
+
BodyFilevue_type_template_id_75fd78f9_scoped_true_render,
|
|
38095
|
+
BodyFilevue_type_template_id_75fd78f9_scoped_true_staticRenderFns,
|
|
38087
38096
|
false,
|
|
38088
38097
|
null,
|
|
38089
|
-
"
|
|
38098
|
+
"75fd78f9",
|
|
38090
38099
|
null
|
|
38091
38100
|
|
|
38092
38101
|
)
|
|
@@ -38475,8 +38484,8 @@ var CommandBar_component = (0,componentNormalizer/* default */.A)(
|
|
|
38475
38484
|
)
|
|
38476
38485
|
|
|
38477
38486
|
/* harmony default export */ var CommandBar = (CommandBar_component.exports);
|
|
38478
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-83.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=
|
|
38479
|
-
var
|
|
38487
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-83.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
|
|
38488
|
+
var HandleIdeavue_type_template_id_52885f54_scoped_true_render = function render() {
|
|
38480
38489
|
var _vm = this,
|
|
38481
38490
|
_c = _vm._self._c;
|
|
38482
38491
|
return !_vm.showHistoryIdeaList ? _c('div', {
|
|
@@ -38512,7 +38521,7 @@ var HandleIdeavue_type_template_id_28023d64_scoped_true_render = function render
|
|
|
38512
38521
|
staticClass: "el-table__cell tdlbl",
|
|
38513
38522
|
class: _vm.frmRowCellCount != 24 ? group !== 'ungrouped' ? 'tdw13' : 'tdw17' : group !== 'ungrouped' ? 'span2' : 'span4',
|
|
38514
38523
|
attrs: {
|
|
38515
|
-
"colspan": wfIdea.colspan ? wfIdea.colspan : _vm.frmRowCellCount == 24 ? 4 :
|
|
38524
|
+
"colspan": wfIdea.colspan ? wfIdea.colspan : _vm.frmRowCellCount == 24 ? 4 : 1
|
|
38516
38525
|
}
|
|
38517
38526
|
}, [_vm.curTN.tnIdeaPosition === 2 && wfIdea.ideaLabelName === _vm.curTN.tnIdeaLabelName ? [_c('IdeaInputBox', {
|
|
38518
38527
|
staticStyle: {
|
|
@@ -38658,7 +38667,7 @@ var HandleIdeavue_type_template_id_28023d64_scoped_true_render = function render
|
|
|
38658
38667
|
'span4': _vm.frmRowCellCount == 24
|
|
38659
38668
|
},
|
|
38660
38669
|
attrs: {
|
|
38661
|
-
"colspan": _vm.frmRowCellCount == 24 ? 4 :
|
|
38670
|
+
"colspan": _vm.frmRowCellCount == 24 ? 4 : 1
|
|
38662
38671
|
}
|
|
38663
38672
|
}, [_vm.curTN.tnIdeaPosition === 2 && wfIdea.ideaLabelName === _vm.curTN.tnIdeaLabelName ? [_c('IdeaInputBox', {
|
|
38664
38673
|
staticStyle: {
|
|
@@ -38774,7 +38783,7 @@ var HandleIdeavue_type_template_id_28023d64_scoped_true_render = function render
|
|
|
38774
38783
|
}
|
|
38775
38784
|
}, [_vm._v("删除流程实例意见")])], 2) : _vm._e();
|
|
38776
38785
|
};
|
|
38777
|
-
var
|
|
38786
|
+
var HandleIdeavue_type_template_id_52885f54_scoped_true_staticRenderFns = [];
|
|
38778
38787
|
|
|
38779
38788
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-83.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
|
|
38780
38789
|
/* harmony default export */ var HandleIdeavue_type_script_lang_js = ({
|
|
@@ -39090,7 +39099,7 @@ var HandleIdeavue_type_template_id_28023d64_scoped_true_staticRenderFns = [];
|
|
|
39090
39099
|
}
|
|
39091
39100
|
});
|
|
39092
39101
|
if (groupIdeaList.length === 1) {
|
|
39093
|
-
groupIdeaList[0].colspan = _this4.frmRowCellCount == 24 ? 4 : 2;
|
|
39102
|
+
groupIdeaList[0].colspan = _this4.frmRowCellCount == 24 ? 4 : _this4.labelGroupShowType === 'rowspan' ? 2 : 1;
|
|
39094
39103
|
}
|
|
39095
39104
|
ideaLabelGroup[group] = groupIdeaList;
|
|
39096
39105
|
};
|
|
@@ -39108,6 +39117,7 @@ var HandleIdeavue_type_template_id_28023d64_scoped_true_staticRenderFns = [];
|
|
|
39108
39117
|
ideaSignature.style.maxWidth = '100px';
|
|
39109
39118
|
ideaSignature.style.maxHeight = '50px';
|
|
39110
39119
|
});
|
|
39120
|
+
this.setIdeaLabelWidth(true);
|
|
39111
39121
|
setTimeout(function () {
|
|
39112
39122
|
_this4.setIdeaTextAlign();
|
|
39113
39123
|
_this4.initDeleteIdeaBtn();
|
|
@@ -39117,6 +39127,9 @@ var HandleIdeavue_type_template_id_28023d64_scoped_true_staticRenderFns = [];
|
|
|
39117
39127
|
},
|
|
39118
39128
|
setIdeaTextAlign: function setIdeaTextAlign() {
|
|
39119
39129
|
var ideaDivs = document.querySelectorAll('.tdw83 .ideaDiv');
|
|
39130
|
+
if (ideaDivs.length === 0) {
|
|
39131
|
+
ideaDivs = document.querySelectorAll('.tdw87 .ideaDiv');
|
|
39132
|
+
}
|
|
39120
39133
|
ideaDivs.forEach(function (ideaDiv) {
|
|
39121
39134
|
var p = ideaDiv.querySelector('p[align="center"]');
|
|
39122
39135
|
if (p) {
|
|
@@ -39146,13 +39159,14 @@ var HandleIdeavue_type_template_id_28023d64_scoped_true_staticRenderFns = [];
|
|
|
39146
39159
|
}
|
|
39147
39160
|
});
|
|
39148
39161
|
},
|
|
39149
|
-
setIdeaLabelWidth: function setIdeaLabelWidth() {
|
|
39162
|
+
setIdeaLabelWidth: function setIdeaLabelWidth(inited) {
|
|
39150
39163
|
var _this6 = this;
|
|
39151
39164
|
this.$nextTick(function () {
|
|
39152
|
-
_this6.initUdmIdeaLables();
|
|
39153
|
-
|
|
39154
|
-
|
|
39155
|
-
|
|
39165
|
+
if (!inited) _this6.initUdmIdeaLables();
|
|
39166
|
+
var wform = document.querySelector('.wflow-busiform');
|
|
39167
|
+
if (!wform) wform = document.querySelector('.form-container').querySelector('.el-form');
|
|
39168
|
+
if (wform && wform.querySelector('.tdw13')) {
|
|
39169
|
+
var formWidth = wform.clientWidth * 0.131 + 'px';
|
|
39156
39170
|
document.querySelectorAll('.tdw17').forEach(function (td) {
|
|
39157
39171
|
td.style.width = formWidth;
|
|
39158
39172
|
});
|
|
@@ -39237,13 +39251,13 @@ window.callDeleteIdeaBtnClick = function (ideaId) {
|
|
|
39237
39251
|
};
|
|
39238
39252
|
;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/HandleIdea.vue?vue&type=script&lang=js
|
|
39239
39253
|
/* harmony default export */ var src_HandleIdeavue_type_script_lang_js = (HandleIdeavue_type_script_lang_js);
|
|
39240
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-65.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65.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=
|
|
39241
|
-
var
|
|
39242
|
-
;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/HandleIdea.vue?vue&type=style&index=0&id=
|
|
39254
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-65.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65.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
|
|
39255
|
+
var HandleIdeavue_type_style_index_0_id_52885f54_prod_scoped_true_lang_scss = __webpack_require__(1683);
|
|
39256
|
+
;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/HandleIdea.vue?vue&type=style&index=0&id=52885f54&prod&scoped=true&lang=scss
|
|
39243
39257
|
|
|
39244
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-65.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65.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=
|
|
39245
|
-
var
|
|
39246
|
-
;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/HandleIdea.vue?vue&type=style&index=1&id=
|
|
39258
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-65.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-65.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-65.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-65.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
|
|
39259
|
+
var HandleIdeavue_type_style_index_1_id_52885f54_prod_lang_scss = __webpack_require__(53155);
|
|
39260
|
+
;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/HandleIdea.vue?vue&type=style&index=1&id=52885f54&prod&lang=scss
|
|
39247
39261
|
|
|
39248
39262
|
;// CONCATENATED MODULE: ./packages/ecwapp/Wflowform/src/HandleIdea.vue
|
|
39249
39263
|
|
|
@@ -39257,11 +39271,11 @@ var HandleIdeavue_type_style_index_1_id_28023d64_prod_lang_scss = __webpack_requ
|
|
|
39257
39271
|
|
|
39258
39272
|
var HandleIdea_component = (0,componentNormalizer/* default */.A)(
|
|
39259
39273
|
src_HandleIdeavue_type_script_lang_js,
|
|
39260
|
-
|
|
39261
|
-
|
|
39274
|
+
HandleIdeavue_type_template_id_52885f54_scoped_true_render,
|
|
39275
|
+
HandleIdeavue_type_template_id_52885f54_scoped_true_staticRenderFns,
|
|
39262
39276
|
false,
|
|
39263
39277
|
null,
|
|
39264
|
-
"
|
|
39278
|
+
"52885f54",
|
|
39265
39279
|
null
|
|
39266
39280
|
|
|
39267
39281
|
)
|
|
@@ -165514,7 +165528,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-820fd3ea]:export{stdMenuBgcolo
|
|
|
165514
165528
|
|
|
165515
165529
|
/***/ }),
|
|
165516
165530
|
|
|
165517
|
-
/***/
|
|
165531
|
+
/***/ 28728:
|
|
165518
165532
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
165519
165533
|
|
|
165520
165534
|
"use strict";
|
|
@@ -165528,7 +165542,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
165528
165542
|
|
|
165529
165543
|
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()));
|
|
165530
165544
|
// Module
|
|
165531
|
-
___CSS_LOADER_EXPORT___.push([module.id, "[data-v-
|
|
165545
|
+
___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}", ""]);
|
|
165532
165546
|
// Exports
|
|
165533
165547
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
165534
165548
|
|
|
@@ -165556,7 +165570,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-e8bcd130]:export{stdMenuBgcolo
|
|
|
165556
165570
|
|
|
165557
165571
|
/***/ }),
|
|
165558
165572
|
|
|
165559
|
-
/***/
|
|
165573
|
+
/***/ 39220:
|
|
165560
165574
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
165561
165575
|
|
|
165562
165576
|
"use strict";
|
|
@@ -165570,14 +165584,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
165570
165584
|
|
|
165571
165585
|
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()));
|
|
165572
165586
|
// Module
|
|
165573
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".idea-collapse-icon[data-v-
|
|
165587
|
+
___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}", ""]);
|
|
165574
165588
|
// Exports
|
|
165575
165589
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
165576
165590
|
|
|
165577
165591
|
|
|
165578
165592
|
/***/ }),
|
|
165579
165593
|
|
|
165580
|
-
/***/
|
|
165594
|
+
/***/ 66852:
|
|
165581
165595
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
165582
165596
|
|
|
165583
165597
|
"use strict";
|
|
@@ -224536,6 +224550,489 @@ webpackContext.id = 35358;
|
|
|
224536
224550
|
})));
|
|
224537
224551
|
|
|
224538
224552
|
|
|
224553
|
+
/***/ }),
|
|
224554
|
+
|
|
224555
|
+
/***/ 5947:
|
|
224556
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
224557
|
+
|
|
224558
|
+
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
|
|
224559
|
+
* @license MIT */
|
|
224560
|
+
|
|
224561
|
+
;(function(root, factory) {
|
|
224562
|
+
|
|
224563
|
+
if (true) {
|
|
224564
|
+
!(__WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
|
|
224565
|
+
__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
|
|
224566
|
+
(__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) :
|
|
224567
|
+
__WEBPACK_AMD_DEFINE_FACTORY__),
|
|
224568
|
+
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
|
|
224569
|
+
} else {}
|
|
224570
|
+
|
|
224571
|
+
})(this, function() {
|
|
224572
|
+
var NProgress = {};
|
|
224573
|
+
|
|
224574
|
+
NProgress.version = '0.2.0';
|
|
224575
|
+
|
|
224576
|
+
var Settings = NProgress.settings = {
|
|
224577
|
+
minimum: 0.08,
|
|
224578
|
+
easing: 'ease',
|
|
224579
|
+
positionUsing: '',
|
|
224580
|
+
speed: 200,
|
|
224581
|
+
trickle: true,
|
|
224582
|
+
trickleRate: 0.02,
|
|
224583
|
+
trickleSpeed: 800,
|
|
224584
|
+
showSpinner: true,
|
|
224585
|
+
barSelector: '[role="bar"]',
|
|
224586
|
+
spinnerSelector: '[role="spinner"]',
|
|
224587
|
+
parent: 'body',
|
|
224588
|
+
template: '<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'
|
|
224589
|
+
};
|
|
224590
|
+
|
|
224591
|
+
/**
|
|
224592
|
+
* Updates configuration.
|
|
224593
|
+
*
|
|
224594
|
+
* NProgress.configure({
|
|
224595
|
+
* minimum: 0.1
|
|
224596
|
+
* });
|
|
224597
|
+
*/
|
|
224598
|
+
NProgress.configure = function(options) {
|
|
224599
|
+
var key, value;
|
|
224600
|
+
for (key in options) {
|
|
224601
|
+
value = options[key];
|
|
224602
|
+
if (value !== undefined && options.hasOwnProperty(key)) Settings[key] = value;
|
|
224603
|
+
}
|
|
224604
|
+
|
|
224605
|
+
return this;
|
|
224606
|
+
};
|
|
224607
|
+
|
|
224608
|
+
/**
|
|
224609
|
+
* Last number.
|
|
224610
|
+
*/
|
|
224611
|
+
|
|
224612
|
+
NProgress.status = null;
|
|
224613
|
+
|
|
224614
|
+
/**
|
|
224615
|
+
* Sets the progress bar status, where `n` is a number from `0.0` to `1.0`.
|
|
224616
|
+
*
|
|
224617
|
+
* NProgress.set(0.4);
|
|
224618
|
+
* NProgress.set(1.0);
|
|
224619
|
+
*/
|
|
224620
|
+
|
|
224621
|
+
NProgress.set = function(n) {
|
|
224622
|
+
var started = NProgress.isStarted();
|
|
224623
|
+
|
|
224624
|
+
n = clamp(n, Settings.minimum, 1);
|
|
224625
|
+
NProgress.status = (n === 1 ? null : n);
|
|
224626
|
+
|
|
224627
|
+
var progress = NProgress.render(!started),
|
|
224628
|
+
bar = progress.querySelector(Settings.barSelector),
|
|
224629
|
+
speed = Settings.speed,
|
|
224630
|
+
ease = Settings.easing;
|
|
224631
|
+
|
|
224632
|
+
progress.offsetWidth; /* Repaint */
|
|
224633
|
+
|
|
224634
|
+
queue(function(next) {
|
|
224635
|
+
// Set positionUsing if it hasn't already been set
|
|
224636
|
+
if (Settings.positionUsing === '') Settings.positionUsing = NProgress.getPositioningCSS();
|
|
224637
|
+
|
|
224638
|
+
// Add transition
|
|
224639
|
+
css(bar, barPositionCSS(n, speed, ease));
|
|
224640
|
+
|
|
224641
|
+
if (n === 1) {
|
|
224642
|
+
// Fade out
|
|
224643
|
+
css(progress, {
|
|
224644
|
+
transition: 'none',
|
|
224645
|
+
opacity: 1
|
|
224646
|
+
});
|
|
224647
|
+
progress.offsetWidth; /* Repaint */
|
|
224648
|
+
|
|
224649
|
+
setTimeout(function() {
|
|
224650
|
+
css(progress, {
|
|
224651
|
+
transition: 'all ' + speed + 'ms linear',
|
|
224652
|
+
opacity: 0
|
|
224653
|
+
});
|
|
224654
|
+
setTimeout(function() {
|
|
224655
|
+
NProgress.remove();
|
|
224656
|
+
next();
|
|
224657
|
+
}, speed);
|
|
224658
|
+
}, speed);
|
|
224659
|
+
} else {
|
|
224660
|
+
setTimeout(next, speed);
|
|
224661
|
+
}
|
|
224662
|
+
});
|
|
224663
|
+
|
|
224664
|
+
return this;
|
|
224665
|
+
};
|
|
224666
|
+
|
|
224667
|
+
NProgress.isStarted = function() {
|
|
224668
|
+
return typeof NProgress.status === 'number';
|
|
224669
|
+
};
|
|
224670
|
+
|
|
224671
|
+
/**
|
|
224672
|
+
* Shows the progress bar.
|
|
224673
|
+
* This is the same as setting the status to 0%, except that it doesn't go backwards.
|
|
224674
|
+
*
|
|
224675
|
+
* NProgress.start();
|
|
224676
|
+
*
|
|
224677
|
+
*/
|
|
224678
|
+
NProgress.start = function() {
|
|
224679
|
+
if (!NProgress.status) NProgress.set(0);
|
|
224680
|
+
|
|
224681
|
+
var work = function() {
|
|
224682
|
+
setTimeout(function() {
|
|
224683
|
+
if (!NProgress.status) return;
|
|
224684
|
+
NProgress.trickle();
|
|
224685
|
+
work();
|
|
224686
|
+
}, Settings.trickleSpeed);
|
|
224687
|
+
};
|
|
224688
|
+
|
|
224689
|
+
if (Settings.trickle) work();
|
|
224690
|
+
|
|
224691
|
+
return this;
|
|
224692
|
+
};
|
|
224693
|
+
|
|
224694
|
+
/**
|
|
224695
|
+
* Hides the progress bar.
|
|
224696
|
+
* This is the *sort of* the same as setting the status to 100%, with the
|
|
224697
|
+
* difference being `done()` makes some placebo effect of some realistic motion.
|
|
224698
|
+
*
|
|
224699
|
+
* NProgress.done();
|
|
224700
|
+
*
|
|
224701
|
+
* If `true` is passed, it will show the progress bar even if its hidden.
|
|
224702
|
+
*
|
|
224703
|
+
* NProgress.done(true);
|
|
224704
|
+
*/
|
|
224705
|
+
|
|
224706
|
+
NProgress.done = function(force) {
|
|
224707
|
+
if (!force && !NProgress.status) return this;
|
|
224708
|
+
|
|
224709
|
+
return NProgress.inc(0.3 + 0.5 * Math.random()).set(1);
|
|
224710
|
+
};
|
|
224711
|
+
|
|
224712
|
+
/**
|
|
224713
|
+
* Increments by a random amount.
|
|
224714
|
+
*/
|
|
224715
|
+
|
|
224716
|
+
NProgress.inc = function(amount) {
|
|
224717
|
+
var n = NProgress.status;
|
|
224718
|
+
|
|
224719
|
+
if (!n) {
|
|
224720
|
+
return NProgress.start();
|
|
224721
|
+
} else {
|
|
224722
|
+
if (typeof amount !== 'number') {
|
|
224723
|
+
amount = (1 - n) * clamp(Math.random() * n, 0.1, 0.95);
|
|
224724
|
+
}
|
|
224725
|
+
|
|
224726
|
+
n = clamp(n + amount, 0, 0.994);
|
|
224727
|
+
return NProgress.set(n);
|
|
224728
|
+
}
|
|
224729
|
+
};
|
|
224730
|
+
|
|
224731
|
+
NProgress.trickle = function() {
|
|
224732
|
+
return NProgress.inc(Math.random() * Settings.trickleRate);
|
|
224733
|
+
};
|
|
224734
|
+
|
|
224735
|
+
/**
|
|
224736
|
+
* Waits for all supplied jQuery promises and
|
|
224737
|
+
* increases the progress as the promises resolve.
|
|
224738
|
+
*
|
|
224739
|
+
* @param $promise jQUery Promise
|
|
224740
|
+
*/
|
|
224741
|
+
(function() {
|
|
224742
|
+
var initial = 0, current = 0;
|
|
224743
|
+
|
|
224744
|
+
NProgress.promise = function($promise) {
|
|
224745
|
+
if (!$promise || $promise.state() === "resolved") {
|
|
224746
|
+
return this;
|
|
224747
|
+
}
|
|
224748
|
+
|
|
224749
|
+
if (current === 0) {
|
|
224750
|
+
NProgress.start();
|
|
224751
|
+
}
|
|
224752
|
+
|
|
224753
|
+
initial++;
|
|
224754
|
+
current++;
|
|
224755
|
+
|
|
224756
|
+
$promise.always(function() {
|
|
224757
|
+
current--;
|
|
224758
|
+
if (current === 0) {
|
|
224759
|
+
initial = 0;
|
|
224760
|
+
NProgress.done();
|
|
224761
|
+
} else {
|
|
224762
|
+
NProgress.set((initial - current) / initial);
|
|
224763
|
+
}
|
|
224764
|
+
});
|
|
224765
|
+
|
|
224766
|
+
return this;
|
|
224767
|
+
};
|
|
224768
|
+
|
|
224769
|
+
})();
|
|
224770
|
+
|
|
224771
|
+
/**
|
|
224772
|
+
* (Internal) renders the progress bar markup based on the `template`
|
|
224773
|
+
* setting.
|
|
224774
|
+
*/
|
|
224775
|
+
|
|
224776
|
+
NProgress.render = function(fromStart) {
|
|
224777
|
+
if (NProgress.isRendered()) return document.getElementById('nprogress');
|
|
224778
|
+
|
|
224779
|
+
addClass(document.documentElement, 'nprogress-busy');
|
|
224780
|
+
|
|
224781
|
+
var progress = document.createElement('div');
|
|
224782
|
+
progress.id = 'nprogress';
|
|
224783
|
+
progress.innerHTML = Settings.template;
|
|
224784
|
+
|
|
224785
|
+
var bar = progress.querySelector(Settings.barSelector),
|
|
224786
|
+
perc = fromStart ? '-100' : toBarPerc(NProgress.status || 0),
|
|
224787
|
+
parent = document.querySelector(Settings.parent),
|
|
224788
|
+
spinner;
|
|
224789
|
+
|
|
224790
|
+
css(bar, {
|
|
224791
|
+
transition: 'all 0 linear',
|
|
224792
|
+
transform: 'translate3d(' + perc + '%,0,0)'
|
|
224793
|
+
});
|
|
224794
|
+
|
|
224795
|
+
if (!Settings.showSpinner) {
|
|
224796
|
+
spinner = progress.querySelector(Settings.spinnerSelector);
|
|
224797
|
+
spinner && removeElement(spinner);
|
|
224798
|
+
}
|
|
224799
|
+
|
|
224800
|
+
if (parent != document.body) {
|
|
224801
|
+
addClass(parent, 'nprogress-custom-parent');
|
|
224802
|
+
}
|
|
224803
|
+
|
|
224804
|
+
parent.appendChild(progress);
|
|
224805
|
+
return progress;
|
|
224806
|
+
};
|
|
224807
|
+
|
|
224808
|
+
/**
|
|
224809
|
+
* Removes the element. Opposite of render().
|
|
224810
|
+
*/
|
|
224811
|
+
|
|
224812
|
+
NProgress.remove = function() {
|
|
224813
|
+
removeClass(document.documentElement, 'nprogress-busy');
|
|
224814
|
+
removeClass(document.querySelector(Settings.parent), 'nprogress-custom-parent');
|
|
224815
|
+
var progress = document.getElementById('nprogress');
|
|
224816
|
+
progress && removeElement(progress);
|
|
224817
|
+
};
|
|
224818
|
+
|
|
224819
|
+
/**
|
|
224820
|
+
* Checks if the progress bar is rendered.
|
|
224821
|
+
*/
|
|
224822
|
+
|
|
224823
|
+
NProgress.isRendered = function() {
|
|
224824
|
+
return !!document.getElementById('nprogress');
|
|
224825
|
+
};
|
|
224826
|
+
|
|
224827
|
+
/**
|
|
224828
|
+
* Determine which positioning CSS rule to use.
|
|
224829
|
+
*/
|
|
224830
|
+
|
|
224831
|
+
NProgress.getPositioningCSS = function() {
|
|
224832
|
+
// Sniff on document.body.style
|
|
224833
|
+
var bodyStyle = document.body.style;
|
|
224834
|
+
|
|
224835
|
+
// Sniff prefixes
|
|
224836
|
+
var vendorPrefix = ('WebkitTransform' in bodyStyle) ? 'Webkit' :
|
|
224837
|
+
('MozTransform' in bodyStyle) ? 'Moz' :
|
|
224838
|
+
('msTransform' in bodyStyle) ? 'ms' :
|
|
224839
|
+
('OTransform' in bodyStyle) ? 'O' : '';
|
|
224840
|
+
|
|
224841
|
+
if (vendorPrefix + 'Perspective' in bodyStyle) {
|
|
224842
|
+
// Modern browsers with 3D support, e.g. Webkit, IE10
|
|
224843
|
+
return 'translate3d';
|
|
224844
|
+
} else if (vendorPrefix + 'Transform' in bodyStyle) {
|
|
224845
|
+
// Browsers without 3D support, e.g. IE9
|
|
224846
|
+
return 'translate';
|
|
224847
|
+
} else {
|
|
224848
|
+
// Browsers without translate() support, e.g. IE7-8
|
|
224849
|
+
return 'margin';
|
|
224850
|
+
}
|
|
224851
|
+
};
|
|
224852
|
+
|
|
224853
|
+
/**
|
|
224854
|
+
* Helpers
|
|
224855
|
+
*/
|
|
224856
|
+
|
|
224857
|
+
function clamp(n, min, max) {
|
|
224858
|
+
if (n < min) return min;
|
|
224859
|
+
if (n > max) return max;
|
|
224860
|
+
return n;
|
|
224861
|
+
}
|
|
224862
|
+
|
|
224863
|
+
/**
|
|
224864
|
+
* (Internal) converts a percentage (`0..1`) to a bar translateX
|
|
224865
|
+
* percentage (`-100%..0%`).
|
|
224866
|
+
*/
|
|
224867
|
+
|
|
224868
|
+
function toBarPerc(n) {
|
|
224869
|
+
return (-1 + n) * 100;
|
|
224870
|
+
}
|
|
224871
|
+
|
|
224872
|
+
|
|
224873
|
+
/**
|
|
224874
|
+
* (Internal) returns the correct CSS for changing the bar's
|
|
224875
|
+
* position given an n percentage, and speed and ease from Settings
|
|
224876
|
+
*/
|
|
224877
|
+
|
|
224878
|
+
function barPositionCSS(n, speed, ease) {
|
|
224879
|
+
var barCSS;
|
|
224880
|
+
|
|
224881
|
+
if (Settings.positionUsing === 'translate3d') {
|
|
224882
|
+
barCSS = { transform: 'translate3d('+toBarPerc(n)+'%,0,0)' };
|
|
224883
|
+
} else if (Settings.positionUsing === 'translate') {
|
|
224884
|
+
barCSS = { transform: 'translate('+toBarPerc(n)+'%,0)' };
|
|
224885
|
+
} else {
|
|
224886
|
+
barCSS = { 'margin-left': toBarPerc(n)+'%' };
|
|
224887
|
+
}
|
|
224888
|
+
|
|
224889
|
+
barCSS.transition = 'all '+speed+'ms '+ease;
|
|
224890
|
+
|
|
224891
|
+
return barCSS;
|
|
224892
|
+
}
|
|
224893
|
+
|
|
224894
|
+
/**
|
|
224895
|
+
* (Internal) Queues a function to be executed.
|
|
224896
|
+
*/
|
|
224897
|
+
|
|
224898
|
+
var queue = (function() {
|
|
224899
|
+
var pending = [];
|
|
224900
|
+
|
|
224901
|
+
function next() {
|
|
224902
|
+
var fn = pending.shift();
|
|
224903
|
+
if (fn) {
|
|
224904
|
+
fn(next);
|
|
224905
|
+
}
|
|
224906
|
+
}
|
|
224907
|
+
|
|
224908
|
+
return function(fn) {
|
|
224909
|
+
pending.push(fn);
|
|
224910
|
+
if (pending.length == 1) next();
|
|
224911
|
+
};
|
|
224912
|
+
})();
|
|
224913
|
+
|
|
224914
|
+
/**
|
|
224915
|
+
* (Internal) Applies css properties to an element, similar to the jQuery
|
|
224916
|
+
* css method.
|
|
224917
|
+
*
|
|
224918
|
+
* While this helper does assist with vendor prefixed property names, it
|
|
224919
|
+
* does not perform any manipulation of values prior to setting styles.
|
|
224920
|
+
*/
|
|
224921
|
+
|
|
224922
|
+
var css = (function() {
|
|
224923
|
+
var cssPrefixes = [ 'Webkit', 'O', 'Moz', 'ms' ],
|
|
224924
|
+
cssProps = {};
|
|
224925
|
+
|
|
224926
|
+
function camelCase(string) {
|
|
224927
|
+
return string.replace(/^-ms-/, 'ms-').replace(/-([\da-z])/gi, function(match, letter) {
|
|
224928
|
+
return letter.toUpperCase();
|
|
224929
|
+
});
|
|
224930
|
+
}
|
|
224931
|
+
|
|
224932
|
+
function getVendorProp(name) {
|
|
224933
|
+
var style = document.body.style;
|
|
224934
|
+
if (name in style) return name;
|
|
224935
|
+
|
|
224936
|
+
var i = cssPrefixes.length,
|
|
224937
|
+
capName = name.charAt(0).toUpperCase() + name.slice(1),
|
|
224938
|
+
vendorName;
|
|
224939
|
+
while (i--) {
|
|
224940
|
+
vendorName = cssPrefixes[i] + capName;
|
|
224941
|
+
if (vendorName in style) return vendorName;
|
|
224942
|
+
}
|
|
224943
|
+
|
|
224944
|
+
return name;
|
|
224945
|
+
}
|
|
224946
|
+
|
|
224947
|
+
function getStyleProp(name) {
|
|
224948
|
+
name = camelCase(name);
|
|
224949
|
+
return cssProps[name] || (cssProps[name] = getVendorProp(name));
|
|
224950
|
+
}
|
|
224951
|
+
|
|
224952
|
+
function applyCss(element, prop, value) {
|
|
224953
|
+
prop = getStyleProp(prop);
|
|
224954
|
+
element.style[prop] = value;
|
|
224955
|
+
}
|
|
224956
|
+
|
|
224957
|
+
return function(element, properties) {
|
|
224958
|
+
var args = arguments,
|
|
224959
|
+
prop,
|
|
224960
|
+
value;
|
|
224961
|
+
|
|
224962
|
+
if (args.length == 2) {
|
|
224963
|
+
for (prop in properties) {
|
|
224964
|
+
value = properties[prop];
|
|
224965
|
+
if (value !== undefined && properties.hasOwnProperty(prop)) applyCss(element, prop, value);
|
|
224966
|
+
}
|
|
224967
|
+
} else {
|
|
224968
|
+
applyCss(element, args[1], args[2]);
|
|
224969
|
+
}
|
|
224970
|
+
}
|
|
224971
|
+
})();
|
|
224972
|
+
|
|
224973
|
+
/**
|
|
224974
|
+
* (Internal) Determines if an element or space separated list of class names contains a class name.
|
|
224975
|
+
*/
|
|
224976
|
+
|
|
224977
|
+
function hasClass(element, name) {
|
|
224978
|
+
var list = typeof element == 'string' ? element : classList(element);
|
|
224979
|
+
return list.indexOf(' ' + name + ' ') >= 0;
|
|
224980
|
+
}
|
|
224981
|
+
|
|
224982
|
+
/**
|
|
224983
|
+
* (Internal) Adds a class to an element.
|
|
224984
|
+
*/
|
|
224985
|
+
|
|
224986
|
+
function addClass(element, name) {
|
|
224987
|
+
var oldList = classList(element),
|
|
224988
|
+
newList = oldList + name;
|
|
224989
|
+
|
|
224990
|
+
if (hasClass(oldList, name)) return;
|
|
224991
|
+
|
|
224992
|
+
// Trim the opening space.
|
|
224993
|
+
element.className = newList.substring(1);
|
|
224994
|
+
}
|
|
224995
|
+
|
|
224996
|
+
/**
|
|
224997
|
+
* (Internal) Removes a class from an element.
|
|
224998
|
+
*/
|
|
224999
|
+
|
|
225000
|
+
function removeClass(element, name) {
|
|
225001
|
+
var oldList = classList(element),
|
|
225002
|
+
newList;
|
|
225003
|
+
|
|
225004
|
+
if (!hasClass(element, name)) return;
|
|
225005
|
+
|
|
225006
|
+
// Replace the class name.
|
|
225007
|
+
newList = oldList.replace(' ' + name + ' ', ' ');
|
|
225008
|
+
|
|
225009
|
+
// Trim the opening and closing spaces.
|
|
225010
|
+
element.className = newList.substring(1, newList.length - 1);
|
|
225011
|
+
}
|
|
225012
|
+
|
|
225013
|
+
/**
|
|
225014
|
+
* (Internal) Gets a space separated list of the class names on the element.
|
|
225015
|
+
* The list is wrapped with a single space on each end to facilitate finding
|
|
225016
|
+
* matches within the list.
|
|
225017
|
+
*/
|
|
225018
|
+
|
|
225019
|
+
function classList(element) {
|
|
225020
|
+
return (' ' + (element.className || '') + ' ').replace(/\s+/gi, ' ');
|
|
225021
|
+
}
|
|
225022
|
+
|
|
225023
|
+
/**
|
|
225024
|
+
* (Internal) Removes an element from the DOM.
|
|
225025
|
+
*/
|
|
225026
|
+
|
|
225027
|
+
function removeElement(element) {
|
|
225028
|
+
element && element.parentNode && element.parentNode.removeChild(element);
|
|
225029
|
+
}
|
|
225030
|
+
|
|
225031
|
+
return NProgress;
|
|
225032
|
+
});
|
|
225033
|
+
|
|
225034
|
+
|
|
225035
|
+
|
|
224539
225036
|
/***/ }),
|
|
224540
225037
|
|
|
224541
225038
|
/***/ 58859:
|
|
@@ -261332,19 +261829,19 @@ var update = add("62dd250a", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
261332
261829
|
|
|
261333
261830
|
/***/ }),
|
|
261334
261831
|
|
|
261335
|
-
/***/
|
|
261832
|
+
/***/ 26155:
|
|
261336
261833
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
261337
261834
|
|
|
261338
261835
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
261339
261836
|
|
|
261340
261837
|
// load the styles
|
|
261341
|
-
var content = __webpack_require__(
|
|
261838
|
+
var content = __webpack_require__(28728);
|
|
261342
261839
|
if(content.__esModule) content = content.default;
|
|
261343
261840
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
261344
261841
|
if(content.locals) module.exports = content.locals;
|
|
261345
261842
|
// add the styles to the DOM
|
|
261346
261843
|
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
261347
|
-
var update = add("
|
|
261844
|
+
var update = add("39f843df", content, true, {"sourceMap":false,"shadowMode":false});
|
|
261348
261845
|
|
|
261349
261846
|
/***/ }),
|
|
261350
261847
|
|
|
@@ -261364,35 +261861,35 @@ var update = add("41d437ed", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
261364
261861
|
|
|
261365
261862
|
/***/ }),
|
|
261366
261863
|
|
|
261367
|
-
/***/
|
|
261864
|
+
/***/ 1683:
|
|
261368
261865
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
261369
261866
|
|
|
261370
261867
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
261371
261868
|
|
|
261372
261869
|
// load the styles
|
|
261373
|
-
var content = __webpack_require__(
|
|
261870
|
+
var content = __webpack_require__(39220);
|
|
261374
261871
|
if(content.__esModule) content = content.default;
|
|
261375
261872
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
261376
261873
|
if(content.locals) module.exports = content.locals;
|
|
261377
261874
|
// add the styles to the DOM
|
|
261378
261875
|
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
261379
|
-
var update = add("
|
|
261876
|
+
var update = add("e7207b88", content, true, {"sourceMap":false,"shadowMode":false});
|
|
261380
261877
|
|
|
261381
261878
|
/***/ }),
|
|
261382
261879
|
|
|
261383
|
-
/***/
|
|
261880
|
+
/***/ 53155:
|
|
261384
261881
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
261385
261882
|
|
|
261386
261883
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
261387
261884
|
|
|
261388
261885
|
// load the styles
|
|
261389
|
-
var content = __webpack_require__(
|
|
261886
|
+
var content = __webpack_require__(66852);
|
|
261390
261887
|
if(content.__esModule) content = content.default;
|
|
261391
261888
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
261392
261889
|
if(content.locals) module.exports = content.locals;
|
|
261393
261890
|
// add the styles to the DOM
|
|
261394
261891
|
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
261395
|
-
var update = add("
|
|
261892
|
+
var update = add("7791e49c", content, true, {"sourceMap":false,"shadowMode":false});
|
|
261396
261893
|
|
|
261397
261894
|
/***/ }),
|
|
261398
261895
|
|
|
@@ -285254,87 +285751,87 @@ var asyncComponents = [
|
|
|
285254
285751
|
}],
|
|
285255
285752
|
// ========== ecwapp/Wflowform 工作流表单子组件 → chunk: wflow-form ==========
|
|
285256
285753
|
['Attachment', function () {
|
|
285257
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
285754
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 16410)).then(function (m) {
|
|
285258
285755
|
return m.Attachment;
|
|
285259
285756
|
});
|
|
285260
285757
|
}], ['BodyFile', function () {
|
|
285261
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
285758
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 16410)).then(function (m) {
|
|
285262
285759
|
return m.BodyFile;
|
|
285263
285760
|
});
|
|
285264
285761
|
}], ['CommandBar', function () {
|
|
285265
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
285762
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 16410)).then(function (m) {
|
|
285266
285763
|
return m.CommandBar;
|
|
285267
285764
|
});
|
|
285268
285765
|
}], ['HandleIdea', function () {
|
|
285269
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
285766
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 16410)).then(function (m) {
|
|
285270
285767
|
return m.HandleIdea;
|
|
285271
285768
|
});
|
|
285272
285769
|
}], ['IdeaInputBox', function () {
|
|
285273
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
285770
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 16410)).then(function (m) {
|
|
285274
285771
|
return m.IdeaInputBox;
|
|
285275
285772
|
});
|
|
285276
285773
|
}], ['ModifyWflogAddUser', function () {
|
|
285277
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
285774
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 16410)).then(function (m) {
|
|
285278
285775
|
return m.ModifyWflogAddUser;
|
|
285279
285776
|
});
|
|
285280
285777
|
}], ['ModifyWflogIdea', function () {
|
|
285281
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
285778
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 16410)).then(function (m) {
|
|
285282
285779
|
return m.ModifyWflogIdea;
|
|
285283
285780
|
});
|
|
285284
285781
|
}], ['WriteToReadIdea', function () {
|
|
285285
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
285782
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 16410)).then(function (m) {
|
|
285286
285783
|
return m.WriteToReadIdea;
|
|
285287
285784
|
});
|
|
285288
285785
|
}], ['ModifyWflogSubmitFile', function () {
|
|
285289
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
285786
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 16410)).then(function (m) {
|
|
285290
285787
|
return m.ModifyWflogSubmitFile;
|
|
285291
285788
|
});
|
|
285292
285789
|
}], ['ModifyWfNodelog', function () {
|
|
285293
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
285790
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 16410)).then(function (m) {
|
|
285294
285791
|
return m.ModifyWfNodelog;
|
|
285295
285792
|
});
|
|
285296
285793
|
}], ['SelectOuterDeputy', function () {
|
|
285297
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
285794
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 16410)).then(function (m) {
|
|
285298
285795
|
return m.SelectOuterDeputy;
|
|
285299
285796
|
});
|
|
285300
285797
|
}], ['SubmitHandle', function () {
|
|
285301
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
285798
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 16410)).then(function (m) {
|
|
285302
285799
|
return m.SubmitHandle;
|
|
285303
285800
|
});
|
|
285304
285801
|
}], ['SubmitDialog', function () {
|
|
285305
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
285802
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 16410)).then(function (m) {
|
|
285306
285803
|
return m.SubmitDialog;
|
|
285307
285804
|
});
|
|
285308
285805
|
}], ['WfNodelogList', function () {
|
|
285309
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
285806
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 16410)).then(function (m) {
|
|
285310
285807
|
return m.WfNodelogList;
|
|
285311
285808
|
});
|
|
285312
285809
|
}], ['WflogAddReader', function () {
|
|
285313
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
285810
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 16410)).then(function (m) {
|
|
285314
285811
|
return m.WflogAddReader;
|
|
285315
285812
|
});
|
|
285316
285813
|
}], ['WflowView', function () {
|
|
285317
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
285814
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 16410)).then(function (m) {
|
|
285318
285815
|
return m.WflowView;
|
|
285319
285816
|
});
|
|
285320
285817
|
}], ['ImgView', function () {
|
|
285321
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
285818
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 16410)).then(function (m) {
|
|
285322
285819
|
return m.ImgView;
|
|
285323
285820
|
});
|
|
285324
285821
|
}], ['IdeaSignature', function () {
|
|
285325
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
285822
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 16410)).then(function (m) {
|
|
285326
285823
|
return m.IdeaSignature;
|
|
285327
285824
|
});
|
|
285328
285825
|
}], ['ReplaceFile', function () {
|
|
285329
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
285826
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 16410)).then(function (m) {
|
|
285330
285827
|
return m.ReplaceFile;
|
|
285331
285828
|
});
|
|
285332
285829
|
}], ['ViewBodyFile', function () {
|
|
285333
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
285830
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 16410)).then(function (m) {
|
|
285334
285831
|
return m.ViewBodyFile;
|
|
285335
285832
|
});
|
|
285336
285833
|
}], ['WformLayout', function () {
|
|
285337
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
285834
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 16410)).then(function (m) {
|
|
285338
285835
|
return m.WformLayout;
|
|
285339
285836
|
});
|
|
285340
285837
|
}],
|
|
@@ -285619,7 +286116,7 @@ var WfengineModule = function WfengineModule() {
|
|
|
285619
286116
|
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 99932));
|
|
285620
286117
|
};
|
|
285621
286118
|
var WflowformModule = function WflowformModule() {
|
|
285622
|
-
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__,
|
|
286119
|
+
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 16410));
|
|
285623
286120
|
};
|
|
285624
286121
|
var WflowDesignerModule = function WflowDesignerModule() {
|
|
285625
286122
|
return Promise.resolve(/* import() eager */).then(__webpack_require__.bind(__webpack_require__, 26687));
|