From e875ccb607bc37c9515217277aafb3d4204c6d14 Mon Sep 17 00:00:00 2001
From: chengxiangling <291105840@qq.com>
Date: 星期五, 16 五月 2025 15:23:56 +0800
Subject: [PATCH] 提交计划运行和基础数据的搜索条件

---
 src/views/basicData/event/index.vue |   20 ++++++++++++++------
 1 files changed, 14 insertions(+), 6 deletions(-)

diff --git a/src/views/basicData/event/index.vue b/src/views/basicData/event/index.vue
index 061e383..db7db09 100644
--- a/src/views/basicData/event/index.vue
+++ b/src/views/basicData/event/index.vue
@@ -49,10 +49,10 @@
 <!--          placeholder="璇烽�夋嫨浜嬩欢缁撴潫鏃堕棿">-->
 <!--        </el-date-picker>-->
 <!--      </el-form-item>-->
-      <el-form-item>
+      <!-- <el-form-item>
         <el-button type="primary" icon="Search" @click="handleQuery">鎼滅储</el-button>
         <el-button icon="Refresh" @click="resetQuery">閲嶇疆</el-button>
-      </el-form-item>
+      </el-form-item> -->
     </el-form>
 
     <el-row :gutter="10" class="mb8">
@@ -177,8 +177,12 @@
         </el-form-item>
         <el-form-item label="閫傜敤鏃ュ巻" prop="applicableCalendar">
           <el-select v-model="form.applicableCalendar" placeholder="璇烽�夋嫨閫傜敤鏃ュ巻">
-            <el-option label="Zone one" value="shanghai" />
-            <el-option label="Zone two" value="beijing" />
+            <el-option
+                v-for="calendar in calendarList"
+                :key="calendar.id"
+                :label="calendar.description"
+                :value="calendar.id">
+            </el-option>
           </el-select>
         </el-form-item>
       </el-form>
@@ -199,6 +203,7 @@
 import { selectProcessNameList } from "@/api/basicData/processRoute.js";
 import HxlhTable from '@/components/HxlhTable'
 import axios from "axios";
+import {listAll_calendar} from "@/api/basicData/calendar.js";
 
 const { proxy } = getCurrentInstance();
 
@@ -215,6 +220,7 @@
 const shopList = ref([]);
 const allShopList = ref([]);
 const processList = ref([]);
+const calendarList = ref([]);
 
 const height = ref(document.documentElement.clientHeight - 230 + "px;")
 
@@ -374,12 +380,14 @@
     /** 鏌ヨ宸ュ巶鍒楄〃 */
     listAll_plant({}),
     /** 鏌ヨ杞﹂棿鍒楄〃 */
-    listAll_shop({})
+    listAll_shop({}),
+    listAll_calendar({})
   ])
-  .then(axios.spread((response1, response2, response3) => {
+  .then(axios.spread((response1, response2, response3, response4) => {
     eventList.value = response1.rows;
     plantList.value = response2.data;
     allShopList.value = response3.data;
+    calendarList.value = response4.data;
     total.value = response1.total;
     loading.value = false;
   }))

--
Gitblit v1.9.3