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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
<div class="col-xxl-6">
    <div class="element-box">
        <div class="os-progress-bar">
            <div class="bar-labels">
                <div class="bar-label-left">
                    <h5 translate="dashboard.inProgressStatusOfProject">진행 중인 프로젝트 현황</h5>
                </div>
                <div class="bar-label-right">
                    <form class="form-inline justify-content-sm-end" method="post" action="/widget/downloadExcel" name="projectProgressWidgetForm">
                        <input type="hidden" name="downloadWidgetType" value="PROJECT_PROGRESS">
                        <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="projectProgressWidgetForm">
                                    <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="dashboard.progressProject">
                            진행 프로젝트
                        </div>
                        <div class="value">
                            {{vm.projectProgressWidget.projects.length | number}}
                        </div>
                    </div>
                </div>
                <div class="col-sm-3 b-r">
                    <div class="el-tablo centered">
                        <div class="label" translate="dashboard.issueAll">
                            전체 이슈
                        </div>
                        <div class="value">
                            {{vm.projectProgressWidget.totalIssueCount | number}}
                        </div>
                    </div>
                </div>
                <div class="col-sm-3 b-r">
                    <div class="el-tablo centered">
                        <div class="label" translate="dashboard.completionIssue">
                            완료 이슈
                        </div>
                        <div class="value">
                            {{vm.projectProgressWidget.completeIssueCount | number}}
                        </div>
                    </div>
                </div>
                <div class="col-sm-3">
                    <div class="el-tablo centered">
                        <div class="label" translate="dashboard.remainedIssue">
                            잔여 이슈
                        </div>
                        <div class="value">
                            {{vm.projectProgressWidget.remainIssueCount | number}}
                        </div>
                    </div>
                </div>
 
            </div>
            <div class="mt-30">
                <h6 translate="dashboard.projectProgress">
                    프로젝트 진행률
                </h6>
            </div>
            <div class="os-progress-bar primary">
                <div class="bar-labels">
                    <div class="bar-label-right">
                        <span class="bigger fc-blue bold">{{vm.projectProgressWidget.progressPercent | number:1}}% </span>
                    </div>
                </div>
                <div class="bar-level-2" style="width: 100%">
                    <div class="bar-level-3"
                         ng-style="{ width: vm.projectProgressWidget.progressPercent + '%' }">
                    </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">
                            <span translate="common.project">프로젝트</span>
                        </th>
                        <th class="text-center width-120-p">
                            <span translate="dashboard.admin">관리자</span>
                        </th>
                        <th class="text-center width-80-p">
                            <span translate="dashboard.progressPercent">진행률</span>
                        </th>
                        <th class="text-center width-80-p">
                            <span translate="common.issue">이슈</span>
                        </th>
                        <th class="text-center width-80-p">
                            <span translate="dashboard.teamMember">팀원</span>
                        </th>
                        <th class="text-center width-80-p">
                            <span translate="common.period">기간</span>
                        </th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr ng-repeat="project in vm.projectProgressWidget.projects">
                        <td class="text-center">
                            {{project.name}}
                        </td>
                        <td class="text-center">
                            <div class="os-dropdown-trigger os-dropdown-position-left user-with-avatar"
                                 owl-profile-over>
                                        <span class="avatar">
                                            <img alt="" ng-src="{{project.managerProfile}}">
                                        </span>
                                <div class="os-dropdown light message-list">
                                    <ul>
                                        <li>
                                            <a>
                                                <div class="message-content">
                                                    <h6 class="message-from">
                                                        {{project.managerName}}
                                                    </h6>
                                                    <h6 class="message-title">
                                                        {{project.managerEmail}}
                                                    </h6>
                                                </div>
                                            </a>
                                        </li>
                                    </ul>
                                </div>
                            </div>
                        </td>
                        <td class="text-center">
                            <div class="os-progress-bar info">
                                <div class="bar-labels">
                                    <div class="bar-label-right">
                                                <span class="info">{{ project.projectProgressPercent | number:1 }}%
                                                </span>
                                    </div>
                                </div>
                                <div class="bar-level-2" style="width: 100%">
                                    <div class="bar-level-3"
                                         ng-style="{ width: project.projectProgressPercent + '%' }">
                                    </div>
                                </div>
                            </div>
                        </td>
                        <td class="text-center">
                            <span>{{project.close | number}} / {{project.close + project.remain | number}}</span>
                        </td>
                        <td class="text-center">
                            <a href="" ng-click="fn.projectMember(project.id)">{{project.teamCount}}</a>
                        </td>
                        <td class="text-center">
                            <small>{{project.startDate}}-{{project.endDate}}</small>
                        </td>
                    </tr>
                    <tr ng-show="vm.projectProgressWidget.projects.length < 1">
                        <td colspan="6">
                            <span translate="common.noData">데이터가 없습니다.</span>
                        </td>
                    </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>