fec-dev-designer 1.1.2 → 5.1.3
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/es/node_modules/element-plus/{dist/locale → es/locale/lang}/zh-cn.js +0 -1
- package/es/package.json.js +66 -0
- package/es/src/assets/approvalHistory.png.js +4 -0
- package/es/src/assets/logo.png.js +4 -0
- package/es/src/components/DataSourceSelect.vue.js +2 -1
- package/es/src/components/FieldSetMapping.vue.js +245 -108
- package/es/src/components/OptionConfig.vue.js +3 -2
- package/es/src/components/OptionConfig.vue2.js +2 -2
- package/es/src/components/ParamsConfig.vue.js +2 -2
- package/es/src/components/ParamsConfig.vue2.js +31 -32
- package/es/src/components/TemplateSelector.vue.js +101 -81
- package/es/src/components/ValueSelector.vue2.js +49 -39
- package/es/src/layout/aside/HiddenFieldDialog.vue.js +313 -0
- package/es/src/{packages/form → layout/aside}/fieldRecycleBin.vue.js +72 -64
- package/es/src/layout/aside/index.vue.js +47 -50
- package/es/src/layout/header/index.vue.js +95 -84
- package/es/src/layout/index.vue.js +81 -76
- package/es/src/packages/advancedFilter/ValueInput.vue2.js +57 -60
- package/es/src/packages/dataSource/dataSource.vue.js +98 -105
- package/es/src/packages/dialog/index.vue.js +446 -322
- package/es/src/packages/event/index.vue2.js +44 -44
- package/es/src/packages/event/useEventDialog.js +2 -2
- package/es/src/packages/eventFlow/dialog/action/FormSubmit.vue2.js +47 -54
- package/es/src/packages/eventFlow/dialog/action/Page.vue.js +42 -49
- package/es/src/packages/form/aside/index.js +28 -2
- package/es/src/packages/form/aside/roleSelect.js +156 -0
- package/es/src/packages/form/aside/userSelect.js +206 -0
- package/es/src/packages/form/components/ApprovalHistory.vue.js +73 -0
- package/es/src/packages/form/components/ApprovalHistory.vue2.js +4 -0
- package/es/src/packages/form/components/ComponentPreviewWrapper.vue.js +51 -41
- package/es/src/packages/form/components/H2Wrapper.vue.js +13 -10
- package/es/src/packages/form/demo.js +8064 -0
- package/es/src/packages/form/headerBtn.vue.js +120 -99
- package/es/src/packages/form/index.vue.js +206 -180
- package/es/src/packages/form/property/approvalHistory.vue.js +178 -0
- package/es/src/packages/form/property/index.vue.js +23 -22
- package/es/src/packages/form/property/subTable.vue.js +37 -43
- package/es/src/packages/form/property/widgets.vue.js +258 -202
- package/es/src/packages/table/aside/index.js +2 -1
- package/es/src/packages/table/default.js +24 -21
- package/es/src/packages/table/index.vue.js +191 -155
- package/es/src/packages/table/property/widgets.vue.js +63 -47
- package/es/src/packages/table/queryModule/FixedModeConfig.vue.js +76 -77
- package/es/src/packages/table/queryModule/index.vue.js +108 -91
- package/es/src/packages/utils/common.js +33 -29
- package/es/style.css +1 -1
- package/package.json +1 -1
- package/es/src/packages/form/HiddenFieldDialog.vue.js +0 -258
- /package/es/src/{packages/form → layout/aside}/HiddenFieldDialog.vue2.js +0 -0
- /package/es/src/{packages/form → layout/aside}/fieldRecycleBin.vue2.js +0 -0
|
@@ -3,17 +3,17 @@ import "../../../node_modules/element-plus/theme-chalk/el-aside.css.js";
|
|
|
3
3
|
import "../../../node_modules/element-plus/theme-chalk/el-badge.css.js";
|
|
4
4
|
import "../../../node_modules/element-plus/theme-chalk/el-collapse.css.js";
|
|
5
5
|
import "../../../node_modules/element-plus/theme-chalk/el-collapse-item.css.js";
|
|
6
|
-
import { computed as
|
|
6
|
+
import { computed as m, ref as v, openBlock as s, createBlock as u, withCtx as a, createElementVNode as l, createVNode as n, createElementBlock as c, Fragment as D, renderList as E, unref as r, toDisplayString as g, createCommentVNode as b } from "vue";
|
|
7
7
|
import x from "../../packages/utils/eventBus.js";
|
|
8
8
|
import { VueDraggable as $ } from "../../../node_modules/vue-draggable-plus/dist/vue-draggable-plus.js";
|
|
9
9
|
import { Calendar as j, DeleteFilled as q, Hide as z } from "../../../node_modules/@element-plus/icons-vue/dist/index.js";
|
|
10
10
|
import { getEditConfigData as C, setSelectedItem as G } from "../../packages/utils/common.js";
|
|
11
11
|
import J from "../../packages/table/aside/index.js";
|
|
12
12
|
import K from "../../packages/form/aside/index.js";
|
|
13
|
-
import O from "
|
|
14
|
-
import P from "
|
|
13
|
+
import O from "./fieldRecycleBin.vue.js";
|
|
14
|
+
import P from "./HiddenFieldDialog.vue.js";
|
|
15
15
|
import { throttle as Q } from "../../../node_modules/@vexip-ui/utils/dist/index.js";
|
|
16
|
-
import
|
|
16
|
+
import d from "../../store/index.js";
|
|
17
17
|
import "./index.vue2.js";
|
|
18
18
|
import W from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
19
19
|
import { ElIcon as X } from "../../../node_modules/element-plus/es/components/icon/index.js";
|
|
@@ -23,26 +23,23 @@ import { ElAside as te } from "../../../node_modules/element-plus/es/components/
|
|
|
23
23
|
const oe = { class: "dev-designer-aside" }, le = { class: "components-item" }, ne = { class: "menu-components-item" }, se = { class: "components-item-label" }, ae = {
|
|
24
24
|
key: 0,
|
|
25
25
|
class: "table-item"
|
|
26
|
-
}, ie = { class: "widgets" }, re = { class: "field-label" }, de = {
|
|
27
|
-
key: 0,
|
|
28
|
-
class: "aside-footer"
|
|
29
|
-
}, me = {
|
|
26
|
+
}, ie = { class: "widgets" }, re = { class: "field-label" }, de = { class: "aside-footer" }, me = {
|
|
30
27
|
__name: "index",
|
|
31
28
|
emits: ["onFormDragMove"],
|
|
32
|
-
setup(ue, { emit:
|
|
33
|
-
const
|
|
34
|
-
switch (
|
|
29
|
+
setup(ue, { emit: k }) {
|
|
30
|
+
const B = k, T = m(() => {
|
|
31
|
+
switch (d.getters.editingType) {
|
|
35
32
|
case "table":
|
|
36
33
|
return J;
|
|
37
34
|
case "form":
|
|
38
35
|
return K;
|
|
39
36
|
}
|
|
40
37
|
return null;
|
|
41
|
-
}),
|
|
38
|
+
}), w = m(() => d.getters.editingType), V = v(["basic", "advanced"]), p = v(!1), f = v(!1), y = m(() => {
|
|
42
39
|
var e;
|
|
43
40
|
const t = C();
|
|
44
41
|
return ((e = t == null ? void 0 : t.deletedFields) == null ? void 0 : e.length) || 0;
|
|
45
|
-
}),
|
|
42
|
+
}), F = m(() => {
|
|
46
43
|
var e;
|
|
47
44
|
const t = C();
|
|
48
45
|
return ((e = t == null ? void 0 : t.hiddenFields) == null ? void 0 : e.length) || 0;
|
|
@@ -55,34 +52,34 @@ const oe = { class: "dev-designer-aside" }, le = { class: "components-item" }, n
|
|
|
55
52
|
};
|
|
56
53
|
}
|
|
57
54
|
function N(t) {
|
|
58
|
-
G(t.clonedData),
|
|
55
|
+
G(t.clonedData), d.getters.editingType == "form" && x.emit("onFormDragEnd", t);
|
|
59
56
|
}
|
|
60
|
-
const S = Q((t) => (
|
|
57
|
+
const S = Q((t) => (d.getters.editingType == "form" && B("onFormDragMove", t), !0), 50);
|
|
61
58
|
function U(t) {
|
|
62
|
-
|
|
59
|
+
d.getters.editingType == "form" && x.emit("onFormDragStart", t);
|
|
63
60
|
}
|
|
64
61
|
function I() {
|
|
65
|
-
|
|
62
|
+
p.value = !0;
|
|
66
63
|
}
|
|
67
64
|
function A() {
|
|
68
|
-
|
|
65
|
+
f.value = !0;
|
|
69
66
|
}
|
|
70
67
|
return (t, e) => {
|
|
71
|
-
const
|
|
72
|
-
return s(),
|
|
68
|
+
const _ = X, H = Y, L = Z, h = ee, R = te;
|
|
69
|
+
return s(), u(R, { class: "root-aside" }, {
|
|
73
70
|
default: a(() => [
|
|
74
71
|
l("div", oe, [
|
|
75
72
|
n(L, {
|
|
76
|
-
modelValue:
|
|
77
|
-
"onUpdate:modelValue": e[0] || (e[0] = (o) =>
|
|
73
|
+
modelValue: V.value,
|
|
74
|
+
"onUpdate:modelValue": e[0] || (e[0] = (o) => V.value = o)
|
|
78
75
|
}, {
|
|
79
76
|
default: a(() => [
|
|
80
|
-
(s(!0),
|
|
77
|
+
(s(!0), c(D, null, E(T.value, (o) => (s(), u(H, {
|
|
81
78
|
title: o.title,
|
|
82
79
|
name: o.name
|
|
83
80
|
}, {
|
|
84
81
|
default: a(() => [
|
|
85
|
-
n(
|
|
82
|
+
n(r($), {
|
|
86
83
|
modelValue: o.children,
|
|
87
84
|
"onUpdate:modelValue": (i) => o.children = i,
|
|
88
85
|
animation: 150,
|
|
@@ -90,26 +87,26 @@ const oe = { class: "dev-designer-aside" }, le = { class: "components-item" }, n
|
|
|
90
87
|
group: { name: "dev", pull: "clone", put: !1 },
|
|
91
88
|
clone: M,
|
|
92
89
|
onEnd: N,
|
|
93
|
-
onMove:
|
|
90
|
+
onMove: r(S),
|
|
94
91
|
onStart: U,
|
|
95
92
|
sort: !1,
|
|
96
93
|
class: "components-list"
|
|
97
94
|
}, {
|
|
98
95
|
default: a(() => [
|
|
99
|
-
(s(!0),
|
|
96
|
+
(s(!0), c(D, null, E(o.children, (i) => (s(), c("div", le, [
|
|
100
97
|
l("div", ne, [
|
|
101
|
-
n(
|
|
98
|
+
n(_, { class: "components-item-icon" }, {
|
|
102
99
|
default: a(() => [
|
|
103
|
-
n(
|
|
100
|
+
n(r(j))
|
|
104
101
|
]),
|
|
105
102
|
_: 1
|
|
106
103
|
}),
|
|
107
|
-
l("span", se,
|
|
104
|
+
l("span", se, g(i.label), 1)
|
|
108
105
|
]),
|
|
109
|
-
|
|
110
|
-
l("div", ie,
|
|
111
|
-
l("div", re,
|
|
112
|
-
])) :
|
|
106
|
+
w.value == "table" ? (s(), c("div", ae, [
|
|
107
|
+
l("div", ie, g(i.label), 1),
|
|
108
|
+
l("div", re, g(i.fieldName), 1)
|
|
109
|
+
])) : b("", !0)
|
|
113
110
|
]))), 256))
|
|
114
111
|
]),
|
|
115
112
|
_: 2
|
|
@@ -121,59 +118,59 @@ const oe = { class: "dev-designer-aside" }, le = { class: "components-item" }, n
|
|
|
121
118
|
_: 1
|
|
122
119
|
}, 8, ["modelValue"])
|
|
123
120
|
]),
|
|
124
|
-
|
|
121
|
+
l("div", de, [
|
|
125
122
|
l("div", {
|
|
126
123
|
class: "footer-btn recycle-btn",
|
|
127
124
|
onClick: I
|
|
128
125
|
}, [
|
|
129
|
-
n(
|
|
126
|
+
n(_, { class: "btn-icon" }, {
|
|
130
127
|
default: a(() => [
|
|
131
|
-
n(
|
|
128
|
+
n(r(q))
|
|
132
129
|
]),
|
|
133
130
|
_: 1
|
|
134
131
|
}),
|
|
135
132
|
e[3] || (e[3] = l("span", { class: "btn-text" }, "字段回收站", -1)),
|
|
136
|
-
|
|
133
|
+
y.value > 0 ? (s(), u(h, {
|
|
137
134
|
key: 0,
|
|
138
|
-
value:
|
|
135
|
+
value: y.value,
|
|
139
136
|
max: 99,
|
|
140
137
|
class: "btn-badge"
|
|
141
|
-
}, null, 8, ["value"])) :
|
|
138
|
+
}, null, 8, ["value"])) : b("", !0)
|
|
142
139
|
]),
|
|
143
140
|
e[5] || (e[5] = l("div", { class: "footer-divider" }, null, -1)),
|
|
144
141
|
l("div", {
|
|
145
142
|
class: "footer-btn hidden-field-btn",
|
|
146
143
|
onClick: A
|
|
147
144
|
}, [
|
|
148
|
-
n(
|
|
145
|
+
n(_, { class: "btn-icon" }, {
|
|
149
146
|
default: a(() => [
|
|
150
|
-
n(
|
|
147
|
+
n(r(z))
|
|
151
148
|
]),
|
|
152
149
|
_: 1
|
|
153
150
|
}),
|
|
154
151
|
e[4] || (e[4] = l("span", { class: "btn-text" }, "隐藏域", -1)),
|
|
155
|
-
|
|
152
|
+
F.value > 0 ? (s(), u(h, {
|
|
156
153
|
key: 0,
|
|
157
|
-
value:
|
|
154
|
+
value: F.value,
|
|
158
155
|
max: 99,
|
|
159
156
|
class: "btn-badge"
|
|
160
|
-
}, null, 8, ["value"])) :
|
|
157
|
+
}, null, 8, ["value"])) : b("", !0)
|
|
161
158
|
])
|
|
162
|
-
])
|
|
159
|
+
]),
|
|
163
160
|
n(O, {
|
|
164
|
-
modelValue:
|
|
165
|
-
"onUpdate:modelValue": e[1] || (e[1] = (o) =>
|
|
161
|
+
modelValue: p.value,
|
|
162
|
+
"onUpdate:modelValue": e[1] || (e[1] = (o) => p.value = o)
|
|
166
163
|
}, null, 8, ["modelValue"]),
|
|
167
164
|
n(P, {
|
|
168
|
-
modelValue:
|
|
169
|
-
"onUpdate:modelValue": e[2] || (e[2] = (o) =>
|
|
165
|
+
modelValue: f.value,
|
|
166
|
+
"onUpdate:modelValue": e[2] || (e[2] = (o) => f.value = o)
|
|
170
167
|
}, null, 8, ["modelValue"])
|
|
171
168
|
]),
|
|
172
169
|
_: 1
|
|
173
170
|
});
|
|
174
171
|
};
|
|
175
172
|
}
|
|
176
|
-
}, Ue = /* @__PURE__ */ W(me, [["__scopeId", "data-v-
|
|
173
|
+
}, Ue = /* @__PURE__ */ W(me, [["__scopeId", "data-v-fa48b88f"]]);
|
|
177
174
|
export {
|
|
178
175
|
Ue as default
|
|
179
176
|
};
|
|
@@ -6,37 +6,39 @@ import "../../../node_modules/element-plus/theme-chalk/el-button.css.js";
|
|
|
6
6
|
import "../../../node_modules/element-plus/theme-chalk/el-form.css.js";
|
|
7
7
|
import "../../../node_modules/element-plus/theme-chalk/el-form-item.css.js";
|
|
8
8
|
import "../../../node_modules/element-plus/theme-chalk/el-input.css.js";
|
|
9
|
-
import { computed as
|
|
10
|
-
import
|
|
11
|
-
import {
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import z from "../../
|
|
16
|
-
import
|
|
9
|
+
import { computed as g, ref as v, reactive as I, openBlock as y, createBlock as D, withCtx as m, createElementVNode as o, toDisplayString as f, unref as r, createVNode as t, resolveDynamicComponent as U, isRef as H, createTextVNode as N } from "vue";
|
|
10
|
+
import R from "../../assets/logo.png.js";
|
|
11
|
+
import { UploadFilled as T, Edit as h } from "../../../node_modules/@element-plus/icons-vue/dist/index.js";
|
|
12
|
+
import { ElMessage as q } from "element-plus";
|
|
13
|
+
import J from "../../packages/table/headerBtn.vue.js";
|
|
14
|
+
import S from "../../packages/form/headerBtn.vue.js";
|
|
15
|
+
import { getEditConfigData as z } from "../../packages/utils/common.js";
|
|
16
|
+
import M from "../../api/index.js";
|
|
17
|
+
import O from "../../store/index.js";
|
|
18
|
+
import $ from "../../../package.json.js";
|
|
17
19
|
import "./index.vue2.js";
|
|
18
|
-
import { ElIcon as
|
|
19
|
-
import { ElInput as
|
|
20
|
-
import { ElFormItem as
|
|
21
|
-
import { ElButton as
|
|
22
|
-
import { ElDialog as
|
|
23
|
-
import { ElHeader as
|
|
24
|
-
const
|
|
20
|
+
import { ElIcon as j } from "../../../node_modules/element-plus/es/components/icon/index.js";
|
|
21
|
+
import { ElInput as A } from "../../../node_modules/element-plus/es/components/input/index.js";
|
|
22
|
+
import { ElFormItem as G, ElForm as L } from "../../../node_modules/element-plus/es/components/form/index.js";
|
|
23
|
+
import { ElButton as P } from "../../../node_modules/element-plus/es/components/button/index.js";
|
|
24
|
+
import { ElDialog as Q } from "../../../node_modules/element-plus/es/components/dialog/index.js";
|
|
25
|
+
import { ElHeader as W } from "../../../node_modules/element-plus/es/components/container/index.js";
|
|
26
|
+
const X = { class: "dev-title" }, Y = { class: "logo" }, Z = { class: "version" }, ee = { class: "header-title" }, te = { class: "title-row" }, le = { class: "template-name" }, oe = { class: "template-key" }, ae = { class: "opt-btn-content" }, me = { class: "dialog-footer" }, Ue = {
|
|
25
27
|
__name: "index",
|
|
26
|
-
setup(
|
|
27
|
-
const V =
|
|
28
|
-
switch (
|
|
28
|
+
setup(re) {
|
|
29
|
+
const V = g(() => {
|
|
30
|
+
switch (O.getters.editingType) {
|
|
29
31
|
case "table":
|
|
30
|
-
return
|
|
32
|
+
return J;
|
|
31
33
|
case "form":
|
|
32
|
-
return
|
|
34
|
+
return S;
|
|
33
35
|
}
|
|
34
36
|
return null;
|
|
35
|
-
}), b =
|
|
37
|
+
}), b = g(() => z()), E = $.version, p = () => b.value || {}, i = v(!1), c = v(null), l = I({
|
|
36
38
|
templateName: "",
|
|
37
39
|
templateKey: "",
|
|
38
40
|
templateDesc: ""
|
|
39
|
-
}),
|
|
41
|
+
}), K = {
|
|
40
42
|
templateKey: [{ required: !0, message: "请输入模板标识", trigger: "blur" }],
|
|
41
43
|
templateName: [
|
|
42
44
|
{ required: !0, message: "请输入模板名称", trigger: "blur" }
|
|
@@ -45,70 +47,79 @@ const P = { class: "dev-title" }, Q = { class: "header-title" }, W = { class: "t
|
|
|
45
47
|
{ max: 200, message: "长度不能超过 200 个字符", trigger: "blur" }
|
|
46
48
|
]
|
|
47
49
|
};
|
|
48
|
-
function
|
|
49
|
-
const
|
|
50
|
-
l.templateName =
|
|
50
|
+
function k() {
|
|
51
|
+
const a = p();
|
|
52
|
+
l.templateName = a.templateName || "", l.templateKey = a.templateKey || "", l.templateDesc = a.templateDesc || "", i.value = !0;
|
|
51
53
|
}
|
|
52
54
|
function x() {
|
|
53
|
-
var
|
|
54
|
-
(
|
|
55
|
+
var a;
|
|
56
|
+
(a = c.value) == null || a.validate((e) => {
|
|
55
57
|
if (e) {
|
|
56
|
-
const
|
|
57
|
-
|
|
58
|
+
const n = p();
|
|
59
|
+
n.templateName = l.templateName, n.templateKey = l.templateKey, n.templateDesc = l.templateDesc, i.value = !1;
|
|
58
60
|
} else
|
|
59
61
|
return !1;
|
|
60
62
|
});
|
|
61
63
|
}
|
|
62
|
-
function
|
|
63
|
-
const
|
|
64
|
-
pkId:
|
|
65
|
-
templateKey:
|
|
66
|
-
templateName:
|
|
67
|
-
context: JSON.stringify(
|
|
64
|
+
function w() {
|
|
65
|
+
const a = p(), e = {
|
|
66
|
+
pkId: a.pkId,
|
|
67
|
+
templateKey: a.templateKey,
|
|
68
|
+
templateName: a.templateName,
|
|
69
|
+
context: JSON.stringify(a)
|
|
68
70
|
};
|
|
69
|
-
|
|
70
|
-
|
|
71
|
+
M.updateById(e).then(() => {
|
|
72
|
+
q.success("保存成功");
|
|
71
73
|
});
|
|
72
74
|
}
|
|
73
|
-
return (
|
|
74
|
-
const
|
|
75
|
-
return
|
|
76
|
-
default:
|
|
77
|
-
|
|
78
|
-
|
|
75
|
+
return (a, e) => {
|
|
76
|
+
const n = j, d = A, u = G, C = L, _ = P, B = Q, F = W;
|
|
77
|
+
return y(), D(F, { class: "dev-root-header" }, {
|
|
78
|
+
default: m(() => [
|
|
79
|
+
o("div", X, [
|
|
80
|
+
o("div", Y, [
|
|
81
|
+
e[5] || (e[5] = o("img", {
|
|
82
|
+
src: R,
|
|
83
|
+
alt: "logo",
|
|
84
|
+
class: "logo-img"
|
|
85
|
+
}, null, -1)),
|
|
86
|
+
e[6] || (e[6] = o("div", { class: "title" }, "表单设计器", -1)),
|
|
87
|
+
o("div", Z, "v" + f(r(E)), 1)
|
|
88
|
+
]),
|
|
89
|
+
o("div", {
|
|
79
90
|
class: "btn-item",
|
|
80
|
-
onClick:
|
|
91
|
+
onClick: w
|
|
81
92
|
}, [
|
|
82
|
-
t(
|
|
83
|
-
default:
|
|
84
|
-
t(
|
|
93
|
+
t(n, null, {
|
|
94
|
+
default: m(() => [
|
|
95
|
+
t(r(T))
|
|
85
96
|
]),
|
|
86
97
|
_: 1
|
|
87
98
|
}),
|
|
88
|
-
e[
|
|
99
|
+
e[7] || (e[7] = o("span", null, "保存", -1))
|
|
89
100
|
])
|
|
90
101
|
]),
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
t(
|
|
102
|
+
o("div", ee, [
|
|
103
|
+
o("div", te, [
|
|
104
|
+
o("div", le, f(p().templateName), 1),
|
|
105
|
+
t(n, {
|
|
95
106
|
class: "edit-icon",
|
|
96
|
-
onClick:
|
|
107
|
+
onClick: k
|
|
97
108
|
}, {
|
|
98
|
-
default:
|
|
99
|
-
t(
|
|
109
|
+
default: m(() => [
|
|
110
|
+
t(r(h))
|
|
100
111
|
]),
|
|
101
112
|
_: 1
|
|
102
113
|
})
|
|
103
114
|
]),
|
|
104
|
-
|
|
115
|
+
o("div", oe, f(p().templateKey), 1)
|
|
105
116
|
]),
|
|
106
|
-
|
|
107
|
-
(
|
|
117
|
+
o("div", ae, [
|
|
118
|
+
(y(), D(U(V.value)))
|
|
108
119
|
]),
|
|
109
|
-
t(
|
|
110
|
-
modelValue:
|
|
111
|
-
"onUpdate:modelValue": e[4] || (e[4] = (
|
|
120
|
+
t(B, {
|
|
121
|
+
modelValue: r(i),
|
|
122
|
+
"onUpdate:modelValue": e[4] || (e[4] = (s) => H(i) ? i.value = s : null),
|
|
112
123
|
title: "编辑模板信息",
|
|
113
124
|
width: "500px",
|
|
114
125
|
draggable: "",
|
|
@@ -116,44 +127,44 @@ const P = { class: "dev-title" }, Q = { class: "header-title" }, W = { class: "t
|
|
|
116
127
|
"append-to-body": "",
|
|
117
128
|
class: "fec-dev-designer-dialog"
|
|
118
129
|
}, {
|
|
119
|
-
footer:
|
|
120
|
-
|
|
121
|
-
t(
|
|
122
|
-
onClick: e[3] || (e[3] = (
|
|
130
|
+
footer: m(() => [
|
|
131
|
+
o("div", me, [
|
|
132
|
+
t(_, {
|
|
133
|
+
onClick: e[3] || (e[3] = (s) => i.value = !1)
|
|
123
134
|
}, {
|
|
124
|
-
default:
|
|
135
|
+
default: m(() => [...e[8] || (e[8] = [
|
|
125
136
|
N("取消", -1)
|
|
126
137
|
])]),
|
|
127
138
|
_: 1
|
|
128
139
|
}),
|
|
129
|
-
t(
|
|
140
|
+
t(_, {
|
|
130
141
|
type: "primary",
|
|
131
142
|
onClick: x
|
|
132
143
|
}, {
|
|
133
|
-
default:
|
|
144
|
+
default: m(() => [...e[9] || (e[9] = [
|
|
134
145
|
N("确定", -1)
|
|
135
146
|
])]),
|
|
136
147
|
_: 1
|
|
137
148
|
})
|
|
138
149
|
])
|
|
139
150
|
]),
|
|
140
|
-
default:
|
|
141
|
-
t(
|
|
142
|
-
model:
|
|
143
|
-
rules:
|
|
151
|
+
default: m(() => [
|
|
152
|
+
t(C, {
|
|
153
|
+
model: r(l),
|
|
154
|
+
rules: K,
|
|
144
155
|
ref_key: "editFormRef",
|
|
145
|
-
ref:
|
|
156
|
+
ref: c,
|
|
146
157
|
"label-width": "100px"
|
|
147
158
|
}, {
|
|
148
|
-
default:
|
|
159
|
+
default: m(() => [
|
|
149
160
|
t(u, {
|
|
150
161
|
label: "模板标识",
|
|
151
162
|
prop: "templateKey"
|
|
152
163
|
}, {
|
|
153
|
-
default:
|
|
164
|
+
default: m(() => [
|
|
154
165
|
t(d, {
|
|
155
|
-
modelValue:
|
|
156
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
166
|
+
modelValue: r(l).templateKey,
|
|
167
|
+
"onUpdate:modelValue": e[0] || (e[0] = (s) => r(l).templateKey = s),
|
|
157
168
|
placeholder: "请输入模板标识"
|
|
158
169
|
}, null, 8, ["modelValue"])
|
|
159
170
|
]),
|
|
@@ -163,10 +174,10 @@ const P = { class: "dev-title" }, Q = { class: "header-title" }, W = { class: "t
|
|
|
163
174
|
label: "模板名称",
|
|
164
175
|
prop: "templateName"
|
|
165
176
|
}, {
|
|
166
|
-
default:
|
|
177
|
+
default: m(() => [
|
|
167
178
|
t(d, {
|
|
168
|
-
modelValue:
|
|
169
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
|
179
|
+
modelValue: r(l).templateName,
|
|
180
|
+
"onUpdate:modelValue": e[1] || (e[1] = (s) => r(l).templateName = s),
|
|
170
181
|
placeholder: "请输入模板名称"
|
|
171
182
|
}, null, 8, ["modelValue"])
|
|
172
183
|
]),
|
|
@@ -176,10 +187,10 @@ const P = { class: "dev-title" }, Q = { class: "header-title" }, W = { class: "t
|
|
|
176
187
|
label: "模板描述",
|
|
177
188
|
prop: "templateDesc"
|
|
178
189
|
}, {
|
|
179
|
-
default:
|
|
190
|
+
default: m(() => [
|
|
180
191
|
t(d, {
|
|
181
|
-
modelValue:
|
|
182
|
-
"onUpdate:modelValue": e[2] || (e[2] = (
|
|
192
|
+
modelValue: r(l).templateDesc,
|
|
193
|
+
"onUpdate:modelValue": e[2] || (e[2] = (s) => r(l).templateDesc = s),
|
|
183
194
|
type: "textarea",
|
|
184
195
|
rows: 4,
|
|
185
196
|
placeholder: "请输入模板描述",
|
|
@@ -203,5 +214,5 @@ const P = { class: "dev-title" }, Q = { class: "header-title" }, W = { class: "t
|
|
|
203
214
|
}
|
|
204
215
|
};
|
|
205
216
|
export {
|
|
206
|
-
|
|
217
|
+
Ue as default
|
|
207
218
|
};
|