Browse Source

去掉按钮点击操作

maxiaoxiao 7 months ago
parent
commit
4a4c2cfe1e
1 changed files with 2 additions and 8 deletions
  1. 2 8
      src/views/farmlandProtection/components/tbqd.vue

+ 2 - 8
src/views/farmlandProtection/components/tbqd.vue

@@ -7,10 +7,7 @@
           placeholder="请输入监测编号搜索"
           @keyup.enter.native="initNew(true)"
         ></el-input>
-        <span class="clearBtn" @click="cockpit">
-          <i class="el-icon-thumb"></i>
-          图斑详情查询
-        </span>
+
         <span>共{{ total }}条</span>
       </div>
       <div class="pagination">
@@ -263,10 +260,6 @@ export default {
         }
       });
     },
-    cockpit() {
-      //驾驶舱矢量数据点选查询
-      pick_cockpit_vector.init_handler();
-    },
   },
   watch: {
     updateObj: {
@@ -300,6 +293,7 @@ export default {
       newVal.forEach((res) => {
         if (res.name == "id") {
           this.handleDetails({ id: res.value }, false);
+          pick_cockpit_vector.init_handler();
         }
       });
     },