From 9ff66017debadfc89bc0c1b796684a4d1dbe2bc3 Mon Sep 17 00:00:00 2001
From: fangyuan <527392886@qq.com>
Date: 星期五, 16 十二月 2022 10:00:02 +0800
Subject: [PATCH] 已上报到市批量操作按钮隐藏

---
 src/views/systemSetting/device/bayonet/index.vue |   24 ++++++------------------
 1 files changed, 6 insertions(+), 18 deletions(-)

diff --git a/src/views/systemSetting/device/bayonet/index.vue b/src/views/systemSetting/device/bayonet/index.vue
index b2a50c0..47b00eb 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
@@ -32,7 +20,7 @@
           <el-button @click="handleExport">瀵煎嚭鍗″彛</el-button>
         </div>
         <!-- 鏁版嵁灞曠ず -->
-        <MyTable :tableOption="tableOption" :tableData="list" :pageShow="false">
+        <MyTable :tableOption="tableOption" :get-table-list="getBayonetListData" :tableData="list" :pageShow="false">
           <template #operation="info">
             <el-link
               :underline="false"
@@ -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,
         })
@@ -178,7 +166,7 @@
         .exportBayonetList({
           bayonetName: this.context,
           current: this.current,
-          size: this.size,
+          size: this.size
         })
         .then((res) => {
           downloadFile(res);

--
Gitblit v1.8.0