<template>
  <div class="eibs-tab">
                                               
       <c-col :span="12">
        <el-form-item label="Text Module ID" prop="extkey">
            <c-input  v-model="model.extkey" maxlength="15"  placeholder="请输入Module-ID"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Description" prop="nam">
            <c-input  v-model="model.nam" maxlength="40"  placeholder="请输入Name"></c-input>
        </el-form-item>
       </c-col>

        <c-col :span="12">
        <el-form-item label="Language" prop="uil">
            <c-select v-model="model.uil" style="width:100%" placeholder="请选择Language">
                <el-option v-for="item in codes.payuil" :key="item.value" :label="item.label"
                            :value="item.value">
                </el-option>
            </c-select>
        </el-form-item>
       </c-col>

      <c-col :span="24">
          <el-form-item label="" label-width="15px">             
            
                <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>

       </el-form-item>
    </c-col>
       
     
            <c-col :span="24">
                <c-istream-table :list="stmData.data" :columns="stmData.columns">
      <!--              
                    <el-table-column prop="op" label="OP" width="100">
                        <template slot-scope="scope">
                            <a href="javascript:void(0)" @click="continueEdit(scope.row)">操作</a>
                        </template>
                    </el-table-column>  
        -->                           
                </c-istream-table>                      
            </c-col>
      

  </div>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Inftxm/Event"

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

             stmData: {
                columns: [
                    "0 1 \"INR\" 170 ",
                    "1 2 \"EXTKEY\" 170 ",
                    "2 3 \"NAM\" 170",                  
                    "3 4 \"UIL\" 170",
                    "4 5 \"VER\" 170"           

                ],
                data: [
                ]
            }

        }
    },
    methods:{...Event},
    created:function(){

    }
}
</script>
<style>

</style>
