潘志宝
2024-12-11 8ca7ee27830b807fbb20268b4b90c9dfae7648f6
模型库页面优化
已修改1个文件
17 ■■■■ 文件已修改
src/views/model/mpk/file/index.vue 17 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/model/mpk/file/index.vue
@@ -24,10 +24,18 @@
          label-width="68px"
          @submit.prevent
        >
          <el-form-item label="模型名称" prop="pyName">
          <el-form-item label="模型名称" prop="pyChineseName">
            <el-input
              v-model="queryParams.pyChineseName"
              placeholder="请输入模型名称"
              clearable
              class="!w-240px"
            />
          </el-form-item>
          <el-form-item label="模型文件" prop="pyName">
            <el-input
              v-model="queryParams.pyName"
              placeholder="请输入模型名称"
              placeholder="请输入模型文件名称"
              clearable
              class="!w-240px"
            />
@@ -59,8 +67,8 @@
          :data="list"
          row-key="id"
        >
          <el-table-column prop="pyChineseName" label="模型名称" header-align="center" align="center" min-width="100" />
          <el-table-column prop="pyName" label="模型文件" header-align="center" align="center" min-width="300"/>
          <el-table-column prop="pyChineseName" label="模型名称" header-align="center" align="left" min-width="100" />
          <el-table-column prop="pyName" label="模型文件" header-align="center" align="left" 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="所属菜单" min-width="120px"/>
          <el-table-column prop="groupName" label="所属组" min-width="120px"/>
@@ -148,6 +156,7 @@
  const queryParams = reactive({
    page: 1,
    limit: 10,
    pyChineseName: '',
    pyName: '',
    label: ''
  })