js vue table单元格合并

实现效果

关键代码


                        <table class='table table-bordered'>
                            <thead>
                            <tr>
                                <th>检测项目</th>
                                <th>详细说明</th>
                                <th>检测结果</th>
                                <th>检测说明</th>
                            </tr>
                            </thead>
                            <tbody>
                            <tr ng-repeat='row in entity.detectionList'>
                                <!--ng-show="row.rowspanValue >=1"表示rowspanValue小于1不展示 rowspan="{{row.rowspanValue}}"表示向下合并几个单元格-->
                                <td ng-show="row.rowspanValue >=1" rowspan="{{row.rowspanValue}}">
                                    {{row.testingItems}}
                                </td>
                                <td>
                                    {{row.detailedDescription}}
                                </td>
                                <td>
                                    <cb-select options="opOption" ng-model="row.detectionResult">
                                    </cb-select>
                                </td>
                                <td>
                                    <cb-textarea ng-model="row.testingDescription"></cb-textarea>
                                </td>
                            </tr>
                            </tbody>
                        </table>

数据源说明

相关推荐

  1. 【jxls 单元合并

    2024-07-15 00:06:05       16 阅读
  2. EsayExcel读取合并单元

    2024-07-15 00:06:05       49 阅读
  3. 【Excel】合并复杂单元

    2024-07-15 00:06:05       39 阅读
  4. table根据字段合并单元

    2024-07-15 00:06:05       24 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-07-15 00:06:05       67 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-07-15 00:06:05       72 阅读
  3. 在Django里面运行非项目文件

    2024-07-15 00:06:05       58 阅读
  4. Python语言-面向对象

    2024-07-15 00:06:05       69 阅读

热门阅读

  1. Python 学习之字典

    2024-07-15 00:06:05       18 阅读
  2. E12.【C语言】练习:求两个数的最大公约数

    2024-07-15 00:06:05       23 阅读
  3. 分析 Android 应用中的日志信息应遵循的原则

    2024-07-15 00:06:05       21 阅读
  4. 牛客周赛51 F(静态区间最大连续子段和)

    2024-07-15 00:06:05       22 阅读
  5. 解锁Postman的API参数化:动态请求的秘诀

    2024-07-15 00:06:05       21 阅读
  6. 如何理解electron 的预加载脚本

    2024-07-15 00:06:05       20 阅读
  7. 力扣题解(回文子串)

    2024-07-15 00:06:05       21 阅读