<template>
  <div class="eibs-tab">
       <c-row>                                    
       <c-col :span="12">
        <el-form-item label="Addresse No." prop="seaobjkey">
            <c-input  v-model="model.seaobjkey" maxlength="24"  placeholder="请输入Addresse No."></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Adress Name" prop="seanam">
            <c-input  v-model="model.seanam" maxlength="40"  placeholder="请输入Adress Name"></c-input>
        </el-form-item>
       </c-col>
                                                     
       <c-col :span="12">
        <el-form-item label="Corr. Type" prop="seacortyp">
            <c-select v-model="model.seacortyp" style="width:100%" placeholder="请选择Corr. Type">
              </c-select>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Address of Message" prop="seacoradr">
            <c-input  v-model="model.seacoradr" maxlength="23"  placeholder="请输入Address of Message"></c-input>
        </el-form-item>
       </c-col>
       </c-row>                      

        <c-row>
        <c-col :span="24">
         <div style="margin-top:20px;">
            <c-button size="small" type="primary"  @click="onInfbutSearow">
                Search
            </c-button>
            <c-button size="small" type="primary"  @click="onInfbutDsp">
                Display
            </c-button>

            <c-button size="small" type="primary"  @click="onInfbutUserow">
                Use
            </c-button>

            <c-button size="small" type="primary"  @click="onInfbutClr">
                Clear
            </c-button>
            <c-button size="small" type="primary"  @click="onInfbutButprt">
                导Excel
            </c-button>

            <c-button size="small" type="primary"  @click="onInfbutExi">
                Exit
            </c-button>
         </div>
        </c-col>
      </c-row>

    <el-row>
      <c-istream-table :list="stmData.data" :columns="stmData.columns" >
            </c-istream-table>
    </el-row>

       
  </div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Infptm/Event"
import cPage from '../../../components/c-page.vue';

export default {
  components: { cPage },
    inject: ['root'],
    props:["model","codes"],
    mixins: [CommonProcess],
    data(){
        return {

            stmData: {
                columns: [
                    "6 1 \"Address No\" 150 ",
                    "7 2 \"Name\" 150",
                    "5 3 \"Corr Type\" 150",
                    "3 4 \"Corr Adr\" 150",
                    "4 5 \"Authent\" 150",
                    "9 6 \"Public Key\" 300",
                ],
                data: [
                ]
            }
        }
    },
    methods:{...Event},
    created:function(){

    }
}
</script>
<style>

</style>
