From 23c8b8154fcf7c9251d07f028f3e14737ba4cecd Mon Sep 17 00:00:00 2001
From: dongyukun <1208714201@qq.com>
Date: 星期二, 31 十二月 2024 19:04:35 +0800
Subject: [PATCH] 调度模型下发配置

---
 src/views/model/mpk/project/ProjectPackageModelDialog.vue |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/views/model/mpk/project/ProjectPackageModelDialog.vue b/src/views/model/mpk/project/ProjectPackageModelDialog.vue
index 531b66f..22adf65 100644
--- a/src/views/model/mpk/project/ProjectPackageModelDialog.vue
+++ b/src/views/model/mpk/project/ProjectPackageModelDialog.vue
@@ -31,9 +31,9 @@
         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">
@@ -41,6 +41,7 @@
               <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>
@@ -57,9 +58,10 @@
 </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() // 国际化

--
Gitblit v1.9.3