From f4c324b44aadc4d8a44d4c67c588d2f76261ccaa Mon Sep 17 00:00:00 2001
From: wl <173@qq.com>
Date: 星期三, 30 十一月 2022 16:07:39 +0800
Subject: [PATCH] fix:消息分页 视频查询 图片查询

---
 src/views/systemSetting/device/bayonet/index.vue |   20 ++++----------------
 1 files changed, 4 insertions(+), 16 deletions(-)

diff --git a/src/views/systemSetting/device/bayonet/index.vue b/src/views/systemSetting/device/bayonet/index.vue
index 635ad74..a96cac8 100644
--- a/src/views/systemSetting/device/bayonet/index.vue
+++ b/src/views/systemSetting/device/bayonet/index.vue
@@ -4,19 +4,7 @@
       <div class="header-content">
         <div class="search">
           <span style="padding-right: 20px">绛涢�夋潯浠�:</span>
-          <el-select
-            v-model="context"
-            placeholder="璇烽�夋嫨"
-            @change="getBayonetListData"
-          >
-            <el-option
-              v-for="item in options"
-              :key="item.value"
-              :label="item.label"
-              :value="item.value"
-            >
-            </el-option>
-          </el-select>
+          <el-input v-model="context" placeholder="璇疯緭鍏�" @change="getBayonetListData"></el-input>
         </div>
       </div>
     </header>
@@ -24,7 +12,7 @@
       <div class="main-content">
         <div class="main-title">
           <el-button
-            class="el-icon-plus"
+            class="el-icon-plus button-addition"
             type="primary"
             @click="showDialog(false, null)"
             >娣诲姞</el-button
@@ -85,7 +73,7 @@
   data() {
     return {
       isShowDialog: false,
-      context: 0,
+      context: "",
       options: [
         {
           value: 0,
@@ -150,7 +138,7 @@
     getBayonetListData() {
       bayonet
         .getBayonetList({
-          bayonetName: "",
+          bayonetName: this.context,
           current: this.current,
           size: this.size,
         })

--
Gitblit v1.8.0