| | |
| | | </el-row> |
| | | |
| | | <el-table border v-loading="loading" :data="${businessName}List" @selection-change="handleSelectionChange"> |
| | | <el-table-column show-overflow-tooltip="true" type="selection" width="55" align="center" /> |
| | | <el-table-column type="selection" width="55" align="center" /> |
| | | #foreach($column in $columns) |
| | | #set($javaField=$column.javaField) |
| | | #set($parentheseIndex=$column.columnComment.indexOf("(")) |
| | |
| | | </template> |
| | | </el-table-column> |
| | | #elseif($column.list && "" != $javaField) |
| | | <el-table-column label="${comment}" align="center" prop="${javaField}" /> |
| | | <el-table-column show-overflow-tooltip="true" label="${comment}" align="center" prop="${javaField}" /> |
| | | #end |
| | | #end |
| | | ## <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
| | |
| | | /** 删除按钮操作 */ |
| | | handleDelete(row) { |
| | | const ${pkColumn.javaField}s = row.${pkColumn.javaField} || this.ids; |
| | | this.#[[$modal]]#.confirm('是否确认删除${functionName}编号为"' + ${pkColumn.javaField}s + '"的数据项?').then(function() { |
| | | this.#[[$modal]]#.confirm('是否确认删除').then(function() { |
| | | return del${BusinessName}(${pkColumn.javaField}s); |
| | | }).then(() => { |
| | | this.getList(); |