<template>
  <div class="python_scan_main">
    <div class="python_scan_main_form">
      <el-form ref="form" :model="scan_form" label-width="100px" label-position="top" style="width: 100%">
        <el-form-item label="ip地址">
          <el-input v-model="scan_form.ip"></el-input>
        </el-form-item>
        <el-form-item label="端口">
          <el-input v-model="scan_form.port"></el-input>
        </el-form-item>
        <el-form-item>
          <el-button type="success" round @click="submit_scan">提交扫描</el-button>
        </el-form-item>
      </el-form>
    </div>
    <div class="python_scan_main_return">
      <el-table
          :data="tableData"
          style="width: 100%">
        <el-table-column :prop="item.prop" :label="item.label" v-for="(item,index) in columns"
                         :key="index"></el-table-column>
      </el-table>
    </div>
  </div>
</template>

<script src="./python_scan.js"></script>

<style src="./python_scan.css" scoped></style>