From c5ce099b314be4b296137415a146c610095ae92e Mon Sep 17 00:00:00 2001 From: 이민희 <mhlee@maprex.co.kr> Date: 금, 11 3월 2022 13:54:09 +0900 Subject: [PATCH] - api로 이슈 추가 시 하위이슈기준이 2개 일 경우 코드 수정 - 업체 추가/수정 시 ip대역대 중복 체크 - 이슈 추가/수정 시 ip대역대 수정불가 --- src/main/webapp/views/issue/issueModify.html | 53 ++++++++++++++++++++++++++++++++++++++++++++--------- 1 files changed, 44 insertions(+), 9 deletions(-) diff --git a/src/main/webapp/views/issue/issueModify.html b/src/main/webapp/views/issue/issueModify.html index f16e46a..815c011 100644 --- a/src/main/webapp/views/issue/issueModify.html +++ b/src/main/webapp/views/issue/issueModify.html @@ -237,7 +237,6 @@ <input type="text" class="form-control input-sm" name="item_{{$index}}" ng-model="issueCustomField.useValues" - maxlength="100" autocomplete="off" kr-input ng-required="issueCustomField.fieldOption == '01' || issueCustomField.customFieldVo.requiredData == 'Y'"> @@ -494,10 +493,48 @@ autocomplete="off" ng-maxlength="200" ng-model="vm.companyUrl" - ng-pattern="/(https?:\/\/)?(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/" maxlength="200"> - <div ng-show="issueModifyForm.companyUrl.$error.pattern" class="help-block form-text text-danger" + <!--<div ng-show="issueModifyForm.companyUrl.$error.pattern" class="help-block form-text text-danger" translate="common.invalidUrlFormat">url �삎�떇�씠 留욎� �븡�뒿�땲�떎. + </div>--> + </div> + </div> + <div class="col-lg-2"> + <div class="form-group mgb5"> + <label for="companyFieldIpStartAddForm" class="issue-label"><span translate="companyField.ipRange">ip ���뿭��</span></label> + <input id="companyFieldIpStartAddForm" + name="ipStart" + type="text" + class="form-control" + kr-input + ng-pattern="/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/" + autocomplete="off" + ng-model="vm.ipStart" + disabled + > + <div ng-if="issueModifyForm.ipStart.$error.pattern" class="help-block form-text text-danger" + translate="common.invalidipAdressFormat">IP二쇱냼 �삎�떇�씠 留욎� �븡�뒿�땲�떎. + </div> + </div> + </div> + <div class="mt-30 ml--4 mr--4"> + <label class="issue-label">~</label> + </div> + <div class="col-lg-2 mt-1"> + <div class="form-group mgb5"> + <label for="companyFieldIpEndAddForm"></label> + <input id="companyFieldIpEndAddForm" + name="ipEnd" + type="text" + class="form-control" + kr-input + ng-pattern="/^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/" + autocomplete="off" + ng-model="vm.ipEnd" + disabled + > + <div ng-if="issueModifyForm.ipEnd.$error.pattern" class="help-block form-text text-danger" + translate="common.invalidipAdressFormat">IP二쇱냼 �삎�떇�씠 留욎� �븡�뒿�땲�떎. </div> </div> </div> @@ -725,11 +762,10 @@ autocomplete="off" ng-maxlength="200" ng-model="vm.ispUrl" - ng-pattern="/(https?:\/\/)?(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/" maxlength="200"> - <div ng-show="issueModifyForm.ispUrl.$error.pattern" class="help-block form-text text-danger" + <!--<div ng-show="issueModifyForm.ispUrl.$error.pattern" class="help-block form-text text-danger" translate="common.invalidUrlFormat">url �삎�떇�씠 留욎� �븡�뒿�땲�떎. - </div> + </div>--> </div> </div> <div class="col-lg-4"> @@ -856,11 +892,10 @@ autocomplete="off" ng-maxlength="200" ng-model="vm.hostingUrl" - ng-pattern="/(https?:\/\/)?(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/" maxlength="200"> - <div ng-show="issueModifyForm.hostingUrl.$error.pattern" class="help-block form-text text-danger" + <!--<div ng-show="issueModifyForm.hostingUrl.$error.pattern" class="help-block form-text text-danger" translate="common.invalidUrlFormat">url �삎�떇�씠 留욎� �븡�뒿�땲�떎. - </div> + </div>--> </div> </div> <div class="col-lg-4"> -- Gitblit v1.8.0