From 0cae456a355877d1e89494b3b436bda3afde48c9 Mon Sep 17 00:00:00 2001
From: 潘志宝 <979469083@qq.com>
Date: 星期五, 10 一月 2025 08:53:56 +0800
Subject: [PATCH] 预测项运行状态查询

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

diff --git a/src/views/model/pre/item/index.vue b/src/views/model/pre/item/index.vue
index 883fe9d..8bf49b6 100644
--- a/src/views/model/pre/item/index.vue
+++ b/src/views/model/pre/item/index.vue
@@ -49,6 +49,20 @@
           class="!w-240px"
         />
       </el-form-item>
+      <el-form-item label="运行状态" prop="runStatus">
+        <el-select
+          v-model="queryParams.runStatus"
+          placeholder="请选择"
+          clearable
+          class="!w-240px">
+          <el-option
+            v-for="dict in getIntDictOptions(DICT_TYPE.ITEM_RUN_STATUS)"
+            :key="dict.value"
+            :label="dict.label"
+            :value="dict.value"
+          />
+        </el-select>
+      </el-form-item>
       <el-form-item>
         <el-button @click="handleQuery">
           <Icon icon="ep:search" class="mr-5px"/>
@@ -144,7 +158,7 @@
 import MmPredictItemChart from './MmPredictItemChart.vue'
 import * as MmItemType from '@/api/model/pre/type'
 import * as MmPredictItem from '@/api/model/pre/item'
-import {DICT_TYPE} from "@/utils/dict";
+import {DICT_TYPE, getIntDictOptions} from "@/utils/dict";
 
 defineOptions({name: 'DataMmPredictItem'})
 

--
Gitblit v1.9.3