OWL ITS + 탐지시스템(인터넷 진흥원)
wyu
2021-12-27 e9ff86339f9b1105b22814434e282d7b7212680d
사용자 정의 필드 필수 항목 표시 변경 오류 수정
3개 파일 변경됨
52 ■■■■ 파일 변경됨
src/main/webapp/views/customField/customFieldAdd.html 2 ●●● 패치 | 보기 | raw | blame | 히스토리
src/main/webapp/views/issue/issueAdd.html 26 ●●●● 패치 | 보기 | raw | blame | 히스토리
src/main/webapp/views/issue/issueModify.html 24 ●●●● 패치 | 보기 | raw | blame | 히스토리
src/main/webapp/views/customField/customFieldAdd.html
@@ -112,7 +112,7 @@
                       placeholder="숫자만 입력 가능합니다."
                       autocomplete="off"
                       ng-model="vm.form.defaultValue">
                <div ng-if="vm.form.customFieldType == 'NUMBER'" ng-if="customFieldAddForm.numberType.$error.pattern" class="help-block form-text text-danger"
                <div ng-if="customFieldAddForm.numberType.$error.pattern" class="help-block form-text text-danger"
                     translate="common.invalidNumberFormat">숫자만 입력 가능합니다.
                </div>
src/main/webapp/views/issue/issueAdd.html
@@ -236,7 +236,7 @@
                                <!-- 기본 입력 -->
                                <div ng-switch-when="INPUT">
                                    <input type="text" class="form-control input-sm"
                                           name="inputValue"
                                           name="item_{{$index}}"
                                           ng-model="issueCustomField.useValues"
                                           maxlength="100"
                                           autocomplete="off"
@@ -251,7 +251,7 @@
                                <div ng-switch-when="NUMBER">
                                    <input type="text" class="form-control input-sm"
                                           name="numberType"
                                           name="item_{{$index}}"
                                           ng-model="issueCustomField.useValues"
                                           maxlength="100"
                                           autocomplete="off"
@@ -264,14 +264,14 @@
<!--                                           ng-if="issueAddForm.numberType.$error.required"-->
<!--                                           translate="issue.pleaseEnterIssueTypeCustomFields">해당 사용자 정의 필드는 필수 입력 값 입니다.-->
<!--                                    </small>-->
                                    <div ng-if="issueAddForm.numberType.$error.pattern" class="help-block form-text text-danger"
                                    <div ng-if="issueAddForm['item_' + $index].$error.pattern" class="help-block form-text text-danger"
                                         translate="common.invalidNumberFormat">숫자만 입력 가능합니다.
                                    </div>
                                </div>
                                <div ng-switch-when="DATETIME">
                                    <input class="form-control input-sm input-readonly"
                                           name="dateTime"
                                           name="item_{{$index}}"
                                           ng-model="issueCustomField.useValues"
                                           placeholder="{{'issue.clickToSelectDate' | translate}}"
                                           modal-form-auto-scroll
@@ -288,7 +288,7 @@
                                <div ng-switch-when="IP_ADDRESS">
                                    <input type="text" class="form-control input-sm"
                                           name="ipAddress"
                                           name="item_{{$index}}"
                                           ng-model="issueCustomField.useValues"
                                           autocomplete="off"
                                           kr-input
@@ -300,14 +300,14 @@
<!--                                           ng-if="issueAddForm.ipAddress.$error.required"-->
<!--                                           translate="issue.pleaseEnterIssueTypeCustomFields">해당 사용자 정의 필드는 필수 입력 값 입니다.-->
<!--                                    </small>-->
                                    <div ng-if="issueAddForm.ipAddress.$error.pattern" class="help-block form-text text-danger"
                                    <div ng-if="issueAddForm['item_' + $index].$error.pattern" class="help-block form-text text-danger"
                                         translate="common.invalidipAdressFormat">IP주소 형식이 맞지 않습니다.
                                    </div>
                                </div>
                                <div ng-switch-when="EMAIL">
                                    <input type="email" class="form-control input-sm"
                                           name="email"
                                           name="item_{{$index}}"
                                           maxlength="30"
                                           ng-model="issueCustomField.useValues"
                                           kr-input
@@ -319,14 +319,14 @@
<!--                                           ng-if="issueAddForm.ipAddress.$error.required"-->
<!--                                           translate="issue.pleaseEnterIssueTypeCustomFields">해당 사용자 정의 필드는 필수 입력 값 입니다.-->
<!--                                    </small>-->
                                    <div ng-if="issueAddForm.email.$error.pattern" class="help-block form-text text-danger"
                                    <div ng-if="issueAddForm['item_' + $index].$error.pattern" class="help-block form-text text-danger"
                                         translate="common.invalidEmailFormat">이메일 형식이 맞지 않습니다.
                                    </div>
                                </div>
                                <div ng-switch-when="SITE">
                                    <input type="text" class="form-control input-sm"
                                           name="site"
                                           name="item_{{$index}}"
                                           ng-model="issueCustomField.useValues"
                                           maxlength="100"
                                           autocomplete="off"
@@ -339,14 +339,14 @@
<!--                                           ng-if="issueAddForm.site.$error.required"-->
<!--                                           translate="issue.pleaseEnterIssueTypeCustomFields">해당 사용자 정의 필드는 필수 입력 값 입니다.-->
<!--                                    </small>-->
                                    <div ng-if="issueAddForm.site.$error.pattern" class="help-block form-text text-danger"
                                    <div ng-if="issueAddForm['item_' + $index].$error.pattern" class="help-block form-text text-danger"
                                         translate="common.invalidSiteFormat">홈페이지 주소 형식이 맞지 않습니다.(http:// 또는 www 로 시작하셔야합니다)
                                    </div>
                                </div>
                                <div ng-switch-when="TEL">
                                    <input type="text" class="form-control input-sm"
                                           name="tel"
                                           name="item_{{$index}}"
                                           ng-model="issueCustomField.useValues"
                                           maxlength="30"
                                           autocomplete="off"
@@ -359,7 +359,7 @@
<!--                                           ng-if="issueAddForm.tel.$error.required"-->
<!--                                           translate="issue.pleaseEnterIssueTypeCustomFields">해당 사용자 정의 필드는 필수 입력 값 입니다.-->
<!--                                    </small>-->
                                    <div ng-if="issueAddForm.tel.$error.pattern" class="help-block form-text text-danger"
                                    <div ng-if="issueAddForm['item_' + $index].$error.pattern" class="help-block form-text text-danger"
                                         translate="common.invalidTelFormat">전화번호 형식이 맞지 않습니다.
                                    </div>
                                </div>
@@ -367,7 +367,7 @@
                                <!-- 단일 셀렉트 -->
                                <div ng-switch-when="SINGLE_SELECT">
                                    <select class="form-control input-sm issue-select-label"
                                            name="singleSelect"
                                            name="item_{{$index}}"
                                            ng-required="issueCustomField.fieldOption == '01' || issueCustomField.customFieldVo.requiredData == 'Y'"
                                            ng-model="issueCustomField.useValues">
                                        <option value="" value="" translate="common.choose">선택하세요.</option>
src/main/webapp/views/issue/issueModify.html
@@ -236,7 +236,7 @@
                                <!-- 기본 입력 -->
                                <div ng-switch-when="INPUT">
                                    <input type="text" class="form-control input-sm"
                                           name="inputValue"
                                           name="item_{{$index}}"
                                           ng-model="issueCustomField.useValues"
                                           maxlength="100"
                                           autocomplete="off"
@@ -251,7 +251,7 @@
                                <div ng-switch-when="NUMBER">
                                    <input type="text" class="form-control input-sm"
                                           name="numberType"
                                           name="item_{{$index}}"
                                           ng-model="issueCustomField.useValues"
                                           maxlength="100"
                                           autocomplete="off"
@@ -271,7 +271,7 @@
                                <div ng-switch-when="DATETIME">
                                    <input type="text" class="form-control input-sm"
                                           name="dateTime"
                                           name="item_{{$index}}"
                                           ng-model="issueCustomField.useValues"
                                           maxlength="100"
                                           autocomplete="off"
@@ -286,7 +286,7 @@
                                <div ng-switch-when="IP_ADDRESS">
                                    <input type="text" class="form-control input-sm"
                                           name="ipAddress"
                                           name="item_{{$index}}"
                                           ng-model="issueCustomField.useValues"
                                           maxlength="100"
                                           autocomplete="off"
@@ -299,14 +299,14 @@
<!--                                           ng-if="issueModifyForm.ipAddress.$error.required"-->
<!--                                           translate="issue.pleaseEnterIssueTypeCustomFields">해당 사용자 정의 필드는 필수 입력 값 입니다.-->
<!--                                    </small>-->
                                    <div ng-if="issueModifyForm.ipAddress.$error.pattern" class="help-block form-text text-danger"
                                    <div ng-if="issueModifyForm['item_' + $index].$error.pattern" class="help-block form-text text-danger"
                                         translate="common.invalidipAdressFormat">IP주소 형식이 맞지 않습니다.
                                    </div>
                                </div>
                                <div ng-switch-when="EMAIL">
                                    <input type="email" class="form-control input-sm"
                                           name="email"
                                           name="item_{{$index}}"
                                           maxlength="30"
                                           ng-model="issueCustomField.useValues"
                                           kr-input
@@ -318,14 +318,14 @@
<!--                                           ng-if="issueModifyForm.ipAddress.$error.required"-->
<!--                                           translate="issue.pleaseEnterIssueTypeCustomFields">해당 사용자 정의 필드는 필수 입력 값 입니다.-->
<!--                                    </small>-->
                                    <div ng-if="issueModifyForm.email.$error.pattern" class="help-block form-text text-danger"
                                    <div ng-if="issueModifyForm['item_' + $index].$error.pattern" class="help-block form-text text-danger"
                                         translate="common.invalidEmailFormat">이메일 형식이 맞지 않습니다.
                                    </div>
                                </div>
                                <div ng-switch-when="SITE">
                                    <input type="text" class="form-control input-sm"
                                           name="site"
                                           name="item_{{$index}}"
                                           ng-model="issueCustomField.useValues"
                                           maxlength="100"
                                           autocomplete="off"
@@ -338,14 +338,14 @@
<!--                                           ng-if="issueModifyForm.site.$error.required"-->
<!--                                           translate="issue.pleaseEnterIssueTypeCustomFields">해당 사용자 정의 필드는 필수 입력 값 입니다.-->
<!--                                    </small>-->
                                    <div ng-if="issueModifyForm.site.$error.pattern" class="help-block form-text text-danger"
                                    <div ng-if="issueModifyForm['item_' + $index].$error.pattern" class="help-block form-text text-danger"
                                         translate="common.invalidSiteFormat">홈페이지 주소 형식이 맞지 않습니다.(http://로 시작하셔야합니다)
                                    </div>
                                </div>
                                <div ng-switch-when="TEL">
                                    <input type="text" class="form-control input-sm"
                                           name="tel"
                                           name="item_{{$index}}"
                                           ng-model="issueCustomField.useValues"
                                           maxlength="30"
                                           autocomplete="off"
@@ -358,7 +358,7 @@
<!--                                           ng-if="issueModifyForm.tel.$error.required"-->
<!--                                           translate="issue.pleaseEnterIssueTypeCustomFields">해당 사용자 정의 필드는 필수 입력 값 입니다.-->
<!--                                    </small>-->
                                    <div ng-if="issueModifyForm.tel.$error.pattern" class="help-block form-text text-danger"
                                    <div ng-if="issueModifyForm['item_' + $index].$error.pattern" class="help-block form-text text-danger"
                                         translate="common.invalidTelFormat">전화번호 형식이 맞지 않습니다.
                                    </div>
                                </div>
@@ -366,7 +366,7 @@
                                <!-- 단일 셀렉트 -->
                                <div ng-switch-when="SINGLE_SELECT">
                                    <select class="form-control input-sm issue-select-label"
                                            name="singleSelect"
                                            name="item_{{$index}}"
                                            ng-required="issueCustomField.fieldOption == '01' || issueCustomField.customFieldVo.requiredData == 'Y'"
                                            ng-model="issueCustomField.useValues">
                                        <option value="" value="" translate="common.choose">선택하세요.</option>