From 863ab6f33ae34ab8af47fcdb64e74e75f66d5a95 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sun, 2 Jan 2022 12:28:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=81=E7=A8=8B=E8=A1=A8=E5=8D=95=EF=BC=8C?= =?UTF-8?q?=E6=8E=A5=E5=85=A5=E6=96=B0=E7=9A=84=20form=20generator=20?= =?UTF-8?q?=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yudao-admin-ui/src/components/RADME.md | 8 + .../src/views/bpm/form/formEditor.vue | 849 +++++++----------- yudao-admin-ui/src/views/tool/build/README.md | 1 + 3 files changed, 353 insertions(+), 505 deletions(-) create mode 100644 yudao-admin-ui/src/components/RADME.md create mode 100644 yudao-admin-ui/src/views/tool/build/README.md diff --git a/yudao-admin-ui/src/components/RADME.md b/yudao-admin-ui/src/components/RADME.md new file mode 100644 index 000000000..63c3b8457 --- /dev/null +++ b/yudao-admin-ui/src/components/RADME.md @@ -0,0 +1,8 @@ +## form-generator + +github 地址:https://github.com/JakHuang/form-generator + +* generator +* parser +* render +* tinymce \ No newline at end of file diff --git a/yudao-admin-ui/src/views/bpm/form/formEditor.vue b/yudao-admin-ui/src/views/bpm/form/formEditor.vue index aea174c8f..d5bca71c3 100644 --- a/yudao-admin-ui/src/views/bpm/form/formEditor.vue +++ b/yudao-admin-ui/src/views/bpm/form/formEditor.vue @@ -7,42 +7,33 @@
-
- 输入型组件 -
- -
-
- - {{ element.label }} -
+
+
+ + {{ item.title }}
- -
- 选择型组件 -
- -
-
- - {{ element.label }} + +
+
+ + {{ element.__config__.label }} +
-
- -
- 布局型组件 +
- -
-
- - {{ element.label }} -
-
-
@@ -64,20 +55,47 @@
-
保存 - 清空 + + + + + 查看json + + + + + + + + + 清空 +
+ - + - +
从左侧拖入或点选组件进行表单设计 @@ -88,52 +106,128 @@
- + + + + + + + + + + + + + + + + + +
diff --git a/yudao-admin-ui/src/views/tool/build/README.md b/yudao-admin-ui/src/views/tool/build/README.md new file mode 100644 index 000000000..423d325be --- /dev/null +++ b/yudao-admin-ui/src/views/tool/build/README.md @@ -0,0 +1 @@ +【add by 芋道源码】引自 https://github.com/JakHuang/form-generator/tree/dev/src/views/index 目录 \ No newline at end of file