diff --git a/QMPlusServer/model/autoCodeModel/autoCode.go b/QMPlusServer/model/autoCodeModel/autoCode.go new file mode 100644 index 0000000000000000000000000000000000000000..912c66065f8afecad3d78a2919f176dbe87a1b2c --- /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 de6e55cdc7830f9c1765e776cdce565e6045c853..ac98838527bf4993c7b33a6b146ef10d61cafc75 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 0000000000000000000000000000000000000000..756a322873a5676a231824c8945b6dc71ce9df0d --- /dev/null +++ b/QMPlusVuePage/src/view/superAdmin/autoCode/index.vue @@ -0,0 +1,158 @@ + + + \ No newline at end of file