| | |
| | | ref="queryFormRef" |
| | | :inline="true" |
| | | label-width="68px" |
| | | @submit.prevent |
| | | > |
| | | <el-form-item label="模型名称" prop="iconName"> |
| | | <el-input |
| | |
| | | <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" /> |
| | | <img :src="staticDir + 'SimtreeUnitImage/' + scope.row.iconName" class="mpk-icon-list" :alt=" scope.row.iconDesc" /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="sort" label="排序"/> |
| | |
| | | |
| | | defineOptions({name: 'MpkIcon'}) |
| | | |
| | | const staticDir = ref(import.meta.env.VITE_STATIC_DIR) |
| | | |
| | | const message = useMessage() // 消息弹窗 |
| | | const {t} = useI18n() // 国际化 |
| | | |