优化代码生成

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

@@ -11,7 +11,7 @@
<!-- :model属性用于表单验证使用 比如下面的el-form-item 的 prop属性用于对表单值进行验证操作 -->
<el-form :model="queryParams" size="small" label-position="right" inline ref="queryForm" :label-width="labelWidth" v-show="showSearch"
@submit.native.prevent>
${vueQueryFormHtml}
${replaceDto.VueQueryFormHtml}
<el-form-item>
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
@@ -28,7 +28,7 @@
<!-- 数据区域 -->
<el-table :data="dataList" v-loading="loading" ref="table" border highlight-current-row @selection-change="handleSelectionChange">
<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" type="success" icon="el-icon-view" title="查看"