优化代码生成
This commit is contained in:
@@ -80,6 +80,7 @@ $end
|
||||
return SUCCESS(response);
|
||||
}
|
||||
|
||||
$if(replaceDto.ShowBtnAdd)
|
||||
/// <summary>
|
||||
/// 添加${genTable.FunctionName}
|
||||
/// </summary>
|
||||
@@ -106,7 +107,9 @@ ${end}
|
||||
});
|
||||
return ToResponse(response);
|
||||
}
|
||||
$end
|
||||
|
||||
$if(replaceDto.ShowBtnEdit)
|
||||
/// <summary>
|
||||
/// 更新${genTable.FunctionName}
|
||||
/// </summary>
|
||||
@@ -135,7 +138,9 @@ ${end}
|
||||
|
||||
return ToResponse(response);
|
||||
}
|
||||
$end
|
||||
|
||||
$if(replaceDto.ShowBtnDelete)
|
||||
/// <summary>
|
||||
/// 删除${genTable.FunctionName}
|
||||
/// </summary>
|
||||
@@ -152,6 +157,7 @@ ${end}
|
||||
|
||||
return ToResponse(response);
|
||||
}
|
||||
$end
|
||||
|
||||
$if(replaceDto.ShowBtnExport)
|
||||
/// <summary>
|
||||
|
||||
@@ -34,7 +34,7 @@ ${VueViewListContent}
|
||||
<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="编辑"
|
||||
@click="handleUpdate(scope.row)"></el-button>
|
||||
@click="handleUpdate(scope.row)"></el-button>
|
||||
<el-button size="mini" v-hasPermi="['${replaceDto.PermissionPrefix}:delete']" type="danger" icon="el-icon-delete" title="删除"
|
||||
@click="handleDelete(scope.row)"></el-button>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user