<template>
    <c-content class="eibs-tab">
       <c-row>
       <!--                    
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onInfbutSearow">
            &Search
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onInfbutExi">
            E&xit
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onInfbutDsp">
            D&isplay
        </c-button>
       </c-col>
        -->                     
       <c-col :span="12">
        <el-form-item label="CUR" prop="cod">
            <c-input  v-model="model.cod" maxlength="3"  placeholder="请输入CUR"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Currency Description" prop="seanam">
            <c-input  v-model="model.seanam" maxlength="40"  placeholder="请输入Currency Description"></c-input>
        </el-form-item>
       </c-col>
       <!--          
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onInfbutUserow">
            &Use
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onInfbutClr">
            &Clear
        </c-button>
       </c-col>
                 
       <c-col :span="12">
        <el-form-item label="display stream" prop="infbut.dspstm">
            <c-input  v-model="model.infbut.dspstm"  placeholder="请输入display stream"></c-input>
        </el-form-item>
       </c-col>
                 
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onInfbutButprt">
            导Excel
        </c-button>
       </c-col>
       -->
       </c-row>
        <c-row>
            <c-col :span="23" :offset="1">
                <c-istream-table :list="model.infbut.dspstm" :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-table :border="true" :list="model.infbut.dspstm" style="width:80%;text-align:center">
                    <el-table-column prop="" label="UserID" width="auto"> </el-table-column>
                    <el-table-column prop="" label="Name" width="auto"> </el-table-column>
                    <el-table-column prop="" label="Profile" width="auto"> </el-table-column>
                    <el-table-column prop="" label="Entity" width="auto"> </el-table-column>
                    <el-table-column prop="" label="UserGroup" width="auto"> </el-table-column>
                    <el-table-column prop="" label="Phone" width="auto"> </el-table-column>
                </c-table> -->
            </c-col>
        </c-row>
  </c-content>
</template>
<script>
import Api from "~/service/Api"
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Infcur/Event"

export default {
    inject: ['root'],
    props:["model","codes"],
    mixins: [CommonProcess],
    data(){
        return {
                stmData: {
                    columns: [
                        "1 1 \"Currency\" 50 ",
                        "2 2 \"Description\" 150",
                    ]
                },
        }
    },
    methods:{...Event},
    created:function(){

    }
}
</script>
<style>

</style>
