| | |
| | | :inline="true" |
| | | label-width="68px" |
| | | > |
| | | <el-form-item label="模型名称" prop="iconName"> |
| | | <el-form-item label="菜单名称" prop="name"> |
| | | <el-input |
| | | v-model="queryParams.iconName" |
| | | v-model="queryParams.name" |
| | | placeholder="请输入名称" |
| | | clearable |
| | | class="!w-240px" |
| | |
| | | :data="list" |
| | | row-key="id" |
| | | > |
| | | <el-table-column prop="name" label="名称"/> |
| | | <el-table-column prop="name" label="菜单名称"/> |
| | | <el-table-column prop="sort" label="排序"/> |
| | | <el-table-column label="操作" align="center" width="200px"> |
| | | <template #default="scope"> |
| | |
| | | loading.value = true |
| | | try { |
| | | const data = await MpkMenuApi.getList(queryParams) |
| | | list.value = data.list |
| | | list.value = data |
| | | } finally { |
| | | loading.value = false |
| | | } |