| | |
| | | :data="list" |
| | | row-key="id" |
| | | > |
| | | <el-table-column prop="pyChineseName" label="模型中文名称"/> |
| | | <el-table-column prop="pyName" label="模型名称"/> |
| | | <el-table-column prop="pyChineseName" label="模型名称"/> |
| | | <el-table-column prop="pyName" label="模型文件" header-align="center" align="center" min-width="300"/> |
| | | <el-table-column prop="pyType" label="模型类型" :formatter="(r,c,v) => getDictLabel(DICT_TYPE.MODEL_TYPE,v)"/> |
| | | <el-table-column prop="menuName" label="所属菜单" width="120px"/> |
| | | <el-table-column prop="groupName" label="所属组" width="120px"/> |
| | |
| | | > |
| | | <el-table-column prop="iconName" label="名称"/> |
| | | <el-table-column prop="iconDesc" label="描述"/> |
| | | <el-table-column align="center" label="图标" prop="icon" width="100"> |
| | | <template #default="scope"> |
| | | <img :src="'/SimtreeUnitImage/' + scope.row.iconName" class="mpk-icon-list" :alt=" scope.row.iconDesc" /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="sort" label="排序"/> |
| | | <el-table-column label="操作" align="center" width="200px"> |
| | | <template #default="scope"> |
| | |
| | | await getList() |
| | | }) |
| | | </script> |
| | | <style scoped> |
| | | .mpk-icon-list { |
| | | height: 30px; |
| | | margin: 0; |
| | | } |
| | | |
| | | </style> |