|
@@ -0,0 +1,50 @@
|
|
|
+<template>
|
|
|
+ <div>
|
|
|
+ <el-row type="flex" style="margin-top: 20px">
|
|
|
+ <router-link to="">
|
|
|
+ <el-button class="filter-item blue-black" type="primary">新增</el-button>
|
|
|
+ </router-link>
|
|
|
+ </el-row>
|
|
|
+ <el-table :data="tableData" border style="width: 100%; margin-top: 20px" >
|
|
|
+ <el-table-column prop="address" label="所属项目" align="center"></el-table-column>
|
|
|
+ <el-table-column prop="name" label="开始时间" align="center"></el-table-column>
|
|
|
+ <el-table-column prop="province" label="结束时间" align="center"></el-table-column>
|
|
|
+ <el-table-column prop="city" label="单位" align="center"></el-table-column>
|
|
|
+ <el-table-column prop="date" label="参与人员" align="center"></el-table-column>
|
|
|
+ <el-table-column prop="date" label="演练目的 " align="center"></el-table-column>
|
|
|
+ <el-table-column prop="date" label="协助单位 " align="center"></el-table-column>
|
|
|
+ <el-table-column prop="date" label="演练结果 " align="center"></el-table-column>
|
|
|
+ <el-table-column fixed="right" label="操作" align="center">
|
|
|
+ <template scope="scope">
|
|
|
+ <el-button @click="handleClick(scope.row)" type="text" size="small">编辑</el-button>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
+ </div>
|
|
|
+</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>
|