@zgfe/modules-settings 2.1.0-zhongyuan.3 → 2.1.0-zhongyuan.31

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.
Files changed (38) hide show
  1. package/es/components/importMetaDialog/index.d.ts +2 -0
  2. package/es/components/importMetaDialog/index.js +18 -3
  3. package/es/constants/api.d.ts +6 -0
  4. package/es/constants/api.js +17 -8
  5. package/es/modules/appSettings/dataAccessFilter/index.js +2 -1
  6. package/es/modules/companySetting/application/applicationForm.d.ts +1 -0
  7. package/es/modules/companySetting/application/applicationForm.js +34 -4
  8. package/es/modules/companySetting/application/index.js +5 -6
  9. package/es/modules/companySetting/application/index.less +144 -144
  10. package/es/modules/companySetting/index.js +37 -33
  11. package/es/modules/companySetting/operationLog/index.js +22 -5
  12. package/es/modules/companySetting/user/index.js +29 -24
  13. package/es/modules/companySetting/user/invite.js +28 -100
  14. package/es/modules/createDemand/demo/selectPoint.js +1 -2
  15. package/es/modules/createDemand/index.js +7 -6
  16. package/es/modules/createDemand/styles/index.less +403 -403
  17. package/es/modules/createDemand_bf/demo/index.js +0 -1
  18. package/es/modules/createDemand_bf/index.js +0 -1
  19. package/es/modules/dealDemand/demo/index.js +0 -1
  20. package/es/modules/dealDemand/demo/selectPoint.js +1 -1
  21. package/es/modules/dealDemand/index.js +0 -2
  22. package/es/modules/demandManage/index.js +0 -1
  23. package/es/modules/demandManage/styles/index.less +155 -155
  24. package/es/modules/pointMap/createMetaDrawer.js +166 -84
  25. package/es/modules/pointMap/pageInfo.js +40 -19
  26. package/es/modules/pointMap/styles/index.less +8 -0
  27. package/es/modules/pointMap/styles/tree.css +164 -145
  28. package/es/modules/pointMap/styles/tree.less +174 -156
  29. package/es/modules/pointMap/tree.js +196 -118
  30. package/es/modules/systemSetting/dictionaryItem/dictionaryManagement/create.js +5 -4
  31. package/es/modules/systemSetting/dictionaryItem/dictionaryManagement/css/index.less +48 -48
  32. package/es/modules/systemSetting/dictionaryItem/dictionaryManagement/index.js +3 -2
  33. package/es/modules/systemSetting/dictionaryItem/eventTagManagement/create.js +7 -9
  34. package/es/modules/systemSetting/dictionaryItem/eventTagManagement/index.js +29 -16
  35. package/es/modules/systemSetting/dictionaryItem/eventTagManagement/type/index.d.ts +1 -1
  36. package/es/modules/systemSetting/document-setting/index.js +7 -6
  37. package/es/modules/systemSetting/index.js +13 -15
  38. package/package.json +3 -3
@@ -1,10 +1,10 @@
1
1
  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); }
2
- 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; }
3
2
  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; }
4
3
  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; }
5
4
  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
6
5
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
7
6
  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
+ 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; }
8
8
  function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
9
9
  function _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
10
10
  function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
@@ -23,6 +23,8 @@ import React, { useContext, useEffect, useState } from 'react';
23
23
  import _ from 'lodash';
24
24
  import BizEditText from './editTxt';
25
25
  import './styles/index.less';
26
+ import request from '../../utils/ajax';
27
+ import apis from '../../constants/api';
26
28
  var CreateMeta = function CreateMeta(props) {
27
29
  var classPrefix = 'setting-create-meta-drawer';
28
30
  var _useContext = useContext(BizGlobalDataContext),
@@ -66,6 +68,11 @@ var CreateMeta = function CreateMeta(props) {
66
68
  setHomeType(props.isEdit ? 'update' : 'get');
67
69
  initData(props.data);
68
70
  } else {
71
+ form.resetFields(); // 重置表单数据
72
+ setEventAttrList([]);
73
+ setTriTagInput(undefined);
74
+ setTriTagId(undefined);
75
+ setInputText('');
69
76
  setHomeType('create');
70
77
  }
71
78
  }
@@ -74,8 +81,10 @@ var CreateMeta = function CreateMeta(props) {
74
81
  form.setFieldsValue({
75
82
  aliasName: data.aliasName,
76
83
  eventName: data.eventName,
77
- triggeringOccasion: data.triggeringOccasion
84
+ businessLabelId: data.businessLabelId
78
85
  });
86
+ setTriTagInput(data.triggeringOccasion);
87
+ setTriTagId(data.triggerLabelId);
79
88
  setInputText(data.eventName);
80
89
  if (data.eventAttrList) {
81
90
  setEventAttrList(_toConsumableArray(data.eventAttrList));
@@ -111,43 +120,40 @@ var CreateMeta = function CreateMeta(props) {
111
120
  });
112
121
  return _context.abrupt("return");
113
122
  case 11:
114
- //吧参数传递给主页面
123
+ //把参数传递给主页面
115
124
  if (props.onSubmit) {
116
125
  if (props.data) {
117
- props.onSubmit(_objectSpread(_objectSpread({}, props.data), {}, {
126
+ props.onSubmit({
127
+ eventName: values.eventName,
128
+ aliasName: values.aliasName,
129
+ triggeringOccasion: triTagInput,
130
+ businessLabelId: values.businessLabelId,
131
+ triggerLabelId: triTagId,
132
+ businessLabel: bizTag.filter(function (res) {
133
+ return res.value == values.businessLabelId;
134
+ })[0],
135
+ triggerLabel: triTag.filter(function (res) {
136
+ return res.value == triTagId;
137
+ })[0],
118
138
  eventAttrList: eventAttrList
119
- }), 'update');
139
+ }, 'update');
120
140
  } else {
121
141
  props.onSubmit({
122
142
  eventName: values.eventName,
123
143
  aliasName: values.aliasName,
124
- triggeringOccasion: values.triggeringOccasion,
125
- del: 1,
126
- eventAttrList: eventAttrList
144
+ triggeringOccasion: triTagInput,
145
+ eventAttrList: eventAttrList,
146
+ businessLabelId: values.businessLabelId,
147
+ triggerLabelId: triTagId,
148
+ businessLabel: bizTag.filter(function (res) {
149
+ return res.value == values.businessLabelId;
150
+ })[0],
151
+ triggerLabel: triTag.filter(function (res) {
152
+ return res.value == triTagId;
153
+ })[0]
127
154
  }, 'create');
128
155
  }
129
156
  }
130
- // request<any>(apis.createEvent, {
131
- // method: 'POST',
132
- // data: {
133
- // app_id: currentApp?.appId,
134
- // eventName: values.eventName,
135
- // aliasName: values.aliasName,
136
- // triggeringOccasion: values.triggeringOccasion,
137
- // eventAttrList,
138
- // },
139
- // }).then((res) => {
140
- // if (res?.code === '100000') {
141
- // notification.success({
142
- // message: '保存成功',
143
- // });
144
- // props.onSubmit && props.onSubmit();
145
- // } else {
146
- // notification.error({
147
- // message: '保存失败',
148
- // });
149
- // }
150
- // });
151
157
  _context.next = 17;
152
158
  break;
153
159
  case 14:
@@ -179,6 +185,10 @@ var CreateMeta = function CreateMeta(props) {
179
185
  _useState14 = _slicedToArray(_useState13, 2),
180
186
  encryption_type = _useState14[0],
181
187
  setEncryptionType = _useState14[1];
188
+ var _useState15 = useState(''),
189
+ _useState16 = _slicedToArray(_useState15, 2),
190
+ hasEventName = _useState16[0],
191
+ setHasEventName = _useState16[1]; // input状态 error|""
182
192
  var columns = [{
183
193
  title: '序号',
184
194
  dataIndex: 'event_name',
@@ -202,14 +212,25 @@ var CreateMeta = function CreateMeta(props) {
202
212
  style: {
203
213
  margin: '-10px 0'
204
214
  }
205
- }, /*#__PURE__*/React.createElement(BizEditText, {
206
- canEdit: homeType != 'get',
207
- value: text,
208
- max: 128,
215
+ }, /*#__PURE__*/React.createElement(Input, {
216
+ disabled: homeType == 'get',
209
217
  placeholder: '请输入事件属性名',
218
+ value: text,
219
+ showCount: true,
220
+ status: hasEventName,
221
+ maxLength: 128,
210
222
  onChange: function onChange(e) {
211
223
  setIsChange(true);
212
- changeItemInfo(index, 'name', e);
224
+ changeItemInfo(index, 'name', e.target.value);
225
+ },
226
+ onBlur: function onBlur(e) {
227
+ if (!e.target.value) return;
228
+ var valueEventName = e.target.value;
229
+ var name = eventAttrList.find(function (o) {
230
+ return o.attr_name == valueEventName;
231
+ });
232
+ setHasEventName(name ? 'error' : '');
233
+ name && message.error('事件名称不能重复');
213
234
  }
214
235
  }));
215
236
  }
@@ -275,10 +296,10 @@ var CreateMeta = function CreateMeta(props) {
275
296
  label: '日期'
276
297
  }]
277
298
  }))),
278
- dataIndex: 'type',
279
- key: 'type',
299
+ dataIndex: 'prop_type',
300
+ key: 'prop_type',
280
301
  width: 148,
281
- render: function render(type, record, index) {
302
+ render: function render(prop_type, record, index) {
282
303
  return /*#__PURE__*/React.createElement("div", {
283
304
  className: "".concat(classPrefix, "-content-select")
284
305
  }, /*#__PURE__*/React.createElement(Select
@@ -289,7 +310,7 @@ var CreateMeta = function CreateMeta(props) {
289
310
  width: 120,
290
311
  margin: '-10px 0'
291
312
  },
292
- value: type,
313
+ value: prop_type,
293
314
  suffixIcon: /*#__PURE__*/React.createElement(IconFont, {
294
315
  type: "xiangxia",
295
316
  style: {
@@ -353,14 +374,14 @@ var CreateMeta = function CreateMeta(props) {
353
374
  label: '全加密'
354
375
  }]
355
376
  }))),
356
- dataIndex: 'encryptionType',
357
- key: 'encryptionType',
377
+ dataIndex: 'encryption_type',
378
+ key: 'encryption_type',
358
379
  width: 148,
359
- render: function render(encryptionType, record, index) {
380
+ render: function render(encryption_type, record, index) {
360
381
  return /*#__PURE__*/React.createElement("div", {
361
382
  className: "".concat(classPrefix, "-content-select")
362
383
  }, /*#__PURE__*/React.createElement(Select, {
363
- value: encryptionType,
384
+ value: encryption_type,
364
385
  style: {
365
386
  width: 120,
366
387
  margin: '-10px 0'
@@ -403,10 +424,10 @@ var CreateMeta = function CreateMeta(props) {
403
424
  }, "\u5220\u9664");
404
425
  }
405
426
  });
406
- var _useState15 = useState(''),
407
- _useState16 = _slicedToArray(_useState15, 2),
408
- scrollY = _useState16[0],
409
- setScrollY = _useState16[1];
427
+ var _useState17 = useState(''),
428
+ _useState18 = _slicedToArray(_useState17, 2),
429
+ scrollY = _useState18[0],
430
+ setScrollY = _useState18[1];
410
431
  var getTableScroll = function getTableScroll(extraHeight, id) {
411
432
  if (typeof extraHeight == 'undefined') {
412
433
  // 默认底部分页64 + 边距10
@@ -433,6 +454,8 @@ var CreateMeta = function CreateMeta(props) {
433
454
  useEffect(function () {
434
455
  var _Y = getTableScroll(545, 'dataManageCreateMetaTable');
435
456
  setScrollY(_Y);
457
+ getTagList(2);
458
+ getTagList(3);
436
459
  }, []);
437
460
  var onClose = function onClose() {
438
461
  if (isChange) {
@@ -445,6 +468,23 @@ var CreateMeta = function CreateMeta(props) {
445
468
  var changeSwitch = function changeSwitch(event) {
446
469
  setIsCopy(event);
447
470
  };
471
+ // 根据事件id获取属性列表
472
+ function getEventIdAttrList(id) {
473
+ request(apis.getEventAttributes, {
474
+ method: 'post',
475
+ data: {
476
+ appId: currentApp === null || currentApp === void 0 ? void 0 : currentApp.appId,
477
+ eventId: id
478
+ }
479
+ }).then(function (res) {
480
+ setEventAttrList(_toConsumableArray(res.data.map(function (item) {
481
+ return _objectSpread(_objectSpread({}, item), {}, {
482
+ aliasName: item.alias_name,
483
+ name: item.attr_name
484
+ });
485
+ })));
486
+ });
487
+ }
448
488
  var onChangeEvent = function onChangeEvent(_ref2) {
449
489
  var event = _ref2.event;
450
490
  form.setFieldsValue({
@@ -452,20 +492,60 @@ var CreateMeta = function CreateMeta(props) {
452
492
  eventName: event.name
453
493
  });
454
494
  setInputText(event.name);
455
- if (event.attrList) {
456
- setEventAttrList(_toConsumableArray(event.attrList.map(function (res) {
457
- return _objectSpread(_objectSpread({}, res), {}, {
458
- aliasName: res.alias,
459
- name: res.label
460
- });
461
- })));
462
- }
495
+ getEventIdAttrList(event.id);
496
+ };
497
+ //标签列表数据 2:业务标签 3:触发标签
498
+ var _useState19 = useState([]),
499
+ _useState20 = _slicedToArray(_useState19, 2),
500
+ bizTag = _useState20[0],
501
+ setBizTag = _useState20[1];
502
+ var _useState21 = useState(),
503
+ _useState22 = _slicedToArray(_useState21, 2),
504
+ triTagInput = _useState22[0],
505
+ setTriTagInput = _useState22[1]; // 触发时机
506
+ var _useState23 = useState([]),
507
+ _useState24 = _slicedToArray(_useState23, 2),
508
+ triTag = _useState24[0],
509
+ setTriTag = _useState24[1];
510
+ var _useState25 = useState(),
511
+ _useState26 = _slicedToArray(_useState25, 2),
512
+ triTagId = _useState26[0],
513
+ setTriTagId = _useState26[1];
514
+ var getTagList = function getTagList(type) {
515
+ request(apis.dict.getTagList, {
516
+ method: 'post',
517
+ data: {
518
+ appId: currentApp === null || currentApp === void 0 ? void 0 : currentApp.appId,
519
+ labelType: type
520
+ }
521
+ }).then(function (res) {
522
+ if (res && res.code == '100000') {
523
+ switch (type) {
524
+ case 2:
525
+ setBizTag(res.data.map(function (res) {
526
+ return {
527
+ labelName: res.labelName,
528
+ id: res.id
529
+ };
530
+ }));
531
+ break;
532
+ case 3:
533
+ setTriTag(res.data.map(function (res) {
534
+ return {
535
+ labelName: res.labelName,
536
+ id: res.id
537
+ };
538
+ }));
539
+ break;
540
+ }
541
+ }
542
+ });
463
543
  };
464
544
  // 自定义验证规则
465
- var _useState17 = useState(''),
466
- _useState18 = _slicedToArray(_useState17, 2),
467
- inputText = _useState18[0],
468
- setInputText = _useState18[1];
545
+ var _useState27 = useState(''),
546
+ _useState28 = _slicedToArray(_useState27, 2),
547
+ inputText = _useState28[0],
548
+ setInputText = _useState28[1];
469
549
  // true 验证通过
470
550
  var validateContainsUnderscore = function validateContainsUnderscore(value) {
471
551
  if (!isChange) {
@@ -502,7 +582,7 @@ var CreateMeta = function CreateMeta(props) {
502
582
  initialValues: {
503
583
  eventName: '',
504
584
  aliasName: '',
505
- triggeringOccasion: '',
585
+ businessLabelId: triTagId || undefined,
506
586
  maidianID: []
507
587
  }
508
588
  }, homeType == 'create' && (/*#__PURE__*/React.createElement(Form.Item, {
@@ -526,7 +606,11 @@ var CreateMeta = function CreateMeta(props) {
526
606
  }],
527
607
  validateStatus: validateContainsUnderscore(inputText) ? '' : 'error',
528
608
  help: validateContainsUnderscore(inputText) ? '' : inputText == '' ? '请输入事件名称' : "\u8BF7\u6839\u636E\u9875\u9762\u5C42\u7EA7\u547D\u540D\uFF0C\u5982\uFF1A".concat(props.selectTreeName)
529
- }, isCopy ? (/*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(BizEventSelector, {
609
+ }, isCopy ? (/*#__PURE__*/React.createElement("div", {
610
+ style: {
611
+ width: '100%'
612
+ }
613
+ }, /*#__PURE__*/React.createElement(BizEventSelector, {
530
614
  showAllEvent: true,
531
615
  multiple: false,
532
616
  key: "eventProp",
@@ -548,7 +632,7 @@ var CreateMeta = function CreateMeta(props) {
548
632
  name: "aliasName",
549
633
  label: "\u4E8B\u4EF6\u522B\u540D"
550
634
  }, /*#__PURE__*/React.createElement(Input, {
551
- disabled: homeType == 'update' || homeType == 'get',
635
+ disabled: homeType == 'get',
552
636
  placeholder: "\u8BF7\u8F93\u5165\u4E8B\u4EF6\u522B\u540D",
553
637
  showCount: true,
554
638
  maxLength: 128,
@@ -565,45 +649,43 @@ var CreateMeta = function CreateMeta(props) {
565
649
  width: '160px',
566
650
  marginRight: '10px'
567
651
  },
568
- disabled: homeType == 'update' || homeType == 'get',
652
+ disabled: homeType == 'get',
569
653
  placeholder: "\u8BF7\u8F93\u5165\u89E6\u53D1\u6807\u7B7E",
570
- options: [{
571
- label: '业务标签1',
572
- value: '111'
573
- }, {
574
- label: '业务标签2',
575
- value: 'tagJson'
576
- }],
577
- onChange: function onChange() {
654
+ // defaultValue={triTagId}
655
+ value: triTagId,
656
+ options: triTag,
657
+ fieldNames: {
658
+ label: 'labelName',
659
+ value: 'id'
660
+ },
661
+ onChange: function onChange(value) {
662
+ setTriTagId(value);
578
663
  setIsChange(true);
579
664
  }
580
665
  }), "\u6216", /*#__PURE__*/React.createElement(Input, {
581
- disabled: homeType == 'update' || homeType == 'get',
666
+ disabled: homeType == 'get',
582
667
  style: {
583
668
  border: 0,
584
669
  width: 'calc(100% - 195px)',
585
670
  marginLeft: '10px'
586
671
  },
587
672
  placeholder: "\u8BF7\u8F93\u5165\u89E6\u53D1\u65F6\u673A\uFF0C\u4F8B\u5982\uFF1A\u7528\u6237\u70B9\u51FB\u786E\u8BA4\u6309\u94AE",
673
+ // defaultValue={triTagInput}
674
+ value: triTagInput,
588
675
  showCount: true,
589
676
  maxLength: 128,
590
677
  onChange: function onChange(e) {
678
+ setTriTagInput(e.target.value);
591
679
  setIsChange(true);
592
680
  }
593
681
  })), /*#__PURE__*/React.createElement(Form.Item, {
594
- name: "triggeringOccasion1",
682
+ name: "businessLabelId",
595
683
  label: "\u4E1A\u52A1\u6807\u7B7E"
596
684
  }, /*#__PURE__*/React.createElement(Select, {
597
685
  allowClear: true,
598
- disabled: homeType == 'update' || homeType == 'get',
686
+ disabled: homeType == 'get',
599
687
  placeholder: "\u8BF7\u8F93\u5165\u4E1A\u52A1\u6807\u7B7E",
600
- options: [{
601
- label: '业务标签1',
602
- value: '111'
603
- }, {
604
- label: '业务标签2',
605
- value: 'tagJson'
606
- }],
688
+ options: bizTag,
607
689
  onChange: function onChange() {
608
690
  setIsChange(true);
609
691
  }
@@ -621,12 +703,12 @@ var CreateMeta = function CreateMeta(props) {
621
703
  className: "button",
622
704
  onClick: function onClick() {
623
705
  // setIsChange(true);
624
- setEventAttrList([].concat(_toConsumableArray(eventAttrList), [{
706
+ setEventAttrList([{
625
707
  name: '',
626
708
  aliasName: '',
627
- type: 1,
628
- encryptionType: 0
629
- }]));
709
+ prop_type: 1,
710
+ encryption_type: 0
711
+ }].concat(_toConsumableArray(eventAttrList)));
630
712
  }
631
713
  }, /*#__PURE__*/React.createElement(IconFont, {
632
714
  type: "tianjia1",
@@ -168,7 +168,6 @@ var PageInfo = function PageInfo(props) {
168
168
  recordShow = _useState52[0],
169
169
  setRecordShow = _useState52[1];
170
170
  useEffect(function () {
171
- // console.log('props.pageData', props.pageData);
172
171
  if (!props.pageData) {
173
172
  setIsEmpty(true);
174
173
  } else {
@@ -176,7 +175,6 @@ var PageInfo = function PageInfo(props) {
176
175
  }
177
176
  }, [props.pageData, props.refreshKey]);
178
177
  useEffect(function () {
179
- // console.log('props.pageData', props.pageData);
180
178
  props.onChangePageStatus && props.onChangePageStatus(isEdit);
181
179
  }, [isEdit]);
182
180
  var getPageConfig = function getPageConfig() {
@@ -217,7 +215,10 @@ var PageInfo = function PageInfo(props) {
217
215
  index: index,
218
216
  approvalStatus: item.approvalStatus,
219
217
  operationType: item.operationType,
220
- isOnline: item.isOnline || 0
218
+ isOnline: item.isOnline || 0,
219
+ businessLabel: item.businessLabel,
220
+ triggerLabel: item.triggerLabel,
221
+ labels: item.labels
221
222
  };
222
223
  }) : []);
223
224
  //计算出当前上线和下线总合数量
@@ -249,6 +250,12 @@ var PageInfo = function PageInfo(props) {
249
250
  });
250
251
  return;
251
252
  }
253
+ if (!imgUrl) {
254
+ notification.warning({
255
+ message: '请选择页面图示'
256
+ });
257
+ return;
258
+ }
252
259
  if (eventAttrList.filter(function (item) {
253
260
  return !item.eventId;
254
261
  }).length) {
@@ -518,18 +525,18 @@ var PageInfo = function PageInfo(props) {
518
525
  className: "".concat(classPrefix, "-content-popoverTag-item")
519
526
  }, /*#__PURE__*/React.createElement("span", {
520
527
  className: "".concat(classPrefix, "-content-popoverTag-label")
521
- }, "\u4E1A\u52A1\u6807\u7B7E:"), /*#__PURE__*/React.createElement(Tag, {
528
+ }, "\u4E1A\u52A1\u6807\u7B7E:"), record.businessLabel && /*#__PURE__*/React.createElement(Tag, {
522
529
  color: "blue"
523
- }, "\u4E1A\u52A1\u6807\u7B7E1")), /*#__PURE__*/React.createElement("div", {
530
+ }, record.businessLabel.labelName)), /*#__PURE__*/React.createElement("div", {
524
531
  className: "".concat(classPrefix, "-content-popoverTag-item")
525
532
  }, /*#__PURE__*/React.createElement("span", {
526
533
  className: "".concat(classPrefix, "-content-popoverTag-label")
527
- }, "\u89E6\u53D1\u6807\u7B7E:"), /*#__PURE__*/React.createElement(Tag, {
534
+ }, "\u89E6\u53D1\u6807\u7B7E:"), record.triggerLabel && /*#__PURE__*/React.createElement(Tag, {
528
535
  color: "orange"
529
- }, "\u89E6\u53D1\u6807\u7B7E")));
536
+ }, record.triggerLabel.labelName)));
530
537
  return /*#__PURE__*/React.createElement(Popover, {
531
538
  content: content,
532
- title: eventName || ''
539
+ title: sliceName(record) || ''
533
540
  }, /*#__PURE__*/React.createElement("a", {
534
541
  onClick: function onClick() {
535
542
  if (!isSelect) {
@@ -552,7 +559,7 @@ var PageInfo = function PageInfo(props) {
552
559
  setMetaDataIndex(index);
553
560
  }
554
561
  }
555
- }, eventName ? eventName : '选择元事件', !eventName && /*#__PURE__*/React.createElement(IconFont, {
562
+ }, eventName ? sliceName(record) : '选择元事件', !eventName && /*#__PURE__*/React.createElement(IconFont, {
556
563
  type: "zhuanfa",
557
564
  style: {
558
565
  marginLeft: 8
@@ -883,29 +890,23 @@ var PageInfo = function PageInfo(props) {
883
890
  //设置新添加的元事件
884
891
  var onEventSet = function onEventSet(data, type) {
885
892
  if (type == 'create') {
886
- setEventAttrList([{
887
- eventName: data.eventName,
888
- triggeringOccasion: data.triggeringOccasion,
889
- aliasName: data.aliasName,
893
+ setEventAttrList([_objectSpread(_objectSpread({}, data), {}, {
890
894
  describe: '',
891
895
  pointSelect: undefined,
892
896
  imgPath: '',
893
897
  index: eventAttrList.length,
894
898
  key: new Date() * 1,
895
- eventAttrList: data.eventAttrList,
896
899
  pageName: pageName,
897
900
  pageId: id,
898
901
  pageImgUrl: imgPath
899
- }].concat(_toConsumableArray(eventAttrList)));
902
+ })].concat(_toConsumableArray(eventAttrList)));
900
903
  setShowIndex(eventAttrList.length);
901
904
  setTimeout(function () {
902
905
  setShowIndex(void 0);
903
906
  }, 3000);
904
907
  } else {
905
908
  setEventAttrList(eventAttrList.map(function (res, index) {
906
- return metaDataIndex == index ? _objectSpread(_objectSpread({}, res), {}, {
907
- eventAttrList: data.eventAttrList
908
- }) : res;
909
+ return metaDataIndex == index ? _objectSpread(_objectSpread({}, res), data) : res;
909
910
  }));
910
911
  }
911
912
  };
@@ -914,6 +915,21 @@ var PageInfo = function PageInfo(props) {
914
915
  setRecordShow(true);
915
916
  setEventData(row);
916
917
  };
918
+ //拼接名称
919
+ var sliceName = function sliceName(record) {
920
+ var _record$businessLabel, _record$triggerLabel;
921
+ var point = props.pageData && props.pageData.labels && props.pageData.labels.filter(function (res) {
922
+ return res.labelType == 1;
923
+ }).map(function (res) {
924
+ return res.labelName || res.label;
925
+ }).join('_') || '';
926
+ var biz = (record === null || record === void 0 ? void 0 : record.businessLabel) && ((_record$businessLabel = record.businessLabel) === null || _record$businessLabel === void 0 ? void 0 : _record$businessLabel.labelName) || '';
927
+ var trig = (record === null || record === void 0 ? void 0 : record.triggerLabel) && ((_record$triggerLabel = record.triggerLabel) === null || _record$triggerLabel === void 0 ? void 0 : _record$triggerLabel.labelName) || '' || '';
928
+ var arr = [biz, point, trig, record.eventName].filter(function (res) {
929
+ return res;
930
+ }).join('-');
931
+ return arr;
932
+ };
917
933
  return /*#__PURE__*/React.createElement("div", {
918
934
  className: "".concat(classPrefix)
919
935
  }, /*#__PURE__*/React.createElement("div", {
@@ -994,7 +1010,11 @@ var PageInfo = function PageInfo(props) {
994
1010
  }
995
1011
  }, /*#__PURE__*/React.createElement("div", {
996
1012
  className: "".concat(classPrefix, "-info-title")
997
- }, "\u9875\u9762\u56FE\u793A"), /*#__PURE__*/React.createElement("div", {
1013
+ }, /*#__PURE__*/React.createElement("span", {
1014
+ style: {
1015
+ color: '#FB5547'
1016
+ }
1017
+ }, "*"), "\u9875\u9762\u56FE\u793A"), /*#__PURE__*/React.createElement("div", {
998
1018
  className: "".concat(classPrefix, "-info-input")
999
1019
  }, !imgPath ? (/*#__PURE__*/React.createElement(Upload, _objectSpread({}, uploadProps), /*#__PURE__*/React.createElement("div", {
1000
1020
  className: "".concat(classPrefix, "-info-upload")
@@ -1173,6 +1193,7 @@ var PageInfo = function PageInfo(props) {
1173
1193
  isEdit: true,
1174
1194
  onSubmit: function onSubmit(event, type) {
1175
1195
  setCreateMetaShow(false);
1196
+ // console.log(event, '事件内容');
1176
1197
  onEventSet(event, type);
1177
1198
  },
1178
1199
  // selectTreeName={props.selectTreeName}
@@ -154,4 +154,12 @@
154
154
  cursor: pointer;
155
155
  }
156
156
  }
157
+ .ant-form-item-control-input-content {
158
+ display: flex;
159
+ align-items: center;
160
+ }
161
+ .ant-select-disabled.ant-select:not(.ant-select-customize-input) .ant-select-selector {
162
+ color: #021429;
163
+ background-color: #f2f3f4;
164
+ }
157
165
  }