<template>
    <c-content class="eibs-tab">
        <c-row>
            <c-col :span="11" :offset="1">
                <el-form-item label="User-ID" prop="cod">
                    <c-input v-model="model.cod" maxlength="8" placeholder="请输入User-ID"></c-input>
                </el-form-item>
            </c-col>
            <c-col :span="11" :offset="1">
                <el-form-item label="Name" prop="seanam">
                    <c-input v-model="model.seanam" maxlength="40" placeholder="请输入User Name"></c-input>
                </el-form-item>
            </c-col>
        </c-row>

        <!-- <div>
            <c-button size="small" type="primary" @click="onInfbutButprt">
                导Excel
            </c-button>
            <c-button size="small" type="primary" icon="el-icon-search" @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>
        </div> -->

        <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-col :span="12">
        <c-button size="small" type="primary"  @click="onInfbutExi">
            E&xit
        </c-button>
       </c-col> -->
    </c-content>
</template>
<script>
    import Api from "~/service/Api"
    import CommonProcess from "~/mixin/CommonProcess";
    import CodeTable from "~/config/CodeTable"
    import Event from "~/model/Infusr/Event"

    export default {
        inject: ['root'],
        props: ["model", "codes"],
        mixins: [CommonProcess],
        data() {
            return {
                stmData: {
                    columns: [
                        "1 1 \"UserID\" 50 ",
                        "2 2 \"Name\" 150",
                        "3 3 \"Profile\" 110",
                        "4 4 \"Entity\" 100",
                        "5 5 \"UserGroup\" 50",
                        "6 6 \"Phone\" 100",
                    ]
                },

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

        }
    }
</script>
<style>

</style>