From 7b1ce6433c5a0617ddb73e18bda610f925b709fd Mon Sep 17 00:00:00 2001
From: 潘志宝 <979469083@qq.com>
Date: 星期二, 12 十一月 2024 14:12:04 +0800
Subject: [PATCH] 预测项详情

---
 src/views/model/pre/item/index.vue |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/src/views/model/pre/item/index.vue b/src/views/model/pre/item/index.vue
index 53f57f6..1118ea6 100644
--- a/src/views/model/pre/item/index.vue
+++ b/src/views/model/pre/item/index.vue
@@ -81,8 +81,12 @@
         </template>
       </el-table-column>
       <el-table-column label="运行时间" align="center" prop="lastTime"/>
-      <el-table-column label="运行状态" align="center" prop="runStatus"/>
-      <el-table-column label="运行耗时" align="center" prop="duration"/>
+      <el-table-column label="运行状态" align="center" prop="runStatus">
+        <template #default="scope">
+          <dict-tag :type="DICT_TYPE.ITEM_RUN_STATUS" :value="scope.row.runStatus" />
+        </template>
+      </el-table-column>
+      <el-table-column label="运行耗时(s)" align="center" prop="duration"/>
       <el-table-column label="操作" align="center" min-width="120" fixed="right">
         <template #default="scope">
           <el-button
@@ -126,7 +130,7 @@
 <script lang="ts" setup>
 import MmPredictItemForm from './MmPredictItemForm.vue'
 import MmPredictItemChart from './MmPredictItemChart.vue'
-import * as MmPredictItem from '@/api/model/pre/predict'
+import * as MmPredictItem from '@/api/model/pre/item'
 import {DICT_TYPE} from "@/utils/dict";
 
 defineOptions({name: 'DataMmPredictItem'})

--
Gitblit v1.9.3