| | |
| | | <el-button |
| | | size="small" |
| | | plain |
| | | icon="el-icon-edit-outline" |
| | | @click="openVisualEditorByPrompt"> |
| | | 可视化编辑 |
| | | </el-button> |
| | | <el-button |
| | | size="small" |
| | | plain |
| | | icon="el-icon-refresh" |
| | | :loading="initializingLocMast" |
| | | @click="promptInitLocMast"> |
| | |
| | | <span v-else>{{ valueOrDash(getTableValue(scope.row, field)) }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="操作" width="160" fixed="right" align="center"> |
| | | <el-table-column label="操作" width="220" fixed="right" align="center"> |
| | | <template slot-scope="scope"> |
| | | <el-button type="text" @click="openVisualEditor(scope.row)">可视化编辑</el-button> |
| | | <el-button type="text" @click="openEditDialog(scope.row)">修改</el-button> |
| | | <el-button type="text" style="color:#f56c6c;" @click="removeRows([scope.row[primaryKeyField]])">删除</el-button> |
| | | </template> |