form-imagining 0.0.19 → 0.0.21
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 +11 -8
- package/dist/{App-52419af9.js → App-117f2401.js} +1 -1
- package/dist/Code-2b650014.js +5 -0
- package/dist/Col-1ad3b02d.js +5 -0
- package/dist/Demo-be0d3a37.js +10 -0
- package/dist/{Demo-015b9b67.js → Demo-cb77eefd.js} +1 -1
- package/dist/{Form-0f5f50ca.js → Form-267b2acf.js} +1 -1
- package/dist/FormPublic-fcfcf793.js +5 -0
- package/dist/GenerateForm-2f713859.js +5 -0
- package/dist/Grid-8c79143b.js +5 -0
- package/dist/{HelloWorld-517394a2.js → HelloWorld-0cfd7df3.js} +1 -1
- package/dist/Input-/345/210/240/351/231/{244-4e69b06c.js → 244-c82959c3.js} +1 -1
- package/dist/Label-/345/210/240/351/231/{244-f578d3e5.js → 244-aa8cd9e3.js} +1 -1
- package/dist/{Login-a543825f.js → Login-fce41eee.js} +1 -1
- package/dist/ReportModule-297f2362.js +5 -0
- package/dist/SqlModule-329c9c55.js +5 -0
- package/dist/Table-62645938.js +5 -0
- package/dist/{cTable-431ee1b4.js → cTable-87c99e69.js} +1 -1
- package/dist/childForm-1af05ca1.js +5 -0
- package/dist/{cssMode-fe11d538.js → cssMode-d2a84267.js} +16 -16
- package/dist/form-imagining.js +1 -1
- package/dist/form-imagining.umd.cjs +313 -274
- package/dist/{freemarker2-a9827bc5.js → freemarker2-3efa9ea1.js} +1 -1
- package/dist/{handlebars-fd8c9253.js → handlebars-72a49cd2.js} +1 -1
- package/dist/{html-5b477149.js → html-1af18738.js} +1 -1
- package/dist/{htmlMode-0b28e3b6.js → htmlMode-9eeb1349.js} +12 -12
- package/dist/{index-1fec8e75.js → index-30b21584.js} +1 -1
- package/dist/{index-d5af5250.js → index-7a0091c2.js} +42619 -39769
- package/dist/{javascript-35762a78.js → javascript-47f9fb53.js} +2 -2
- package/dist/{jsonMode-a11989e3.js → jsonMode-e9558a7f.js} +1 -1
- package/dist/{liquid-f8e1c827.js → liquid-7869544b.js} +1 -1
- package/dist/{mdx-4548f19b.js → mdx-fdfe381b.js} +4 -4
- package/dist/{python-c05ae2c4.js → python-dcb57e90.js} +1 -1
- package/dist/{razor-d7fe2d0e.js → razor-f9413e1b.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{tableSelectDemo-58dfc524.js → tableSelectDemo-9cfa765c.js} +1 -1
- package/dist/{tableSelectDemo2-02f609dc.js → tableSelectDemo2-8d43da9c.js} +1 -1
- package/dist/{tsMode-0eddd23b.js → tsMode-6849c82b.js} +13 -13
- package/dist/{typescript-dda9428f.js → typescript-dbbb0167.js} +1 -1
- package/dist/{xml-dc95c919.js → xml-0082bfd8.js} +1 -1
- package/dist/{yaml-aa39d268.js → yaml-d3ddc3e7.js} +1 -1
- package/package.json +1 -1
- package/dist/Code-2bb39b3d.js +0 -5
- package/dist/Col-2cdf69c5.js +0 -5
- package/dist/Demo-2f408623.js +0 -110
- package/dist/Demo-6d1f7624.js +0 -10
- package/dist/FormPublic-044b0ba0.js +0 -5
- package/dist/GenerateForm-e3fa78fc.js +0 -5
- package/dist/Grid-625fc82d.js +0 -5
- package/dist/Preview0925-eb180084.js +0 -62
- package/dist/PreviewDemo-43295c2b.js +0 -6
- package/dist/PreviewDemo.vue_vue_type_script_setup_true_lang-4331a2aa.js +0 -285
- package/dist/PreviewDemo2-af5b2b15.js +0 -6
- package/dist/PreviewDemo2.vue_vue_type_script_setup_true_lang-c4c0faba.js +0 -88
- package/dist/PreviewDemo3-74865af3.js +0 -82
- package/dist/ReportModule-3bfd10cf.js +0 -6
- package/dist/ReportModule.vue_vue_type_script_setup_true_lang-33baf803.js +0 -105
- package/dist/SqlModule-265d1b00.js +0 -5
- package/dist/Table-05d6b54d.js +0 -5
- package/dist/childForm-5998f80c.js +0 -5
- package/dist/index-ad0b4ca1.js +0 -182
- package/dist/index-fcd8f846.js +0 -123
- package/dist/modalDemo-a8eef4e4.js +0 -53
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as T, computed as p, ref as _, resolveComponent as n, openBlock as m, createElementBlock as f, createElementVNode as y, createVNode as l, withCtx as c, unref as v, isRef as B, createTextVNode as E, createCommentVNode as L } from "vue";
|
|
2
|
-
import { t as R, c as z, _ as M } from "./index-
|
|
2
|
+
import { t as R, c as z, _ as M } from "./index-7a0091c2.js";
|
|
3
3
|
const O = { class: "table-select-form" }, P = { class: "table-select-tool" }, U = { key: 0 }, j = ["onClick"], q = /* @__PURE__ */ T({
|
|
4
4
|
__name: "tableSelectDemo",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as S, computed as u, ref as i, resolveComponent as n, openBlock as V, createElementBlock as N, createElementVNode as I, createVNode as l, withCtx as p, unref as m, isRef as K, createTextVNode as B } from "vue";
|
|
2
|
-
import { t as D } from "./index-
|
|
2
|
+
import { t as D } from "./index-7a0091c2.js";
|
|
3
3
|
const E = { class: "table-select-form" }, R = { class: "table-select-tool" }, P = /* @__PURE__ */ S({
|
|
4
4
|
__name: "tableSelectDemo2",
|
|
5
5
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var M = Object.defineProperty;
|
|
2
|
-
var
|
|
3
|
-
var _ = (e, t, r) => (
|
|
4
|
-
import {
|
|
2
|
+
var R = (e, t, r) => t in e ? M(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
3
|
+
var _ = (e, t, r) => (R(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
4
|
+
import { q as K, p as E } from "./index-7a0091c2.js";
|
|
5
5
|
import "vue";
|
|
6
6
|
/*!-----------------------------------------------------------------------------
|
|
7
7
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -174,7 +174,7 @@ var w = class {
|
|
|
174
174
|
return r;
|
|
175
175
|
if (this.isLibFile(t) && this._hasFetchedLibFiles)
|
|
176
176
|
return i.editor.createModel(this._libFiles[t.path.slice(1)], "typescript", t);
|
|
177
|
-
const l =
|
|
177
|
+
const l = K.getExtraLibs()[e];
|
|
178
178
|
return l ? i.editor.createModel(l.content, "typescript", t) : null;
|
|
179
179
|
}
|
|
180
180
|
_containsLibFile(e) {
|
|
@@ -444,7 +444,7 @@ var O = class extends w {
|
|
|
444
444
|
}
|
|
445
445
|
};
|
|
446
446
|
}
|
|
447
|
-
},
|
|
447
|
+
}, G = class extends w {
|
|
448
448
|
async provideHover(e, t, r) {
|
|
449
449
|
const l = e.uri, n = e.getOffsetAt(t), u = await this._worker(l);
|
|
450
450
|
if (e.isDisposed())
|
|
@@ -469,7 +469,7 @@ var O = class extends w {
|
|
|
469
469
|
]
|
|
470
470
|
};
|
|
471
471
|
}
|
|
472
|
-
},
|
|
472
|
+
}, J = class extends w {
|
|
473
473
|
async provideDocumentHighlights(e, t, r) {
|
|
474
474
|
const l = e.uri, n = e.getOffsetAt(t), u = await this._worker(l);
|
|
475
475
|
if (e.isDisposed())
|
|
@@ -483,7 +483,7 @@ var O = class extends w {
|
|
|
483
483
|
kind: o.kind === "writtenReference" ? i.languages.DocumentHighlightKind.Write : i.languages.DocumentHighlightKind.Text
|
|
484
484
|
})));
|
|
485
485
|
}
|
|
486
|
-
},
|
|
486
|
+
}, q = class extends w {
|
|
487
487
|
constructor(e, t) {
|
|
488
488
|
super(t), this._libFiles = e;
|
|
489
489
|
}
|
|
@@ -504,7 +504,7 @@ var O = class extends w {
|
|
|
504
504
|
}
|
|
505
505
|
return a;
|
|
506
506
|
}
|
|
507
|
-
},
|
|
507
|
+
}, Q = class extends w {
|
|
508
508
|
constructor(e, t) {
|
|
509
509
|
super(t), this._libFiles = e;
|
|
510
510
|
}
|
|
@@ -780,7 +780,7 @@ function I(e, t) {
|
|
|
780
780
|
const r = [], l = new U(t, e), n = (...a) => l.getLanguageServiceWorker(...a), u = new $(n);
|
|
781
781
|
function g() {
|
|
782
782
|
const { modeConfiguration: a } = e;
|
|
783
|
-
se(r), a.completionItems && r.push(i.languages.registerCompletionItemProvider(t, new C(n))), a.signatureHelp && r.push(i.languages.registerSignatureHelpProvider(t, new O(n))), a.hovers && r.push(i.languages.registerHoverProvider(t, new
|
|
783
|
+
se(r), a.completionItems && r.push(i.languages.registerCompletionItemProvider(t, new C(n))), a.signatureHelp && r.push(i.languages.registerSignatureHelpProvider(t, new O(n))), a.hovers && r.push(i.languages.registerHoverProvider(t, new G(n))), a.documentHighlights && r.push(i.languages.registerDocumentHighlightProvider(t, new J(n))), a.definitions && r.push(i.languages.registerDefinitionProvider(t, new q(u, n))), a.references && r.push(i.languages.registerReferenceProvider(t, new Q(u, n))), a.documentSymbols && r.push(i.languages.registerDocumentSymbolProvider(t, new X(n))), a.rename && r.push(i.languages.registerRenameProvider(t, new te(u, n))), a.documentRangeFormattingEdits && r.push(i.languages.registerDocumentRangeFormattingEditProvider(t, new Y(n))), a.onTypeFormattingEdits && r.push(i.languages.registerOnTypeFormattingEditProvider(t, new Z(n))), a.codeActions && r.push(i.languages.registerCodeActionProvider(t, new ee(n))), a.inlayHints && r.push(i.languages.registerInlayHintsProvider(t, new re(n))), a.diagnostics && r.push(new z(u, e, t, n));
|
|
784
784
|
}
|
|
785
785
|
return g(), n;
|
|
786
786
|
}
|
|
@@ -791,9 +791,9 @@ function se(e) {
|
|
|
791
791
|
export {
|
|
792
792
|
w as Adapter,
|
|
793
793
|
ee as CodeActionAdaptor,
|
|
794
|
-
|
|
794
|
+
q as DefinitionAdapter,
|
|
795
795
|
z as DiagnosticsAdapter,
|
|
796
|
-
|
|
796
|
+
J as DocumentHighlightAdapter,
|
|
797
797
|
Y as FormatAdapter,
|
|
798
798
|
S as FormatHelper,
|
|
799
799
|
Z as FormatOnTypeAdapter,
|
|
@@ -801,8 +801,8 @@ export {
|
|
|
801
801
|
c as Kind,
|
|
802
802
|
$ as LibFiles,
|
|
803
803
|
X as OutlineAdapter,
|
|
804
|
-
|
|
805
|
-
|
|
804
|
+
G as QuickInfoAdapter,
|
|
805
|
+
Q as ReferenceAdapter,
|
|
806
806
|
te as RenameAdapter,
|
|
807
807
|
O as SignatureHelpAdapter,
|
|
808
808
|
C as SuggestAdapter,
|
package/package.json
CHANGED
package/dist/Code-2bb39b3d.js
DELETED
package/dist/Col-2cdf69c5.js
DELETED
package/dist/Demo-2f408623.js
DELETED
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
import { defineComponent as b, ref as _, reactive as c, onMounted as p, resolveComponent as i, openBlock as v, createElementBlock as g, createVNode as o, withCtx as s, createTextVNode as w } from "vue";
|
|
2
|
-
import { m as j, n as m } from "./index-d5af5250.js";
|
|
3
|
-
const y = { class: "cici-form-css" }, k = /* @__PURE__ */ b({
|
|
4
|
-
__name: "Demo",
|
|
5
|
-
setup(z) {
|
|
6
|
-
j(), _([]), _([]);
|
|
7
|
-
const n = c({
|
|
8
|
-
bdc_djzb: {
|
|
9
|
-
业务号: "",
|
|
10
|
-
age: 20
|
|
11
|
-
},
|
|
12
|
-
bdc_ywfw: {
|
|
13
|
-
name: "2",
|
|
14
|
-
title: "我是yefw"
|
|
15
|
-
}
|
|
16
|
-
});
|
|
17
|
-
p(() => {
|
|
18
|
-
console.info("我是预览页面");
|
|
19
|
-
});
|
|
20
|
-
function f(a) {
|
|
21
|
-
const e = a.target.value, l = a.target.__vnode.props.rules;
|
|
22
|
-
if (l != null) {
|
|
23
|
-
const r = l.length;
|
|
24
|
-
if (r > 0)
|
|
25
|
-
for (let u = 0; u < r; u++) {
|
|
26
|
-
const d = l[u];
|
|
27
|
-
if (d.required) {
|
|
28
|
-
if (e == "") {
|
|
29
|
-
m.error(d.message), a.target.focus();
|
|
30
|
-
return;
|
|
31
|
-
}
|
|
32
|
-
} else if (!/^[+-]?(0|([1-9]\d*))(\.\d+)?$/g.test(e)) {
|
|
33
|
-
m.error(d.message), a.target.focus();
|
|
34
|
-
return;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
return (a, e) => {
|
|
40
|
-
const l = i("a-input"), r = i("a-form-item"), u = i("a-button"), d = i("a-form");
|
|
41
|
-
return v(), g("div", y, [
|
|
42
|
-
o(d, {
|
|
43
|
-
"label-col": { style: { width: "100px" } },
|
|
44
|
-
labelWrap: !0
|
|
45
|
-
}, {
|
|
46
|
-
default: s(() => [
|
|
47
|
-
o(r, {
|
|
48
|
-
label: "受理编号",
|
|
49
|
-
"validate-status": "error"
|
|
50
|
-
}, {
|
|
51
|
-
default: s(() => [
|
|
52
|
-
o(l, {
|
|
53
|
-
status: "error",
|
|
54
|
-
value: n.bdc_djzb.业务号,
|
|
55
|
-
"onUpdate:value": e[0] || (e[0] = (t) => n.bdc_djzb.业务号 = t),
|
|
56
|
-
"write-field": "bdc_djzb.受理编号;bdc_ywfw.slbh",
|
|
57
|
-
rules: [{ required: !0, message: "必填项" }, { type: "number", message: "请输入数字" }],
|
|
58
|
-
onBlur: e[1] || (e[1] = (t) => f(t))
|
|
59
|
-
}, null, 8, ["value"])
|
|
60
|
-
]),
|
|
61
|
-
_: 1
|
|
62
|
-
}),
|
|
63
|
-
o(r, {
|
|
64
|
-
label: "业务号",
|
|
65
|
-
name: "业务号",
|
|
66
|
-
rules: [{ required: !0, message: "请输入业务号" }]
|
|
67
|
-
}, {
|
|
68
|
-
default: s(() => [
|
|
69
|
-
o(l, {
|
|
70
|
-
value: n.bdc_djzb.业务号,
|
|
71
|
-
"onUpdate:value": e[2] || (e[2] = (t) => n.bdc_djzb.业务号 = t),
|
|
72
|
-
"write-field": "bdc_djzb.业务号;bdc_ywfw.ywh",
|
|
73
|
-
onBlur: e[3] || (e[3] = (t) => f(t))
|
|
74
|
-
}, null, 8, ["value"])
|
|
75
|
-
]),
|
|
76
|
-
_: 1
|
|
77
|
-
}),
|
|
78
|
-
o(r, { label: "业务号1" }, {
|
|
79
|
-
default: s(() => [
|
|
80
|
-
o(l, {
|
|
81
|
-
value: n.bdc_djzb.业务号,
|
|
82
|
-
"onUpdate:value": e[4] || (e[4] = (t) => n.bdc_djzb.业务号 = t)
|
|
83
|
-
}, null, 8, ["value"])
|
|
84
|
-
]),
|
|
85
|
-
_: 1
|
|
86
|
-
}),
|
|
87
|
-
o(r, { style: { "text-align": "left", "padding-left": "5px" } }, {
|
|
88
|
-
default: s(() => [
|
|
89
|
-
o(u, {
|
|
90
|
-
type: "Default",
|
|
91
|
-
onClick: a.onSubmit
|
|
92
|
-
}, {
|
|
93
|
-
default: s(() => [
|
|
94
|
-
w("保存")
|
|
95
|
-
]),
|
|
96
|
-
_: 1
|
|
97
|
-
}, 8, ["onClick"])
|
|
98
|
-
]),
|
|
99
|
-
_: 1
|
|
100
|
-
})
|
|
101
|
-
]),
|
|
102
|
-
_: 1
|
|
103
|
-
})
|
|
104
|
-
]);
|
|
105
|
-
};
|
|
106
|
-
}
|
|
107
|
-
});
|
|
108
|
-
export {
|
|
109
|
-
k as default
|
|
110
|
-
};
|
package/dist/Demo-6d1f7624.js
DELETED
package/dist/Grid-625fc82d.js
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { defineComponent, ref, openBlock, createBlock, unref } from "vue";
|
|
2
|
-
import { u as useFormStore, m as useDataStore, p as generateHtml, g as getData, q as defHttp, _ as _export_sfc } from "./index-d5af5250.js";
|
|
3
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
|
-
__name: "Preview0925",
|
|
5
|
-
setup(__props) {
|
|
6
|
-
const formStore = useFormStore(), dataStore = useDataStore();
|
|
7
|
-
dataStore.getSelectData;
|
|
8
|
-
let list = ref(formStore.formData.config.eventScript);
|
|
9
|
-
const generateData = generateHtml(formStore.formData.list), columns = [...generateData.columns];
|
|
10
|
-
let viewData = ref({});
|
|
11
|
-
const generateForm = defineComponent({
|
|
12
|
-
template: generateData.html,
|
|
13
|
-
props: {
|
|
14
|
-
message: String
|
|
15
|
-
},
|
|
16
|
-
setup(props) {
|
|
17
|
-
let formData = ref([]), datalist = ref([]);
|
|
18
|
-
debugger;
|
|
19
|
-
viewData.value = getData();
|
|
20
|
-
const tableData = formStore.formData.list.filter((e) => e.type == "table"), ilength = tableData.length;
|
|
21
|
-
let pagination;
|
|
22
|
-
ilength > 0 && tableData[0].options.pagination && (pagination = ref({
|
|
23
|
-
total: 0,
|
|
24
|
-
current: 1,
|
|
25
|
-
pageSize: tableData[0].options.pageSize
|
|
26
|
-
}));
|
|
27
|
-
const events = {};
|
|
28
|
-
return generateTs(), {
|
|
29
|
-
formData,
|
|
30
|
-
pagination,
|
|
31
|
-
datalist,
|
|
32
|
-
columns,
|
|
33
|
-
viewData,
|
|
34
|
-
// bdc_djzb1,
|
|
35
|
-
...events,
|
|
36
|
-
defHttp,
|
|
37
|
-
onChange
|
|
38
|
-
};
|
|
39
|
-
function onChange(e, t) {
|
|
40
|
-
pagination.value = e, t();
|
|
41
|
-
}
|
|
42
|
-
function generateTs() {
|
|
43
|
-
for (let e = 0; e < list.value.length; e++) {
|
|
44
|
-
const t = list.value[e];
|
|
45
|
-
events[t.name] = newFunction(t);
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
function newFunction(_data) {
|
|
49
|
-
return _data.param != "" ? (params) => {
|
|
50
|
-
eval(_data.func);
|
|
51
|
-
} : () => {
|
|
52
|
-
eval(_data.func);
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
});
|
|
57
|
-
return (e, t) => (openBlock(), createBlock(unref(generateForm)));
|
|
58
|
-
}
|
|
59
|
-
}), Preview0925_vue_vue_type_style_index_0_scoped_bf5246cd_lang = "", Preview0925 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-bf5246cd"]]);
|
|
60
|
-
export {
|
|
61
|
-
Preview0925 as default
|
|
62
|
-
};
|
|
@@ -1,285 +0,0 @@
|
|
|
1
|
-
import { defineComponent as U, reactive as C, ref as N, onMounted as R, resolveComponent as r, openBlock as O, createElementBlock as P, createVNode as l, withCtx as a, mergeProps as i, unref as o, createTextVNode as u, createElementVNode as c } from "vue";
|
|
2
|
-
import { o as V, v as s, b as m, c as E } from "./index-d5af5250.js";
|
|
3
|
-
const F = {
|
|
4
|
-
rules: [{ type: "required", msg: "必须填写此项" }],
|
|
5
|
-
class: "ant-picker-range-custom",
|
|
6
|
-
"write-field": "bdc_djzb.range"
|
|
7
|
-
}, S = {
|
|
8
|
-
rules: [{ type: "required", msg: "必须填写此项" }],
|
|
9
|
-
class: "ant-picker-custom",
|
|
10
|
-
"write-field": "bdc_djzb.time"
|
|
11
|
-
}, L = /* @__PURE__ */ U({
|
|
12
|
-
__name: "PreviewDemo",
|
|
13
|
-
props: {
|
|
14
|
-
disabled: {
|
|
15
|
-
type: Boolean,
|
|
16
|
-
default: !1
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
setup(n, { expose: w }) {
|
|
20
|
-
const t = C({
|
|
21
|
-
bdc_djzb: {
|
|
22
|
-
业务号: "",
|
|
23
|
-
age: 20,
|
|
24
|
-
受理编号: 2,
|
|
25
|
-
下拉必填: "",
|
|
26
|
-
单选必填: "",
|
|
27
|
-
多选框必填: [],
|
|
28
|
-
time: "",
|
|
29
|
-
range: [],
|
|
30
|
-
textarea: ""
|
|
31
|
-
},
|
|
32
|
-
bdc_ywfw: {
|
|
33
|
-
name: "",
|
|
34
|
-
title: "我是yefw"
|
|
35
|
-
}
|
|
36
|
-
});
|
|
37
|
-
let p = N();
|
|
38
|
-
w({
|
|
39
|
-
onSubmit: y
|
|
40
|
-
}), R(() => {
|
|
41
|
-
console.info("我是预览页面");
|
|
42
|
-
});
|
|
43
|
-
function y() {
|
|
44
|
-
return V(p.value);
|
|
45
|
-
}
|
|
46
|
-
function g() {
|
|
47
|
-
let v = E({
|
|
48
|
-
title: "测试二级",
|
|
49
|
-
width: 300,
|
|
50
|
-
onOk: () => {
|
|
51
|
-
console.log("二级ok"), v.destroy();
|
|
52
|
-
}
|
|
53
|
-
});
|
|
54
|
-
}
|
|
55
|
-
return (v, e) => {
|
|
56
|
-
const z = r("a-input"), b = r("a-form-item"), j = r("a-select-option"), x = r("a-select"), f = r("a-checkbox"), k = r("a-checkbox-group"), _ = r("a-radio"), q = r("a-radio-group"), Y = r("a-range-picker"), D = r("a-date-picker"), M = r("a-textarea"), B = r("a-form");
|
|
57
|
-
return O(), P("div", {
|
|
58
|
-
ref_key: "formRef",
|
|
59
|
-
ref: p,
|
|
60
|
-
class: "cici-form-css"
|
|
61
|
-
}, [
|
|
62
|
-
l(B, {
|
|
63
|
-
"label-col": { style: { width: "100px" } },
|
|
64
|
-
labelWrap: !0,
|
|
65
|
-
model: t
|
|
66
|
-
}, {
|
|
67
|
-
default: a(() => [
|
|
68
|
-
l(b, i({
|
|
69
|
-
label: "受理编号",
|
|
70
|
-
required: ""
|
|
71
|
-
}, o(s)["bdc_djzb.id;"]), {
|
|
72
|
-
default: a(() => [
|
|
73
|
-
l(z, {
|
|
74
|
-
value: t.bdc_djzb.受理编号,
|
|
75
|
-
"onUpdate:value": e[0] || (e[0] = (d) => t.bdc_djzb.受理编号 = d),
|
|
76
|
-
rules: [{ type: "required", msg: "必须填写此项" }, { type: "number", msg: "请填写数字" }],
|
|
77
|
-
disabled: n.disabled,
|
|
78
|
-
"write-field": "bdc_djzb.id",
|
|
79
|
-
onBlur: e[1] || (e[1] = (d) => o(m)(d, "blur"))
|
|
80
|
-
}, null, 8, ["value", "disabled"])
|
|
81
|
-
]),
|
|
82
|
-
_: 1
|
|
83
|
-
}, 16),
|
|
84
|
-
l(b, i({
|
|
85
|
-
label: "下拉必填",
|
|
86
|
-
required: ""
|
|
87
|
-
}, o(s)["bdc_djzb.下拉必填"]), {
|
|
88
|
-
default: a(() => [
|
|
89
|
-
l(x, {
|
|
90
|
-
value: t.bdc_djzb.下拉必填,
|
|
91
|
-
"onUpdate:value": e[2] || (e[2] = (d) => t.bdc_djzb.下拉必填 = d),
|
|
92
|
-
disabled: n.disabled,
|
|
93
|
-
rules: [{ type: "required", msg: "必须填写此项" }],
|
|
94
|
-
"write-field": "bdc_djzb.下拉必填",
|
|
95
|
-
onBlur: e[3] || (e[3] = (d) => o(m)(d, "blur", t.bdc_djzb.下拉必填))
|
|
96
|
-
}, {
|
|
97
|
-
default: a(() => [
|
|
98
|
-
l(j, { value: "lucy" }, {
|
|
99
|
-
default: a(() => [
|
|
100
|
-
u("Lucy")
|
|
101
|
-
]),
|
|
102
|
-
_: 1
|
|
103
|
-
}),
|
|
104
|
-
l(j, { value: "nancy" }, {
|
|
105
|
-
default: a(() => [
|
|
106
|
-
u("Nancy")
|
|
107
|
-
]),
|
|
108
|
-
_: 1
|
|
109
|
-
})
|
|
110
|
-
]),
|
|
111
|
-
_: 1
|
|
112
|
-
}, 8, ["value", "disabled"])
|
|
113
|
-
]),
|
|
114
|
-
_: 1
|
|
115
|
-
}, 16),
|
|
116
|
-
l(b, i({
|
|
117
|
-
label: "多选框必填",
|
|
118
|
-
required: ""
|
|
119
|
-
}, o(s)["bdc_djzb.多选框必填"]), {
|
|
120
|
-
default: a(() => [
|
|
121
|
-
l(k, {
|
|
122
|
-
value: t.bdc_djzb.多选框必填,
|
|
123
|
-
"onUpdate:value": e[4] || (e[4] = (d) => t.bdc_djzb.多选框必填 = d),
|
|
124
|
-
rules: [{ type: "required", msg: "必须填写此项" }],
|
|
125
|
-
"write-field": "bdc_djzb.多选框必填",
|
|
126
|
-
disabled: n.disabled
|
|
127
|
-
}, {
|
|
128
|
-
default: a(() => [
|
|
129
|
-
l(f, {
|
|
130
|
-
name: "type",
|
|
131
|
-
value: "1"
|
|
132
|
-
}, {
|
|
133
|
-
default: a(() => [
|
|
134
|
-
u("Online")
|
|
135
|
-
]),
|
|
136
|
-
_: 1
|
|
137
|
-
}),
|
|
138
|
-
l(f, {
|
|
139
|
-
name: "type",
|
|
140
|
-
value: "2"
|
|
141
|
-
}, {
|
|
142
|
-
default: a(() => [
|
|
143
|
-
u("Promotion")
|
|
144
|
-
]),
|
|
145
|
-
_: 1
|
|
146
|
-
}),
|
|
147
|
-
l(f, {
|
|
148
|
-
name: "type",
|
|
149
|
-
value: "3"
|
|
150
|
-
}, {
|
|
151
|
-
default: a(() => [
|
|
152
|
-
u("Offline")
|
|
153
|
-
]),
|
|
154
|
-
_: 1
|
|
155
|
-
})
|
|
156
|
-
]),
|
|
157
|
-
_: 1
|
|
158
|
-
}, 8, ["value", "disabled"])
|
|
159
|
-
]),
|
|
160
|
-
_: 1
|
|
161
|
-
}, 16),
|
|
162
|
-
l(b, i({
|
|
163
|
-
label: "单选必填",
|
|
164
|
-
required: ""
|
|
165
|
-
}, o(s)["bdc_djzb.单选必填"]), {
|
|
166
|
-
default: a(() => [
|
|
167
|
-
l(q, {
|
|
168
|
-
value: t.bdc_djzb.单选必填,
|
|
169
|
-
"onUpdate:value": e[5] || (e[5] = (d) => t.bdc_djzb.单选必填 = d),
|
|
170
|
-
disabled: n.disabled,
|
|
171
|
-
rules: [{ type: "required", msg: "必须填写此项" }],
|
|
172
|
-
"write-field": "bdc_djzb.单选必填"
|
|
173
|
-
}, {
|
|
174
|
-
default: a(() => [
|
|
175
|
-
l(_, { value: "1" }, {
|
|
176
|
-
default: a(() => [
|
|
177
|
-
u("A")
|
|
178
|
-
]),
|
|
179
|
-
_: 1
|
|
180
|
-
}),
|
|
181
|
-
l(_, { value: "2" }, {
|
|
182
|
-
default: a(() => [
|
|
183
|
-
u("B")
|
|
184
|
-
]),
|
|
185
|
-
_: 1
|
|
186
|
-
}),
|
|
187
|
-
l(_, { value: "3" }, {
|
|
188
|
-
default: a(() => [
|
|
189
|
-
u("C")
|
|
190
|
-
]),
|
|
191
|
-
_: 1
|
|
192
|
-
}),
|
|
193
|
-
l(_, { value: "4" }, {
|
|
194
|
-
default: a(() => [
|
|
195
|
-
u("D")
|
|
196
|
-
]),
|
|
197
|
-
_: 1
|
|
198
|
-
})
|
|
199
|
-
]),
|
|
200
|
-
_: 1
|
|
201
|
-
}, 8, ["value", "disabled"])
|
|
202
|
-
]),
|
|
203
|
-
_: 1
|
|
204
|
-
}, 16),
|
|
205
|
-
l(b, i({
|
|
206
|
-
label: "日期范围",
|
|
207
|
-
required: ""
|
|
208
|
-
}, o(s)["bdc_djzb.range"]), {
|
|
209
|
-
default: a(() => [
|
|
210
|
-
c("div", F, [
|
|
211
|
-
l(Y, {
|
|
212
|
-
value: t.bdc_djzb.range,
|
|
213
|
-
"onUpdate:value": e[6] || (e[6] = (d) => t.bdc_djzb.range = d),
|
|
214
|
-
disabled: n.disabled,
|
|
215
|
-
format: "YYYY-MM-DD",
|
|
216
|
-
"value-format": "YYYY-MM-DD",
|
|
217
|
-
onBlur: e[7] || (e[7] = (d) => o(m)(d, "blur"))
|
|
218
|
-
}, null, 8, ["value", "disabled"])
|
|
219
|
-
])
|
|
220
|
-
]),
|
|
221
|
-
_: 1
|
|
222
|
-
}, 16),
|
|
223
|
-
l(b, i({
|
|
224
|
-
label: "日期",
|
|
225
|
-
required: ""
|
|
226
|
-
}, o(s)["bdc_djzb.time"]), {
|
|
227
|
-
default: a(() => [
|
|
228
|
-
c("div", S, [
|
|
229
|
-
l(D, {
|
|
230
|
-
value: t.bdc_djzb.time,
|
|
231
|
-
"onUpdate:value": e[8] || (e[8] = (d) => t.bdc_djzb.time = d),
|
|
232
|
-
disabled: n.disabled,
|
|
233
|
-
format: "YYYY-MM-DD",
|
|
234
|
-
"value-format": "YYYY-MM-DD",
|
|
235
|
-
onBlur: e[9] || (e[9] = (d) => o(m)(d, "blur"))
|
|
236
|
-
}, null, 8, ["value", "disabled"])
|
|
237
|
-
])
|
|
238
|
-
]),
|
|
239
|
-
_: 1
|
|
240
|
-
}, 16),
|
|
241
|
-
l(b, i({
|
|
242
|
-
label: "多文本",
|
|
243
|
-
required: ""
|
|
244
|
-
}, o(s)["bdc_djzb.textarea;bdc_djzb.id"]), {
|
|
245
|
-
default: a(() => [
|
|
246
|
-
l(M, {
|
|
247
|
-
value: t.bdc_djzb.textarea,
|
|
248
|
-
"onUpdate:value": e[10] || (e[10] = (d) => t.bdc_djzb.textarea = d),
|
|
249
|
-
disabled: n.disabled,
|
|
250
|
-
placeholder: "请输入多文本",
|
|
251
|
-
"auto-size": { minRows: "2", maxRows: "5" },
|
|
252
|
-
rules: [{ type: "required", msg: "必须填写此项" }],
|
|
253
|
-
"write-field": "bdc_djzb.textarea;bdc_djzb.id",
|
|
254
|
-
onBlur: e[11] || (e[11] = (d) => o(m)(d, "blur"))
|
|
255
|
-
}, null, 8, ["value", "disabled"])
|
|
256
|
-
]),
|
|
257
|
-
_: 1
|
|
258
|
-
}, 16),
|
|
259
|
-
l(b, i({
|
|
260
|
-
label: "名称",
|
|
261
|
-
required: ""
|
|
262
|
-
}, o(s)["bdc_ywfw.name"]), {
|
|
263
|
-
default: a(() => [
|
|
264
|
-
l(z, {
|
|
265
|
-
value: t.bdc_ywfw.name,
|
|
266
|
-
"onUpdate:value": e[12] || (e[12] = (d) => t.bdc_ywfw.name = d),
|
|
267
|
-
rules: [{ type: "required", msg: "必须填写此项" }],
|
|
268
|
-
"write-field": "bdc_ywfw.name",
|
|
269
|
-
disabled: n.disabled,
|
|
270
|
-
onBlur: e[13] || (e[13] = (d) => o(m)(d, "blur"))
|
|
271
|
-
}, null, 8, ["value", "disabled"])
|
|
272
|
-
]),
|
|
273
|
-
_: 1
|
|
274
|
-
}, 16),
|
|
275
|
-
c("a", { onClick: g }, "测试弹窗")
|
|
276
|
-
]),
|
|
277
|
-
_: 1
|
|
278
|
-
}, 8, ["model"])
|
|
279
|
-
], 512);
|
|
280
|
-
};
|
|
281
|
-
}
|
|
282
|
-
});
|
|
283
|
-
export {
|
|
284
|
-
L as _
|
|
285
|
-
};
|