<template>
    <div class="page">
        <LayoutTable :data="tableData" :config="tableConfig">
        </LayoutTable>
        <!-- 平台用户导入对话框 -->
    </div>
</template>

<script>
    import table from "@/assets/mixins/table";
    export default {
        components: {
        },
        mixins: [table],
        created() {
        },
        methods: {
          
        },
        data() {
            return {
              
                config: {
                    search: [
                        {
                            name: "name",
                            type: "text",
                            label: "名称",
                            fuzzy: true
                        },
                        {
                            name: "platformSn",
                            type: "text",
                            label: "业务系统标识，唯一",
                            fuzzy: true
                        },
                        {
                            name: "callbackUrl",
                            type: "text",
                            label: "申报表单提交地址",
                            fuzzy: true
                        },
                        {
                            name: "redirectUrl",
                            type: "text",
                            label: "成功后页面跳转地址",
                            fuzzy: true
                        },
                        {
                            name: "createUserId",
                            type: "text",
                            label: "创建用户",
                            fuzzy: true
                        },
                        {
                            name: "createUserName",
                            type: "text",
                            label: "创建用户名称",
                            fuzzy: true
                        },
                    ],
                    columns: [
                        {type: "selection", width: 60},
                        {label: "名称", prop: "name"},
                        {label: "业务系统标识，唯一", prop: "platformSn"},
                        {label: "系统备注", prop: "remark"},
                        {label: "申报表单提交地址", prop: "callbackUrl"},
                        {label: "成功后页面跳转地址", prop: "redirectUrl"},
                        {label: "创建用户名称", prop: "createUserName"},
                        {
                            label: "操作",
                            width: 180,
                            formatter: row => {
                                return (
                                    <div><el-button type="primary" icon="el-icon-edit"  size='mini' onClick={()=>{this.toEdit(row)}}>编辑</el-button></div>
                            );
                            }
                        }
                    ]
                }
            };
        }
    };
</script>