<template>
    <div class="main">
        <div class="header">
            <el-button type="success" icon="el-icon-circle-plus-outline" @click="addcompany()">添加类型</el-button>
        </div>
        <div class="container">
            <el-table
                :data="contractList"
                style="width: 100%;text-align: center;"
                border>
                <el-table-column  label="编号" width="50px"/>
                <el-table-column prop="companyName" label="类别名称"/>
                <el-table-column prop="companyAddress" label="状态" width="50px"/>
                <el-table-column prop="companyPhone" label="操作" width="150px" />
                
            </el-table>
        </div>
    </div>
</template>
<script>
export default {
    data() {
        return {
            companyQurey: {},
            contractList: [],
            typeList: [],
            type: ''
        }
    }
}
</script>
<style scoped lang="scss">
    .main {
        padding: 15px;
        .header {
            margin-bottom: 10px;
        }
    }
</style>
