Browse Source

[Mod 0000] 去除巡检地址上下移动一行的功能

houzekong 4 days ago
parent
commit
8428b48b64
1 changed files with 31 additions and 31 deletions
  1. 31 31
      src/views/vent/gas/gasInspectNonfc/index2.vue

+ 31 - 31
src/views/vent/gas/gasInspectNonfc/index2.vue

@@ -35,8 +35,8 @@
           <a-popconfirm title="删除内容无法恢复,是否删除" ok-text="确定" cancel-text="取消" @confirm="handleDelCardInfo(record)">
             <a class="table-action-link">删除</a>
           </a-popconfirm>
-          <a class="table-action-link" @click="moveUp(record)">上移</a>
-          <a class="table-action-link" @click="moveDown(record)">下移</a>
+          <!-- <a class="table-action-link" @click="moveUp(record)">上移</a> -->
+          <!-- <a class="table-action-link" @click="moveDown(record)">下移</a> -->
         </template>
         <template #bodyCell="{ column, text }">
           <template v-if="column.dataIndex == 'isSensor'">
@@ -91,7 +91,7 @@
     list,
     importByExcel,
     exportGasByExcel,
-    moveOrderNum,
+    // moveOrderNum,
     editNew,
     taskSubmit,
     clearCardInfoNew,
@@ -242,34 +242,34 @@
       //   navigator.msSaveBlob(blob, fileName);
     }
   }
-  //列表上移
-  async function moveUp(param) {
-    let res = await moveOrderNum({ id: param.id, moveType: 'upp' });
-    if (res) {
-      queryByIdList();
-    }
-  }
-  //列表下移
-  async function moveDown(param) {
-    let res = await moveOrderNum({ id: param.id, moveType: 'bel' });
-    if (res) {
-      queryByIdList();
-    }
-  }
-  //巡检次数筛选
-  let handlerFilter = (param) => {
-    let data = param.key;
-    switch (data) {
-      case '1':
-        pagination.current = 1;
-        tableData.value = tableData.value.filter((v) => v.insType == '1');
-        break;
-      case '2':
-        pagination.current = 2;
-        tableData.value = tableData.value.filter((v) => v.insType == '2');
-        break;
-    }
-  };
+  // //列表上移
+  // async function moveUp(param) {
+  //   let res = await moveOrderNum({ id: param.id, moveType: 'upp' });
+  //   if (res) {
+  //     queryByIdList();
+  //   }
+  // }
+  // //列表下移
+  // async function moveDown(param) {
+  //   let res = await moveOrderNum({ id: param.id, moveType: 'bel' });
+  //   if (res) {
+  //     queryByIdList();
+  //   }
+  // }
+  // //巡检次数筛选
+  // let handlerFilter = (param) => {
+  //   let data = param.key;
+  //   switch (data) {
+  //     case '1':
+  //       pagination.current = 1;
+  //       tableData.value = tableData.value.filter((v) => v.insType == '1');
+  //       break;
+  //     case '2':
+  //       pagination.current = 2;
+  //       tableData.value = tableData.value.filter((v) => v.insType == '2');
+  //       break;
+  //   }
+  // };
   //新增瓦斯巡检地点
   let getTjAddress = () => {
     visibleAddress.value = true;