From da51e7d5bbf5ff1610209510571e94d0523b515c Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期三, 24 四月 2024 17:40:37 +0800
Subject: [PATCH] 完善自动评估模块,规范性分析报告的后台任务和结果下载逻辑

---
 src/views/fysp/scene/SceneInfo.vue |   14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/src/views/fysp/scene/SceneInfo.vue b/src/views/fysp/scene/SceneInfo.vue
index a207662..f0723bc 100644
--- a/src/views/fysp/scene/SceneInfo.vue
+++ b/src/views/fysp/scene/SceneInfo.vue
@@ -6,10 +6,15 @@
         :level="4"
         v-model:value="formSearch._locations"
       ></FYOptionLocation>
+      <FYOptionText
+        label="鍦烘櫙鍚嶇О"
+        placeholder="杈撳叆鍚嶇О鍏抽敭瀛�"
+        v-model:value="formSearch.searchText"
+      ></FYOptionText>
       <FYOptionScene
         :allOption="true"
         :type="2"
-        v-model:value="formSearch.scensetype"
+        v-model:value="formSearch._scenetype"
       ></FYOptionScene>
       <FYOptionOnlineStatus
         :allOption="true"
@@ -79,7 +84,8 @@
     return {
       formSearch: {
         _locations: {},
-        scensetype: {},
+        searchText: '',
+        _scenetype: {},
         online: {}
       }
     };
@@ -97,10 +103,12 @@
       area.districtcode = f._locations.dCode;
       area.towncode = f._locations.tCode;
       // 鍦烘櫙绫诲瀷
-      area.scensetypeid = f.scensetype.value;
+      area.scensetypeid = f._scenetype.value;
       if (area.scensetypeid == '0') area.scensetypeid = null;
       // 涓婁笅绾跨姸鎬�
       area.online = f.online.value;
+      // 鏌ヨ鍏抽敭瀛�(鍦烘櫙鍚嶇О)
+      area.sceneName = f.searchText
 
       return sceneApi.searchScene(area, page.currentPage, page.pageSize).then((res) => {
         if (res.success) {

--
Gitblit v1.9.3