<script setup lang="ts">
import { ref } from 'vue'
const queryParams = ref({})

const tableData = [
    {
        date: '2016-05-02',
        name: '123xxx',
        address: '是',
    },
    {
        date: '2016-05-02',
        name: '123xxx',
        address: '是',
    },
    {
        date: '2016-05-04',
        name: '123xxx',
        address: '否',
    },
    {
        date: '2016-05-01',
        name: '123xxx',
        address: '否',
    },
]
</script>

<template>
    <!-- 子账号管理 -->

    <el-form :model="queryParams" :inline="true">
        <el-form-item>
            <el-button>新增</el-button>
        </el-form-item>
    </el-form>

    <!-- 表格 -->
    <el-table :data="tableData" style="width: 100%">
        <el-table-column align="center" prop="name" label="手机号" />
        <el-table-column align="center" prop="name" label="用户名" />
        <el-table-column align="center" prop="date" label="创建时间" />
        <el-table-column align="center" prop="address" label="是否启用" />
        <el-table-column align="center" prop="name" label="操作">
            <template>
                <el-button>查看</el-button>
                <el-button>确认收货</el-button>
                <el-button>退租</el-button>
                <el-button>续租</el-button>
                <el-button>删除</el-button>
            </template>
        </el-table-column>
    </el-table>
</template>

<style>
.el-form {
    margin: 15px 0;
}
</style>