<template>
    <my-table url="table" addBtn="addBtn">
        <template #search="{query}">
            <a-form-model-item label="所属组织">
                <a-input v-model="query.name" />
            </a-form-model-item>
            <a-form-model-item label="所属组织">
                <a-input v-model="query.name" />
            </a-form-model-item>
            <a-form-model-item label="所属组织">
                <a-input v-model="query.name" />
            </a-form-model-item>
            <a-form-model-item label="所属组织">
                <a-input v-model="query.name" />
            </a-form-model-item>
            <a-form-model-item label="所属组织">
                <a-input v-model="query.name" />
            </a-form-model-item>
            <a-form-model-item label="所属组织">
                <a-input v-model="query.name" />
            </a-form-model-item>
        </template>
        <template #add>
            <a-input v-model="add.name" />
        </template>
        <a-table-column title="姓名" data-index="name" />
        <a-table-column title="操作">
            <template #default="row">
                <span>
                    <a> {{ row }}</a>
                    <a-divider type="vertical" />
                    <a>Delete</a>
                </span>
            </template>
        </a-table-column>
    </my-table>
</template>

<script>
export default {
    data: () => ({
        add: {},
        addBtn: {},
    }),
};
</script>
