ecinc-cloud-wappaio 9.6.457 → 9.6.458
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 +81 -50
- package/lib/ecwappaio.umd.js +81 -50
- package/lib/ecwappaio.umd.min.js +4 -4
- package/package.json +1 -1
package/lib/ecwappaio.umd.js
CHANGED
|
@@ -10279,7 +10279,7 @@ var actions = {
|
|
|
10279
10279
|
__webpack_require__.r(__webpack_exports__);
|
|
10280
10280
|
/* harmony import */ var e_vue_contextmenu__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(28572);
|
|
10281
10281
|
/* harmony import */ var e_vue_contextmenu__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(e_vue_contextmenu__WEBPACK_IMPORTED_MODULE_0__);
|
|
10282
|
-
/* harmony import */ var _ecwplat_Module_index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
|
|
10282
|
+
/* harmony import */ var _ecwplat_Module_index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(496);
|
|
10283
10283
|
/* harmony import */ var _websocket_index__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(56613);
|
|
10284
10284
|
function _typeof(o) { "@babel/helpers - typeof"; return _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; }, _typeof(o); }
|
|
10285
10285
|
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _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" == _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(_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; }
|
|
@@ -12068,7 +12068,7 @@ module.exports = {
|
|
|
12068
12068
|
|
|
12069
12069
|
/***/ }),
|
|
12070
12070
|
|
|
12071
|
-
/***/
|
|
12071
|
+
/***/ 496:
|
|
12072
12072
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
12073
12073
|
|
|
12074
12074
|
"use strict";
|
|
@@ -12082,7 +12082,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
12082
12082
|
DY: function() { return /* binding */ Module_SysSetup; }
|
|
12083
12083
|
});
|
|
12084
12084
|
|
|
12085
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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/ecwplat/Module/src/index.vue?vue&type=template&id=
|
|
12085
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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/ecwplat/Module/src/index.vue?vue&type=template&id=7411b67a&scoped=true
|
|
12086
12086
|
var render = function render() {
|
|
12087
12087
|
var _vm = this,
|
|
12088
12088
|
_c = _vm._self._c;
|
|
@@ -12397,6 +12397,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
12397
12397
|
computed: _objectSpread({}, (0,vuex_esm/* mapGetters */.L8)(['loginUser'])),
|
|
12398
12398
|
watch: {},
|
|
12399
12399
|
created: function created() {
|
|
12400
|
+
var _this = this;
|
|
12400
12401
|
this.$bus.emit('showNavSearch', false);
|
|
12401
12402
|
console.log(this.$route.meta.params, 'this.$route.meta.params');
|
|
12402
12403
|
if (this.$route.meta.params && this.$route.meta.params.indexOf('orgCode=') !== -1) {
|
|
@@ -12411,6 +12412,31 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
12411
12412
|
this.loadSysSetup(this.row.orgCode);
|
|
12412
12413
|
} else if (this.$route.meta.params && this.$route.meta.params.indexOf('isPortal=1') !== -1) {
|
|
12413
12414
|
this.isPortal = true;
|
|
12415
|
+
this.$http({
|
|
12416
|
+
method: 'POST',
|
|
12417
|
+
contentType: 'application/x-www-form-urlencoded',
|
|
12418
|
+
data: [{
|
|
12419
|
+
compare: '=',
|
|
12420
|
+
field: 'sysType',
|
|
12421
|
+
value: 1
|
|
12422
|
+
}, {
|
|
12423
|
+
compare: '=',
|
|
12424
|
+
field: 'sysStatus',
|
|
12425
|
+
value: 1
|
|
12426
|
+
}, {
|
|
12427
|
+
compare: '!=',
|
|
12428
|
+
field: 'sysCode',
|
|
12429
|
+
value: 'eccloud'
|
|
12430
|
+
}],
|
|
12431
|
+
url: this.moduleInfo.loadSysSetupUrl
|
|
12432
|
+
}).then(function (res) {
|
|
12433
|
+
if (res.code === 'success') {
|
|
12434
|
+
//如果只有一个主系统,直接查询系统菜单
|
|
12435
|
+
if (res.body.listdata.length == 1) {
|
|
12436
|
+
_this.loadSysSetup(res.body.listdata[0].orgCode);
|
|
12437
|
+
}
|
|
12438
|
+
}
|
|
12439
|
+
});
|
|
12414
12440
|
}
|
|
12415
12441
|
this.$bus.on('setOrgItemTree', this.setOrgItem);
|
|
12416
12442
|
},
|
|
@@ -12425,7 +12451,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
12425
12451
|
this.loadSysSetup(orgCode);
|
|
12426
12452
|
},
|
|
12427
12453
|
loadSysSetup: function loadSysSetup(orgCode) {
|
|
12428
|
-
var
|
|
12454
|
+
var _this2 = this;
|
|
12429
12455
|
this.orgCode = orgCode || this.orgCode;
|
|
12430
12456
|
/**
|
|
12431
12457
|
* 加载系统配置信息
|
|
@@ -12445,22 +12471,22 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
12445
12471
|
url: this.moduleInfo.loadSysSetupUrl
|
|
12446
12472
|
}).then(function (res) {
|
|
12447
12473
|
if (res.code === 'success') {
|
|
12448
|
-
|
|
12474
|
+
_this2.sysSetupList = res.body.listdata;
|
|
12449
12475
|
if (res.body.listdata.length > 0) {
|
|
12450
|
-
|
|
12476
|
+
_this2.sys = res.body.listdata[0];
|
|
12451
12477
|
var sysCodes = [];
|
|
12452
12478
|
res.body.listdata.forEach(function (sysSetup) {
|
|
12453
12479
|
sysCodes.push(sysSetup.sysCode);
|
|
12454
12480
|
});
|
|
12455
12481
|
var list = [];
|
|
12456
|
-
if (
|
|
12482
|
+
if (_this2.row.sysCode) {
|
|
12457
12483
|
res.body.listdata.forEach(function (item) {
|
|
12458
|
-
if (item.sysCode ===
|
|
12484
|
+
if (item.sysCode === _this2.row.sysCode) {
|
|
12459
12485
|
list.push(item);
|
|
12460
12486
|
}
|
|
12461
12487
|
});
|
|
12462
|
-
} else if (
|
|
12463
|
-
var _sysCode =
|
|
12488
|
+
} else if (_this2.isPortal && localStorage.orgItem) {
|
|
12489
|
+
var _sysCode = _this2.isPortal && localStorage.orgItem ? JSON.parse(localStorage.orgItem).sysCode : '';
|
|
12464
12490
|
res.body.listdata.forEach(function (item) {
|
|
12465
12491
|
if (item.sysCode === _sysCode) {
|
|
12466
12492
|
list.push(item);
|
|
@@ -12472,36 +12498,36 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
12472
12498
|
/**
|
|
12473
12499
|
* 加载菜单树节点数据
|
|
12474
12500
|
*/
|
|
12475
|
-
var sysCode =
|
|
12476
|
-
|
|
12501
|
+
var sysCode = _this2.isPortal && localStorage.orgItem ? JSON.parse(localStorage.orgItem).sysCode : '';
|
|
12502
|
+
_this2.$http({
|
|
12477
12503
|
method: 'POST',
|
|
12478
12504
|
contentType: 'application/x-www-form-urlencoded',
|
|
12479
12505
|
data: [{
|
|
12480
12506
|
compare: 'in',
|
|
12481
12507
|
field: 'sysCode',
|
|
12482
|
-
value: sysCode ||
|
|
12508
|
+
value: sysCode || _this2.row.sysCode || sysCodes.join(',')
|
|
12483
12509
|
}],
|
|
12484
12510
|
params: {
|
|
12485
|
-
orderBy: 'moduleLevel asc,orderNo asc'
|
|
12511
|
+
orderBy: 'moduleLevel asc,topFlag desc,orderNo asc'
|
|
12486
12512
|
},
|
|
12487
12513
|
// 查询全部模块菜单,按菜单级别、序号排序
|
|
12488
|
-
url:
|
|
12514
|
+
url: _this2.moduleInfo.loadTreeNodeUrl
|
|
12489
12515
|
}).then(function (res2) {
|
|
12490
12516
|
if (res2.code === 'success') {
|
|
12491
|
-
|
|
12517
|
+
_this2.treeData = _this2.treeDataAdapter(list.concat(res2.body.listdata));
|
|
12492
12518
|
} else {
|
|
12493
|
-
|
|
12519
|
+
_this2.$alert(res2.message, {
|
|
12494
12520
|
type: 'error'
|
|
12495
12521
|
});
|
|
12496
12522
|
}
|
|
12497
12523
|
});
|
|
12498
12524
|
} else {
|
|
12499
|
-
|
|
12525
|
+
_this2.$alert(_this2.$tx('ecwplat.sysSetup.chooseAgain', '您所选择的单位未开通任何业务,请重新选择!'), _this2.$tx('common.operationTip', '操作提示'), {
|
|
12500
12526
|
type: 'warning'
|
|
12501
12527
|
});
|
|
12502
12528
|
}
|
|
12503
12529
|
} else {
|
|
12504
|
-
|
|
12530
|
+
_this2.$alert(res.message, {
|
|
12505
12531
|
type: 'error'
|
|
12506
12532
|
});
|
|
12507
12533
|
}
|
|
@@ -12526,6 +12552,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
12526
12552
|
node.passenger.disallowAddSubMenu = true;
|
|
12527
12553
|
}
|
|
12528
12554
|
if (node.sysLicense !== undefined) {
|
|
12555
|
+
//业务开通系统配置数据sysSetup
|
|
12529
12556
|
node.name = node.sysName;
|
|
12530
12557
|
node.pId = null;
|
|
12531
12558
|
node.open = true;
|
|
@@ -12538,11 +12565,15 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
12538
12565
|
treeData.splice(i--, 1);
|
|
12539
12566
|
}
|
|
12540
12567
|
} else {
|
|
12568
|
+
//模块菜单数据
|
|
12541
12569
|
if (node.parentId === '0') {
|
|
12542
12570
|
node.pId = sysIds[node.sysCode];
|
|
12543
12571
|
} else {
|
|
12544
12572
|
node.pId = node.parentId;
|
|
12545
12573
|
}
|
|
12574
|
+
if (node.moduleLevel === 1) {
|
|
12575
|
+
node.orderNo = (node.topFlag === 1 ? '0' : '1') + node.orderNo;
|
|
12576
|
+
}
|
|
12546
12577
|
node.title = '名称:' + node.name + '\r\n代码:' + node.code + '\r\n排序:' + node.orderNo;
|
|
12547
12578
|
}
|
|
12548
12579
|
}
|
|
@@ -12588,17 +12619,17 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
12588
12619
|
this.loadSysSetup(this.orgCode);
|
|
12589
12620
|
},
|
|
12590
12621
|
onTreeNodeClick: function onTreeNodeClick(evt, treeId, treeNode) {
|
|
12591
|
-
var
|
|
12622
|
+
var _this3 = this;
|
|
12592
12623
|
// 菜单树点击事件
|
|
12593
12624
|
var sysVo = JSON.parse(JSON.stringify(this.sys));
|
|
12594
12625
|
this.sys = null;
|
|
12595
12626
|
this.$nextTick(function (res) {
|
|
12596
12627
|
if (treeNode.pId === undefined || treeNode.pId === null) {
|
|
12597
|
-
|
|
12598
|
-
|
|
12628
|
+
_this3.menuItem = null;
|
|
12629
|
+
_this3.sys = treeNode;
|
|
12599
12630
|
} else {
|
|
12600
|
-
|
|
12601
|
-
|
|
12631
|
+
_this3.setMenuItem(treeNode);
|
|
12632
|
+
_this3.sys = sysVo;
|
|
12602
12633
|
}
|
|
12603
12634
|
});
|
|
12604
12635
|
},
|
|
@@ -12631,7 +12662,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
12631
12662
|
}
|
|
12632
12663
|
},
|
|
12633
12664
|
treeDropNode: function treeDropNode(event, treeId, dropNode, targetNode, moveType, isCopy) {
|
|
12634
|
-
var
|
|
12665
|
+
var _this4 = this;
|
|
12635
12666
|
var parentNode = null;
|
|
12636
12667
|
var num = targetNode.orderNo;
|
|
12637
12668
|
if (moveType === 'inner') {
|
|
@@ -12680,74 +12711,74 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
12680
12711
|
url: this.moduleInfo.updateModuleUrl
|
|
12681
12712
|
}).then(function (res) {
|
|
12682
12713
|
if (res.code === 'success') {
|
|
12683
|
-
|
|
12684
|
-
|
|
12714
|
+
_this4.onTreeNodeClick(event, treeId, dropNode);
|
|
12715
|
+
_this4.$message.success(res.message);
|
|
12685
12716
|
} else {
|
|
12686
|
-
|
|
12717
|
+
_this4.$alert(res.message, {
|
|
12687
12718
|
type: 'error'
|
|
12688
12719
|
});
|
|
12689
12720
|
}
|
|
12690
12721
|
});
|
|
12691
12722
|
},
|
|
12692
12723
|
addModuleMenu: function addModuleMenu(treeId, contextNode) {
|
|
12693
|
-
var
|
|
12724
|
+
var _this5 = this;
|
|
12694
12725
|
this.zTree.selectNode(contextNode);
|
|
12695
12726
|
this.sys = contextNode;
|
|
12696
12727
|
this.menuItem = null;
|
|
12697
12728
|
this.$nextTick(function () {
|
|
12698
|
-
|
|
12729
|
+
_this5.$bus.emit('addModuleMenu');
|
|
12699
12730
|
});
|
|
12700
12731
|
},
|
|
12701
12732
|
editSysSetup: function editSysSetup(treeId, contextNode) {
|
|
12702
|
-
var
|
|
12733
|
+
var _this6 = this;
|
|
12703
12734
|
this.zTree.selectNode(contextNode);
|
|
12704
12735
|
this.sys = contextNode;
|
|
12705
12736
|
this.menuItem = null;
|
|
12706
12737
|
this.$nextTick(function () {
|
|
12707
|
-
|
|
12738
|
+
_this6.$bus.emit('editSysSetup');
|
|
12708
12739
|
});
|
|
12709
12740
|
},
|
|
12710
12741
|
addMenu: function addMenu(treeId, contextNode) {
|
|
12711
|
-
var
|
|
12742
|
+
var _this7 = this;
|
|
12712
12743
|
this.zTree.selectNode(contextNode);
|
|
12713
12744
|
this.setMenuItem(contextNode);
|
|
12714
12745
|
this.$nextTick(function () {
|
|
12715
|
-
|
|
12746
|
+
_this7.$bus.emit('addMenu');
|
|
12716
12747
|
});
|
|
12717
12748
|
},
|
|
12718
12749
|
addWflowMenus: function addWflowMenus(treeId, contextNode) {
|
|
12719
|
-
var
|
|
12750
|
+
var _this8 = this;
|
|
12720
12751
|
this.zTree.selectNode(contextNode);
|
|
12721
12752
|
this.setMenuItem(contextNode);
|
|
12722
12753
|
this.$nextTick(function () {
|
|
12723
|
-
|
|
12754
|
+
_this8.$bus.emit('addMenu', 'wflowMenus');
|
|
12724
12755
|
});
|
|
12725
12756
|
},
|
|
12726
12757
|
editMenu: function editMenu(treeId, contextNode) {
|
|
12727
|
-
var
|
|
12758
|
+
var _this9 = this;
|
|
12728
12759
|
this.zTree.selectNode(contextNode);
|
|
12729
12760
|
this.setMenuItem(contextNode);
|
|
12730
12761
|
this.$nextTick(function () {
|
|
12731
|
-
|
|
12762
|
+
_this9.$bus.emit('editMenu');
|
|
12732
12763
|
});
|
|
12733
12764
|
},
|
|
12734
12765
|
deleteMenu: function deleteMenu(treeId, contextNode) {
|
|
12735
|
-
var
|
|
12766
|
+
var _this10 = this;
|
|
12736
12767
|
if (this.menuItem === null) {
|
|
12737
12768
|
this.zTree.selectNode(contextNode);
|
|
12738
12769
|
this.setMenuItem(contextNode);
|
|
12739
12770
|
}
|
|
12740
12771
|
this.$nextTick(function () {
|
|
12741
|
-
|
|
12772
|
+
_this10.$bus.emit('deleteMenu', contextNode);
|
|
12742
12773
|
});
|
|
12743
12774
|
}
|
|
12744
12775
|
}
|
|
12745
12776
|
});
|
|
12746
12777
|
;// CONCATENATED MODULE: ./packages/ecwplat/Module/src/index.vue?vue&type=script&lang=js
|
|
12747
12778
|
/* harmony default export */ var Module_srcvue_type_script_lang_js = (srcvue_type_script_lang_js);
|
|
12748
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwplat/Module/src/index.vue?vue&type=style&index=0&id=
|
|
12749
|
-
var
|
|
12750
|
-
;// CONCATENATED MODULE: ./packages/ecwplat/Module/src/index.vue?vue&type=style&index=0&id=
|
|
12779
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecwplat/Module/src/index.vue?vue&type=style&index=0&id=7411b67a&prod&scoped=true&lang=scss
|
|
12780
|
+
var srcvue_type_style_index_0_id_7411b67a_prod_scoped_true_lang_scss = __webpack_require__(82452);
|
|
12781
|
+
;// CONCATENATED MODULE: ./packages/ecwplat/Module/src/index.vue?vue&type=style&index=0&id=7411b67a&prod&scoped=true&lang=scss
|
|
12751
12782
|
|
|
12752
12783
|
// EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
|
|
12753
12784
|
var componentNormalizer = __webpack_require__(81656);
|
|
@@ -12766,7 +12797,7 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
|
12766
12797
|
staticRenderFns,
|
|
12767
12798
|
false,
|
|
12768
12799
|
null,
|
|
12769
|
-
"
|
|
12800
|
+
"7411b67a",
|
|
12770
12801
|
null
|
|
12771
12802
|
|
|
12772
12803
|
)
|
|
@@ -43091,7 +43122,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".icon-dialog[data-v-c28e28c6] .el-dial
|
|
|
43091
43122
|
|
|
43092
43123
|
/***/ }),
|
|
43093
43124
|
|
|
43094
|
-
/***/
|
|
43125
|
+
/***/ 71368:
|
|
43095
43126
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
43096
43127
|
|
|
43097
43128
|
"use strict";
|
|
@@ -43105,7 +43136,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
43105
43136
|
|
|
43106
43137
|
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()));
|
|
43107
43138
|
// Module
|
|
43108
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".dwadmin-initmessage[data-v-
|
|
43139
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".dwadmin-initmessage[data-v-7411b67a]{text-align:center;font-size:13px;padding-top:50px}.panel-left[data-v-7411b67a] .el-input__inner{border-top:0;border-left:0;border-right:0}.el-switch[data-v-7411b67a]{margin:6px 12px}.can-merge-subsys[data-v-7411b67a]{border-top:1px solid #f3f3f3;height:calc(100% - 32px)}", ""]);
|
|
43109
43140
|
// Exports
|
|
43110
43141
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
43111
43142
|
|
|
@@ -137321,19 +137352,19 @@ var update = add("4ad1dad5", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
137321
137352
|
|
|
137322
137353
|
/***/ }),
|
|
137323
137354
|
|
|
137324
|
-
/***/
|
|
137355
|
+
/***/ 82452:
|
|
137325
137356
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
137326
137357
|
|
|
137327
137358
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
137328
137359
|
|
|
137329
137360
|
// load the styles
|
|
137330
|
-
var content = __webpack_require__(
|
|
137361
|
+
var content = __webpack_require__(71368);
|
|
137331
137362
|
if(content.__esModule) content = content.default;
|
|
137332
137363
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
137333
137364
|
if(content.locals) module.exports = content.locals;
|
|
137334
137365
|
// add the styles to the DOM
|
|
137335
137366
|
var add = (__webpack_require__(99548)/* ["default"] */ .A)
|
|
137336
|
-
var update = add("
|
|
137367
|
+
var update = add("3624b35e", content, true, {"sourceMap":false,"shadowMode":false});
|
|
137337
137368
|
|
|
137338
137369
|
/***/ }),
|
|
137339
137370
|
|
|
@@ -194158,7 +194189,7 @@ var ResRoles_RoleMgr = RoleMgr;
|
|
|
194158
194189
|
var ResRoles_UserPermissionSet = UserPermissionSet;
|
|
194159
194190
|
var ResRoles_RolePermissionSet = RolePermissionSet;
|
|
194160
194191
|
// EXTERNAL MODULE: ./packages/ecwplat/Module/index.js + 22 modules
|
|
194161
|
-
var Module = __webpack_require__(
|
|
194192
|
+
var Module = __webpack_require__(496);
|
|
194162
194193
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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/ecwplat/Organ/src/ImportPersonOrg.vue?vue&type=template&id=194b0447&scoped=true
|
|
194163
194194
|
var ImportPersonOrgvue_type_template_id_194b0447_scoped_true_render = function render() {
|
|
194164
194195
|
var _vm = this,
|