@@ -1,4 +1,89 @@
// 合同管理
-<template lang="pug">
-h1 合同管理
-</template>
+<template>
+ <el-table
+ :data="tableData"
+ border
+ style="width: 100%">
+ <el-table-column
+ prop="address"
+ label="合同编号"
+ >
+ </el-table-column>
+ prop="name"
+ label="地址"
+ prop="province"
+ label="出租人"
+ prop="city"
+ label="合同状态"
+ prop="date"
+ label="签约日期"
+ prop="zip"
+ label="合同终止日期"
+ prop="remarks"
+ label="提前终止日期"
+ label="收租方式"
+ label="租金单价(/月)"
+ label="备注"
+ label="操作"
+ <template scope="">
+ <el-button type="text" size="small">编辑</el-button>
+ </template>
+ </el-table>
+</template>
+
+<script>
+ export default {
+ methods: {
+ handleClick(row) {
+ console.log(row);
+ }
+ },
+ data() {
+ return {
+ tableData: [{
+ date: '2016-05-02',
+ name: '1001',
+ province: '上海',
+ city: '普陀区',
+ address: '上海市普陀区金沙江路 1518 弄',
+ zip: '-',
+ remarks: '11111'
+ }]
+</script>