| | |
| | | row-key="id" |
| | | border |
| | | > |
| | | <el-table-column prop="pyChineseName" label="模型中文名称"/> |
| | | <el-table-column prop="pyName" label="模型名称"/> |
| | | <el-table-column prop="pkgName" label="包名"/> |
| | | <el-table-column prop="pyModule" label="模型路径" width="300px"/> |
| | | <el-table-column prop="pyType" label="模型类型" :formatter="(r,c,v) => getDictLabel(DICT_TYPE.MODEL_TYPE,v)"/> |
| | | <el-table-column prop="remark" label="备注" width="300px"/> |
| | | <el-table-column label="模型方法" type="expand" width="100px"> |
| | | <template #default="props"> |
| | |
| | | <el-table-column align="center" label="方法名" prop="methodName" /> |
| | | <el-table-column align="center" label="参数长度" prop="dataLength" /> |
| | | <el-table-column align="center" label="是否有model" prop="model" :formatter="(row,column,cellValue) => cellValue === 1 ? 'true' : 'false'" /> |
| | | <el-table-column align="center" label="结果key" prop="resultKey" /> |
| | | </el-table> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | </template> |
| | | <script lang="ts" setup> |
| | | import download from "@/utils/download"; |
| | | import * as projectHistoryApi from '@/api/mpk/projectPackageHistory' |
| | | import * as projectApi from '@/api/mpk/project' |
| | | import * as projectHistoryApi from '@/api/model/mpk/projectPackageHistory' |
| | | import * as projectApi from '@/api/model/mpk/project' |
| | | import { dateFormatter } from '@/utils/formatTime' |
| | | import { DICT_TYPE, getDictLabel } from '@/utils/dict' |
| | | |
| | | |
| | | const { t } = useI18n() // 国际化 |