c950353a by zhaoqian

加减提前到第一列

1 parent 8977d377
......@@ -12,6 +12,33 @@
:header-cell-style="{'text-align':'center'}"
:cell-style="{'text-align':'center'}">
<el-table-column
width="300">
<template slot="header">
多幢:
<el-button
type="primary"
class="changeBtn outAdd addMinus"
@click="newAddDz"
>+
</el-button>
自然幢:
<el-button
type="primary"
class="changeBtn outAdd addMinus"
@click="newAddZrz"
>+
</el-button>
</template>
<template slot-scope="scope">
<el-button
type="primary"
class="changeBtn outMinus addMinus"
@click="deleteData(scope.$index)"
>-
</el-button>
</template>
</el-table-column>
<el-table-column
type="index"
label="序号"
width="80">
......@@ -41,33 +68,6 @@
prop="zl"
label="坐落">
</el-table-column>
<el-table-column
width="300">
<template slot="header">
多幢:
<el-button
type="primary"
class="changeBtn outAdd addMinus"
@click="newAddDz"
>+
</el-button>
自然幢:
<el-button
type="primary"
class="changeBtn outAdd addMinus"
@click="newAddZrz"
>+
</el-button>
</template>
<template slot-scope="scope">
<el-button
type="primary"
class="changeBtn outMinus addMinus"
@click="deleteData(scope.$index)"
>-
</el-button>
</template>
</el-table-column>
</el-table>
</div>
......
......@@ -13,6 +13,24 @@
height="200px"
:header-cell-style="{'text-align':'center'}"
:cell-style="{'text-align':'center'}">
<el-table-column>
<template slot="header">
<el-button
type="primary"
class="changeBtn outAdd addMinus"
@click="newAdd"
>+
</el-button>
</template>
<template slot-scope="scope">
<el-button
type="primary"
class="changeBtn outMinus addMinus"
@click="deleteData(scope.row,scope.$index)"
>-
</el-button>
</template>
</el-table-column>
<el-table-column
type="index"
label="序号"
......@@ -43,24 +61,6 @@
prop="zl"
label="坐落">
</el-table-column>
<el-table-column>
<template slot="header">
<el-button
type="primary"
class="changeBtn outAdd addMinus"
@click="newAdd"
>+
</el-button>
</template>
<template slot-scope="scope">
<el-button
type="primary"
class="changeBtn outMinus addMinus"
@click="deleteData(scope.row,scope.$index)"
>-
</el-button>
</template>
</el-table-column>
</el-table>
......