优化代码生成

This commit is contained in:
不做码农
2023-03-12 19:31:27 +08:00
parent 5d98d464a1
commit d483b4e58e
5 changed files with 13 additions and 18 deletions

View File

@@ -40,7 +40,7 @@ $end
<el-table v-if="refreshTable" :data="dataList" v-loading="loading" ref="table" border highlight-current-row @selection-change="handleSelectionChange"
:default-expand-all="isExpandAll" row-key="${tool.FirstLowerCase(genTable.Options.TreeCode)}" :tree-props="{children: 'children', hasChildren: 'hasChildren'}">
<el-table-column type="selection" width="50" align="center"/>
${VueViewListContent}
${replaceDto.VueViewListHtml}
<el-table-column label="操作" align="center" width="140">
<template slot-scope="scope">
<el-button size="mini" v-hasPermi="['${replaceDto.PermissionPrefix}:edit']" type="success" icon="el-icon-edit" title="编辑"
@@ -56,7 +56,7 @@ ${VueViewListContent}
<el-dialog :title="title" :lock-scroll="false" :visible.sync="open" >
<el-form ref="form" :model="form" :rules="rules" :label-width="formLabelWidth">
<el-row :gutter="20">
${VueViewFormContent}
${replaceDto.VueViewFormHtml}
</el-row>
</el-form>
<div slot="footer" class="dialog-footer">