@zgfe/modules-settings 2.0.0-zhongyuan.9 → 2.1.0-zhongyuan-set.1
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/README.md +33 -33
- package/es/components/card/index.less +87 -87
- package/es/components/importMetaDialog/index.d.ts +13 -0
- package/es/components/importMetaDialog/index.js +217 -0
- package/es/components/importMetaDialog/styles/index.less +115 -0
- package/es/components/pageLoading/index.less +7 -7
- package/es/components/picCircleSelect/bak/index copy 2.tsx.bak +92 -92
- package/es/components/picCircleSelect/bak/index copy 3.tsx.bak +58 -58
- package/es/components/picCircleSelect/bak/index copy 4.tsx.bak +66 -66
- package/es/components/picCircleSelect/bak/index copy 5.tsx.bak +116 -116
- package/es/components/picCircleSelect/bak/index copy 6.tsx.bak +116 -116
- package/es/components/picCircleSelect/bak/index copy.tsx.bak +41 -41
- package/es/components/picCircleSelect/bak/index.tsx.bak +48 -48
- package/es/components/picCircleSelect/bak/index1.tsx.bak +46 -46
- package/es/components/picCircleSelect/bak/index2.tsx.bak +104 -104
- package/es/components/picCircleSelect/index.less +37 -37
- package/es/components/processCanvas/styles/customNode.less +149 -149
- package/es/components/processCanvas/styles/index.less +34 -34
- package/es/components/settingTabs/index.less +51 -51
- package/es/constants/api.d.ts +30 -0
- package/es/constants/api.js +43 -1
- package/es/constants/icons/demo.css +539 -539
- package/es/constants/icons/demo_index.html +9871 -9871
- package/es/constants/icons/iconfont.css +1699 -1699
- package/es/constants/icons/iconfont.json +2956 -2956
- package/es/global.d.ts +4 -4
- package/es/modules/appSettings/dataAccessFilter/index.js +2 -1
- package/es/modules/appSettings/dataAccessFilter/index.less +5 -5
- package/es/modules/appSettings/virtualSource/styles/index.less +28 -28
- package/es/modules/appSettings/virtualSource/styles/table.less +51 -51
- package/es/modules/companySetting/appList/index.less +126 -126
- package/es/modules/companySetting/application/applicationForm.d.ts +1 -0
- package/es/modules/companySetting/application/applicationForm.js +34 -4
- package/es/modules/companySetting/application/index.d.ts +13 -0
- package/es/modules/companySetting/application/index.js +276 -104
- package/es/modules/companySetting/application/index.less +144 -126
- package/es/modules/companySetting/business/index.less +92 -92
- package/es/modules/companySetting/cost/index.less +38 -38
- package/es/modules/companySetting/department/index.less +157 -157
- package/es/modules/companySetting/edit/styles/authConfig.less +3 -3
- package/es/modules/companySetting/edit/styles/authGroup.less +10 -10
- package/es/modules/companySetting/edit/styles/authModule.less +82 -82
- package/es/modules/companySetting/edit/styles/user.less +54 -54
- package/es/modules/companySetting/edit/styles/userGroup.less +44 -44
- package/es/modules/companySetting/index.js +37 -33
- package/es/modules/companySetting/index.less +90 -90
- package/es/modules/companySetting/info/index.less +42 -42
- package/es/modules/companySetting/mainPart/images/img2.svg +12 -12
- package/es/modules/companySetting/mainPart/index.less +239 -239
- package/es/modules/companySetting/operationLog/index.js +22 -5
- package/es/modules/companySetting/operationLog/index.less +33 -33
- package/es/modules/companySetting/role/index.less +296 -296
- package/es/modules/companySetting/role/setDataRangeDialog/index.less +37 -37
- package/es/modules/companySetting/style/common.less +79 -79
- package/es/modules/companySetting/style/reset.less +117 -117
- package/es/modules/companySetting/user/index.js +29 -24
- package/es/modules/companySetting/user/index.less +363 -363
- package/es/modules/companySetting/user/invite.js +30 -102
- package/es/modules/companySetting/virtualApp/styles/config.less +37 -37
- package/es/modules/companySetting/virtualApp/styles/index.less +21 -21
- package/es/modules/companySetting/virtualApp/styles/list.less +28 -28
- package/es/modules/companySetting/virtualApp/styles/sourceItem.less +33 -33
- package/es/modules/companySetting/virtualApp/styles/table.less +44 -44
- package/es/modules/companySetting/wechatBinding/index.less +58 -58
- package/es/modules/createDemand/constants.d.ts +15 -2
- package/es/modules/createDemand/constants.js +57 -4
- package/es/modules/createDemand/demo/selectPoint.js +1 -2
- package/es/modules/createDemand/index.d.ts +0 -1
- package/es/modules/createDemand/index.js +793 -179
- package/es/modules/createDemand/styles/index.less +403 -277
- package/es/modules/createDemand_bf/demo/index.js +0 -1
- package/es/modules/createDemand_bf/index.js +0 -1
- package/es/modules/createDemand_bf/styles/index.less +222 -222
- package/es/modules/createProcess/components/index.less +52 -52
- package/es/modules/createProcess/index.less +114 -114
- package/es/modules/createProcess/title/index.less +53 -53
- package/es/modules/dealDemand/demo/index.js +0 -1
- package/es/modules/dealDemand/demo/selectPoint.js +1 -1
- package/es/modules/dealDemand/index.js +0 -2
- package/es/modules/dealDemand/styles/index.less +265 -265
- package/es/modules/demandManage/index.js +174 -178
- package/es/modules/demandManage/styles/index.less +8 -68
- package/es/modules/getPassword/index.less +122 -122
- package/es/modules/messageList/index.d.ts +1 -1
- package/es/modules/messageList/index.js +6 -6
- package/es/modules/messageList/index.less +81 -81
- package/es/modules/personalSetting/demo/index.d.ts +3 -0
- package/es/modules/personalSetting/demo/index.js +12 -0
- package/es/modules/personalSetting/index.js +11 -1
- package/es/modules/personalSetting/info/index.js +23 -5
- package/es/modules/personalSetting/securityLog/index.less +11 -11
- package/es/modules/personalSetting/styles/unbinding.less +73 -73
- package/es/modules/pointMap/ImportModal/styles/index.less +91 -91
- package/es/modules/pointMap/createMetaDrawer.d.ts +5 -0
- package/es/modules/pointMap/createMetaDrawer.js +825 -0
- package/es/modules/pointMap/editTxt/index.less +55 -55
- package/es/modules/pointMap/pageInfo.js +401 -179
- package/es/modules/pointMap/record.d.ts +7 -0
- package/es/modules/pointMap/record.js +521 -0
- package/es/modules/pointMap/styles/index.less +165 -38
- package/es/modules/pointMap/styles/pageInfo.less +439 -244
- package/es/modules/pointMap/styles/tree.css +164 -145
- package/es/modules/pointMap/styles/tree.less +174 -149
- package/es/modules/pointMap/tree.js +232 -88
- package/es/modules/pointMap/types.d.ts +88 -0
- package/es/modules/pointMap/types.js +1 -0
- package/es/modules/systemSetting/Dictionary.d.ts +5 -2
- package/es/modules/systemSetting/Dictionary.js +54 -370
- package/es/modules/systemSetting/approvalmanage/approvalStrategy/index.less +14 -14
- package/es/modules/systemSetting/approvalmanage/index.less +5 -5
- package/es/modules/systemSetting/approvalmanage/processManage/index.less +39 -39
- package/es/modules/systemSetting/dictionaryItem/dictionaryManagement/create.d.ts +9 -0
- package/es/modules/systemSetting/dictionaryItem/dictionaryManagement/create.js +245 -0
- package/es/modules/systemSetting/dictionaryItem/dictionaryManagement/css/index.less +48 -0
- package/es/modules/systemSetting/dictionaryItem/dictionaryManagement/index.d.ts +4 -0
- package/es/modules/systemSetting/dictionaryItem/dictionaryManagement/index.js +207 -0
- package/es/modules/systemSetting/dictionaryItem/dictionaryManagement/type/index.d.ts +10 -0
- package/es/modules/systemSetting/dictionaryItem/dictionaryManagement/type/index.js +1 -0
- package/es/modules/systemSetting/dictionaryItem/eventTagManagement/create.d.ts +10 -0
- package/es/modules/systemSetting/dictionaryItem/eventTagManagement/create.js +124 -0
- package/es/modules/systemSetting/dictionaryItem/eventTagManagement/css/index.less +32 -0
- package/es/modules/systemSetting/dictionaryItem/eventTagManagement/index.d.ts +7 -0
- package/es/modules/systemSetting/dictionaryItem/eventTagManagement/index.js +264 -0
- package/es/modules/systemSetting/dictionaryItem/eventTagManagement/type/index.d.ts +9 -0
- package/es/modules/systemSetting/dictionaryItem/eventTagManagement/type/index.js +1 -0
- package/es/modules/systemSetting/document-setting/index.js +7 -6
- package/es/modules/systemSetting/index.css +161 -161
- package/es/modules/systemSetting/index.js +16 -16
- package/es/modules/systemSetting/index.less +169 -169
- package/es/modules/systemSetting/notice/configItem/index.less +21 -21
- package/es/modules/systemSetting/notice/edit/index.less +26 -26
- package/es/types/personal.d.ts +1 -0
- package/package.json +74 -74
|
@@ -1,383 +1,67 @@
|
|
|
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
|
-
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
|
-
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
|
-
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
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
7
|
-
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); }
|
|
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
|
-
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
1
|
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
11
2
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
12
3
|
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
13
4
|
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
14
5
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
15
6
|
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
16
|
-
import React, {
|
|
17
|
-
import
|
|
18
|
-
import {
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
var
|
|
24
|
-
var
|
|
25
|
-
|
|
7
|
+
import React, { useContext, useState } from 'react';
|
|
8
|
+
import './index.less';
|
|
9
|
+
import { BizGlobalDataContext } from '@zgfe/business-lib';
|
|
10
|
+
import { Tabs } from 'antd';
|
|
11
|
+
import DictionaryManagement from './dictionaryItem/dictionaryManagement/index';
|
|
12
|
+
import EventTagManagement from './dictionaryItem/eventTagManagement/index';
|
|
13
|
+
// import ApprovalStrategy from './approvalStrategy'
|
|
14
|
+
var CompanySetting = function CompanySetting(props) {
|
|
15
|
+
var _useContext = useContext(BizGlobalDataContext),
|
|
16
|
+
router = _useContext.router,
|
|
17
|
+
routes = _useContext.routes,
|
|
18
|
+
authority = _useContext.authority;
|
|
19
|
+
var search = new URLSearchParams(window.location.search);
|
|
20
|
+
var currentPath = search.get('tab');
|
|
21
|
+
// groupInfos
|
|
22
|
+
var _useState = useState('dictionaryManagement'),
|
|
26
23
|
_useState2 = _slicedToArray(_useState, 2),
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
var
|
|
30
|
-
|
|
31
|
-
loadingStatus = _useState4[0],
|
|
32
|
-
setLoadingStatus = _useState4[1];
|
|
33
|
-
var _useState5 = useState([]),
|
|
34
|
-
_useState6 = _slicedToArray(_useState5, 2),
|
|
35
|
-
dictionaryList = _useState6[0],
|
|
36
|
-
setDictionaryList = _useState6[1];
|
|
37
|
-
var _useState7 = useState(),
|
|
38
|
-
_useState8 = _slicedToArray(_useState7, 2),
|
|
39
|
-
currentTypeId = _useState8[0],
|
|
40
|
-
setCurrentTypeId = _useState8[1];
|
|
41
|
-
var handleChangeTab = function handleChangeTab(id) {
|
|
42
|
-
setCurrentTypeId(id);
|
|
43
|
-
getDictionaryContentList(id, searchValue);
|
|
24
|
+
activeKey = _useState2[0],
|
|
25
|
+
setActiveKey = _useState2[1]; // 默认值
|
|
26
|
+
var changeTab = function changeTab(key) {
|
|
27
|
+
setActiveKey(key);
|
|
44
28
|
};
|
|
45
|
-
var
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
setLoadingStatus(true);
|
|
51
|
-
getList();
|
|
52
|
-
}, []);
|
|
53
|
-
var getList = function getList() {
|
|
54
|
-
request(apis.setting.getDictionaryList, {
|
|
55
|
-
method: 'get',
|
|
56
|
-
params: {
|
|
57
|
-
// typeName: searchValue,
|
|
58
|
-
}
|
|
59
|
-
}).then(/*#__PURE__*/function () {
|
|
60
|
-
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(res) {
|
|
61
|
-
var newArr;
|
|
62
|
-
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
63
|
-
while (1) switch (_context.prev = _context.next) {
|
|
64
|
-
case 0:
|
|
65
|
-
if ((res === null || res === void 0 ? void 0 : res.code) == '100000') {
|
|
66
|
-
newArr = (res === null || res === void 0 ? void 0 : res.data) && (res === null || res === void 0 ? void 0 : res.data).map(function (o) {
|
|
67
|
-
return _objectSpread({
|
|
68
|
-
label: o.name,
|
|
69
|
-
key: o.id,
|
|
70
|
-
isEdit: false
|
|
71
|
-
}, o);
|
|
72
|
-
});
|
|
73
|
-
setDictionaryList(newArr);
|
|
74
|
-
newArr && newArr.length > 0 && setCurrentTypeId(function () {
|
|
75
|
-
getDictionaryContentList(newArr[0].key, searchValue);
|
|
76
|
-
return newArr[0].key;
|
|
77
|
-
});
|
|
78
|
-
}
|
|
79
|
-
case 1:
|
|
80
|
-
case "end":
|
|
81
|
-
return _context.stop();
|
|
82
|
-
}
|
|
83
|
-
}, _callee);
|
|
84
|
-
}));
|
|
85
|
-
return function (_x) {
|
|
86
|
-
return _ref.apply(this, arguments);
|
|
87
|
-
};
|
|
88
|
-
}()).finally(function () {
|
|
89
|
-
setLoadingStatus(false);
|
|
90
|
-
});
|
|
91
|
-
};
|
|
92
|
-
var _useState9 = useState(''),
|
|
93
|
-
_useState10 = _slicedToArray(_useState9, 2),
|
|
94
|
-
searchValue = _useState10[0],
|
|
95
|
-
setSearchValue = _useState10[1];
|
|
96
|
-
var onSearch = function onSearch(e) {
|
|
97
|
-
setSearchValue(function () {
|
|
98
|
-
var _e$target, _e$target2;
|
|
99
|
-
getDictionaryContentList(currentTypeId, e === null || e === void 0 ? void 0 : (_e$target = e.target) === null || _e$target === void 0 ? void 0 : _e$target.value);
|
|
100
|
-
return e === null || e === void 0 ? void 0 : (_e$target2 = e.target) === null || _e$target2 === void 0 ? void 0 : _e$target2.value;
|
|
101
|
-
});
|
|
102
|
-
};
|
|
103
|
-
var _useState11 = useState([]),
|
|
104
|
-
_useState12 = _slicedToArray(_useState11, 2),
|
|
105
|
-
dictionaryContentList = _useState12[0],
|
|
106
|
-
setDictionaryContentList = _useState12[1];
|
|
107
|
-
var _useState13 = useState(false),
|
|
108
|
-
_useState14 = _slicedToArray(_useState13, 2),
|
|
109
|
-
tableLoading = _useState14[0],
|
|
110
|
-
setTableLoading = _useState14[1];
|
|
111
|
-
var getDictionaryContentList = function getDictionaryContentList(id) {
|
|
112
|
-
var searchContent = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
|
|
113
|
-
setTableLoading(true);
|
|
114
|
-
request(apis.setting.getDictionaryContentList, {
|
|
115
|
-
method: 'get',
|
|
116
|
-
params: {
|
|
117
|
-
dictionaryId: id,
|
|
118
|
-
content: searchContent
|
|
119
|
-
}
|
|
120
|
-
}).then(function (res) {
|
|
121
|
-
if ((res === null || res === void 0 ? void 0 : res.code) == '100000') {
|
|
122
|
-
(res === null || res === void 0 ? void 0 : res.data) && setDictionaryContentList(res.data);
|
|
123
|
-
}
|
|
124
|
-
}).finally(function () {
|
|
125
|
-
setTableLoading(false);
|
|
126
|
-
});
|
|
127
|
-
};
|
|
128
|
-
var _Form$useForm = Form.useForm(),
|
|
129
|
-
_Form$useForm2 = _slicedToArray(_Form$useForm, 1),
|
|
130
|
-
form = _Form$useForm2[0];
|
|
131
|
-
var saveContent = /*#__PURE__*/function () {
|
|
132
|
-
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
133
|
-
var validateResult, resultApi;
|
|
134
|
-
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
135
|
-
while (1) switch (_context2.prev = _context2.next) {
|
|
136
|
-
case 0:
|
|
137
|
-
_context2.next = 2;
|
|
138
|
-
return form.validateFields();
|
|
139
|
-
case 2:
|
|
140
|
-
validateResult = _context2.sent;
|
|
141
|
-
resultApi = isValueEdit ? apis.setting.updateDictionaryContent : apis.setting.saveDictionaryContent;
|
|
142
|
-
request(resultApi, {
|
|
143
|
-
method: 'post',
|
|
144
|
-
data: {
|
|
145
|
-
dictionaryId: currentTypeId,
|
|
146
|
-
content: validateResult.value,
|
|
147
|
-
remarks: validateResult.valueRemark,
|
|
148
|
-
id: isValueEdit && (currentRowData === null || currentRowData === void 0 ? void 0 : currentRowData.id)
|
|
149
|
-
}
|
|
150
|
-
}).then(function (res) {
|
|
151
|
-
if ((res === null || res === void 0 ? void 0 : res.code) == '100000') {
|
|
152
|
-
message.success('保存成功');
|
|
153
|
-
form.resetFields();
|
|
154
|
-
setIsModalOpen(false);
|
|
155
|
-
getDictionaryContentList(currentTypeId, searchValue);
|
|
156
|
-
}
|
|
157
|
-
});
|
|
158
|
-
case 5:
|
|
159
|
-
case "end":
|
|
160
|
-
return _context2.stop();
|
|
161
|
-
}
|
|
162
|
-
}, _callee2);
|
|
163
|
-
}));
|
|
164
|
-
return function saveContent() {
|
|
165
|
-
return _ref2.apply(this, arguments);
|
|
166
|
-
};
|
|
167
|
-
}();
|
|
168
|
-
var _useState15 = useState([]),
|
|
169
|
-
_useState16 = _slicedToArray(_useState15, 2),
|
|
170
|
-
selectedRowKeys = _useState16[0],
|
|
171
|
-
setSelectedRowKeys = _useState16[1];
|
|
172
|
-
var _useState17 = useState(),
|
|
173
|
-
_useState18 = _slicedToArray(_useState17, 2),
|
|
174
|
-
currentRowData = _useState18[0],
|
|
175
|
-
setCurrentRowData = _useState18[1];
|
|
176
|
-
var _useState19 = useState(false),
|
|
177
|
-
_useState20 = _slicedToArray(_useState19, 2),
|
|
178
|
-
isValueEdit = _useState20[0],
|
|
179
|
-
setIsValueEdit = _useState20[1];
|
|
180
|
-
var columns = [{
|
|
181
|
-
title: '值',
|
|
182
|
-
dataIndex: 'content'
|
|
183
|
-
}, {
|
|
184
|
-
title: '值说明',
|
|
185
|
-
dataIndex: 'remarks'
|
|
29
|
+
var items = [{
|
|
30
|
+
key: 'dictionaryManagement',
|
|
31
|
+
label: '字典管理',
|
|
32
|
+
children: /*#__PURE__*/React.createElement(DictionaryManagement, null),
|
|
33
|
+
disabled: false
|
|
186
34
|
}, {
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
},
|
|
193
|
-
|
|
194
|
-
return moment(createdTime).format('YYYY-MM-DD HH:mm:ss');
|
|
195
|
-
}
|
|
35
|
+
key: 'locationTagManagement',
|
|
36
|
+
label: '位置标签管理',
|
|
37
|
+
children: /*#__PURE__*/React.createElement(EventTagManagement, {
|
|
38
|
+
type: 1,
|
|
39
|
+
title: "\u4F4D\u7F6E\u6807\u7B7E"
|
|
40
|
+
}),
|
|
41
|
+
disabled: false //authority[1722839170]
|
|
196
42
|
}, {
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
},
|
|
203
|
-
|
|
204
|
-
return moment(updatedTime).format('YYYY-MM-DD HH:mm:ss');
|
|
205
|
-
}
|
|
43
|
+
key: 'businessTagManagement',
|
|
44
|
+
label: '业务标签管理',
|
|
45
|
+
children: /*#__PURE__*/React.createElement(EventTagManagement, {
|
|
46
|
+
type: 2,
|
|
47
|
+
title: "\u4E1A\u52A1\u6807\u7B7E"
|
|
48
|
+
}),
|
|
49
|
+
disabled: false //authority[1722839170]
|
|
206
50
|
}, {
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
onClick: function onClick() {
|
|
215
|
-
setIsModalOpen(true);
|
|
216
|
-
setCurrentRowData(row);
|
|
217
|
-
setIsValueEdit(true);
|
|
218
|
-
form.setFieldsValue({
|
|
219
|
-
value: row.content,
|
|
220
|
-
valueRemark: row.remarks
|
|
221
|
-
});
|
|
222
|
-
}
|
|
223
|
-
}, "\u7F16\u8F91"));
|
|
224
|
-
}
|
|
51
|
+
key: 'triggerTagManagement',
|
|
52
|
+
label: '触发标签管理',
|
|
53
|
+
children: /*#__PURE__*/React.createElement(EventTagManagement, {
|
|
54
|
+
type: 3,
|
|
55
|
+
title: "\u89E6\u53D1\u6807\u7B7E"
|
|
56
|
+
}),
|
|
57
|
+
disabled: false //authority[1722839170]
|
|
225
58
|
}];
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
};
|
|
233
|
-
var handleDelete = function handleDelete() {
|
|
234
|
-
if (selectedRowKeys.length < 1) {
|
|
235
|
-
message.warning('请选择要删除的数据');
|
|
236
|
-
return;
|
|
237
|
-
}
|
|
238
|
-
Modal.confirm({
|
|
239
|
-
title: '删除提示',
|
|
240
|
-
onOk: onOkDelete,
|
|
241
|
-
width: 450,
|
|
242
|
-
cancelText: '取消',
|
|
243
|
-
okText: '确定',
|
|
244
|
-
centered: true,
|
|
245
|
-
content: '是否确认删除?'
|
|
246
|
-
});
|
|
247
|
-
};
|
|
248
|
-
var onOkDelete = function onOkDelete() {
|
|
249
|
-
request(apis.setting.deleteDictionaryContentList, {
|
|
250
|
-
method: 'post',
|
|
251
|
-
data: {
|
|
252
|
-
ids: selectedRowKeys.join()
|
|
253
|
-
}
|
|
254
|
-
}).then(function (res) {
|
|
255
|
-
if ((res === null || res === void 0 ? void 0 : res.code) == '100000') {
|
|
256
|
-
message.success('删除成功');
|
|
257
|
-
getDictionaryContentList(currentTypeId, searchValue);
|
|
258
|
-
}
|
|
259
|
-
});
|
|
260
|
-
};
|
|
261
|
-
var _useState21 = useState(false),
|
|
262
|
-
_useState22 = _slicedToArray(_useState21, 2),
|
|
263
|
-
isModalOpen = _useState22[0],
|
|
264
|
-
setIsModalOpen = _useState22[1];
|
|
265
|
-
var handleValueCancel = function handleValueCancel() {
|
|
266
|
-
setIsModalOpen(false);
|
|
267
|
-
setIsValueEdit(false);
|
|
268
|
-
form.resetFields();
|
|
269
|
-
};
|
|
270
|
-
var renderTabBar = function renderTabBar(props, DefaultTabBar) {
|
|
271
|
-
var getButton = function getButton() {
|
|
272
|
-
return /*#__PURE__*/React.createElement(DefaultTabBar, _objectSpread(_objectSpread({}, props), {}, {
|
|
273
|
-
className: "site-custom-tab-bar"
|
|
274
|
-
}));
|
|
275
|
-
};
|
|
276
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, getButton());
|
|
277
|
-
};
|
|
278
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
279
|
-
className: "".concat(pageName),
|
|
280
|
-
style: {
|
|
281
|
-
padding: '16px'
|
|
282
|
-
}
|
|
283
|
-
}, dictionaryList.length < 1 && !loadingStatus && (/*#__PURE__*/React.createElement("div", {
|
|
284
|
-
className: "".concat(pageName, "-emptyDom")
|
|
285
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
286
|
-
className: "".concat(pageName, "-emptyDom-img")
|
|
287
|
-
}), /*#__PURE__*/React.createElement("p", {
|
|
288
|
-
className: "".concat(pageName, "-emptyDom-tip")
|
|
289
|
-
}, "\u8BF7\u5148\u6DFB\u52A0\u5B57\u5178\u7C7B\u578B"), /*#__PURE__*/React.createElement(Button, {
|
|
290
|
-
type: "primary",
|
|
291
|
-
onClick: function onClick() {
|
|
292
|
-
return setIsTypeModalOpen(true);
|
|
293
|
-
}
|
|
294
|
-
}, "\u6DFB\u52A0\u5B57\u5178\u7C7B\u578B"))), loadingStatus && /*#__PURE__*/React.createElement(Spin, {
|
|
295
|
-
tip: "\u52A0\u8F7D\u4E2D"
|
|
296
|
-
}), dictionaryList.length > 0 && (/*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
|
|
297
|
-
className: "".concat(pageName, "-header")
|
|
298
|
-
}, /*#__PURE__*/React.createElement(Tabs, {
|
|
299
|
-
items: dictionaryList,
|
|
300
|
-
renderTabBar: renderTabBar,
|
|
301
|
-
activeKey: currentTypeId,
|
|
302
|
-
onTabClick: handleChangeTab
|
|
303
|
-
}), /*#__PURE__*/React.createElement("div", {
|
|
304
|
-
className: "".concat(pageName, "-tabsRight-text"),
|
|
305
|
-
onClick: function onClick() {
|
|
306
|
-
return setIsTypeModalOpen(true);
|
|
307
|
-
}
|
|
308
|
-
}, /*#__PURE__*/React.createElement(SettingOutlined, {
|
|
309
|
-
style: {
|
|
310
|
-
marginRight: '8px'
|
|
311
|
-
}
|
|
312
|
-
}), "\u7C7B\u578B\u7BA1\u7406")), /*#__PURE__*/React.createElement("div", {
|
|
313
|
-
className: "".concat(pageName, "-header-search")
|
|
314
|
-
}, /*#__PURE__*/React.createElement(Input, {
|
|
315
|
-
bordered: false,
|
|
316
|
-
prefix: /*#__PURE__*/React.createElement(SearchOutlined, null),
|
|
317
|
-
placeholder: "\u641C\u7D22\u503C/\u503C\u8BF4\u660E",
|
|
318
|
-
onChange: onSearch,
|
|
319
|
-
style: {
|
|
320
|
-
width: 200
|
|
321
|
-
}
|
|
322
|
-
}), /*#__PURE__*/React.createElement(Space, null, /*#__PURE__*/React.createElement(Button, {
|
|
323
|
-
onClick: function onClick() {
|
|
324
|
-
return setIsModalOpen(true);
|
|
325
|
-
}
|
|
326
|
-
}, "\u6DFB\u52A0"), /*#__PURE__*/React.createElement(Button, {
|
|
327
|
-
onClick: handleDelete
|
|
328
|
-
}, "\u6279\u91CF\u5220\u9664"))), /*#__PURE__*/React.createElement(Table, {
|
|
329
|
-
rowKey: 'id',
|
|
330
|
-
rowSelection: rowSelection,
|
|
331
|
-
dataSource: dictionaryContentList,
|
|
332
|
-
columns: columns,
|
|
333
|
-
pagination: false,
|
|
334
|
-
loading: tableLoading
|
|
335
|
-
}))), /*#__PURE__*/React.createElement(Modal, {
|
|
336
|
-
title: "\u5B57\u5178\u7C7B\u578B\u7BA1\u7406",
|
|
337
|
-
open: isTypeModalOpen,
|
|
338
|
-
footer: null,
|
|
339
|
-
onCancel: handleCancel
|
|
340
|
-
}, /*#__PURE__*/React.createElement(DictionaryType, {
|
|
341
|
-
dictionaryListArr: dictionaryList
|
|
342
|
-
})), /*#__PURE__*/React.createElement(Modal, {
|
|
343
|
-
title: "".concat(isValueEdit ? '修改值,值说明' : '添加值,值说明'),
|
|
344
|
-
okText: "\u786E\u5B9A",
|
|
345
|
-
cancelText: "\u53D6\u6D88",
|
|
346
|
-
open: isModalOpen,
|
|
347
|
-
onCancel: handleValueCancel,
|
|
348
|
-
onOk: saveContent
|
|
349
|
-
}, /*#__PURE__*/React.createElement(Form, {
|
|
350
|
-
name: "basic",
|
|
351
|
-
labelCol: {
|
|
352
|
-
span: 3
|
|
353
|
-
},
|
|
354
|
-
form: form,
|
|
355
|
-
wrapperCol: {
|
|
356
|
-
span: 21
|
|
357
|
-
},
|
|
358
|
-
initialValues: {
|
|
359
|
-
value: '',
|
|
360
|
-
valueRemark: ''
|
|
361
|
-
},
|
|
362
|
-
labelAlign: "left"
|
|
363
|
-
}, /*#__PURE__*/React.createElement(Form.Item, {
|
|
364
|
-
label: "\u503C",
|
|
365
|
-
name: "value",
|
|
366
|
-
rules: [{
|
|
367
|
-
required: true,
|
|
368
|
-
message: '值不可为空'
|
|
369
|
-
}]
|
|
370
|
-
}, /*#__PURE__*/React.createElement(Input, {
|
|
371
|
-
showCount: true,
|
|
372
|
-
maxLength: 20,
|
|
373
|
-
placeholder: "\u8BF7\u8F93\u5165\u503C"
|
|
374
|
-
})), /*#__PURE__*/React.createElement(Form.Item, {
|
|
375
|
-
label: "\u503C\u8BF4\u660E",
|
|
376
|
-
name: "valueRemark"
|
|
377
|
-
}, /*#__PURE__*/React.createElement(Input.TextArea, {
|
|
378
|
-
showCount: true,
|
|
379
|
-
maxLength: 50,
|
|
380
|
-
placeholder: "\u8BF7\u8F93\u5165\u503C\u8BF4\u660E"
|
|
381
|
-
})))));
|
|
59
|
+
return /*#__PURE__*/React.createElement(Tabs, {
|
|
60
|
+
className: "system-setting-approval-tabs",
|
|
61
|
+
destroyInactiveTabPane: true,
|
|
62
|
+
activeKey: activeKey,
|
|
63
|
+
onChange: changeTab,
|
|
64
|
+
items: items
|
|
65
|
+
});
|
|
382
66
|
};
|
|
383
|
-
export default
|
|
67
|
+
export default CompanySetting;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
.system-setting-approval-approval-content {
|
|
2
|
-
padding: 0 24px 16px;
|
|
3
|
-
.ant-table table {
|
|
4
|
-
width: auto;
|
|
5
|
-
}
|
|
6
|
-
}
|
|
7
|
-
.system-setting-approval-approval-content-dialog {
|
|
8
|
-
.ant-form-item-label > label::after {
|
|
9
|
-
content: '';
|
|
10
|
-
}
|
|
11
|
-
.ant-form-item:last-child {
|
|
12
|
-
margin-bottom: 0;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
1
|
+
.system-setting-approval-approval-content {
|
|
2
|
+
padding: 0 24px 16px;
|
|
3
|
+
.ant-table table {
|
|
4
|
+
width: auto;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
.system-setting-approval-approval-content-dialog {
|
|
8
|
+
.ant-form-item-label > label::after {
|
|
9
|
+
content: '';
|
|
10
|
+
}
|
|
11
|
+
.ant-form-item:last-child {
|
|
12
|
+
margin-bottom: 0;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
.system-setting-approval-tabs {
|
|
2
|
-
.ant-tabs-nav-wrap {
|
|
3
|
-
margin: 0 24px;
|
|
4
|
-
}
|
|
5
|
-
}
|
|
1
|
+
.system-setting-approval-tabs {
|
|
2
|
+
.ant-tabs-nav-wrap {
|
|
3
|
+
margin: 0 24px;
|
|
4
|
+
}
|
|
5
|
+
}
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
.system-setting-approval-process-content {
|
|
2
|
-
position: relative;
|
|
3
|
-
padding: 0 24px 16px;
|
|
4
|
-
}
|
|
5
|
-
.system-setting-approval-process-content-top {
|
|
6
|
-
display: flex;
|
|
7
|
-
flex-direction: row;
|
|
8
|
-
justify-content: space-between;
|
|
9
|
-
margin-bottom: 16px;
|
|
10
|
-
}
|
|
11
|
-
.system-setting-approval-process-content-top-left {
|
|
12
|
-
display: flex;
|
|
13
|
-
flex-direction: row;
|
|
14
|
-
gap: 16px;
|
|
15
|
-
align-items: center;
|
|
16
|
-
}
|
|
17
|
-
.system-setting-approval-process-disable-tip {
|
|
18
|
-
color: var(----1, #021429);
|
|
19
|
-
font-weight: 400;
|
|
20
|
-
font-size: 14px;
|
|
21
|
-
font-family: 'PingFang SC';
|
|
22
|
-
font-style: normal;
|
|
23
|
-
line-height: normal;
|
|
24
|
-
}
|
|
25
|
-
.system-setting-approval-process-disable-tip-warn {
|
|
26
|
-
margin-top: 8px;
|
|
27
|
-
color: var(---, #fd9f41);
|
|
28
|
-
font-weight: 400;
|
|
29
|
-
font-size: 14px;
|
|
30
|
-
font-family: 'PingFang SC';
|
|
31
|
-
font-style: normal;
|
|
32
|
-
line-height: normal;
|
|
33
|
-
}
|
|
34
|
-
.system-setting-approval-process-txt {
|
|
35
|
-
overflow: hidden;
|
|
36
|
-
white-space: nowrap;
|
|
37
|
-
text-overflow: ellipsis;
|
|
38
|
-
cursor: pointer;
|
|
39
|
-
}
|
|
1
|
+
.system-setting-approval-process-content {
|
|
2
|
+
position: relative;
|
|
3
|
+
padding: 0 24px 16px;
|
|
4
|
+
}
|
|
5
|
+
.system-setting-approval-process-content-top {
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: row;
|
|
8
|
+
justify-content: space-between;
|
|
9
|
+
margin-bottom: 16px;
|
|
10
|
+
}
|
|
11
|
+
.system-setting-approval-process-content-top-left {
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: row;
|
|
14
|
+
gap: 16px;
|
|
15
|
+
align-items: center;
|
|
16
|
+
}
|
|
17
|
+
.system-setting-approval-process-disable-tip {
|
|
18
|
+
color: var(----1, #021429);
|
|
19
|
+
font-weight: 400;
|
|
20
|
+
font-size: 14px;
|
|
21
|
+
font-family: 'PingFang SC';
|
|
22
|
+
font-style: normal;
|
|
23
|
+
line-height: normal;
|
|
24
|
+
}
|
|
25
|
+
.system-setting-approval-process-disable-tip-warn {
|
|
26
|
+
margin-top: 8px;
|
|
27
|
+
color: var(---, #fd9f41);
|
|
28
|
+
font-weight: 400;
|
|
29
|
+
font-size: 14px;
|
|
30
|
+
font-family: 'PingFang SC';
|
|
31
|
+
font-style: normal;
|
|
32
|
+
line-height: normal;
|
|
33
|
+
}
|
|
34
|
+
.system-setting-approval-process-txt {
|
|
35
|
+
overflow: hidden;
|
|
36
|
+
white-space: nowrap;
|
|
37
|
+
text-overflow: ellipsis;
|
|
38
|
+
cursor: pointer;
|
|
39
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { DictDetailType } from './type';
|
|
3
|
+
import './css/index.less';
|
|
4
|
+
declare const clearDict: React.FC<{
|
|
5
|
+
addDictShow: boolean;
|
|
6
|
+
onSetclose: Function;
|
|
7
|
+
currentDictDetail: DictDetailType | undefined | null;
|
|
8
|
+
}>;
|
|
9
|
+
export default clearDict;
|