| | |
| | | :inline="true" |
| | | label-width="68px" |
| | | > |
| | | <el-form-item label="模型名称" prop="iconName"> |
| | | <el-input |
| | | v-model="queryParams.iconName" |
| | | placeholder="请输入名称" |
| | | clearable |
| | | class="!w-240px" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button @click="handleQuery"> |
| | | <Icon icon="ep:search" class="mr-5px"/> |
| | | 搜索 |
| | | </el-button> |
| | | <el-button @click="resetQuery"> |
| | | <Icon icon="ep:refresh" class="mr-5px"/> |
| | | 重置 |
| | | </el-button> |
| | | <el-button |
| | | type="primary" |
| | | plain |
| | |
| | | loading.value = true |
| | | try { |
| | | const data = await MpkGroupApi.getList(queryParams) |
| | | list.value = data.list |
| | | list.value = data |
| | | } finally { |
| | | loading.value = false |
| | | } |
| | |
| | | /** 添加/修改操作 */ |
| | | const formRef = ref() |
| | | const openForm = (type: string, id?: string) => { |
| | | formRef.value.open(type, id) |
| | | formRef.value.open(type, id, queryParams.menuId) |
| | | } |
| | | |
| | | /** 删除按钮操作 */ |