Sfoglia il codice sorgente

互联网-社管一张图,系统所有的搜索:关键词搜索需要支持回车查询结果(需求验证反馈)

CzRger 1 anno fa
parent
commit
52cc5fe5cc

+ 2 - 0
src/views/gis/layout/tools/analysis.vue

@@ -39,6 +39,7 @@
                 :span="24"
                 label="搜索:"
                 v-model:param="cusTransfer.result.power.tempForm.text"
+                @keyup.enter="onSearchPower"
             />
             <div class="__cus-buttons-2">
               <div class="__cus-button-submit __hover" @click="onSearchPower">搜索</div>
@@ -64,6 +65,7 @@
                 :span="24"
                 label="搜索:"
                 v-model:param="cusTransfer.result.device.tempForm.text"
+                @keyup.enter="onSearchDevice"
             />
             <div class="__cus-buttons-2">
               <div class="__cus-button-submit __hover" @click="onSearchDevice">搜索</div>

+ 1 - 0
src/views/gis/layout/tools/select.vue

@@ -49,6 +49,7 @@
                 :span="24"
                 label="搜索:"
                 v-model:param="cusTransfer.result.tempForm.name"
+                @keyup.enter="onSearch"
             />
             <div class="__cus-buttons-2">
               <div class="__cus-button-submit __hover" @click="onSearch">搜索</div>