代码生成编辑新增字段备注

This commit is contained in:
不做码农
2022-05-20 14:40:31 +08:00
parent d8abd49103
commit 99595c1993
6 changed files with 20 additions and 13 deletions

View File

@@ -9,9 +9,9 @@
</el-tab-pane>
<el-tab-pane label="字段信息" name="cloum">
<el-table ref="dragTable" v-loading="loading" :data="columns" row-key="columnId" min-height="150px" :max-height="tableHeight">
<el-table-column label="序号" type="index" class-name="allowDrag" />
<el-table-column label="字段列名" prop="columnName" :show-overflow-tooltip="true" />
<el-table-column label="字段描述">
<el-table-column label="序号" type="index" class-name="allowDrag" fixed />
<el-table-column label="字段列名" prop="columnName" :show-overflow-tooltip="true" fixed />
<el-table-column label="字段描述" fixed>
<template slot-scope="scope">
<el-input v-model="scope.row.columnComment" :ref="scope.row.columnId" @keydown.native="nextFocus(scope.row, scope.$index, $event)">
</el-input>
@@ -76,7 +76,7 @@
<el-checkbox v-model="scope.row.isRequired"></el-checkbox>
</template>
</el-table-column>
<el-table-column label="表单显示类型">
<el-table-column label="表单显示类型" width="120">
<template slot-scope="scope">
<el-select v-model="scope.row.htmlType">
<el-option label="文本框" value="input" />
@@ -93,7 +93,7 @@
</el-select>
</template>
</el-table-column>
<el-table-column label="字典类型">
<el-table-column label="字典类型" min-width="100">
<template slot-scope="scope">
<el-select
v-model="scope.row.dictType"
@@ -109,6 +109,11 @@
</el-select>
</template>
</el-table-column>
<el-table-column label="备注" align="center" width="200">
<template slot-scope="scope">
<el-input v-model="scope.row.remark"> </el-input>
</template>
</el-table-column>
</el-table>
</el-tab-pane>
</el-tabs>