多幢合并的添加和删除幢按钮修改
Showing
1 changed file
with
6 additions
and
19 deletions
... | @@ -12,30 +12,17 @@ | ... | @@ -12,30 +12,17 @@ |
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"> | 15 | width="200"> |
16 | <template slot="header"> | 16 | <template slot="header"> |
17 | 多幢: | 17 | <el-button style="border:0;padding:0 10px" @click="newAddDz"> |
18 | <el-button | 18 | <i class="iconfont iconicon-test2" style="color:#66b1ff;font-size:20px;position: relative;top:2px;left:-2px"></i>多幢 |
19 | type="primary" | ||
20 | class="changeBtn outAdd addMinus" | ||
21 | @click="newAddDz" | ||
22 | >+ | ||
23 | </el-button> | 19 | </el-button> |
24 | 自然幢: | 20 | <el-button style="border:0;padding:0 10px" @click="newAddDz"> |
25 | <el-button | 21 | <i class="iconfont iconicon-test2" style="color:#66b1ff;font-size:20px;position: relative;top:2px;left:-2px"></i>自然幢 |
26 | type="primary" | ||
27 | class="changeBtn outAdd addMinus" | ||
28 | @click="newAddZrz" | ||
29 | >+ | ||
30 | </el-button> | 22 | </el-button> |
31 | </template> | 23 | </template> |
32 | <template slot-scope="scope"> | 24 | <template slot-scope="scope"> |
33 | <el-button | 25 | <i class="iconfont icon-" style="color:#FA6400;font-size:26px;position: relative;top:2px;cursor: pointer;" @click="deleteData(scope.$index)"></i> |
34 | type="primary" | ||
35 | class="changeBtn outMinus addMinus" | ||
36 | @click="deleteData(scope.$index)" | ||
37 | >- | ||
38 | </el-button> | ||
39 | </template> | 26 | </template> |
40 | </el-table-column> | 27 | </el-table-column> |
41 | <el-table-column | 28 | <el-table-column | ... | ... |
-
Please register or sign in to post a comment