| | |
| | | <el-button type="danger" size="small" icon="el-icon-delete" plain @click="handleDelete">删 除 |
| | | </el-button> |
| | | </template> |
| | | <template slot-scope="{row}" slot="menu"> |
| | | <el-button type="text" icon="el-icon-setting" size="small" plain class="none-border" |
| | | <template slot-scope="{row, size}" slot="menu"> |
| | | <el-button type="text" icon="el-icon-setting" :size="size" plain class="none-border" |
| | | @click.stop="handleModel(row)">模型配置 |
| | | </el-button> |
| | | </template> |
| | | <template slot-scope="{row}" slot="modelTable"> |
| | | <el-tag>{{ row.modelTable }}</el-tag> |
| | | <template slot-scope="{row, size}" slot="modelTable"> |
| | | <el-tag :size="size">{{ row.modelTable }}</el-tag> |
| | | </template> |
| | | </avue-crud> |
| | | <el-dialog title="数据库模型配置" :visible.sync="modelBox" :fullscreen="true" append-to-body> |
| | |
| | | option: { |
| | | ...option, |
| | | |
| | | labelWidth: 120, |
| | | labelWidth: 96, |
| | | searchLabelWidth: 96, |
| | | searchShow: true, |
| | | searchMenuSpan: 3, |