潘志宝
2024-12-30 ca22cdd5550cfa0defb0f430c538698182cdaec1
src/views/model/mpk/menu/group/index.vue
@@ -15,23 +15,7 @@
        :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
@@ -104,7 +88,7 @@
  loading.value = true
  try {
    const data = await MpkGroupApi.getList(queryParams)
    list.value = data.list
    list.value = data
  } finally {
    loading.value = false
  }
@@ -124,7 +108,7 @@
/** 添加/修改操作 */
const formRef = ref()
const openForm = (type: string, id?: string) => {
  formRef.value.open(type, id)
  formRef.value.open(type, id, queryParams.menuId)
}
/** 删除按钮操作 */