代码生成样式调整

This commit is contained in:
不做码农 2023-09-04 20:40:51 +08:00
parent b9a3cfe377
commit b83c005f28
2 changed files with 3 additions and 4 deletions

View File

@ -2,7 +2,6 @@ using Microsoft.AspNetCore.Mvc;
using ${options.DtosNamespace}; using ${options.DtosNamespace};
using ${options.ModelsNamespace}.${options.SubNamespace}; using ${options.ModelsNamespace}.${options.SubNamespace};
using ${options.IServicsNamespace}.${options.SubNamespace}.I${options.SubNamespace}Service; using ${options.IServicsNamespace}.${options.SubNamespace}.I${options.SubNamespace}Service;
using ${options.ApiControllerNamespace}.Extensions;
using ${options.ApiControllerNamespace}.Filters; using ${options.ApiControllerNamespace}.Filters;
$if(replaceDto.ShowBtnImport) $if(replaceDto.ShowBtnImport)
using MiniExcelLibs; using MiniExcelLibs;

View File

@ -214,13 +214,13 @@ $end
</el-button-group> </el-button-group>
$else $else
$if(replaceDto.ShowBtnView) $if(replaceDto.ShowBtnView)
<el-button type="primary" icon="view" title="详情" @click="handlePreview(scope.row)"></el-button> <el-button type="primary" size="small" icon="view" title="详情" @click="handlePreview(scope.row)"></el-button>
$end $end
$if(replaceDto.ShowBtnEdit) $if(replaceDto.ShowBtnEdit)
<el-button v-hasPermi="['${replaceDto.PermissionPrefix}:edit']" type="success" icon="edit" title="编辑" @click="handleUpdate(scope.row)"></el-button> <el-button type="success" size="small" icon="edit" title="编辑" v-hasPermi="['${replaceDto.PermissionPrefix}:edit']" @click="handleUpdate(scope.row)"></el-button>
$end $end
$if(replaceDto.ShowBtnDelete) $if(replaceDto.ShowBtnDelete)
<el-button v-hasPermi="['${replaceDto.PermissionPrefix}:delete']" type="danger" icon="delete" title="删除" @click="handleDelete(scope.row)"></el-button> <el-button type="danger" size="small" icon="delete" title="删除" v-hasPermi="['${replaceDto.PermissionPrefix}:delete']" @click="handleDelete(scope.row)"></el-button>
$end $end
$end $end
</template> </template>