OWL ITS + 탐지시스템(인터넷 진흥원)
minhee
2022-02-19 30c4906a7f2db197074c268c0989200e74b4b367
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<table class="table table-striped table-layout-fixed" ng-class="{ 'width768' : !detailView }" bindonce>
    <!-- 테이블 머리 -->
    <thead>
    <tr ng-if="hideHeader != true">
        <th bindonce ng-repeat="tableConfig in tableConfigs"
            bo-class="[tableConfig.hAlign, tableConfig.hWidth, tableConfig.dVisible]"
            ng-click="$root.$tableProvider.setOrderByColumn(tableConfig.dName)"
            bo-style="{ 'cursor' : tableConfig.dName != '' ? 'pointer' : '' }"
            rowspan="{{tableConfig.rowSpan}}"
            colspan="{{tableConfig.colSpan}}"
            ng-if="!tableConfig.subHead">
            <!-- 체크 박스일 경우 -->
            <div bo-switch="tableConfig.dType">
                <div bo-switch-when="checkbox">
                    <input type="checkbox" tabindex="-1" ng-model="tableConfig.hChecked" ng-click="$root.$tableProvider.toggleChecked(tableConfig.hChecked, fn.getResponseData())">
                </div>
                <div bo-switch-default>
                    <span ng-if="tableConfig.columnTooltip != ''" function-tool-tip data-placement="top" data-toggle="tooltip" data-original-title="{{tableConfig.columnTooltip}}"
                          translate="{{tableConfig.hName}}"></span>
                    <span ng-if="tableConfig.columnTooltip == ''" translate="{{tableConfig.hName}}"></span>
                    <span ng-if="($root.$tableProvider.orderByColumn == tableConfig.dName) && (tableConfig.dName != '')"><i class="fa fa-arrow-circle-down" ng-show="!$root.$tableProvider.reverse"></i>
                        <i class="fa fa-arrow-circle-up" ng-show="$root.$tableProvider.reverse"></i>
                    </span>
                </div>
            </div>
        </th>
    </tr>
    </thead>
 
    <tbody>
    <tr ng-if="useSort != false" ng-repeat="row in fn.getResponseData() | orderBy:$root.$tableProvider.orderByColumn:$root.$tableProvider.reverse"
        bo-class="[row.checked == true ? 'table-active' : '', tableConfig.hWidth]"
        table-column-generator="row">
    </tr>
 
    <tr ng-if="useSort == false" ng-repeat="row in fn.getResponseData()"
        bo-class="[row.checked == true ? 'table-active' : '', tableConfig.hWidth]"
        table-column-generator="row">
    </tr>
 
    <tr ng-if="fn.getResponseData().length == 0">
        <td colspan="{{tableConfigs.length}}">
            <span translate="common.noData">데이터가 없습니다.</span>
        </td>
    </tr>
    </tbody>
</table>