OWL ITS + 탐지시스템(인터넷 진흥원)
jhjang
2021-10-14 b74776268dd3eb2bc57744928d6f7150ffcd4ec2
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<div class="col-xxl-6">
    <div class="element-box">
        <div class="os-progress-bar">
            <div class="bar-labels">
                <div class="bar-label-left col-sm-8">
<!--                    <h5 translate="dashboard.inProgressStatusOfProject">중요도 별 이슈 현황</h5>-->
                    <h5>중요도 별 이슈 현황</h5>
                </div>
                <div class="bar-label-right col-sm-4">
                    <form class="form-inline justify-content-sm-end" method="post" action="/widget/downloadExcel" name="severityWidgetForm">
                        <input type="hidden" name="downloadWidgetType" value="SEVERITY_ISSUE">
                        <input type="hidden" name="severityId" value="{{vm.search.severityId}}">
 
                        <select class="form-control rounded form-control-sm"
                                ng-model="vm.search.severityId"
                                tabindex="-1"
                                ng-change="fn.findSeverityIssueWidget(0)"
                            style="width:140px;">
                            <option value="1" translate="common.critical">심각</option>
                            <option value="2" translate="common.major">높음</option>
                            <option value="3" translate="common.minor">보통</option>
                            <option value="4" translate="common.trivial">낮음</option>
                        </select>
 
                        <div class="btn-group">
                            <button class="btn btn-light btn-rounded dropdown-toggle" data-toggle="dropdown"
                                    type="button"><i class="os-icon os-icon-download"></i></button>
                            <div class="dropdown-menu left-menu">
                                <a class="dropdown-item cursor" form-submit="severityWidgetForm">
                                    <i class="fa fa-download"></i>
                                    <span translate="dashboard.downloadToExcel">엑셀로 다운로드</span>
                                </a>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
 
 
            <div class="row mt-20">
                <div class="col-sm-3 b-r">
                    <div class="el-tablo centered">
                        <div class="label" translate="common.critical">
                            심각
                        </div>
                        <div class="value">
                            {{vm.severityIssueWidget.criticalIssueCount | number}}
                        </div>
                    </div>
                </div>
                <div class="col-sm-3 b-r">
                    <div class="el-tablo centered">
                        <div class="label" translate="common.major">
                            높음
                        </div>
                        <div class="value">
                            {{vm.severityIssueWidget.majorIssueCount | number}}
                        </div>
                    </div>
                </div>
                <div class="col-sm-3 b-r">
                    <div class="el-tablo centered">
                        <div class="label" translate="common.minor">
                            보통
                        </div>
                        <div class="value">
                            {{vm.severityIssueWidget.minorIssueCount | number}}
                        </div>
                    </div>
                </div>
                <div class="col-sm-3">
                    <div class="el-tablo centered">
                        <div class="label" translate="common.trivial">
                            낮음
                        </div>
                        <div class="value">
                            {{vm.severityIssueWidget.trivialIssueCount | number}}
                        </div>
                    </div>
                </div>
            </div>
 
 
            <div class="mt-30 dashboard-widget-height">
                <table class="table table-dash table-lightborder width600 table-layout-fixed">
                    <thead>
                    <tr>
                        <th class="text-center width-120-p" translate="common.importance">
                            중요도
                        </th>
                        <th class="text-center" translate="issue.issueTitle">
                            이슈 제목
                        </th>
                        <th class="text-center width-120-p" translate="common.status">
                            상태
                        </th>
                        <th class="text-center width-200-p" translate="common.period">
                            기간
                        </th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr ng-repeat="issue in vm.severityIssueWidget.issues">
                        <td class="text-center">
                            <span class="text-center badge"
                                  ng-style="{'background-color' : issue.severityColor, 'border-color' : issue.severityColor, 'color' : '#FFFFFF' }">
                                 {{issue.severityName}}
                            </span>
                        </td>
                        <td class="text-left titlename cursor">
                            <span ng-click="fn.moveIssue(issue)">{{issue.title}}</span>
                        </td>
                        <td class="text-center">
                            {{issue.issueStatusName}}
 
                        </td>
                        <td class="text-center">
                            <small>{{issue.startDate}} ~ {{issue.completeDate}}</small>
                        </td>
                    </tr>
                    <tr ng-show="vm.severityIssueWidget.issues.length < 1">
                        <td colspan="4" translate="common.noData">데이터가 없습니다.</td>
                    </tr>
                    </tbody>
                </table>
            </div>
 
            <div class="controls-below-table text-center">
                <ul uib-pagination
                    boundary-links-numbes="true"
                    items-per-page="5"
                    total-items="vm.severityIssueWidget.page.totalCount"
                    ng-model="vm.page.selectedPage"
                    max-size="5"
                    ng-click="fn.findSeverityIssueWidget(vm.page.selectedPage - 1)"
                    class="pagination pagination-sm"
                    previous-text="&lt;"
                    next-text="&gt;"
                    first-text=""
                    last-text="">
                </ul>
            </div>
        </div>
    </div>
</div>