Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
HeliosJ
gin-vue-admin
提交
5661281e
G
gin-vue-admin
项目概览
HeliosJ
/
gin-vue-admin
与 Fork 源项目一致
Fork自
FLIPPED-AURORA / gin-vue-admin
通知
4
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
gin-vue-admin
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
5661281e
编写于
3月 24, 2020
作者:
Mr.奇淼(
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
自动代码功能更新
上级
ca842262
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
8 addition
and
9 deletion
+8
-9
QMPlusServer/model/autoCodeModel/autoCode.go
QMPlusServer/model/autoCodeModel/autoCode.go
+0
-1
QMPlusVuePage/src/view/superAdmin/autoCode/component/componentDialog.vue
...rc/view/superAdmin/autoCode/component/componentDialog.vue
+1
-1
QMPlusVuePage/src/view/superAdmin/autoCode/index.vue
QMPlusVuePage/src/view/superAdmin/autoCode/index.vue
+7
-7
未找到文件。
QMPlusServer/model/autoCodeModel/autoCode.go
浏览文件 @
5661281e
...
...
@@ -3,7 +3,6 @@ package autoCodeModel
//开发中功能,若您发现这块代码可以研究,可以无视
type
AutoCodeStruct
struct
{
StructName
string
`json:"structName"`
StructType
[]
string
`json:"structType"`
Components
[]
Component
`json:"components"`
}
...
...
QMPlusVuePage/src/view/superAdmin/autoCode/component/componentDialog.vue
浏览文件 @
5661281e
...
...
@@ -47,7 +47,7 @@
</div>
</el-form>
<div
class=
"button-box clearflex"
>
<el-button
@
click=
"addDictionary"
type=
"primary"
>
新增
组件
</el-button>
<el-button
@
click=
"addDictionary"
type=
"primary"
>
新增
字典
</el-button>
</div>
<el-table
:data=
"dialogMiddle.componentDictionary"
...
...
QMPlusVuePage/src/view/superAdmin/autoCode/index.vue
浏览文件 @
5661281e
...
...
@@ -4,10 +4,10 @@
<!-- 此版本为简单版 -->
<!-- 结构体基础配置 -->
<el-form
ref=
"form"
:model=
"form"
label-width=
"100px"
:inline=
"true"
>
<el-form-item
label=
"
结构
名称"
:span=
"8"
>
<el-form-item
label=
"
Struct
名称"
:span=
"8"
>
<el-input
v-model=
"form.structName"
></el-input>
</el-form-item>
<el-form-item
label=
"结构类型"
:span=
"8"
>
<
!--
<
el-form-item
label=
"结构类型"
:span=
"8"
>
<el-select
v-model=
"form.structType"
multiple
placeholder=
"请选择结构类型(多选)"
>
<el-option
v-for=
"item in options"
...
...
@@ -16,11 +16,11 @@
:value=
"item.value"
>
</el-option>
</el-select>
</el-form-item>
</el-form-item>
-->
</el-form>
<!-- 组件列表 -->
<div
class=
"button-box clearflex"
>
<el-button
@
click=
"editAndAddComponent()"
type=
"primary"
>
新增
组件
</el-button>
<el-button
@
click=
"editAndAddComponent()"
type=
"primary"
>
新增
Field
</el-button>
</div>
<el-table
:data=
"form.components"
...
...
@@ -32,17 +32,17 @@
</el-table-column>
<el-table-column
prop=
"componentName"
label=
"
组件
名"
label=
"
Field
名"
width=
"180"
>
</el-table-column>
<el-table-column
prop=
"componentType"
label=
"
组件
数据类型"
label=
"
Field
数据类型"
width=
"180"
>
</el-table-column>
<el-table-column
prop=
"componentShowType"
label=
"
组件
展示类型"
>
label=
"
Field
展示类型"
>
</el-table-column>
<el-table-column
prop=
"dictionaryName"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录