From 1d9f40919257000f77750c98f2b1a13643de2a80 Mon Sep 17 00:00:00 2001 From: 이민희 <mhlee@maprex.co.kr> Date: 화, 28 12월 2021 20:35:14 +0900 Subject: [PATCH] 업체정보 - ISP, 호스팅 초기화되는 문제 수정 및 전화번호 유효성 검사 --- src/main/webapp/views/companyField/companyFieldAdd.html | 72 +++++++++++++++++++++++++++++++++-- 1 files changed, 67 insertions(+), 5 deletions(-) diff --git a/src/main/webapp/views/companyField/companyFieldAdd.html b/src/main/webapp/views/companyField/companyFieldAdd.html index 9578e86..71a999d 100644 --- a/src/main/webapp/views/companyField/companyFieldAdd.html +++ b/src/main/webapp/views/companyField/companyFieldAdd.html @@ -27,7 +27,65 @@ ng-maxlength="100" maxlength="100" required> - <!--<small translate="notice.enterSpecialCharacters">�젣紐⑹뿉�뒗 �듅�닔 臾몄옄瑜� �엯�젰�븷 �닔 �뾾�뒿�땲�떎.</small>--> + <small translate="companyField.enterSpecialCharacters">�뾽泥� �씠由꾩뿉�뒗 �듅�닔 臾몄옄瑜� �엯�젰 �븷�닔 �뾾�뒿�땲�떎.</small> + </div> + + <div class="form-group"> + <label class="issue-label"> + <span translate="ispField.select">ISP �꽑�깮</span> + </label> + <js-autocomplete-single data-input-name="ispField" + selected-model="vm.form.issueIspFields" + ng-model="vm.form.ispName" + custom-input="true" + search="vm.form.ispName" + source="fn.getIssueIspFieldList(vm.ispName, vm.form.issueIspFields, vm.autoCompletePage.issueIspFields.page, fn.getIssueIspFieldListCallBack)" + page="vm.autoCompletePage.ispField.page" + total-page="vm.autoCompletePage.ispField.totalPage" + input-disabled="false" + translation-texts="{ empty : 'common.emptyIsp' }" + broad-cast="ispFieldEvent" + extra-settings="{ displayProp : 'name' , idProp : 'id', imageable : false, imagePathProp : '', + type : '', maxlength : 200, autoResize : false, stopRemoveBodyEvent : true }"></js-autocomplete-single> + </div> + + <div class="form-group"> + <label class="issue-label"> + <span translate="hostingField.select">�샇�뒪�똿 �꽑�깮</span> + </label> + <js-autocomplete-single data-input-name="hostingField" + selected-model="vm.form.issueHostingFields" + ng-model="vm.form.hostingName" + custom-input="true" + search="vm.hostingName" + source="fn.getIssueHostingFieldList(vm.hostingName, vm.form.issueHostingFields, vm.autoCompletePage.hostingField.page, fn.getIssueHostingFieldListCallBack)" + page="vm.autoCompletePage.hostingField.page" + total-page="vm.autoCompletePage.hostingField.totalPage" + input-disabled="false" + translation-texts="{ empty : 'common.emptyHosting' }" + broad-cast="hostingFieldEvent" + extra-settings="{ displayProp : 'name' , idProp : 'id', imageable : false, imagePathProp : '', + type : '', maxlength : 200, autoResize : false, stopRemoveBodyEvent : true }"></js-autocomplete-single> + </div> + <div class="form-group"> + <label for="companyFieldAddForm10" class="issue-label"> + <span translate="companyField.url">url</span> + <code class="highlighter-rouge">*</code> + </label> + <input id="companyFieldAddForm10" + name="url" + type="text" + class="form-control" + kr-input + autocomplete="off" + ng-model="vm.form.url" + ng-maxlength="200" + maxlength="200" + ng-pattern="/(https?:\/\/)?(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/" + required> + <div ng-show="companyFieldAddForm.url.$error.pattern" class="help-block form-text text-danger" + translate="common.invalidUrlFormat">url �삎�떇�씠 留욎� �븡�뒿�땲�떎. + </div> </div> <!--<div class="row"> <div class="col-md-3"> @@ -132,12 +190,14 @@ type="text" class="form-control" kr-input - input-regex="[^0-9]" + ng-pattern="/^\d{2,3}-\d{3,4}-\d{4}$/" autocomplete="off" ng-model="vm.form.tel" maxlength="20" > - <!--<small translate="notice.enterSpecialCharacters">�젣紐⑹뿉�뒗 �듅�닔 臾몄옄瑜� �엯�젰�븷 �닔 �뾾�뒿�땲�떎.</small>--> + <div ng-show="companyFieldAddForm.tel.$error.pattern" class="help-block form-text text-danger" + translate="companyField.invalidTelFormat">�쟾�솕踰덊샇 �삎�떇�씠 留욎� �븡�뒿�땲�떎. xxx-xxx-xxxx �삎�떇�쑝濡� �엯�젰�븯�꽭�슂. + </div> </div> </div> <div> @@ -155,13 +215,15 @@ kr-input ng-pattern="/^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/" > - <!--<small translate="notice.enterSpecialCharacters">�젣紐⑹뿉�뒗 �듅�닔 臾몄옄瑜� �엯�젰�븷 �닔 �뾾�뒿�땲�떎.</small>--> + <div ng-show="companyFieldAddForm.email.$error.pattern" class="help-block form-text text-danger" + translate="users.invalidEmailFormat">�씠硫붿씪 �삎�떇�씠 留욎� �븡�뒿�땲�떎. + </div> </div> </div> <div> <div class="form-group"> <label for="companyFieldAddForm8" class="issue-label"> - <span translate="companyField.desc">鍮꾧퀬</span> + <span translate="companyField.memo">鍮꾧퀬</span> </label> <input id="companyFieldAddForm8" name="memo" -- Gitblit v1.8.0