From 35ec61c8dd9a8660b2cafcd16f7512dee902c3a8 Mon Sep 17 00:00:00 2001
From: QM303176530 <303176530@qq.com>
Date: Sun, 22 Mar 2020 23:18:22 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E7=94=9F=E6=88=90=E5=99=A8?=
=?UTF-8?q?=E5=89=8D=E7=AB=AF=E9=A1=B5=E9=9D=A2=20=E5=90=8E=E7=AB=AF?=
=?UTF-8?q?=E5=9F=BA=E6=9C=AC=E5=AD=97=E6=AE=B5=20=E5=AE=8C=E6=88=90?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
QMPlusServer/model/autoCodeModel/autoCode.go | 22 +++
QMPlusVuePage/src/view/login/login.vue | 2 +-
.../src/view/superAdmin/autoCode/index.vue | 158 ++++++++++++++++++
3 files changed, 181 insertions(+), 1 deletion(-)
create mode 100644 QMPlusServer/model/autoCodeModel/autoCode.go
create mode 100644 QMPlusVuePage/src/view/superAdmin/autoCode/index.vue
diff --git a/QMPlusServer/model/autoCodeModel/autoCode.go b/QMPlusServer/model/autoCodeModel/autoCode.go
new file mode 100644
index 00000000..912c6606
--- /dev/null
+++ b/QMPlusServer/model/autoCodeModel/autoCode.go
@@ -0,0 +1,22 @@
+package autoCodeModel
+
+type AutoCodeStruct struct {
+ StructName string `json:"structName"`
+ StructType []string `json:"structType"`
+ Components []Component `json:"components"`
+}
+
+type Component struct {
+ ComponentName string `json:"componentName"`
+ ComponentType string `json:"componentType"`
+ Ismultiple bool `json:"isMultiple"`
+ ComponentShowType string `json:"componentShowType"`
+ NideDictionary bool `json:"nideDictionary"`
+ DictionaryName string `json:"dictionaryName"`
+ ComponentDictionary []Dictionary `json:"dictionary"`
+}
+
+type Dictionary struct {
+ Label string `json:"label"`
+ Value string `json:"value"`
+}
diff --git a/QMPlusVuePage/src/view/login/login.vue b/QMPlusVuePage/src/view/login/login.vue
index de6e55cd..ac988385 100644
--- a/QMPlusVuePage/src/view/login/login.vue
+++ b/QMPlusVuePage/src/view/login/login.vue
@@ -20,7 +20,7 @@
diff --git a/QMPlusVuePage/src/view/superAdmin/autoCode/index.vue b/QMPlusVuePage/src/view/superAdmin/autoCode/index.vue
new file mode 100644
index 00000000..756a3228
--- /dev/null
+++ b/QMPlusVuePage/src/view/superAdmin/autoCode/index.vue
@@ -0,0 +1,158 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 新增组件
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 编辑
+
+ 这是一段内容这是一段内容确定删除吗?
+
+ 取消
+ 确定
+
+ 删除
+
+
+
+
+
+
+ 提交
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file