@jeecg/online 3.7.0-beta → 3.7.4-beta

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 (150) hide show
  1. package/AccountLoginForm-84cbd344.mjs +254 -0
  2. package/AiModal-26903538.mjs +84 -0
  3. package/AppForgetPassword-52443f23.mjs +310 -0
  4. package/AppLogin-ecf798fa.mjs +287 -0
  5. package/AppLoginHeader-4432c584.mjs +27 -0
  6. package/AppNameEmail-3303a037.mjs +180 -0
  7. package/AppRegister-79a62c59.mjs +303 -0
  8. package/AppTenant-f0bef7ca.mjs +373 -0
  9. package/AppThirdForm-fd8b4604.mjs +189 -0
  10. package/AuthButtonConfig-d5bffca0.mjs +156 -0
  11. package/AuthButtonTree-b0bd6c40.mjs +165 -0
  12. package/{AuthDataConfig-7bb0cd85.mjs → AuthDataConfig-d3b7afa4.mjs} +30 -29
  13. package/{AuthDataTree-6e3bb86f.mjs → AuthDataTree-f14a98d9.mjs} +47 -47
  14. package/AuthFieldConfig-f1e224cc.mjs +245 -0
  15. package/AuthFieldTree-5cc0da05.mjs +232 -0
  16. package/{AuthManagerDrawer-5e2ed5ce.mjs → AuthManagerDrawer-32556109.mjs} +9 -8
  17. package/{AuthSetterModal-6f74449c.mjs → AuthSetterModal-364f1f67.mjs} +12 -11
  18. package/BuiltInButtonList-bb6cf95c.mjs +10 -0
  19. package/BuiltInButtonList.vue_vue_type_script_setup_true_lang-07d0b7d0.mjs +338 -0
  20. package/CgformAddressModal-1131274c.mjs +260 -0
  21. package/CgformCopyList-5fba0810.mjs +252 -0
  22. package/CgformModal-c4a4e0c2.mjs +667 -0
  23. package/{CgreportModal-5a23d089.mjs → CgreportModal-8a84aae5.mjs} +186 -172
  24. package/{CheckDictTable-b5cb0e2b.mjs → CheckDictTable-8a938e3a.mjs} +37 -34
  25. package/CodeFileListModal-a924902a.mjs +159 -0
  26. package/CodeFileViewModal-405e2b58.mjs +253 -0
  27. package/CodeGeneratorModal-2e1dc13d.mjs +281 -0
  28. package/CustomButtonList-c453b654.mjs +274 -0
  29. package/{DBAttributeTable-95dc66c1.mjs → DBAttributeTable-1a45c7b7.mjs} +80 -72
  30. package/DbToOnlineModal-f28ff0a3.mjs +168 -0
  31. package/{DetailForm-4aa2570b.mjs → DetailForm-c592b8d8.mjs} +50 -49
  32. package/DropMenuItem-1e49abea.mjs +44 -0
  33. package/{EnhanceJavaModal-98934198.mjs → EnhanceJavaModal-d5a93f2a.mjs} +62 -62
  34. package/{EnhanceJsHistory-9c4acdaf.mjs → EnhanceJsHistory-8ddb0657.mjs} +35 -35
  35. package/{EnhanceJsModal-247f640d.mjs → EnhanceJsModal-dc4f9ade.mjs} +154 -138
  36. package/{EnhanceSqlModal-65b74b0f.mjs → EnhanceSqlModal-984f045d.mjs} +67 -67
  37. package/ErrorTip-bb616e32.mjs +7 -0
  38. package/ErrorTip.vue_vue_type_script_setup_true_lang-49d35987.mjs +60 -0
  39. package/{ExtendConfigModal-00f2fb55.mjs → ExtendConfigModal-7d70f362.mjs} +2 -2
  40. package/{FieldExtendJsonModal-cc7fce26.mjs → FieldExtendJsonModal-bf04d70e.mjs} +2 -2
  41. package/{FileSelectModal-38660e3c.mjs → FileSelectModal-ffc69d4a.mjs} +23 -23
  42. package/{ForeignKeyTable-a78cb5ad.mjs → ForeignKeyTable-92decaea.mjs} +3 -3
  43. package/{IndexTable-1b496559.mjs → IndexTable-2ded2014.mjs} +28 -20
  44. package/JModalTip-a927f85d.mjs +49 -0
  45. package/JOnlineSearchSelect-04ec87d0.mjs +128 -0
  46. package/{LeftDepart-8ade4bf7.mjs → LeftDepart-52cb6743.mjs} +1 -1
  47. package/LeftRole-b0e0b496.mjs +86 -0
  48. package/{LeftUser-b4d1372a.mjs → LeftUser-dd4b10e2.mjs} +30 -30
  49. package/{LinkTableConfigModal-a138c85e.mjs → LinkTableConfigModal-7eeb3e58.mjs} +43 -31
  50. package/{LinkTableFieldConfigModal-17b413b0.mjs → LinkTableFieldConfigModal-b078fcef.mjs} +1 -1
  51. package/{LinkTableListPiece-2660d709.mjs → LinkTableListPiece-e016b8e6.mjs} +1 -1
  52. package/{ModalFormDemo-0544737d.mjs → ModalFormDemo-aaa719a7.mjs} +1 -1
  53. package/OnlCgformErpList-5c5acdaa.mjs +488 -0
  54. package/OnlCgformErpSubTable-e1b88312.mjs +441 -0
  55. package/{OnlCgformInnerSubTable-290ace5d.mjs → OnlCgformInnerSubTable-6b6fa15a.mjs} +106 -107
  56. package/OnlCgformInnerTableList-b283a525.mjs +474 -0
  57. package/OnlCgformTabList-91e3dd78.mjs +424 -0
  58. package/OnlineAutoList-84475f1b.mjs +513 -0
  59. package/OnlineAutoModal-95f46901.mjs +260 -0
  60. package/OnlineAutoTreeList-20b9ce04.mjs +523 -0
  61. package/OnlineCustomModal-c8b1e780.mjs +232 -0
  62. package/{OnlineDetailModal-2a271e0b.mjs → OnlineDetailModal-5b412bb9.mjs} +74 -65
  63. package/OnlineForm-58282699.mjs +1012 -0
  64. package/{OnlineFormDetail-e036cd11.mjs → OnlineFormDetail-fc087725.mjs} +7 -7
  65. package/{OnlineFormUrlAdd-7fb3dcca.mjs → OnlineFormUrlAdd-bc9105bb.mjs} +10 -10
  66. package/{OnlineFormUrlDetail-b2292137.mjs → OnlineFormUrlDetail-ad912560.mjs} +12 -12
  67. package/{OnlineFormUrlEdit-44080fb3.mjs → OnlineFormUrlEdit-f2fa79ff.mjs} +10 -10
  68. package/OnlineFormUrlSuccess-76813d45.mjs +59 -0
  69. package/OnlineQueryForm-9248341f.mjs +484 -0
  70. package/{OnlineSearchFormItem-6feacae6.mjs → OnlineSearchFormItem-1e437bd3.mjs} +82 -82
  71. package/{OnlineSelectCascade-471fcc76.mjs → OnlineSelectCascade-d631ed72.mjs} +1 -1
  72. package/{OnlineSubFormDetail-03f8ee5c.mjs → OnlineSubFormDetail-8be879b9.mjs} +53 -54
  73. package/{OnlineTabAutoModal-7b9bcd0b.mjs → OnlineTabAutoModal-c9ca3c24.mjs} +108 -95
  74. package/{OnlineTabDetailModal-88143301.mjs → OnlineTabDetailModal-fd4c9a72.mjs} +36 -36
  75. package/OnlineTabForm-1940e88b.mjs +814 -0
  76. package/{OnlineTabFormDetail-bbf23caa.mjs → OnlineTabFormDetail-2aa67564.mjs} +17 -17
  77. package/{PageAttributeTable-6c23547b.mjs → PageAttributeTable-66e7b485.mjs} +169 -149
  78. package/PhoneLoginForm-86437a9d.mjs +214 -0
  79. package/{ProcessOnlineForm-b42198f5.mjs → ProcessOnlineForm-98ede18d.mjs} +64 -58
  80. package/{QueryTable-96b3dbd0.mjs → QueryTable-65d3f54f.mjs} +40 -37
  81. package/SetSwitchOptions-f914bc17.mjs +62 -0
  82. package/ShareAddView-657f0f8b.mjs +86 -0
  83. package/ShareEditView-1b945fd3.mjs +92 -0
  84. package/ShareView-222ed3d8.mjs +80 -0
  85. package/ShareView.vue_vue_type_script_setup_true_lang-44fbeaff.mjs +162 -0
  86. package/SingleView-23b0cb4e.mjs +68 -0
  87. package/SingleView.vue_vue_type_style_index_0_lang-e0f2f6c0.mjs +131 -0
  88. package/SuperQuery-46032e66.mjs +974 -0
  89. package/{SuperQueryValComponent-7ad86d4b.mjs → SuperQueryValComponent-5a9ccfd4.mjs} +1 -1
  90. package/{SuperQueryValComponent.vue_vue_type_script_lang-e9196096.mjs → SuperQueryValComponent.vue_vue_type_script_lang-8fe34917.mjs} +11 -11
  91. package/auth.api-53df4c33.mjs +41 -0
  92. package/{auth.data-22948e87.mjs → auth.data-626c5083.mjs} +68 -30
  93. package/button.data-fe45d43b.mjs +12 -0
  94. package/{cgform.data-475d4984.mjs → cgform.data-0ca62d09.mjs} +4 -1
  95. package/{enhance.data-3304d553.mjs → enhance.data-6601ff44.mjs} +9 -8
  96. package/index-19eaef11.mjs +11 -0
  97. package/index-1a2e8832.mjs +135 -0
  98. package/{index-581bef24.mjs → index-2fb8e07f.mjs} +59 -59
  99. package/index-5e89258d.mjs +8 -0
  100. package/index-9e1e1e53.mjs +57 -0
  101. package/{index-d2abb8a0.mjs → index-a039036e.mjs} +273 -262
  102. package/index-c5a79b0b.mjs +219 -0
  103. package/index-cce225be.mjs +110 -0
  104. package/index-f2c2d1cf.mjs +74 -0
  105. package/main.index.js +1 -1
  106. package/package.json +1 -1
  107. package/shareStore-7de6c7a6.mjs +67 -0
  108. package/style.css +1 -1
  109. package/useCgformList-f3cb9156.mjs +378 -0
  110. package/useExtendComponent-bb98e568.mjs +4460 -0
  111. package/useListButton-98908683.mjs +719 -0
  112. package/{useSchemas-47e45edc.mjs → useSchemas-b074f3a1.mjs} +88 -46
  113. package/useTableSync-075826a1.mjs +89 -0
  114. package/utils-9fce7606.mjs +16 -0
  115. package/AiModal-fe3988fb.mjs +0 -84
  116. package/AuthButtonConfig-d50a0a65.mjs +0 -134
  117. package/AuthButtonTree-589395ed.mjs +0 -156
  118. package/AuthFieldConfig-490fc0ab.mjs +0 -139
  119. package/AuthFieldTree-b7cd091e.mjs +0 -232
  120. package/CgformCopyList-8077ccc6.mjs +0 -250
  121. package/CgformModal-36faf29a.mjs +0 -621
  122. package/CodeFileListModal-0e26b7e0.mjs +0 -158
  123. package/CodeFileViewModal-9d4a5b5f.mjs +0 -248
  124. package/CodeGeneratorModal-b722d976.mjs +0 -238
  125. package/CustomButtonList-37639061.mjs +0 -381
  126. package/DbToOnlineModal-f49b9530.mjs +0 -166
  127. package/JModalTip-4a83aaed.mjs +0 -49
  128. package/JOnlineSearchSelect-34a37ec9.mjs +0 -95
  129. package/LeftRole-7d8c5acc.mjs +0 -86
  130. package/OnlCgformErpList-30e416c8.mjs +0 -470
  131. package/OnlCgformErpSubTable-9a876058.mjs +0 -427
  132. package/OnlCgformInnerTableList-f89b6687.mjs +0 -458
  133. package/OnlCgformTabList-7a2f2c03.mjs +0 -408
  134. package/OnlineAutoList-46c6c8b9.mjs +0 -493
  135. package/OnlineAutoModal-971bef13.mjs +0 -236
  136. package/OnlineAutoTreeList-3b92454c.mjs +0 -502
  137. package/OnlineCustomModal-594244f3.mjs +0 -232
  138. package/OnlineForm-018981b2.mjs +0 -924
  139. package/OnlineFormUrlSuccess-af285b02.mjs +0 -59
  140. package/OnlineQueryForm-998c12a4.mjs +0 -444
  141. package/OnlineTabForm-9ad7d29a.mjs +0 -805
  142. package/SetSwitchOptions-a452fa0f.mjs +0 -62
  143. package/SuperQuery-cbfba908.mjs +0 -975
  144. package/auth.api-d3a6c4b3.mjs +0 -39
  145. package/index-173949bb.mjs +0 -57
  146. package/useCgformList-8755a94e.mjs +0 -426
  147. package/useExtendComponent-bb7cca20.mjs +0 -4295
  148. package/useListButton-7ddb9a46.mjs +0 -697
  149. package/useTableSync-f6089e8a.mjs +0 -87
  150. /package/{OnlineForm.vue_vue_type_style_index_0_scoped_0f9f2964_lang-4ed993c7.mjs → OnlineForm.vue_vue_type_style_index_0_scoped_3f26e7bd_lang-4ed993c7.mjs} +0 -0
@@ -1,4 +1,4 @@
1
- import { _ as o } from "./SuperQueryValComponent.vue_vue_type_script_lang-e9196096.mjs";
1
+ import { _ as o } from "./SuperQueryValComponent.vue_vue_type_script_lang-8fe34917.mjs";
2
2
  import "vue";
3
3
  import "lodash-es";
4
4
  import "/@/components/Form/src/componentMap";
@@ -1,21 +1,21 @@
1
- var x = Object.defineProperty, A = Object.defineProperties;
2
- var E = Object.getOwnPropertyDescriptors;
1
+ var A = Object.defineProperty, E = Object.defineProperties;
2
+ var N = Object.getOwnPropertyDescriptors;
3
3
  var C = Object.getOwnPropertySymbols;
4
- var N = Object.prototype.hasOwnProperty, S = Object.prototype.propertyIsEnumerable;
5
- var b = (e, o, n) => o in e ? x(e, o, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[o] = n, u = (e, o) => {
4
+ var O = Object.prototype.hasOwnProperty, S = Object.prototype.propertyIsEnumerable;
5
+ var b = (e, o, n) => o in e ? A(e, o, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[o] = n, u = (e, o) => {
6
6
  for (var n in o || (o = {}))
7
- N.call(o, n) && b(e, n, o[n]);
7
+ O.call(o, n) && b(e, n, o[n]);
8
8
  if (C)
9
9
  for (var n of C(o))
10
10
  S.call(o, n) && b(e, n, o[n]);
11
11
  return e;
12
- }, v = (e, o) => A(e, E(o));
12
+ }, v = (e, o) => E(e, N(o));
13
13
  import { defineComponent as g, computed as M, createVNode as P, unref as f } from "vue";
14
14
  import { upperFirst as D } from "lodash-es";
15
15
  import { componentMap as I } from "/@/components/Form/src/componentMap";
16
16
  import { isFunction as K } from "/@/utils/is";
17
17
  const G = /* @__PURE__ */ g({
18
- name: "OnlineSuperQueryValComponent",
18
+ name: "SuperQueryValComponent",
19
19
  inheritAttrs: !1,
20
20
  props: {
21
21
  schema: {
@@ -70,8 +70,8 @@ const G = /* @__PURE__ */ g({
70
70
  [m]: (...a) => {
71
71
  const [d] = a;
72
72
  c[m] && c[m](...a);
73
- const i = d ? d.target : null, _ = i ? p ? i.checked : i.value : d;
74
- e.setFormModel(r, _);
73
+ const i = d ? d.target : null, x = i ? p ? i.checked : i.value : d;
74
+ e.setFormModel(r, x);
75
75
  }
76
76
  }, j = I.get(t), c = u({
77
77
  allowClear: !0,
@@ -80,13 +80,13 @@ const G = /* @__PURE__ */ g({
80
80
  !c.disabled && t !== "RangePicker" && t && (c.placeholder = ((h = f(n)) == null ? void 0 : h.placeholder) || k(t) + e.schema.label), c.codeField = r, c.formValues = f(F);
81
81
  const w = {
82
82
  [l || (p ? "checked" : "value")]: e.formModel[r]
83
- }, O = v(u(u(u({}, c), V), w), {
83
+ }, _ = v(u(u(u({}, c), V), w), {
84
84
  allowClear: !0,
85
85
  onPressEnter() {
86
86
  o("submit");
87
87
  }
88
88
  });
89
- return P(j, O, null);
89
+ return P(j, _, null);
90
90
  }
91
91
  return () => P("div", {
92
92
  style: "width:100%"
@@ -0,0 +1,41 @@
1
+ import { defHttp as o } from "/@/utils/http/axios";
2
+ const l = (t, a) => o.get({ url: `/online/cgform/api/authColumn/${t}`, params: a }), r = (t) => o.put({ url: "/online/cgform/api/authColumn", params: t }), s = (t) => o.post({ url: "/online/cgform/api/authColumn", params: t }), i = (t) => o.put({ url: "/online/cgform/api/authColumn/batch", params: t }), c = (t) => o.post({ url: "/online/cgform/api/authColumn/batch", params: t }), h = (t, a) => o.get({ url: `/online/cgform/api/authButton/${t}`, params: a }), p = (t) => o.post({ url: "/online/cgform/api/authButton", params: t }), g = (t, a) => o.put({ url: `/online/cgform/api/authButton/${t}`, params: a }), m = (t, a) => o.get({ url: `/online/cgform/api/authData/${t}`, params: a }), $ = (t) => o.put({ url: "/online/cgform/api/authData", params: t }), d = (t, a) => a ? o.put({ url: "/online/cgform/api/authData", params: t }) : o.post({ url: "/online/cgform/api/authData", params: t }), f = (t, a) => o.delete({ url: `/online/cgform/api/authData/${t}`, params: a }), D = (t, a, e) => {
3
+ let u = `/online/cgform/api/authPage/${t}/${a}`;
4
+ return o.get({ url: u, params: e });
5
+ }, A = (t, a) => {
6
+ let e = `/online/cgform/api/validAuthData/${t}`;
7
+ return o.get({ url: e, params: a });
8
+ }, b = (t, a, e) => {
9
+ let u = `/online/cgform/api/authPage/${t}/${a}`;
10
+ return o.get({ url: u, params: e });
11
+ }, B = (t) => o.get({ url: "/online/cgform/api/roleAuth", params: t }), C = (t, a, e) => {
12
+ let u = `/online/cgform/api/roleColumnAuth/${t}/${a}`;
13
+ return o.post({ url: u, params: e });
14
+ }, F = (t, a, e) => {
15
+ let u = `/online/cgform/api/roleDataAuth/${t}/${a}`;
16
+ return o.post({ url: u, params: e });
17
+ }, L = (t, a, e) => {
18
+ let u = `/online/cgform/api/roleButtonAuth/${t}/${a}`;
19
+ return o.post({ url: u, params: e }, { successMessageMode: "none", isTransformResponse: !1 });
20
+ };
21
+ export {
22
+ l as a,
23
+ r as b,
24
+ s as c,
25
+ i as d,
26
+ c as e,
27
+ h as f,
28
+ p as g,
29
+ g as h,
30
+ m as i,
31
+ d as j,
32
+ $ as k,
33
+ f as l,
34
+ D as m,
35
+ B as n,
36
+ b as o,
37
+ L as p,
38
+ A as q,
39
+ F as r,
40
+ C as s
41
+ };
@@ -1,9 +1,10 @@
1
- import { computed as n } from "vue";
2
- const d = [
1
+ import { computed as p } from "vue";
2
+ import { useConditionFilter as h } from "/@/utils/index";
3
+ const S = [
3
4
  {
4
5
  title: "启用",
5
6
  dataIndex: "switch",
6
- width: 80,
7
+ width: 100,
7
8
  align: "center",
8
9
  slots: { customRender: "switch" }
9
10
  },
@@ -29,7 +30,7 @@ const d = [
29
30
  width: 180,
30
31
  slots: { customRender: "form" }
31
32
  }
32
- ], u = [
33
+ ], y = [
33
34
  {
34
35
  title: "启用",
35
36
  dataIndex: "switch",
@@ -50,16 +51,20 @@ const d = [
50
51
  width: 180,
51
52
  slots: { customRender: "control" }
52
53
  }
53
- ], i = [
54
+ ], C = [
54
55
  { code: "add", title: "新增", status: 0 },
55
- { code: "update", title: "编辑", status: 0 },
56
+ { code: "edit", title: "编辑", status: 0 },
57
+ { code: "detail", title: "详情", status: 0 },
56
58
  { code: "delete", title: "删除", status: 0 },
57
59
  { code: "batch_delete", title: "批量删除", status: 0 },
58
60
  { code: "export", title: "导出", status: 0 },
59
61
  { code: "import", title: "导入", status: 0 },
62
+ { code: "query", title: "查询", status: 0 },
63
+ { code: "reset", title: "重置", status: 0 },
60
64
  { code: "bpm", title: "提交流程", status: 0 },
61
- { code: "super_query", title: "高级查询", status: 0 }
62
- ], a = "USE_SQL_RULES", r = [
65
+ { code: "super_query", title: "高级查询", status: 0 },
66
+ { code: "form_confirm", title: "确定", status: 0 }
67
+ ], n = "USE_SQL_RULES", v = [
63
68
  {
64
69
  title: "启用",
65
70
  dataIndex: "switch",
@@ -74,13 +79,13 @@ const d = [
74
79
  {
75
80
  title: "规则描述",
76
81
  dataIndex: "description",
77
- customRender({ record: { ruleOperator: t, ruleValue: e, ruleColumn: l } }) {
78
- return t == a ? `自定义SQL: ${e}` : `${l} ${t} ${e}`;
82
+ customRender({ record: { ruleOperator: o, ruleValue: e, ruleColumn: s } }) {
83
+ return o == n ? `自定义SQL: ${e}` : `${s} ${o} ${e}`;
79
84
  }
80
85
  }
81
86
  ];
82
- function c(t, e) {
83
- return { formSchemas: n(() => [
87
+ function w(o, e) {
88
+ return { formSchemas: p(() => [
84
89
  {
85
90
  label: "规则名称",
86
91
  field: "ruleName",
@@ -95,26 +100,58 @@ function c(t, e) {
95
100
  field: "ruleColumn",
96
101
  component: "JSearchSelect",
97
102
  componentProps: {
98
- dictOptions: t.authFields,
103
+ dictOptions: o.authFields,
99
104
  getPopupContainer: () => document.body,
100
105
  onChange: e.onRuleColumnChange
101
106
  },
102
- dynamicRules({ model: o }) {
103
- return [{ required: o.ruleOperator != a, message: "请输入规则字段" }];
107
+ dynamicRules({ model: t }) {
108
+ return [{ required: t.ruleOperator != n, message: "请输入规则字段" }];
104
109
  },
105
- show: ({ model: o }) => o.ruleOperator != a
110
+ show: ({ model: t }) => t.ruleOperator != n
106
111
  },
112
+ // -update-begin--author:liaozhiyang---date:20240617---for:【TV360X-201】权限管理条件根据控件过滤
107
113
  {
108
114
  label: "条件规则",
109
115
  field: "ruleOperator",
110
116
  required: !0,
111
117
  component: "JDictSelectTag",
112
118
  componentProps: {
113
- dictCode: "rule_conditions",
119
+ options: [],
114
120
  onChange: e.onRuleOperatorChange,
115
121
  getPopupContainer: () => document.body
122
+ },
123
+ dynamicPropskey: "options",
124
+ dynamicPropsVal: ({ model: t, field: b }) => {
125
+ var u;
126
+ const c = (a) => {
127
+ if (["BigDecimal", "double", "int"].includes(a))
128
+ return "number";
129
+ }, { filterCondition: m } = h();
130
+ if (t.ruleColumn) {
131
+ const a = (u = o.authFields.find((l) => l.value === t.ruleColumn)) != null ? u : {}, d = m({ view: a.view, fieldType: c(a.dbType) }).map((l) => {
132
+ var i, r;
133
+ return {
134
+ label: (i = l.title) != null ? i : l.label,
135
+ value: (r = l.val) != null ? r : l.value
136
+ };
137
+ });
138
+ return d.push({ value: "USE_SQL_RULES", label: "自定义SQL" }), d;
139
+ } else
140
+ return [{ value: "USE_SQL_RULES", label: "自定义SQL" }];
116
141
  }
117
142
  },
143
+ // {
144
+ // label: '条件规则',
145
+ // field: 'ruleOperator',
146
+ // required: true,
147
+ // component: 'JDictSelectTag',
148
+ // componentProps: {
149
+ // dictCode: 'rule_conditions',
150
+ // onChange: methods.onRuleOperatorChange,
151
+ // getPopupContainer: () => document.body,
152
+ // },
153
+ // },
154
+ // -update-end--author:liaozhiyang---date:20240617---for:【TV360X-201】权限管理条件根据控件过滤
118
155
  {
119
156
  label: "规则值",
120
157
  field: "ruleValue",
@@ -125,34 +162,35 @@ function c(t, e) {
125
162
  selectPlaceholder: "可选择系统变量",
126
163
  inputPlaceholder: "请输入",
127
164
  getPopupContainer: () => document.body,
165
+ selectWidth: "200px",
128
166
  options: [
129
167
  {
130
168
  label: "登录用户账号",
131
- value: "${sys_user_code}"
169
+ value: "#{sys_user_code}"
132
170
  },
133
171
  {
134
172
  label: "登录用户名称",
135
- value: "${sys_user_name}"
173
+ value: "#{sys_user_name}"
136
174
  },
137
175
  {
138
176
  label: "当前日期",
139
- value: "${sys_date}"
177
+ value: "#{sys_date}"
140
178
  },
141
179
  {
142
180
  label: "当前时间",
143
- value: "${sys_date}"
181
+ value: "#{sys_time}"
144
182
  },
145
183
  {
146
184
  label: "登录用户部门",
147
- value: "${sys_org_code}"
185
+ value: "#{sys_org_code}"
148
186
  },
149
187
  {
150
188
  label: "用户拥有的部门",
151
- value: "${sys_multi_org_code}"
189
+ value: "#{sys_multi_org_code}"
152
190
  },
153
191
  {
154
192
  label: "登录用户租户",
155
- value: "${tenant_id}"
193
+ value: "#{tenant_id}"
156
194
  }
157
195
  ]
158
196
  }
@@ -174,10 +212,10 @@ function c(t, e) {
174
212
  ]) };
175
213
  }
176
214
  export {
177
- a as U,
178
- d as a,
179
- u as b,
180
- i as c,
181
- r as d,
182
- c as u
215
+ n as U,
216
+ S as a,
217
+ y as b,
218
+ C as c,
219
+ v as d,
220
+ w as u
183
221
  };
@@ -0,0 +1,12 @@
1
+ import { createVNode as o } from "vue";
2
+ import { Icon as r } from "/@/components/Icon";
3
+ function i({
4
+ text: n
5
+ }) {
6
+ return n ? o(r, {
7
+ icon: "ant-design:" + n
8
+ }, null) : "";
9
+ }
10
+ export {
11
+ i as getButtonIconRender
12
+ };
@@ -79,8 +79,11 @@ const r = "validate-failed", h = [
79
79
  tableFixedActionType: "right",
80
80
  // update-begin--author:liaozhiyang---date:20240329---for:【QQYUN-7872】online表单label较长优化
81
81
  formLabelLengthShow: 0,
82
- formLabelLength: null
82
+ formLabelLength: null,
83
83
  // update-begin--author:liaozhiyang---date:20240329---for:【QQYUN-7872】online表单label较长优化
84
+ // 是否启用外部链接
85
+ enableExternalLink: 0,
86
+ externalLinkActions: "add,edit,detail"
84
87
  };
85
88
  function y() {
86
89
  let d = [
@@ -1,5 +1,5 @@
1
1
  import { computed as n } from "vue";
2
- import { o as u } from "./cgform.data-475d4984.mjs";
2
+ import { o as u } from "./cgform.data-0ca62d09.mjs";
3
3
  function d(l) {
4
4
  return { columns: [
5
5
  {
@@ -120,6 +120,7 @@ function p(l) {
120
120
  field: "buttonCode",
121
121
  component: "Select",
122
122
  componentProps: {
123
+ allowClear: !1,
123
124
  options: [
124
125
  { label: "新增", value: "add" },
125
126
  { label: "编辑", value: "edit" },
@@ -151,17 +152,17 @@ function p(l) {
151
152
  }
152
153
  ]) };
153
154
  }
154
- function o(l, t) {
155
+ function o(l, a) {
155
156
  let e = "";
156
- for (let a of u)
157
- if (a.code === l) {
158
- e = a.title;
157
+ for (let t of u)
158
+ if (t.code === l) {
159
+ e = t.title;
159
160
  break;
160
161
  }
161
162
  if (!e) {
162
- for (let a of t)
163
- if (a.buttonCode === l) {
164
- e = a.buttonName;
163
+ for (let t of a)
164
+ if (t.buttonCode === l) {
165
+ e = t.buttonName;
165
166
  break;
166
167
  }
167
168
  }
@@ -0,0 +1,11 @@
1
+ import { defineComponent as e, openBlock as o, createElementBlock as r } from "vue";
2
+ import { useUserStore as t } from "/@/store/modules/user";
3
+ const _ = /* @__PURE__ */ e({
4
+ __name: "index",
5
+ setup(n) {
6
+ return t().getToken, (c, m) => (o(), r("div", null, "这里是你的登录页面"));
7
+ }
8
+ });
9
+ export {
10
+ _ as default
11
+ };
@@ -0,0 +1,135 @@
1
+ var C = (e, s, r) => new Promise((a, i) => {
2
+ var c = (t) => {
3
+ try {
4
+ n(r.next(t));
5
+ } catch (o) {
6
+ i(o);
7
+ }
8
+ }, l = (t) => {
9
+ try {
10
+ n(r.throw(t));
11
+ } catch (o) {
12
+ i(o);
13
+ }
14
+ }, n = (t) => t.done ? a(t.value) : Promise.resolve(t.value).then(c, l);
15
+ n((r = r.apply(e, s)).next());
16
+ });
17
+ import { Dropdown as D, Menu as g } from "ant-design-vue";
18
+ import { defineComponent as I, computed as _, resolveComponent as f, openBlock as k, createBlock as M, withCtx as d, createVNode as h, createElementVNode as p, normalizeClass as u, toDisplayString as A } from "vue";
19
+ import { useUserStore as $ } from "/@/store/modules/user";
20
+ import { useHeaderSetting as U } from "/@/hooks/setting/useHeaderSetting";
21
+ import { useI18n as x } from "/@/hooks/web/useI18n";
22
+ import { useDesign as L } from "/@/hooks/web/useDesign";
23
+ import { useMessage as N } from "/@/hooks/web/useMessage";
24
+ import y from "/@/assets/images/header.jpg";
25
+ import { propTypes as b } from "/@/utils/propTypes";
26
+ import { createAsyncComponent as O } from "/@/utils/factory/createAsyncComponent";
27
+ import { refreshCache as S, queryAllDictItems as B } from "/@/views/system/dict/dict.api";
28
+ import { DB_DICT_DATA_KEY as v } from "/@/enums/cacheEnum";
29
+ import { removeAuthCache as K, setAuthCache as T } from "/@/utils/auth";
30
+ import { getFileAccessHttpUrl as E } from "/@/utils/common/compUtils";
31
+ import { _ as F } from "./index-9e1e1e53.mjs";
32
+ import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
33
+ import "vue-router";
34
+ const { createMessage: w } = N(), H = I({
35
+ name: "UserDropdown",
36
+ components: {
37
+ Dropdown: D,
38
+ Menu: g,
39
+ MenuItem: O(() => import("./DropMenuItem-1e49abea.mjs")),
40
+ MenuDivider: g.Divider
41
+ },
42
+ props: {
43
+ theme: b.oneOf(["dark", "light"])
44
+ },
45
+ setup() {
46
+ const { prefixCls: e } = L("header-user-dropdown"), { t: s } = x(), { getUseLockPage: r } = U(), a = $(), i = _(() => {
47
+ const { realname: o = "NoLogin", avatar: m } = a.getUserInfo || {};
48
+ return {
49
+ realname: o,
50
+ avatar: m || y
51
+ };
52
+ }), c = _(() => {
53
+ let { avatar: o } = i.value;
54
+ return o == y ? o : E(o);
55
+ });
56
+ function l() {
57
+ a.confirmLoginOut();
58
+ }
59
+ function n() {
60
+ return C(this, null, function* () {
61
+ if ((yield S()).success) {
62
+ const m = yield B();
63
+ K(v), T(v, m.result), w.success(s("layout.header.refreshCacheComplete")), a.setAllDictItems(m.result);
64
+ } else
65
+ w.error(s("layout.header.refreshCacheFailure"));
66
+ });
67
+ }
68
+ function t(o) {
69
+ switch (o.key) {
70
+ case "logout":
71
+ l();
72
+ break;
73
+ case "cache":
74
+ n();
75
+ break;
76
+ }
77
+ }
78
+ return {
79
+ prefixCls: e,
80
+ t: s,
81
+ getUserInfo: i,
82
+ getAvatarUrl: c,
83
+ handleMenuClick: t,
84
+ getUseLockPage: r
85
+ };
86
+ }
87
+ });
88
+ const V = ["src"];
89
+ function q(e, s, r, a, i, c) {
90
+ const l = f("MenuItem"), n = f("Menu"), t = f("Dropdown");
91
+ return k(), M(t, {
92
+ placement: "bottomLeft",
93
+ overlayClassName: `${e.prefixCls}-dropdown-overlay`
94
+ }, {
95
+ overlay: d(() => [
96
+ h(n, { onClick: e.handleMenuClick }, {
97
+ default: d(() => [
98
+ h(l, {
99
+ itemKey: "cache",
100
+ text: e.t("layout.header.dropdownItemRefreshCache"),
101
+ icon: "ion:sync-outline"
102
+ }, null, 8, ["text"]),
103
+ h(l, {
104
+ itemKey: "logout",
105
+ text: e.t("layout.header.dropdownItemLoginOut"),
106
+ icon: "ion:power-outline"
107
+ }, null, 8, ["text"])
108
+ ]),
109
+ _: 1
110
+ }, 8, ["onClick"])
111
+ ]),
112
+ default: d(() => [
113
+ p("span", {
114
+ class: u([[e.prefixCls, `${e.prefixCls}--${e.theme}`], "flex"])
115
+ }, [
116
+ p("img", {
117
+ class: u(`${e.prefixCls}__header`),
118
+ src: e.getAvatarUrl
119
+ }, null, 10, V),
120
+ p("span", {
121
+ class: u(`${e.prefixCls}__info hidden md:block`)
122
+ }, [
123
+ p("span", {
124
+ class: u([`${e.prefixCls}__name `, "truncate"])
125
+ }, A(e.getUserInfo.realname), 3)
126
+ ], 2)
127
+ ], 2)
128
+ ]),
129
+ _: 1
130
+ }, 8, ["overlayClassName"]);
131
+ }
132
+ const ie = /* @__PURE__ */ F(H, [["render", q]]);
133
+ export {
134
+ ie as default
135
+ };