| | |
| | | <div class="col-md-4"> |
| | | <div class="form-group"> |
| | | <h6 class="info_font" translate="common.detectingInfo">탐지정보</h6> |
| | | <span class="issue-detail-label" style="position: relative; top: 1rem" ng-show="vm.customFields == ''">사용자 정의 필드값이 없습니다.</span> |
| | | <span class="issue-detail-label" style="position: relative; top: 1rem" ng-show="vm.viewer.issueCustomFields == ''">사용자 정의 필드값이 없습니다.</span> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <!-- 사용자 정의 필드 --> |
| | | <div class="row"> |
| | | <div class="col-md-2" ng-repeat="customField in vm.customFields"> |
| | | <h6 class="fc-red" ng-show="customField.customFieldType == 'INPUT'" translate="common.stringField">문자열 필드</h6> |
| | | <h6 class="fc-red" ng-show="customField.customFieldType == 'SINGLE_SELECT'" translate="common.singleSelectionField">단일 선택 필드</h6> |
| | | <h6 class="fc-red" ng-show="customField.customFieldType == 'MULTI_SELECT'" translate="common.multipleSelectionField">다중 선택 필드</h6> |
| | | <h6 class="fc-red" ng-show="customField.customFieldType == 'NUMBER'" translate="common.numberField">숫자 선택 필드</h6> |
| | | <h6 class="fc-red" ng-show="customField.customFieldType == 'DATETIME'" translate="common.datetimeField">날짜 선택 필드</h6> |
| | | <h6 class="fc-red" ng-show="customField.customFieldType == 'IP_ADDRESS'" translate="common.ipAddressField">IP Address 선택 필드</h6> |
| | | <h6 class="fc-red" ng-show="customField.customFieldType == 'EMAIL'" translate="common.emailField">이메일 선택 필드</h6> |
| | | <h6 class="fc-red" ng-show="customField.customFieldType == 'SITE'" translate="common.siteField">URL 선택 필드</h6> |
| | | <h6 class="fc-red" ng-show="customField.customFieldType == 'TEL'" translate="common.telField">전화번호 선택 필드</h6> |
| | | <div class="issue-detail-label">{{::customField.name}}</div> |
| | | <div class="col-md-2" ng-repeat="issueCustomField in vm.viewer.issueCustomFields"> |
| | | <label class="issue-detail-label">{{::issueCustomField.customFieldVo.name}}</label> |
| | | <div ng-switch on="issueCustomField.customFieldVo.customFieldType"> |
| | | <!-- 기본 입력 --> |
| | | <div ng-switch-when="INPUT"> |
| | | <!-- 읽기 모드 --> |
| | | <span class="issue-detail-word-break">{{::customField.useValues}}</span> |
| | | <span ng-if="!$root.isDefined(customField.useValues)">-</span> |
| | | <span class="issue-detail-word-break">{{::issueCustomField.useValues}}</span> |
| | | <span ng-if="!$root.isDefined(issueCustomField.useValues)">-</span> |
| | | </div> |
| | | |
| | | <div ng-switch-when="NUMBER"> |
| | | <!-- 읽기 모드 --> |
| | | <span class="issue-detail-word-break">{{::issueCustomField.useValues}}</span> |
| | | <span ng-if="!$root.isDefined(issueCustomField.useValues)">-</span> |
| | | </div> |
| | | |
| | | <div ng-switch-when="DATETIME"> |
| | | <!-- 읽기 모드 --> |
| | | <span class="issue-detail-word-break">{{::issueCustomField.useValues}}</span> |
| | | <span ng-if="!$root.isDefined(issueCustomField.useValues)">-</span> |
| | | </div> |
| | | |
| | | <div ng-switch-when="IP_ADDRESS"> |
| | | <!-- 읽기 모드 --> |
| | | <span class="issue-detail-word-break">{{::issueCustomField.useValues}}</span> |
| | | <span ng-if="!$root.isDefined(issueCustomField.useValues)">-</span> |
| | | </div> |
| | | |
| | | <div ng-switch-when="EMAIL"> |
| | | <!-- 읽기 모드 --> |
| | | <span class="issue-detail-word-break">{{::issueCustomField.useValues}}</span> |
| | | <span ng-if="!$root.isDefined(issueCustomField.useValues)">-</span> |
| | | </div> |
| | | |
| | | <div ng-switch-when="SITE"> |
| | | <!-- 읽기 모드 --> |
| | | <span class="issue-detail-word-break">{{::issueCustomField.useValues}}</span> |
| | | <span ng-if="!$root.isDefined(issueCustomField.useValues)">-</span> |
| | | </div> |
| | | |
| | | <div ng-switch-when="TEL"> |
| | | <!-- 읽기 모드 --> |
| | | <span class="issue-detail-word-break">{{::issueCustomField.useValues}}</span> |
| | | <span ng-if="!$root.isDefined(issueCustomField.useValues)">-</span> |
| | | </div> |
| | | |
| | | |
| | | <!-- 단일 셀렉트 --> |
| | | <div ng-switch-when="SINGLE_SELECT"> |
| | | <span class="issue-detail-word-break">{{::customField.useValues}}</span> |
| | | <span ng-if="!$root.isDefined(customField.useValues)">-</span> |
| | | <span class="issue-detail-word-break">{{::issueCustomField.useValues}}</span> |
| | | <span ng-if="!$root.isDefined(issueCustomField.useValues)">-</span> |
| | | </div> |
| | | |
| | | <!-- 멀티 셀렉트 --> |
| | | <div ng-switch-when="MULTI_SELECT"> |
| | | <span class="issue-detail-word-break" |
| | | ng-repeat="useValue in customField.useValues">{{::useValue.value}}, </span> |
| | | <span ng-if="!$root.isDefined(customField.useValues)">-</span> |
| | | ng-repeat="useValue in issueCustomField.useValues">{{::useValue.value}}, </span> |
| | | <span ng-if="!$root.isDefined(issueCustomField.useValues)">-</span> |
| | | </div> |
| | | </div> |
| | | </div> |