dongyukun
8 天以前 f4e6a890da2884777281031a9c736c7659c2a74a
src/views/model/mpk/file/index.vue
@@ -22,11 +22,20 @@
          ref="queryFormRef"
          :inline="true"
          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"
            />
@@ -58,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"/>
@@ -108,7 +117,7 @@
        </el-table>
        <!-- 分页 -->
        <Pagination
          v-model:limit="queryParams.pageSize"
          v-model:limit="queryParams.limit"
          v-model:page="queryParams.page"
          :total="total"
          @pagination="getList"
@@ -146,7 +155,8 @@
  const list = ref([]) // 字典表格数据
  const queryParams = reactive({
    page: 1,
    pageSize: 10,
    limit: 10,
    pyChineseName: '',
    pyName: '',
    label: ''
  })