yangys
2025-08-14 9ff7d57765b1eb3704b9425819cdb9c5708e0ab1
src/views/flowmgr/backImport.vue
@@ -10,7 +10,7 @@
        </div>
      </template>
    </avue-crud>
    <el-dialog title="DNC文件导入" append-to-body v-model="excelBox" width="555px">
    <el-dialog title="工控网文件导入" append-to-body v-model="excelBox" width="555px">
      <avue-form :option="excelOption" v-model="excelForm" :upload-after="uploadAfter" :upload-error="uploadError">
        <!-- <template #excelTemplate>
          <el-button type="primary" @click="handleTemplate">
@@ -126,9 +126,9 @@
    },
    handleWarehouse() {
      if (this.selection.length == 0) {
        return this.$message.error("请选择数据")
      }
      // if (this.selection.length == 0) {
      //   return this.$message.error("请选择数据")
      // }
      let selection = [];
      this.selection.forEach(item => {
        selection.push(item.id);
@@ -154,7 +154,9 @@
          }
        }
      );
      ).finally(() => {
        this.loading = false;
      });
    }
  },
};