| | |
| | | /* .standard .el-table__body { |
| | | height: 100%; |
| | | } */ |
| | | .standard .el-table .el-table__row:not([class*="el-table__row--level-"]) td:nth-child(3){ |
| | | /* .standard .el-table .el-table__row:not([class*="el-table__row--level-"]) td:nth-child(3){ |
| | | padding-left: 23px !important; |
| | | } |
| | | } */ |
| | | </style> |
| | | <template> |
| | | <div class="standard"> |
| | |
| | | </el-table-column> |
| | | <el-table-column prop="productFather" label="项目"> |
| | | <template slot-scope="scope"> |
| | | <el-tag type="info" v-if="scope.row.productFather != null">03</el-tag> |
| | | <el-tag type="info" v-if="scope.row.productFather != null">04</el-tag> |
| | | <span>{{scope.row.productFather}}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="productFather" hidden></el-table-column> |
| | | <el-table-column prop="unit" label="单位"></el-table-column> |
| | | <el-table-column prop="product" label="指标"></el-table-column> |
| | | <el-table-column label="操作"> |
| | | <template slot-scope="scope"> |
| | | <el-button type="text" @click="updateProduct(scope.row)">编辑</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | </div> |
| | | </template> |
| | |
| | | }, |
| | | props:['tableData','tableType'], |
| | | methods:{ |
| | | updateProduct(row){ |
| | | console.log(row); |
| | | }, |
| | | // 表格树全部选中配置 |
| | | // 全选/取消选操作 |
| | | selectAll(val) { |