c950353a by zhaoqian

加减提前到第一列

1 parent 8977d377
...@@ -12,6 +12,33 @@ ...@@ -12,6 +12,33 @@
12 :header-cell-style="{'text-align':'center'}" 12 :header-cell-style="{'text-align':'center'}"
13 :cell-style="{'text-align':'center'}"> 13 :cell-style="{'text-align':'center'}">
14 <el-table-column 14 <el-table-column
15 width="300">
16 <template slot="header">
17 多幢:
18 <el-button
19 type="primary"
20 class="changeBtn outAdd addMinus"
21 @click="newAddDz"
22 >+
23 </el-button>
24 自然幢:
25 <el-button
26 type="primary"
27 class="changeBtn outAdd addMinus"
28 @click="newAddZrz"
29 >+
30 </el-button>
31 </template>
32 <template slot-scope="scope">
33 <el-button
34 type="primary"
35 class="changeBtn outMinus addMinus"
36 @click="deleteData(scope.$index)"
37 >-
38 </el-button>
39 </template>
40 </el-table-column>
41 <el-table-column
15 type="index" 42 type="index"
16 label="序号" 43 label="序号"
17 width="80"> 44 width="80">
...@@ -41,33 +68,6 @@ ...@@ -41,33 +68,6 @@
41 prop="zl" 68 prop="zl"
42 label="坐落"> 69 label="坐落">
43 </el-table-column> 70 </el-table-column>
44 <el-table-column
45 width="300">
46 <template slot="header">
47 多幢:
48 <el-button
49 type="primary"
50 class="changeBtn outAdd addMinus"
51 @click="newAddDz"
52 >+
53 </el-button>
54 自然幢:
55 <el-button
56 type="primary"
57 class="changeBtn outAdd addMinus"
58 @click="newAddZrz"
59 >+
60 </el-button>
61 </template>
62 <template slot-scope="scope">
63 <el-button
64 type="primary"
65 class="changeBtn outMinus addMinus"
66 @click="deleteData(scope.$index)"
67 >-
68 </el-button>
69 </template>
70 </el-table-column>
71 </el-table> 71 </el-table>
72 </div> 72 </div>
73 73
......
...@@ -13,6 +13,24 @@ ...@@ -13,6 +13,24 @@
13 height="200px" 13 height="200px"
14 :header-cell-style="{'text-align':'center'}" 14 :header-cell-style="{'text-align':'center'}"
15 :cell-style="{'text-align':'center'}"> 15 :cell-style="{'text-align':'center'}">
16 <el-table-column>
17 <template slot="header">
18 <el-button
19 type="primary"
20 class="changeBtn outAdd addMinus"
21 @click="newAdd"
22 >+
23 </el-button>
24 </template>
25 <template slot-scope="scope">
26 <el-button
27 type="primary"
28 class="changeBtn outMinus addMinus"
29 @click="deleteData(scope.row,scope.$index)"
30 >-
31 </el-button>
32 </template>
33 </el-table-column>
16 <el-table-column 34 <el-table-column
17 type="index" 35 type="index"
18 label="序号" 36 label="序号"
...@@ -43,24 +61,6 @@ ...@@ -43,24 +61,6 @@
43 prop="zl" 61 prop="zl"
44 label="坐落"> 62 label="坐落">
45 </el-table-column> 63 </el-table-column>
46 <el-table-column>
47 <template slot="header">
48 <el-button
49 type="primary"
50 class="changeBtn outAdd addMinus"
51 @click="newAdd"
52 >+
53 </el-button>
54 </template>
55 <template slot-scope="scope">
56 <el-button
57 type="primary"
58 class="changeBtn outMinus addMinus"
59 @click="deleteData(scope.row,scope.$index)"
60 >-
61 </el-button>
62 </template>
63 </el-table-column>
64 </el-table> 64 </el-table>
65 65
66 66
......