venus-design 1.1.21 → 1.1.24
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/dist/Config/api.d.ts +6 -0
- package/dist/Config/api.js +154 -118
- package/dist/DataView/index.js +0 -1
- package/dist/DataView/resizable/index.js +14 -5
- package/dist/Drawer/index.js +6 -3
- package/dist/ProForm/index.d.ts +14 -2
- package/dist/ProForm/index.js +122 -35
- package/dist/RadioAndInput/index.js +1 -0
- package/dist/SelectCompoments/SelectUserOrDeptBySeclevel/selectPanel/dept.js +4 -4
- package/dist/SelectCompoments/SelectUserOrDeptBySeclevel/selectPanel/user.js +19 -15
- package/dist/SelectCompoments/SelectUserOrDeptBySeclevel/styles.less +1 -0
- package/dist/VenusAdjust/index.js +8 -4
- package/dist/VenusAdjust/interface.d.ts +10 -9
- package/dist/VenusDesignCom/components/Form.js +1 -1
- package/dist/VenusDetail/handleVenusDetailFunctions.js +6 -4
- package/dist/VenusDetail/staticAttr.js +74 -26
- package/dist/VenusForm/VenusFormScriptEngine.d.ts +96 -0
- package/dist/VenusForm/VenusFormScriptEngine.js +207 -0
- package/dist/VenusForm/VenusFormScriptUtils.d.ts +7 -0
- package/dist/VenusForm/VenusFormScriptUtils.js +190 -0
- package/dist/VenusForm/index.js +226 -37
- package/dist/VenusForm/interface.d.ts +4 -2
- package/dist/VenusForm/staticAttr.d.ts +1 -0
- package/dist/VenusForm/staticAttr.js +90 -62
- package/dist/VenusTable/components/filterDrawer/index.js +6 -3
- package/dist/VenusTable/components/filterDrawer/staticAttr.js +5 -4
- package/dist/VenusTable/index.js +46 -39
- package/dist/VenusTable/staticAttr.js +16 -10
- package/dist/VenusTable/style.css +2 -6
- package/dist/VenusUploadSecLevel/index.js +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/Config/api.d.ts
CHANGED
|
@@ -42,6 +42,12 @@ export declare function getRoleList(data: any): Promise<any>;
|
|
|
42
42
|
export declare function getVenusAdjust(data: any): Promise<any>;
|
|
43
43
|
export declare function getColumnData(data: any): Promise<any>;
|
|
44
44
|
export declare function getFormData(data: any): Promise<any>;
|
|
45
|
+
/**
|
|
46
|
+
* 获取表单脚本
|
|
47
|
+
* @param data
|
|
48
|
+
* @returns
|
|
49
|
+
*/
|
|
50
|
+
export declare function getFormScripts(data: any): Promise<any>;
|
|
45
51
|
export declare function getDetailColumnData(data: any): Promise<any>;
|
|
46
52
|
export declare function getSecLevelDataList(data: any): Promise<any>;
|
|
47
53
|
export declare function getElementRules(data: any): Promise<any>;
|
package/dist/Config/api.js
CHANGED
|
@@ -4,6 +4,11 @@ var _excluded = ["pageSize", "current"],
|
|
|
4
4
|
_excluded3 = ["current", "size"];
|
|
5
5
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
6
6
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
7
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
8
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
9
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
10
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
11
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
12
|
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 new 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 new 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 new 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; }
|
|
8
13
|
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
|
|
9
14
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
@@ -568,8 +573,10 @@ export function getFormData(_x16) {
|
|
|
568
573
|
return _getFormData.apply(this, arguments);
|
|
569
574
|
}
|
|
570
575
|
|
|
571
|
-
|
|
572
|
-
*
|
|
576
|
+
/**
|
|
577
|
+
* 获取表单脚本
|
|
578
|
+
* @param data
|
|
579
|
+
* @returns
|
|
573
580
|
*/
|
|
574
581
|
function _getFormData() {
|
|
575
582
|
_getFormData = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee21(data) {
|
|
@@ -589,31 +596,60 @@ function _getFormData() {
|
|
|
589
596
|
}));
|
|
590
597
|
return _getFormData.apply(this, arguments);
|
|
591
598
|
}
|
|
592
|
-
export function
|
|
599
|
+
export function getFormScripts(_x17) {
|
|
600
|
+
return _getFormScripts.apply(this, arguments);
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
/*
|
|
604
|
+
* 获取详情显示
|
|
605
|
+
*/
|
|
606
|
+
function _getFormScripts() {
|
|
607
|
+
_getFormScripts = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee22(data) {
|
|
608
|
+
return _regeneratorRuntime().wrap(function _callee22$(_context22) {
|
|
609
|
+
while (1) switch (_context22.prev = _context22.next) {
|
|
610
|
+
case 0:
|
|
611
|
+
return _context22.abrupt("return", request("/systemmetadataformscript/list", {
|
|
612
|
+
method: 'post',
|
|
613
|
+
data: {
|
|
614
|
+
headFilterParams: _objectSpread({
|
|
615
|
+
dataSceneIid: "SystemMetadataFormScript_SCENE_DEFAULT"
|
|
616
|
+
}, data)
|
|
617
|
+
},
|
|
618
|
+
prefix: '/platform'
|
|
619
|
+
}));
|
|
620
|
+
case 1:
|
|
621
|
+
case "end":
|
|
622
|
+
return _context22.stop();
|
|
623
|
+
}
|
|
624
|
+
}, _callee22);
|
|
625
|
+
}));
|
|
626
|
+
return _getFormScripts.apply(this, arguments);
|
|
627
|
+
}
|
|
628
|
+
export function getDetailColumnData(_x18) {
|
|
593
629
|
return _getDetailColumnData.apply(this, arguments);
|
|
594
630
|
}
|
|
595
631
|
/*
|
|
596
632
|
* 获取密级列表
|
|
597
633
|
*/
|
|
598
634
|
function _getDetailColumnData() {
|
|
599
|
-
_getDetailColumnData = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function
|
|
600
|
-
return _regeneratorRuntime().wrap(function
|
|
601
|
-
while (1) switch (
|
|
635
|
+
_getDetailColumnData = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee23(data) {
|
|
636
|
+
return _regeneratorRuntime().wrap(function _callee23$(_context23) {
|
|
637
|
+
while (1) switch (_context23.prev = _context23.next) {
|
|
602
638
|
case 0:
|
|
603
|
-
return
|
|
639
|
+
return _context23.abrupt("return", request("/system/common/component/detail/columns", {
|
|
604
640
|
method: 'post',
|
|
605
641
|
data: data,
|
|
606
642
|
prefix: '/platform'
|
|
607
643
|
}));
|
|
608
644
|
case 1:
|
|
609
645
|
case "end":
|
|
610
|
-
return
|
|
646
|
+
return _context23.stop();
|
|
611
647
|
}
|
|
612
|
-
},
|
|
648
|
+
}, _callee23);
|
|
613
649
|
}));
|
|
614
650
|
return _getDetailColumnData.apply(this, arguments);
|
|
615
651
|
}
|
|
616
|
-
export function getSecLevelDataList(
|
|
652
|
+
export function getSecLevelDataList(_x19) {
|
|
617
653
|
return _getSecLevelDataList.apply(this, arguments);
|
|
618
654
|
}
|
|
619
655
|
|
|
@@ -621,26 +657,26 @@ export function getSecLevelDataList(_x18) {
|
|
|
621
657
|
* 获取流程节点规则
|
|
622
658
|
*/
|
|
623
659
|
function _getSecLevelDataList() {
|
|
624
|
-
_getSecLevelDataList = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function
|
|
660
|
+
_getSecLevelDataList = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee24(data) {
|
|
625
661
|
var pageSize, current, others;
|
|
626
|
-
return _regeneratorRuntime().wrap(function
|
|
627
|
-
while (1) switch (
|
|
662
|
+
return _regeneratorRuntime().wrap(function _callee24$(_context24) {
|
|
663
|
+
while (1) switch (_context24.prev = _context24.next) {
|
|
628
664
|
case 0:
|
|
629
665
|
pageSize = data.pageSize, current = data.current, others = _objectWithoutProperties(data, _excluded);
|
|
630
|
-
return
|
|
666
|
+
return _context24.abrupt("return", request("/seclevel/list?size=".concat(pageSize, "¤t=").concat(current), {
|
|
631
667
|
method: 'post',
|
|
632
668
|
data: others,
|
|
633
669
|
prefix: '/ssoApi'
|
|
634
670
|
}));
|
|
635
671
|
case 2:
|
|
636
672
|
case "end":
|
|
637
|
-
return
|
|
673
|
+
return _context24.stop();
|
|
638
674
|
}
|
|
639
|
-
},
|
|
675
|
+
}, _callee24);
|
|
640
676
|
}));
|
|
641
677
|
return _getSecLevelDataList.apply(this, arguments);
|
|
642
678
|
}
|
|
643
|
-
export function getElementRules(
|
|
679
|
+
export function getElementRules(_x20) {
|
|
644
680
|
return _getElementRules.apply(this, arguments);
|
|
645
681
|
}
|
|
646
682
|
/**
|
|
@@ -649,24 +685,24 @@ export function getElementRules(_x19) {
|
|
|
649
685
|
* @returns 流程表达式列表
|
|
650
686
|
*/
|
|
651
687
|
function _getElementRules() {
|
|
652
|
-
_getElementRules = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function
|
|
653
|
-
return _regeneratorRuntime().wrap(function
|
|
654
|
-
while (1) switch (
|
|
688
|
+
_getElementRules = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee25(data) {
|
|
689
|
+
return _regeneratorRuntime().wrap(function _callee25$(_context25) {
|
|
690
|
+
while (1) switch (_context25.prev = _context25.next) {
|
|
655
691
|
case 0:
|
|
656
|
-
return
|
|
692
|
+
return _context25.abrupt("return", request("/wfnoderules/list", {
|
|
657
693
|
method: 'post',
|
|
658
694
|
data: data,
|
|
659
695
|
prefix: '/workflow'
|
|
660
696
|
}));
|
|
661
697
|
case 1:
|
|
662
698
|
case "end":
|
|
663
|
-
return
|
|
699
|
+
return _context25.stop();
|
|
664
700
|
}
|
|
665
|
-
},
|
|
701
|
+
}, _callee25);
|
|
666
702
|
}));
|
|
667
703
|
return _getElementRules.apply(this, arguments);
|
|
668
704
|
}
|
|
669
|
-
export function getExpressionList(
|
|
705
|
+
export function getExpressionList(_x21) {
|
|
670
706
|
return _getExpressionList.apply(this, arguments);
|
|
671
707
|
}
|
|
672
708
|
|
|
@@ -674,24 +710,24 @@ export function getExpressionList(_x20) {
|
|
|
674
710
|
* 获取用户列表(根据密级查询)
|
|
675
711
|
*/
|
|
676
712
|
function _getExpressionList() {
|
|
677
|
-
_getExpressionList = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function
|
|
678
|
-
return _regeneratorRuntime().wrap(function
|
|
679
|
-
while (1) switch (
|
|
713
|
+
_getExpressionList = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee26(data) {
|
|
714
|
+
return _regeneratorRuntime().wrap(function _callee26$(_context26) {
|
|
715
|
+
while (1) switch (_context26.prev = _context26.next) {
|
|
680
716
|
case 0:
|
|
681
|
-
return
|
|
717
|
+
return _context26.abrupt("return", request("/wfprocessdefinition/expression/list", {
|
|
682
718
|
method: 'post',
|
|
683
719
|
data: data,
|
|
684
720
|
prefix: '/workflow'
|
|
685
721
|
}));
|
|
686
722
|
case 1:
|
|
687
723
|
case "end":
|
|
688
|
-
return
|
|
724
|
+
return _context26.stop();
|
|
689
725
|
}
|
|
690
|
-
},
|
|
726
|
+
}, _callee26);
|
|
691
727
|
}));
|
|
692
728
|
return _getExpressionList.apply(this, arguments);
|
|
693
729
|
}
|
|
694
|
-
export function getUserListBySecLevelId(
|
|
730
|
+
export function getUserListBySecLevelId(_x22, _x23, _x24) {
|
|
695
731
|
return _getUserListBySecLevelId.apply(this, arguments);
|
|
696
732
|
}
|
|
697
733
|
|
|
@@ -699,44 +735,44 @@ export function getUserListBySecLevelId(_x21, _x22, _x23) {
|
|
|
699
735
|
* 根据type获取字典项
|
|
700
736
|
*/
|
|
701
737
|
function _getUserListBySecLevelId() {
|
|
702
|
-
_getUserListBySecLevelId = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function
|
|
738
|
+
_getUserListBySecLevelId = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee27(secId, type, data) {
|
|
703
739
|
var current, size, others;
|
|
704
|
-
return _regeneratorRuntime().wrap(function
|
|
705
|
-
while (1) switch (
|
|
740
|
+
return _regeneratorRuntime().wrap(function _callee27$(_context27) {
|
|
741
|
+
while (1) switch (_context27.prev = _context27.next) {
|
|
706
742
|
case 0:
|
|
707
743
|
current = data.current, size = data.size, others = _objectWithoutProperties(data, _excluded2);
|
|
708
|
-
return
|
|
744
|
+
return _context27.abrupt("return", request("/user/list/".concat(secId, "/").concat(type, "?current=").concat(current, "&size=").concat(size), {
|
|
709
745
|
method: 'post',
|
|
710
746
|
data: others,
|
|
711
747
|
prefix: '/ssoApi'
|
|
712
748
|
}));
|
|
713
749
|
case 2:
|
|
714
750
|
case "end":
|
|
715
|
-
return
|
|
751
|
+
return _context27.stop();
|
|
716
752
|
}
|
|
717
|
-
},
|
|
753
|
+
}, _callee27);
|
|
718
754
|
}));
|
|
719
755
|
return _getUserListBySecLevelId.apply(this, arguments);
|
|
720
756
|
}
|
|
721
|
-
export function getDictItemByType(
|
|
757
|
+
export function getDictItemByType(_x25) {
|
|
722
758
|
return _getDictItemByType.apply(this, arguments);
|
|
723
759
|
}
|
|
724
760
|
/*
|
|
725
761
|
* 获取流程定义列表
|
|
726
762
|
*/
|
|
727
763
|
function _getDictItemByType() {
|
|
728
|
-
_getDictItemByType = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function
|
|
729
|
-
return _regeneratorRuntime().wrap(function
|
|
730
|
-
while (1) switch (
|
|
764
|
+
_getDictItemByType = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee28(type) {
|
|
765
|
+
return _regeneratorRuntime().wrap(function _callee28$(_context28) {
|
|
766
|
+
while (1) switch (_context28.prev = _context28.next) {
|
|
731
767
|
case 0:
|
|
732
|
-
return
|
|
768
|
+
return _context28.abrupt("return", request("/dict/type/".concat(type), {
|
|
733
769
|
method: 'get'
|
|
734
770
|
}));
|
|
735
771
|
case 1:
|
|
736
772
|
case "end":
|
|
737
|
-
return
|
|
773
|
+
return _context28.stop();
|
|
738
774
|
}
|
|
739
|
-
},
|
|
775
|
+
}, _callee28);
|
|
740
776
|
}));
|
|
741
777
|
return _getDictItemByType.apply(this, arguments);
|
|
742
778
|
}
|
|
@@ -748,19 +784,19 @@ export function getDataListBase() {
|
|
|
748
784
|
* 获取表单定义列表树形
|
|
749
785
|
*/
|
|
750
786
|
function _getDataListBase() {
|
|
751
|
-
_getDataListBase = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function
|
|
752
|
-
return _regeneratorRuntime().wrap(function
|
|
753
|
-
while (1) switch (
|
|
787
|
+
_getDataListBase = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee29() {
|
|
788
|
+
return _regeneratorRuntime().wrap(function _callee29$(_context29) {
|
|
789
|
+
while (1) switch (_context29.prev = _context29.next) {
|
|
754
790
|
case 0:
|
|
755
|
-
return
|
|
791
|
+
return _context29.abrupt("return", request("/wfprocessbaseinfo/baseinfo/list/-1", {
|
|
756
792
|
method: 'get',
|
|
757
793
|
prefix: '/workflow'
|
|
758
794
|
}));
|
|
759
795
|
case 1:
|
|
760
796
|
case "end":
|
|
761
|
-
return
|
|
797
|
+
return _context29.stop();
|
|
762
798
|
}
|
|
763
|
-
},
|
|
799
|
+
}, _callee29);
|
|
764
800
|
}));
|
|
765
801
|
return _getDataListBase.apply(this, arguments);
|
|
766
802
|
}
|
|
@@ -772,34 +808,34 @@ export function getDataListTable() {
|
|
|
772
808
|
* 获取显示列详情
|
|
773
809
|
*/
|
|
774
810
|
function _getDataListTable() {
|
|
775
|
-
_getDataListTable = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function
|
|
776
|
-
return _regeneratorRuntime().wrap(function
|
|
777
|
-
while (1) switch (
|
|
811
|
+
_getDataListTable = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee30() {
|
|
812
|
+
return _regeneratorRuntime().wrap(function _callee30$(_context30) {
|
|
813
|
+
while (1) switch (_context30.prev = _context30.next) {
|
|
778
814
|
case 0:
|
|
779
|
-
return
|
|
815
|
+
return _context30.abrupt("return", request("/systemwfprocessclassification/listAndDefine", {
|
|
780
816
|
method: 'get',
|
|
781
817
|
prefix: '/workflow'
|
|
782
818
|
}));
|
|
783
819
|
case 1:
|
|
784
820
|
case "end":
|
|
785
|
-
return
|
|
821
|
+
return _context30.stop();
|
|
786
822
|
}
|
|
787
|
-
},
|
|
823
|
+
}, _callee30);
|
|
788
824
|
}));
|
|
789
825
|
return _getDataListTable.apply(this, arguments);
|
|
790
826
|
}
|
|
791
|
-
export function SelectBysceneIdAndCreateBy(
|
|
827
|
+
export function SelectBysceneIdAndCreateBy(_x26) {
|
|
792
828
|
return _SelectBysceneIdAndCreateBy.apply(this, arguments);
|
|
793
829
|
}
|
|
794
830
|
/*
|
|
795
831
|
* 获取用户列表
|
|
796
832
|
*/
|
|
797
833
|
function _SelectBysceneIdAndCreateBy() {
|
|
798
|
-
_SelectBysceneIdAndCreateBy = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function
|
|
799
|
-
return _regeneratorRuntime().wrap(function
|
|
800
|
-
while (1) switch (
|
|
834
|
+
_SelectBysceneIdAndCreateBy = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee31(pathName) {
|
|
835
|
+
return _regeneratorRuntime().wrap(function _callee31$(_context31) {
|
|
836
|
+
while (1) switch (_context31.prev = _context31.next) {
|
|
801
837
|
case 0:
|
|
802
|
-
return
|
|
838
|
+
return _context31.abrupt("return", request("/ssoviewcolumn/allList", {
|
|
803
839
|
method: 'post',
|
|
804
840
|
data: {
|
|
805
841
|
pathName: pathName
|
|
@@ -808,13 +844,13 @@ function _SelectBysceneIdAndCreateBy() {
|
|
|
808
844
|
}));
|
|
809
845
|
case 1:
|
|
810
846
|
case "end":
|
|
811
|
-
return
|
|
847
|
+
return _context31.stop();
|
|
812
848
|
}
|
|
813
|
-
},
|
|
849
|
+
}, _callee31);
|
|
814
850
|
}));
|
|
815
851
|
return _SelectBysceneIdAndCreateBy.apply(this, arguments);
|
|
816
852
|
}
|
|
817
|
-
export function getUserList(
|
|
853
|
+
export function getUserList(_x27) {
|
|
818
854
|
return _getUserList.apply(this, arguments);
|
|
819
855
|
}
|
|
820
856
|
|
|
@@ -823,22 +859,22 @@ export function getUserList(_x26) {
|
|
|
823
859
|
* @returns
|
|
824
860
|
*/
|
|
825
861
|
function _getUserList() {
|
|
826
|
-
_getUserList = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function
|
|
862
|
+
_getUserList = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee32(data) {
|
|
827
863
|
var current, size, others;
|
|
828
|
-
return _regeneratorRuntime().wrap(function
|
|
829
|
-
while (1) switch (
|
|
864
|
+
return _regeneratorRuntime().wrap(function _callee32$(_context32) {
|
|
865
|
+
while (1) switch (_context32.prev = _context32.next) {
|
|
830
866
|
case 0:
|
|
831
867
|
current = data.current, size = data.size, others = _objectWithoutProperties(data, _excluded3);
|
|
832
|
-
return
|
|
868
|
+
return _context32.abrupt("return", request("/user/list?current=".concat(current, "&size=").concat(size), {
|
|
833
869
|
method: 'post',
|
|
834
870
|
data: others,
|
|
835
871
|
prefix: '/ssoApi'
|
|
836
872
|
}));
|
|
837
873
|
case 2:
|
|
838
874
|
case "end":
|
|
839
|
-
return
|
|
875
|
+
return _context32.stop();
|
|
840
876
|
}
|
|
841
|
-
},
|
|
877
|
+
}, _callee32);
|
|
842
878
|
}));
|
|
843
879
|
return _getUserList.apply(this, arguments);
|
|
844
880
|
}
|
|
@@ -851,46 +887,46 @@ export function getAppByUser() {
|
|
|
851
887
|
* data:dto
|
|
852
888
|
*/
|
|
853
889
|
function _getAppByUser() {
|
|
854
|
-
_getAppByUser = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function
|
|
855
|
-
return _regeneratorRuntime().wrap(function
|
|
856
|
-
while (1) switch (
|
|
890
|
+
_getAppByUser = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee33() {
|
|
891
|
+
return _regeneratorRuntime().wrap(function _callee33$(_context33) {
|
|
892
|
+
while (1) switch (_context33.prev = _context33.next) {
|
|
857
893
|
case 0:
|
|
858
|
-
return
|
|
894
|
+
return _context33.abrupt("return", request("/user/apps", {
|
|
859
895
|
method: 'get'
|
|
860
896
|
}));
|
|
861
897
|
case 1:
|
|
862
898
|
case "end":
|
|
863
|
-
return
|
|
899
|
+
return _context33.stop();
|
|
864
900
|
}
|
|
865
|
-
},
|
|
901
|
+
}, _callee33);
|
|
866
902
|
}));
|
|
867
903
|
return _getAppByUser.apply(this, arguments);
|
|
868
904
|
}
|
|
869
|
-
export function listAppData(
|
|
905
|
+
export function listAppData(_x28) {
|
|
870
906
|
return _listAppData.apply(this, arguments);
|
|
871
907
|
}
|
|
872
908
|
/**
|
|
873
909
|
*流程跟踪
|
|
874
910
|
*/
|
|
875
911
|
function _listAppData() {
|
|
876
|
-
_listAppData = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function
|
|
877
|
-
return _regeneratorRuntime().wrap(function
|
|
878
|
-
while (1) switch (
|
|
912
|
+
_listAppData = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee34(data) {
|
|
913
|
+
return _regeneratorRuntime().wrap(function _callee34$(_context34) {
|
|
914
|
+
while (1) switch (_context34.prev = _context34.next) {
|
|
879
915
|
case 0:
|
|
880
|
-
return
|
|
916
|
+
return _context34.abrupt("return", request("/system/app/list", {
|
|
881
917
|
method: 'post',
|
|
882
918
|
data: data,
|
|
883
919
|
prefix: '/platform'
|
|
884
920
|
}));
|
|
885
921
|
case 1:
|
|
886
922
|
case "end":
|
|
887
|
-
return
|
|
923
|
+
return _context34.stop();
|
|
888
924
|
}
|
|
889
|
-
},
|
|
925
|
+
}, _callee34);
|
|
890
926
|
}));
|
|
891
927
|
return _listAppData.apply(this, arguments);
|
|
892
928
|
}
|
|
893
|
-
export function Wftrack(
|
|
929
|
+
export function Wftrack(_x29) {
|
|
894
930
|
return _Wftrack.apply(this, arguments);
|
|
895
931
|
}
|
|
896
932
|
/**
|
|
@@ -899,23 +935,23 @@ export function Wftrack(_x28) {
|
|
|
899
935
|
* @returns
|
|
900
936
|
*/
|
|
901
937
|
function _Wftrack() {
|
|
902
|
-
_Wftrack = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function
|
|
903
|
-
return _regeneratorRuntime().wrap(function
|
|
904
|
-
while (1) switch (
|
|
938
|
+
_Wftrack = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee35(processInstanceId) {
|
|
939
|
+
return _regeneratorRuntime().wrap(function _callee35$(_context35) {
|
|
940
|
+
while (1) switch (_context35.prev = _context35.next) {
|
|
905
941
|
case 0:
|
|
906
|
-
return
|
|
942
|
+
return _context35.abrupt("return", request("/wftodotask/wftrack?processInstanceId=".concat(processInstanceId), {
|
|
907
943
|
method: 'post',
|
|
908
944
|
prefix: '/workflow'
|
|
909
945
|
}));
|
|
910
946
|
case 1:
|
|
911
947
|
case "end":
|
|
912
|
-
return
|
|
948
|
+
return _context35.stop();
|
|
913
949
|
}
|
|
914
|
-
},
|
|
950
|
+
}, _callee35);
|
|
915
951
|
}));
|
|
916
952
|
return _Wftrack.apply(this, arguments);
|
|
917
953
|
}
|
|
918
|
-
export function getSecByUserSecId(
|
|
954
|
+
export function getSecByUserSecId(_x30) {
|
|
919
955
|
return _getSecByUserSecId.apply(this, arguments);
|
|
920
956
|
}
|
|
921
957
|
|
|
@@ -923,34 +959,34 @@ export function getSecByUserSecId(_x29) {
|
|
|
923
959
|
* 根据表单标识查询表单绘制项列表
|
|
924
960
|
*/
|
|
925
961
|
function _getSecByUserSecId() {
|
|
926
|
-
_getSecByUserSecId = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function
|
|
927
|
-
return _regeneratorRuntime().wrap(function
|
|
928
|
-
while (1) switch (
|
|
962
|
+
_getSecByUserSecId = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee36(secId) {
|
|
963
|
+
return _regeneratorRuntime().wrap(function _callee36$(_context36) {
|
|
964
|
+
while (1) switch (_context36.prev = _context36.next) {
|
|
929
965
|
case 0:
|
|
930
|
-
return
|
|
966
|
+
return _context36.abrupt("return", request("/seclevelbyUserSecId/".concat(secId), {
|
|
931
967
|
method: 'get',
|
|
932
968
|
prefix: '/ssoApi'
|
|
933
969
|
}));
|
|
934
970
|
case 1:
|
|
935
971
|
case "end":
|
|
936
|
-
return
|
|
972
|
+
return _context36.stop();
|
|
937
973
|
}
|
|
938
|
-
},
|
|
974
|
+
}, _callee36);
|
|
939
975
|
}));
|
|
940
976
|
return _getSecByUserSecId.apply(this, arguments);
|
|
941
977
|
}
|
|
942
|
-
export function getFormDesignList(
|
|
978
|
+
export function getFormDesignList(_x31) {
|
|
943
979
|
return _getFormDesignList.apply(this, arguments);
|
|
944
980
|
}
|
|
945
981
|
/*
|
|
946
982
|
* 退出登录
|
|
947
983
|
*/
|
|
948
984
|
function _getFormDesignList() {
|
|
949
|
-
_getFormDesignList = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function
|
|
950
|
-
return _regeneratorRuntime().wrap(function
|
|
951
|
-
while (1) switch (
|
|
985
|
+
_getFormDesignList = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee37(id) {
|
|
986
|
+
return _regeneratorRuntime().wrap(function _callee37$(_context37) {
|
|
987
|
+
while (1) switch (_context37.prev = _context37.next) {
|
|
952
988
|
case 0:
|
|
953
|
-
return
|
|
989
|
+
return _context37.abrupt("return", request("/wfformdesignitem/list", {
|
|
954
990
|
method: 'post',
|
|
955
991
|
data: {
|
|
956
992
|
id: id
|
|
@@ -959,37 +995,37 @@ function _getFormDesignList() {
|
|
|
959
995
|
}));
|
|
960
996
|
case 1:
|
|
961
997
|
case "end":
|
|
962
|
-
return
|
|
998
|
+
return _context37.stop();
|
|
963
999
|
}
|
|
964
|
-
},
|
|
1000
|
+
}, _callee37);
|
|
965
1001
|
}));
|
|
966
1002
|
return _getFormDesignList.apply(this, arguments);
|
|
967
1003
|
}
|
|
968
|
-
export function loginOutService(
|
|
1004
|
+
export function loginOutService(_x32) {
|
|
969
1005
|
return _loginOutService.apply(this, arguments);
|
|
970
1006
|
}
|
|
971
1007
|
/*
|
|
972
1008
|
* 修改密码
|
|
973
1009
|
*/
|
|
974
1010
|
function _loginOutService() {
|
|
975
|
-
_loginOutService = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function
|
|
976
|
-
return _regeneratorRuntime().wrap(function
|
|
977
|
-
while (1) switch (
|
|
1011
|
+
_loginOutService = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee38(params) {
|
|
1012
|
+
return _regeneratorRuntime().wrap(function _callee38$(_context38) {
|
|
1013
|
+
while (1) switch (_context38.prev = _context38.next) {
|
|
978
1014
|
case 0:
|
|
979
|
-
return
|
|
1015
|
+
return _context38.abrupt("return", request("/user/logout", {
|
|
980
1016
|
method: 'get',
|
|
981
1017
|
prefix: '/loginApi',
|
|
982
1018
|
params: params
|
|
983
1019
|
}));
|
|
984
1020
|
case 1:
|
|
985
1021
|
case "end":
|
|
986
|
-
return
|
|
1022
|
+
return _context38.stop();
|
|
987
1023
|
}
|
|
988
|
-
},
|
|
1024
|
+
}, _callee38);
|
|
989
1025
|
}));
|
|
990
1026
|
return _loginOutService.apply(this, arguments);
|
|
991
1027
|
}
|
|
992
|
-
export function onChangePassword(
|
|
1028
|
+
export function onChangePassword(_x33) {
|
|
993
1029
|
return _onChangePassword.apply(this, arguments);
|
|
994
1030
|
}
|
|
995
1031
|
|
|
@@ -998,19 +1034,19 @@ export function onChangePassword(_x32) {
|
|
|
998
1034
|
* 返回的data中有两个字段{data:模板字段列表,spreadjson:"整个工作表的json字符串"}
|
|
999
1035
|
*/
|
|
1000
1036
|
function _onChangePassword() {
|
|
1001
|
-
_onChangePassword = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function
|
|
1002
|
-
return _regeneratorRuntime().wrap(function
|
|
1003
|
-
while (1) switch (
|
|
1037
|
+
_onChangePassword = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee39(data) {
|
|
1038
|
+
return _regeneratorRuntime().wrap(function _callee39$(_context39) {
|
|
1039
|
+
while (1) switch (_context39.prev = _context39.next) {
|
|
1004
1040
|
case 0:
|
|
1005
|
-
return
|
|
1041
|
+
return _context39.abrupt("return", request("/user/password", {
|
|
1006
1042
|
method: 'put',
|
|
1007
1043
|
data: data
|
|
1008
1044
|
}));
|
|
1009
1045
|
case 1:
|
|
1010
1046
|
case "end":
|
|
1011
|
-
return
|
|
1047
|
+
return _context39.stop();
|
|
1012
1048
|
}
|
|
1013
|
-
},
|
|
1049
|
+
}, _callee39);
|
|
1014
1050
|
}));
|
|
1015
1051
|
return _onChangePassword.apply(this, arguments);
|
|
1016
1052
|
}
|