|
|
@@ -38,15 +38,15 @@
|
|
|
<el-tag type="danger" v-else> 生成到本项目 </el-tag>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="操作" width="450" fixed="right" align="center" show-overflow-tooltip>
|
|
|
+ <el-table-column label="操作" width="280" fixed="right" align="center" show-overflow-tooltip>
|
|
|
<template #default="scope">
|
|
|
- <el-button icon="ele-Position" size="small" text type="primary" @click="handleGenerate(scope.row)">开始生成</el-button>
|
|
|
- <el-button icon="ele-View" size="small" text type="primary" @click="handlePreview(scope.row)">预览</el-button>
|
|
|
- <el-button icon="ele-Refresh" size="small" text type="primary" @click="syncCodeGen(scope.row)">同步</el-button>
|
|
|
- <el-button icon="ele-Setting" size="small" text type="primary" @click="openConfigDialog(scope.row)">配置</el-button>
|
|
|
- <el-button icon="ele-CopyDocument" size="small" text type="primary" @click="openCopyDialog(scope.row)"> 复制 </el-button>
|
|
|
- <el-button icon="ele-Edit" size="small" text type="primary" @click="openEditDialog(scope.row)">编辑</el-button>
|
|
|
- <el-button icon="ele-Delete" size="small" text type="danger" @click="deleConfig(scope.row)">删除</el-button>
|
|
|
+ <el-button icon="ele-Delete" size="small" text type="danger" title="删除" @click="deleConfig(scope.row)" />
|
|
|
+ <el-button icon="ele-Edit" size="small" text type="primary" title="编辑" @click="openEditDialog(scope.row)" />
|
|
|
+ <el-button icon="ele-CopyDocument" size="small" text type="primary" title="复制" @click="openCopyDialog(scope.row)" />
|
|
|
+ <el-button icon="ele-View" size="small" text type="primary" title="预览" @click="handlePreview(scope.row)" />
|
|
|
+ <el-button icon="ele-Setting" size="small" text type="primary" title="配置" @click="openConfigDialog(scope.row)" />
|
|
|
+ <el-button icon="ele-Refresh" size="small" text type="primary" title="同步" @click="syncCodeGen(scope.row)" />
|
|
|
+ <el-button icon="ele-Position" size="small" text type="primary" @click="handleGenerate(scope.row)">生成</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|