瀏覽代碼

更新 回车提交搜索

wzh 3 年之前
父節點
當前提交
6e185911c3

+ 1 - 0
src/views/accountManage/subAccountList.vue

@@ -8,6 +8,7 @@
           v-model="term"
           clearable
           style="height: 32px; width: 330px; line-height: 32px"
+          @keyup.enter.native="getSubAccountList"
         ></el-input>
         <div class="seach-btn" @click="getSubAccountList">查询</div>
       </div>

+ 1 - 0
src/views/agencyManage/agencyCompanyList.vue

@@ -8,6 +8,7 @@
           v-model="term"
           clearable
           style="height: 32px; width: 330px; line-height: 32px"
+          @keyup.enter.native="getAgencyList"
         ></el-input>
         <div class="seach-btn" @click="getAgencyList">查询</div>
       </div>

+ 1 - 0
src/views/authManage/departmentList.vue

@@ -8,6 +8,7 @@
           v-model="term"
           clearable
           style="height: 32px; width: 330px; line-height: 32px"
+          @keyup.enter.native="getDepartmentList"
         ></el-input>
         <div class="seach-btn" @click="getDepartmentList">查询</div>
       </div>

+ 1 - 0
src/views/authManage/roleList.vue

@@ -8,6 +8,7 @@
           v-model="term"
           clearable
           style="height: 32px; width: 330px; line-height: 32px"
+          @keyup.enter.native="getRoleList"
         ></el-input>
         <div class="seach-btn" @click="getRoleList">查询</div>
       </div>

+ 1 - 0
src/views/cargoManage/cargoList.vue

@@ -8,6 +8,7 @@
           v-model="term"
           clearable
           style="height: 32px; width: 330px; line-height: 32px"
+          @keyup.enter.native="getCargoList"
         ></el-input>
         <div class="seach-btn" @click="getCargoList">查询</div>
       </div>

+ 1 - 0
src/views/voyage/voyageList.vue

@@ -59,6 +59,7 @@
           v-model="term"
           clearable
           style="width: 240px"
+          @keyup.enter.native="getVoyageList()"
         ></el-input>
         <div class="search-btn" @click="getVoyageList()">查询</div>
       </div>