@jeecg/online 3.6.2-beta → 3.7.1-RC
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/AiModal-6de335e3.mjs +84 -0
- package/AuthButtonConfig-89763932.mjs +154 -0
- package/{AuthButtonTree-3aa0ed49.mjs → AuthButtonTree-2d87d0b3.mjs} +6 -5
- package/AuthDataConfig-5c3a8e6b.mjs +238 -0
- package/{AuthDataTree-94e026e3.mjs → AuthDataTree-dd7a1240.mjs} +6 -6
- package/AuthFieldConfig-9f6fa06c.mjs +245 -0
- package/{AuthFieldTree-69864163.mjs → AuthFieldTree-e326fc38.mjs} +2 -2
- package/AuthManagerDrawer-76f15e8d.mjs +119 -0
- package/AuthSetterModal-f5d2e87f.mjs +274 -0
- package/{CgformCopyList-14b76108.mjs → CgformCopyList-365b3e8f.mjs} +49 -46
- package/CgformModal-21c5c387.mjs +671 -0
- package/{CgreportModal.vue_vue_type_script_setup_true_lang-c89d9222.mjs → CgreportModal-edefa8e3.mjs} +153 -129
- package/CheckDictTable-1bc8322d.mjs +229 -0
- package/{CodeFileListModal-a6d3290d.mjs → CodeFileListModal-24601898.mjs} +5 -4
- package/CodeFileViewModal-2fe911f4.mjs +253 -0
- package/CodeGeneratorModal-f09fe903.mjs +282 -0
- package/CustomButtonList-f07bc695.mjs +397 -0
- package/{DBAttributeTable-370de07b.mjs → DBAttributeTable-285d40db.mjs} +118 -89
- package/DbToOnlineModal-5dcb67c3.mjs +169 -0
- package/DetailForm-deecbf3d.mjs +486 -0
- package/{EnhanceJavaModal-f63aa2d3.mjs → EnhanceJavaModal-45c66cd5.mjs} +3 -3
- package/{EnhanceJsHistory-352b46b1.mjs → EnhanceJsHistory-fab3102e.mjs} +2 -2
- package/EnhanceJsModal-175357a1.mjs +548 -0
- package/{EnhanceSqlModal-5e4ae84f.mjs → EnhanceSqlModal-7ea1b300.mjs} +3 -3
- package/ExtendConfigModal-a89ae052.mjs +117 -0
- package/FieldExtendJsonModal-32135634.mjs +277 -0
- package/{FileSelectModal-9a02560b.mjs → FileSelectModal-1643c8b9.mjs} +1 -1
- package/{ForeignKeyTable-6a843c4b.mjs → ForeignKeyTable-7f7e28a7.mjs} +3 -3
- package/{IndexTable-f8af9d44.mjs → IndexTable-cdcc2b48.mjs} +28 -20
- package/{JModalTip-33c7dc44.mjs → JModalTip-b055ab60.mjs} +1 -1
- package/JOnlineSearchSelect-22aae934.mjs +128 -0
- package/{LeftDepart-fa85523d.mjs → LeftDepart-d5615ed9.mjs} +1 -1
- package/{LeftRole-8b8dfe21.mjs → LeftRole-2ed8a2bf.mjs} +1 -1
- package/{LeftUser-dc24ef2f.mjs → LeftUser-22baa378.mjs} +3 -3
- package/LinkTableConfigModal-9242d750.mjs +240 -0
- package/{LinkTableFieldConfigModal-787bc55c.mjs → LinkTableFieldConfigModal-24adc50c.mjs} +41 -41
- package/{LinkTableListPiece-8499a318.mjs → LinkTableListPiece-f3a8e0d7.mjs} +1 -1
- package/{ModalFormDemo-977a49eb.mjs → ModalFormDemo-711418db.mjs} +1 -1
- package/OnlCgformErpList-58acdfa0.mjs +470 -0
- package/OnlCgformErpSubTable-9b1e1938.mjs +426 -0
- package/OnlCgformInnerSubTable-6c23781f.mjs +265 -0
- package/OnlCgformInnerTableList-4b5e14ed.mjs +458 -0
- package/OnlCgformTabList-019ad753.mjs +408 -0
- package/OnlineAutoList-48589d09.mjs +493 -0
- package/OnlineAutoModal-c2928847.mjs +239 -0
- package/{OnlineAutoTreeList-89265688.mjs → OnlineAutoTreeList-3baa1d00.mjs} +207 -204
- package/{OnlineCustomModal-518ad33c.mjs → OnlineCustomModal-9e17b6ce.mjs} +16 -12
- package/{OnlineDetailModal-9675390d.mjs → OnlineDetailModal-d5895734.mjs} +74 -64
- package/OnlineForm-9f1153ba.mjs +985 -0
- package/OnlineForm.vue_vue_type_style_index_0_scoped_4657b304_lang-4ed993c7.mjs +1 -0
- package/OnlineFormDetail-022ca117.mjs +342 -0
- package/OnlineFormUrlAdd-9715d70a.mjs +115 -0
- package/OnlineFormUrlDetail-8f864b1a.mjs +119 -0
- package/OnlineFormUrlEdit-ac985b36.mjs +113 -0
- package/OnlineFormUrlSuccess-3dfc54ab.mjs +59 -0
- package/OnlineQueryForm-eedb9a60.mjs +466 -0
- package/{OnlineSearchFormItem-0cc85a8a.mjs → OnlineSearchFormItem-6c557343.mjs} +2 -2
- package/{OnlineSelectCascade-4265c95d.mjs → OnlineSelectCascade-05c40fef.mjs} +1 -1
- package/{OnlineSubFormDetail-f0d2c016.mjs → OnlineSubFormDetail-58e896ce.mjs} +30 -28
- package/OnlineTabAutoModal-47b18ad6.mjs +306 -0
- package/{OnlineTabDetailModal-7356d3a8.mjs → OnlineTabDetailModal-82de1465.mjs} +22 -20
- package/OnlineTabForm-27655c83.mjs +817 -0
- package/OnlineTabFormDetail-8d0c40c0.mjs +327 -0
- package/PageAttributeTable-25e3b7da.mjs +466 -0
- package/{ProcessOnlineForm-67558898.mjs → ProcessOnlineForm-148632fe.mjs} +66 -56
- package/QueryTable-f7bfca7f.mjs +147 -0
- package/SetSwitchOptions-b2af757f.mjs +62 -0
- package/SuperQuery-a8592995.mjs +967 -0
- package/auth.api-ea1d33d4.mjs +41 -0
- package/auth.data-511e5197.mjs +217 -0
- package/{cgform.data-cbdd88c3.mjs → cgform.data-475d4984.mjs} +5 -1
- package/constant-fa63bd66.mjs +10 -0
- package/{enhance.data-efc7e155.mjs → enhance.data-a67572e1.mjs} +11 -10
- package/index-1d1a6e56.mjs +57 -0
- package/{index-b7a05eef.mjs → index-30e0e923.mjs} +396 -362
- package/{index-49508cad.mjs → index-f30613d1.mjs} +29 -27
- package/main.index.js +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/useCgformList-f41d4dc1.mjs +426 -0
- package/useExtendComponent-dcae5c78.mjs +4399 -0
- package/useFormUrl-2ee1a82d.mjs +24 -0
- package/useListButton-bfac4ecf.mjs +697 -0
- package/{useSchemas-0433a403.mjs → useSchemas-a9c75b0f.mjs} +191 -101
- package/useTableSync-d7e9f18d.mjs +89 -0
- package/AuthButtonConfig-244ec09f.mjs +0 -125
- package/AuthDataConfig-83891eea.mjs +0 -212
- package/AuthFieldConfig-6b21915c.mjs +0 -139
- package/AuthManagerDrawer-300dd4e4.mjs +0 -114
- package/AuthSetterModal-a414fb35.mjs +0 -267
- package/CgformModal-eccfc38e.mjs +0 -611
- package/CgreportModal-2065f5a9.mjs +0 -13
- package/CheckDictTable-134cbb83.mjs +0 -211
- package/CodeFileViewModal-373e8058.mjs +0 -244
- package/CodeGeneratorModal-f08a89cd.mjs +0 -233
- package/CustomButtonList-02e3d897.mjs +0 -363
- package/DbToOnlineModal-9f13956f.mjs +0 -160
- package/DetailForm-424638eb.mjs +0 -462
- package/EnhanceJsModal-05c73a59.mjs +0 -311
- package/ExtendConfigModal-1dde390a.mjs +0 -111
- package/FieldExtendJsonModal-a70a9ccd.mjs +0 -219
- package/JOnlineSearchSelect-c287af12.mjs +0 -95
- package/LinkTableConfigModal-d4fbdef2.mjs +0 -230
- package/OnlCgformErpList-db45e22b.mjs +0 -454
- package/OnlCgformErpSubTable-54b50eec.mjs +0 -403
- package/OnlCgformInnerSubTable-fbca73e0.mjs +0 -253
- package/OnlCgformInnerTableList-782eaf04.mjs +0 -444
- package/OnlCgformTabList-a9e1e36a.mjs +0 -395
- package/OnlineAutoList-0583a910.mjs +0 -479
- package/OnlineAutoModal-510991eb.mjs +0 -207
- package/OnlineForm-1fa2d893.mjs +0 -750
- package/OnlineFormDetail-0e7294ca.mjs +0 -297
- package/OnlineQueryForm-1bfc8320.mjs +0 -386
- package/OnlineTabAutoModal-6f636ee2.mjs +0 -254
- package/OnlineTabForm-512d3951.mjs +0 -766
- package/OnlineTabFormDetail-5a70219d.mjs +0 -324
- package/PageAttributeTable-965dc58e.mjs +0 -404
- package/QueryTable-eb9a5b21.mjs +0 -115
- package/SuperQuery-5d1ca957.mjs +0 -843
- package/auth.api-d3a6c4b3.mjs +0 -39
- package/auth.data-8be5c9e3.mjs +0 -141
- package/constant-754f1a9d.mjs +0 -9
- package/index-0e3ab3af.mjs +0 -56
- package/useCgformList-423282b7.mjs +0 -400
- package/useExtendComponent-325fe3f1.mjs +0 -3926
- package/useListButton-cdbab702.mjs +0 -676
- package/useTableSync-774c3774.mjs +0 -87
|
@@ -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, u) => {
|
|
3
|
+
let e = `/online/cgform/api/authPage/${t}/${a}`;
|
|
4
|
+
return o.get({ url: e, params: u });
|
|
5
|
+
}, A = (t, a) => {
|
|
6
|
+
let u = `/online/cgform/api/validAuthData/${t}`;
|
|
7
|
+
return o.get({ url: u, params: a });
|
|
8
|
+
}, b = (t, a, u) => {
|
|
9
|
+
let e = `/online/cgform/api/authPage/${t}/${a}`;
|
|
10
|
+
return o.get({ url: e, params: u });
|
|
11
|
+
}, B = (t) => o.get({ url: "/online/cgform/api/roleAuth", params: t }), C = (t, a, u) => {
|
|
12
|
+
let e = `/online/cgform/api/roleColumnAuth/${t}/${a}`;
|
|
13
|
+
return o.post({ url: e, params: u });
|
|
14
|
+
}, F = (t, a, u) => {
|
|
15
|
+
let e = `/online/cgform/api/roleDataAuth/${t}/${a}`;
|
|
16
|
+
return o.post({ url: e, params: u });
|
|
17
|
+
}, L = (t, a, u) => {
|
|
18
|
+
let e = `/online/cgform/api/roleButtonAuth/${t}/${a}`;
|
|
19
|
+
return o.post({ url: e, params: u });
|
|
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
|
+
};
|
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
import { computed as p } from "vue";
|
|
2
|
+
import { useConditionFilter as h } from "/@/utils/index";
|
|
3
|
+
const f = [
|
|
4
|
+
{
|
|
5
|
+
title: "启用",
|
|
6
|
+
dataIndex: "switch",
|
|
7
|
+
width: 100,
|
|
8
|
+
align: "center",
|
|
9
|
+
slots: { customRender: "switch" }
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
title: "字段名称",
|
|
13
|
+
width: 200,
|
|
14
|
+
dataIndex: "code"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
title: "字段描述",
|
|
18
|
+
// width: 200,
|
|
19
|
+
dataIndex: "title"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
title: "列表控制",
|
|
23
|
+
dataIndex: "list",
|
|
24
|
+
width: 120,
|
|
25
|
+
slots: { customRender: "list" }
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
title: "表单控制",
|
|
29
|
+
dataIndex: "form",
|
|
30
|
+
width: 180,
|
|
31
|
+
slots: { customRender: "form" }
|
|
32
|
+
}
|
|
33
|
+
], C = [
|
|
34
|
+
{
|
|
35
|
+
title: "启用",
|
|
36
|
+
dataIndex: "switch",
|
|
37
|
+
width: 80,
|
|
38
|
+
slots: { customRender: "switch" }
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
title: "名称",
|
|
42
|
+
dataIndex: "title"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
title: "编码",
|
|
46
|
+
dataIndex: "code"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
title: "权限控制",
|
|
50
|
+
dataIndex: "control",
|
|
51
|
+
width: 180,
|
|
52
|
+
slots: { customRender: "control" }
|
|
53
|
+
}
|
|
54
|
+
], v = [
|
|
55
|
+
{ code: "add", title: "新增", status: 0 },
|
|
56
|
+
{ code: "update", title: "编辑", status: 0 },
|
|
57
|
+
{ code: "delete", title: "删除", status: 0 },
|
|
58
|
+
{ code: "batch_delete", title: "批量删除", status: 0 },
|
|
59
|
+
{ code: "export", title: "导出", status: 0 },
|
|
60
|
+
{ code: "import", title: "导入", status: 0 },
|
|
61
|
+
{ code: "bpm", title: "提交流程", status: 0 },
|
|
62
|
+
{ code: "super_query", title: "高级查询", status: 0 }
|
|
63
|
+
], n = "USE_SQL_RULES", w = [
|
|
64
|
+
{
|
|
65
|
+
title: "启用",
|
|
66
|
+
dataIndex: "switch",
|
|
67
|
+
width: 80,
|
|
68
|
+
slots: { customRender: "switch" }
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
title: "规则名称",
|
|
72
|
+
dataIndex: "ruleName",
|
|
73
|
+
width: 130
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
title: "规则描述",
|
|
77
|
+
dataIndex: "description",
|
|
78
|
+
customRender({ record: { ruleOperator: o, ruleValue: e, ruleColumn: s } }) {
|
|
79
|
+
return o == n ? `自定义SQL: ${e}` : `${s} ${o} ${e}`;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
];
|
|
83
|
+
function y(o, e) {
|
|
84
|
+
return { formSchemas: p(() => [
|
|
85
|
+
{
|
|
86
|
+
label: "规则名称",
|
|
87
|
+
field: "ruleName",
|
|
88
|
+
required: !0,
|
|
89
|
+
component: "Input",
|
|
90
|
+
componentProps: {
|
|
91
|
+
onChange: e.onRuleNameChange
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
label: "规则字段",
|
|
96
|
+
field: "ruleColumn",
|
|
97
|
+
component: "JSearchSelect",
|
|
98
|
+
componentProps: {
|
|
99
|
+
dictOptions: o.authFields,
|
|
100
|
+
getPopupContainer: () => document.body,
|
|
101
|
+
onChange: e.onRuleColumnChange
|
|
102
|
+
},
|
|
103
|
+
dynamicRules({ model: t }) {
|
|
104
|
+
return [{ required: t.ruleOperator != n, message: "请输入规则字段" }];
|
|
105
|
+
},
|
|
106
|
+
show: ({ model: t }) => t.ruleOperator != n
|
|
107
|
+
},
|
|
108
|
+
// -update-begin--author:liaozhiyang---date:20240617---for:【TV360X-201】权限管理条件根据控件过滤
|
|
109
|
+
{
|
|
110
|
+
label: "条件规则",
|
|
111
|
+
field: "ruleOperator",
|
|
112
|
+
required: !0,
|
|
113
|
+
component: "JDictSelectTag",
|
|
114
|
+
componentProps: {
|
|
115
|
+
options: [],
|
|
116
|
+
onChange: e.onRuleOperatorChange,
|
|
117
|
+
getPopupContainer: () => document.body
|
|
118
|
+
},
|
|
119
|
+
dynamicPropskey: "options",
|
|
120
|
+
dynamicPropsVal: ({ model: t, field: b }) => {
|
|
121
|
+
var u;
|
|
122
|
+
const c = (a) => {
|
|
123
|
+
if (["BigDecimal", "double", "int"].includes(a))
|
|
124
|
+
return "number";
|
|
125
|
+
}, { filterCondition: m } = h();
|
|
126
|
+
if (t.ruleColumn) {
|
|
127
|
+
const a = (u = o.authFields.find((l) => l.value === t.ruleColumn)) != null ? u : {}, d = m({ view: a.view, fieldType: c(a.dbType) }).map((l) => {
|
|
128
|
+
var i, r;
|
|
129
|
+
return {
|
|
130
|
+
label: (i = l.title) != null ? i : l.label,
|
|
131
|
+
value: (r = l.val) != null ? r : l.value
|
|
132
|
+
};
|
|
133
|
+
});
|
|
134
|
+
return d.push({ value: "USE_SQL_RULES", label: "自定义SQL" }), d;
|
|
135
|
+
} else
|
|
136
|
+
return [{ value: "USE_SQL_RULES", label: "自定义SQL" }];
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
// {
|
|
140
|
+
// label: '条件规则',
|
|
141
|
+
// field: 'ruleOperator',
|
|
142
|
+
// required: true,
|
|
143
|
+
// component: 'JDictSelectTag',
|
|
144
|
+
// componentProps: {
|
|
145
|
+
// dictCode: 'rule_conditions',
|
|
146
|
+
// onChange: methods.onRuleOperatorChange,
|
|
147
|
+
// getPopupContainer: () => document.body,
|
|
148
|
+
// },
|
|
149
|
+
// },
|
|
150
|
+
// -update-end--author:liaozhiyang---date:20240617---for:【TV360X-201】权限管理条件根据控件过滤
|
|
151
|
+
{
|
|
152
|
+
label: "规则值",
|
|
153
|
+
field: "ruleValue",
|
|
154
|
+
required: !0,
|
|
155
|
+
// -update-begin--author:liaozhiyang---date:20240607---for:【TV360X-536】数据权限配置配置优化及新增JInputSelect组件
|
|
156
|
+
component: "JInputSelect",
|
|
157
|
+
componentProps: {
|
|
158
|
+
selectPlaceholder: "可选择系统变量",
|
|
159
|
+
inputPlaceholder: "请输入",
|
|
160
|
+
getPopupContainer: () => document.body,
|
|
161
|
+
selectWidth: "200px",
|
|
162
|
+
options: [
|
|
163
|
+
{
|
|
164
|
+
label: "登录用户账号",
|
|
165
|
+
value: "#{sys_user_code}"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
label: "登录用户名称",
|
|
169
|
+
value: "#{sys_user_name}"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
label: "当前日期",
|
|
173
|
+
value: "#{sys_date}"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
label: "当前时间",
|
|
177
|
+
value: "#{sys_time}"
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
label: "登录用户部门",
|
|
181
|
+
value: "#{sys_org_code}"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
label: "用户拥有的部门",
|
|
185
|
+
value: "#{sys_multi_org_code}"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
label: "登录用户租户",
|
|
189
|
+
value: "#{tenant_id}"
|
|
190
|
+
}
|
|
191
|
+
]
|
|
192
|
+
}
|
|
193
|
+
// -update-end--author:liaozhiyang---date:20240607---for:【TV360X-536】数据权限配置配置优化及新增JInputSelect组件
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
label: "状态",
|
|
197
|
+
field: "status",
|
|
198
|
+
required: !0,
|
|
199
|
+
component: "RadioButtonGroup",
|
|
200
|
+
componentProps: {
|
|
201
|
+
options: [
|
|
202
|
+
{ label: "有效", value: 1 },
|
|
203
|
+
{ label: "无效", value: 0 }
|
|
204
|
+
]
|
|
205
|
+
},
|
|
206
|
+
defaultValue: 1
|
|
207
|
+
}
|
|
208
|
+
]) };
|
|
209
|
+
}
|
|
210
|
+
export {
|
|
211
|
+
n as U,
|
|
212
|
+
f as a,
|
|
213
|
+
C as b,
|
|
214
|
+
v as c,
|
|
215
|
+
w as d,
|
|
216
|
+
y as u
|
|
217
|
+
};
|
|
@@ -76,7 +76,11 @@ const r = "validate-failed", h = [
|
|
|
76
76
|
modalMinWidth: "",
|
|
77
77
|
commentStatus: 0,
|
|
78
78
|
tableFixedAction: 1,
|
|
79
|
-
tableFixedActionType: "right"
|
|
79
|
+
tableFixedActionType: "right",
|
|
80
|
+
// update-begin--author:liaozhiyang---date:20240329---for:【QQYUN-7872】online表单label较长优化
|
|
81
|
+
formLabelLengthShow: 0,
|
|
82
|
+
formLabelLength: null
|
|
83
|
+
// update-begin--author:liaozhiyang---date:20240329---for:【QQYUN-7872】online表单label较长优化
|
|
80
84
|
};
|
|
81
85
|
function y() {
|
|
82
86
|
let d = [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed as n } from "vue";
|
|
2
|
-
import { o as u } from "./cgform.data-
|
|
2
|
+
import { o as u } from "./cgform.data-475d4984.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,21 +152,21 @@ function p(l) {
|
|
|
151
152
|
}
|
|
152
153
|
]) };
|
|
153
154
|
}
|
|
154
|
-
function o(l,
|
|
155
|
-
let e =
|
|
156
|
-
for (let
|
|
157
|
-
if (
|
|
158
|
-
e =
|
|
155
|
+
function o(l, a) {
|
|
156
|
+
let e = "";
|
|
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
|
|
163
|
-
if (
|
|
164
|
-
e =
|
|
163
|
+
for (let t of a)
|
|
164
|
+
if (t.buttonCode === l) {
|
|
165
|
+
e = t.buttonName;
|
|
165
166
|
break;
|
|
166
167
|
}
|
|
167
168
|
}
|
|
168
|
-
return e;
|
|
169
|
+
return e || l;
|
|
169
170
|
}
|
|
170
171
|
export {
|
|
171
172
|
d as a,
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import p from "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
|
|
2
|
+
import { defineComponent as m, resolveComponent as l, openBlock as a, createElementBlock as v, createVNode as f, defineAsyncComponent as s } from "vue";
|
|
3
|
+
import { useMessage as g } from "/@/hooks/web/useMessage";
|
|
4
|
+
import { useRoute as d } from "vue-router";
|
|
5
|
+
const w = m({
|
|
6
|
+
name: "OnlCgReportList",
|
|
7
|
+
components: {
|
|
8
|
+
JPopupOnlReport: p
|
|
9
|
+
},
|
|
10
|
+
setup(e, { emit: r, refs: o }) {
|
|
11
|
+
g();
|
|
12
|
+
const t = d().path;
|
|
13
|
+
return {
|
|
14
|
+
id: t.substr(t.lastIndexOf("/") + 1)
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
}), b = (e, r) => {
|
|
18
|
+
const o = e.__vccOpts || e;
|
|
19
|
+
for (const [n, t] of r)
|
|
20
|
+
o[n] = t;
|
|
21
|
+
return o;
|
|
22
|
+
}, h = { class: "p-2" };
|
|
23
|
+
function O(e, r, o, n, t, c) {
|
|
24
|
+
const u = l("JPopupOnlReport");
|
|
25
|
+
return a(), v("div", h, [
|
|
26
|
+
f(u, {
|
|
27
|
+
id: e.id,
|
|
28
|
+
multi: !0,
|
|
29
|
+
clickToRowSelect: !1
|
|
30
|
+
}, null, 8, ["id"])
|
|
31
|
+
]);
|
|
32
|
+
}
|
|
33
|
+
const i = /* @__PURE__ */ b(w, [["render", O]]), T = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
34
|
+
__proto__: null,
|
|
35
|
+
default: i
|
|
36
|
+
}, Symbol.toStringTag, { value: "Module" })), F = {
|
|
37
|
+
/**
|
|
38
|
+
* 注册组件
|
|
39
|
+
*/
|
|
40
|
+
install(e, r) {
|
|
41
|
+
e.provide("baseImport", r.baseImport), e.component("OnlCgReportList", i);
|
|
42
|
+
const o = s(() => import("./JOnlineSearchSelect-22aae934.mjs"));
|
|
43
|
+
e.component("JOnlineSearchSelect", o);
|
|
44
|
+
const n = s(() => import("./SuperQuery-a8592995.mjs"));
|
|
45
|
+
e.component("SuperQuery", n);
|
|
46
|
+
},
|
|
47
|
+
getViews() {
|
|
48
|
+
return /* @__PURE__ */ Object.assign({ "./src/views/super/online/cgform/CgformCopyList.vue": () => import("./CgformCopyList-365b3e8f.mjs"), "./src/views/super/online/cgform/auto/comp/JOnlineSearchSelect.vue": () => import("./JOnlineSearchSelect-22aae934.mjs"), "./src/views/super/online/cgform/auto/comp/OnlineForm.vue": () => import("./OnlineForm-9f1153ba.mjs"), "./src/views/super/online/cgform/auto/comp/OnlineFormDetail.vue": () => import("./OnlineFormDetail-022ca117.mjs"), "./src/views/super/online/cgform/auto/comp/OnlinePopForm.vue": () => import("./useExtendComponent-dcae5c78.mjs").then((e) => e.t), "./src/views/super/online/cgform/auto/comp/OnlinePopListModal.vue": () => import("./useExtendComponent-dcae5c78.mjs").then((e) => e.x), "./src/views/super/online/cgform/auto/comp/OnlinePopModal.vue": () => import("./useExtendComponent-dcae5c78.mjs").then((e) => e.v), "./src/views/super/online/cgform/auto/comp/OnlineQueryForm.vue": () => import("./OnlineQueryForm-eedb9a60.mjs"), "./src/views/super/online/cgform/auto/comp/OnlineSearchFormItem.vue": () => import("./OnlineSearchFormItem-6c557343.mjs"), "./src/views/super/online/cgform/auto/comp/OnlineSelectCascade.vue": () => import("./OnlineSelectCascade-05c40fef.mjs"), "./src/views/super/online/cgform/auto/comp/OnlineSubForm.vue": () => import("./useExtendComponent-dcae5c78.mjs").then((e) => e.s), "./src/views/super/online/cgform/auto/comp/OnlineSubFormDetail.vue": () => import("./OnlineSubFormDetail-58e896ce.mjs"), "./src/views/super/online/cgform/auto/comp/ProcessOnlineForm.vue": () => import("./ProcessOnlineForm-148632fe.mjs"), "./src/views/super/online/cgform/auto/comp/superquery/SuperQuery.vue": () => import("./SuperQuery-a8592995.mjs"), "./src/views/super/online/cgform/auto/comp/superquery/SuperQueryValComponent.vue": () => import("./SuperQueryValComponent-7ad86d4b.mjs"), "./src/views/super/online/cgform/auto/default/OnlineAutoList.vue": () => import("./OnlineAutoList-48589d09.mjs"), "./src/views/super/online/cgform/auto/default/OnlineAutoModal.vue": () => import("./OnlineAutoModal-c2928847.mjs"), "./src/views/super/online/cgform/auto/default/OnlineCustomModal.vue": () => import("./OnlineCustomModal-9e17b6ce.mjs"), "./src/views/super/online/cgform/auto/default/OnlineDetailModal.vue": () => import("./OnlineDetailModal-d5895734.mjs"), "./src/views/super/online/cgform/auto/default/OnlineFormUrlAdd.vue": () => import("./OnlineFormUrlAdd-9715d70a.mjs"), "./src/views/super/online/cgform/auto/default/OnlineFormUrlDetail.vue": () => import("./OnlineFormUrlDetail-8f864b1a.mjs"), "./src/views/super/online/cgform/auto/default/OnlineFormUrlEdit.vue": () => import("./OnlineFormUrlEdit-ac985b36.mjs"), "./src/views/super/online/cgform/auto/default/OnlineFormUrlSuccess.vue": () => import("./OnlineFormUrlSuccess-3dfc54ab.mjs"), "./src/views/super/online/cgform/auto/erp/OnlCgformErpList.vue": () => import("./OnlCgformErpList-58acdfa0.mjs"), "./src/views/super/online/cgform/auto/erp/OnlCgformErpSubTable.vue": () => import("./OnlCgformErpSubTable-9b1e1938.mjs"), "./src/views/super/online/cgform/auto/innerTable/OnlCgformInnerSubTable.vue": () => import("./OnlCgformInnerSubTable-6c23781f.mjs"), "./src/views/super/online/cgform/auto/innerTable/OnlCgformInnerTableList.vue": () => import("./OnlCgformInnerTableList-4b5e14ed.mjs"), "./src/views/super/online/cgform/auto/tab/OnlCgformTabList.vue": () => import("./OnlCgformTabList-019ad753.mjs"), "./src/views/super/online/cgform/auto/tab/modal/OnlineTabAutoModal.vue": () => import("./OnlineTabAutoModal-47b18ad6.mjs"), "./src/views/super/online/cgform/auto/tab/modal/OnlineTabDetailModal.vue": () => import("./OnlineTabDetailModal-82de1465.mjs"), "./src/views/super/online/cgform/auto/tab/modal/OnlineTabForm.vue": () => import("./OnlineTabForm-27655c83.mjs"), "./src/views/super/online/cgform/auto/tab/modal/OnlineTabFormDetail.vue": () => import("./OnlineTabFormDetail-8d0c40c0.mjs"), "./src/views/super/online/cgform/auto/tree/OnlineAutoTreeList.vue": () => import("./OnlineAutoTreeList-3baa1d00.mjs"), "./src/views/super/online/cgform/components/AiModal.vue": () => import("./AiModal-6de335e3.mjs"), "./src/views/super/online/cgform/components/CgformModal.vue": () => import("./CgformModal-21c5c387.mjs").then((e) => e.h), "./src/views/super/online/cgform/components/CodeFileListModal.vue": () => import("./CodeFileListModal-24601898.mjs"), "./src/views/super/online/cgform/components/CodeFileViewModal.vue": () => import("./CodeFileViewModal-2fe911f4.mjs"), "./src/views/super/online/cgform/components/CodeGeneratorModal.vue": () => import("./CodeGeneratorModal-f09fe903.mjs"), "./src/views/super/online/cgform/components/DbToOnlineModal.vue": () => import("./DbToOnlineModal-5dcb67c3.mjs"), "./src/views/super/online/cgform/components/ExtendConfigModal.vue": () => import("./ExtendConfigModal-a89ae052.mjs"), "./src/views/super/online/cgform/components/FileSelectModal.vue": () => import("./FileSelectModal-1643c8b9.mjs"), "./src/views/super/online/cgform/components/auth/AuthManagerDrawer.vue": () => import("./AuthManagerDrawer-76f15e8d.mjs"), "./src/views/super/online/cgform/components/auth/AuthSetterModal.vue": () => import("./AuthSetterModal-f5d2e87f.mjs"), "./src/views/super/online/cgform/components/auth/manager/AuthButtonConfig.vue": () => import("./AuthButtonConfig-89763932.mjs"), "./src/views/super/online/cgform/components/auth/manager/AuthDataConfig.vue": () => import("./AuthDataConfig-5c3a8e6b.mjs"), "./src/views/super/online/cgform/components/auth/manager/AuthFieldConfig.vue": () => import("./AuthFieldConfig-9f6fa06c.mjs"), "./src/views/super/online/cgform/components/auth/setter/AuthButtonTree.vue": () => import("./AuthButtonTree-2d87d0b3.mjs"), "./src/views/super/online/cgform/components/auth/setter/AuthDataTree.vue": () => import("./AuthDataTree-dd7a1240.mjs"), "./src/views/super/online/cgform/components/auth/setter/AuthFieldTree.vue": () => import("./AuthFieldTree-e326fc38.mjs"), "./src/views/super/online/cgform/components/auth/setter/LeftDepart.vue": () => import("./LeftDepart-d5615ed9.mjs"), "./src/views/super/online/cgform/components/auth/setter/LeftRole.vue": () => import("./LeftRole-2ed8a2bf.mjs"), "./src/views/super/online/cgform/components/auth/setter/LeftUser.vue": () => import("./LeftUser-22baa378.mjs"), "./src/views/super/online/cgform/components/button/CustomButtonList.vue": () => import("./CustomButtonList-f07bc695.mjs"), "./src/views/super/online/cgform/components/enhance/EnhanceJavaModal.vue": () => import("./EnhanceJavaModal-45c66cd5.mjs"), "./src/views/super/online/cgform/components/enhance/EnhanceJsHistory.vue": () => import("./EnhanceJsHistory-fab3102e.mjs").then((e) => e.a), "./src/views/super/online/cgform/components/enhance/EnhanceJsModal.vue": () => import("./EnhanceJsModal-175357a1.mjs"), "./src/views/super/online/cgform/components/enhance/EnhanceSqlModal.vue": () => import("./EnhanceSqlModal-7ea1b300.mjs"), "./src/views/super/online/cgform/components/tables/CheckDictTable.vue": () => import("./CheckDictTable-1bc8322d.mjs"), "./src/views/super/online/cgform/components/tables/DBAttributeTable.vue": () => import("./DBAttributeTable-285d40db.mjs"), "./src/views/super/online/cgform/components/tables/ForeignKeyTable.vue": () => import("./ForeignKeyTable-7f7e28a7.mjs"), "./src/views/super/online/cgform/components/tables/IndexTable.vue": () => import("./IndexTable-cdcc2b48.mjs"), "./src/views/super/online/cgform/components/tables/PageAttributeTable.vue": () => import("./PageAttributeTable-25e3b7da.mjs"), "./src/views/super/online/cgform/components/tables/QueryTable.vue": () => import("./QueryTable-f7bfca7f.mjs"), "./src/views/super/online/cgform/extend/FieldExtendJsonModal.vue": () => import("./FieldExtendJsonModal-32135634.mjs"), "./src/views/super/online/cgform/extend/SetSwitchOptions.vue": () => import("./SetSwitchOptions-b2af757f.mjs"), "./src/views/super/online/cgform/extend/form/DetailForm.vue": () => import("./DetailForm-deecbf3d.mjs"), "./src/views/super/online/cgform/extend/linkTable/JModalTip.vue": () => import("./JModalTip-b055ab60.mjs"), "./src/views/super/online/cgform/extend/linkTable/LinkTableCard.vue": () => import("./useExtendComponent-dcae5c78.mjs").then((e) => e.y), "./src/views/super/online/cgform/extend/linkTable/LinkTableConfigModal.vue": () => import("./LinkTableConfigModal-9242d750.mjs"), "./src/views/super/online/cgform/extend/linkTable/LinkTableFieldConfigModal.vue": () => import("./LinkTableFieldConfigModal-24adc50c.mjs"), "./src/views/super/online/cgform/extend/linkTable/LinkTableListPiece.vue": () => import("./LinkTableListPiece-f3a8e0d7.mjs"), "./src/views/super/online/cgform/extend/linkTable/LinkTableSelect.vue": () => import("./useExtendComponent-dcae5c78.mjs").then((e) => e.w), "./src/views/super/online/cgform/index.vue": () => import("./index-30e0e923.mjs"), "./src/views/super/online/cgreport/auto/OnlCgReportList.vue": () => Promise.resolve().then(() => T), "./src/views/super/online/cgreport/components/CgreportModal.vue": () => import("./CgreportModal-edefa8e3.mjs").then((e) => e.a), "./src/views/super/online/cgreport/demo/ModalFormDemo.vue": () => import("./ModalFormDemo-711418db.mjs"), "./src/views/super/online/cgreport/index.vue": () => import("./index-f30613d1.mjs") });
|
|
49
|
+
}
|
|
50
|
+
}, x = s(() => import("./OnlineSelectCascade-05c40fef.mjs")), k = s(() => import("./useExtendComponent-dcae5c78.mjs").then((e) => e.y)), _ = s(() => import("./useExtendComponent-dcae5c78.mjs").then((e) => e.w));
|
|
51
|
+
export {
|
|
52
|
+
k as L,
|
|
53
|
+
x as O,
|
|
54
|
+
b as _,
|
|
55
|
+
_ as a,
|
|
56
|
+
F as i
|
|
57
|
+
};
|