From 6a10640017c11c3d72297db50312a7ea1444d0e3 Mon Sep 17 00:00:00 2001
From: minhee <alsdldlfrl@gmail.com>
Date: 월, 21 2월 2022 11:28:53 +0900
Subject: [PATCH] - 상세 검색에 등록일 검색 기능 추가

---
 src/main/webapp/views/issue/issueModify.html |   43 +++++++++++++++++++++++--------------------
 1 files changed, 23 insertions(+), 20 deletions(-)

diff --git a/src/main/webapp/views/issue/issueModify.html b/src/main/webapp/views/issue/issueModify.html
index 2204d49..d4c911d 100644
--- a/src/main/webapp/views/issue/issueModify.html
+++ b/src/main/webapp/views/issue/issueModify.html
@@ -39,7 +39,6 @@
                                                 source="fn.getProjectList(vm.projectName, vm.form.projects, vm.autoCompletePage.project.page, fn.getProjectListCallBack)"
                                                 page="vm.autoCompletePage.project.page"
                                                 total-page="vm.autoCompletePage.project.totalPage"
-                                                input-disabled="vm.form.projects != null ? vm.form.projects.length > 0 : false"
                                                 translation-texts="{ empty : 'common.emptyProject' }"
                                                 extra-settings="{ displayProp : 'name' , idProp : 'id', imageable : false, imagePathProp : '',
                                                 type : '', maxlength : 200, autoResize : false, stopRemoveBodyEvent : true }"></js-autocomplete-single>
@@ -238,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'">
@@ -425,9 +423,10 @@
                         <js-autocomplete-single data-input-name="issueCompanyField"
                                                 selected-model="vm.form.issueCompanyFields"
                                                 search="vm.companyName"
+                                                custom-input="true"
                                                 source="fn.getIssueCompanyFieldList(vm.companyName, vm.form.issueCompanyFields, vm.autoCompletePage.companyField.page, fn.getIssueCompanyFieldListCallBack)"
                                                 page="vm.autoCompletePage.companyField.page"
-                                                total-page="vm.autoCompletePage.companyField.totalPage"
+                                                total-page="vm.autoCompletePage.issueCompanyField.totalPage"
                                                 input-disabled="false"
                                                 translation-texts="{ empty : 'common.emptyCompany' }"
                                                 broad-cast="companyFieldEvent"
@@ -494,11 +493,10 @@
                                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>
                 <div class="col-lg-4">
@@ -529,6 +527,7 @@
                                                 page="vm.autoCompletePage.companyType.page"
                                                 total-page="vm.autoCompletePage.companyType.totalPage"
                                                 input-disabled="false"
+                                                broad-cast="companyTypeEvent"
                                                 translation-texts="{ empty : 'common.emptyCompanyType' }"
                                                 extra-settings="{ displayProp : 'useValue' , idProp : 'id', imageable : false, imagePathProp : '',
                                                 type : '', maxlength : 200, autoResize : false, stopRemoveBodyEvent : true }"></js-autocomplete-single>
@@ -548,6 +547,7 @@
                                                 page="vm.autoCompletePage.parentSector.page"
                                                 total-page="vm.autoCompletePage.parentSector.totalPage"
                                                 input-disabled="false"
+                                                broad-cast="parentSectorEvent"
                                                 translation-texts="{ empty : 'common.emptyParentSector' }"
                                                 extra-settings="{ displayProp : 'useValue' , idProp : 'id', imageable : false, imagePathProp : '',
                                                 type : '', maxlength : 200, autoResize : false, stopRemoveBodyEvent : true }"></js-autocomplete-single>
@@ -567,6 +567,7 @@
                                                 page="vm.autoCompletePage.childSector.page"
                                                 total-page="vm.autoCompletePage.childSector.totalPage"
                                                 input-disabled="false"
+                                                broad-cast="childSectorEvent"
                                                 translation-texts="{ empty : 'common.emptyChildSector' }"
                                                 extra-settings="{ displayProp : 'useValue' , idProp : 'id', imageable : false, imagePathProp : '',
                                                 type : '', maxlength : 200, autoResize : false, stopRemoveBodyEvent : true }"></js-autocomplete-single>
@@ -586,6 +587,7 @@
                                                 page="vm.autoCompletePage.region.page"
                                                 total-page="vm.autoCompletePage.region.totalPage"
                                                 input-disabled="false"
+                                                broad-cast="regionEvent"
                                                 translation-texts="{ empty : 'common.emptyRegion' }"
                                                 extra-settings="{ displayProp : 'useValue' , idProp : 'id', imageable : false, imagePathProp : '',
                     type : '', maxlength : 200, autoResize : false, stopRemoveBodyEvent : true }"></js-autocomplete-single>
@@ -605,6 +607,7 @@
                                                 page="vm.autoCompletePage.status.page"
                                                 total-page="vm.autoCompletePage.status.totalPage"
                                                 input-disabled="false"
+                                                broad-cast="statusEvent"
                                                 translation-texts="{ empty : 'common.emptyStatus' }"
                                                 extra-settings="{ displayProp : 'useValue' , idProp : 'id', imageable : false, imagePathProp : '',
                     type : '', maxlength : 200, autoResize : false, stopRemoveBodyEvent : true }"></js-autocomplete-single>
@@ -624,25 +627,26 @@
                 <div class="col-lg-4">
                     <div class="form-group mb10">
                         <label class="issue-label"> <span translate="ispField.name">ISP �씠由�</span> </label>
-                        <input name="ispName"
+                        <!--<input name="ispName"
                                type="text"
                                class="form-control"
                                kr-input
                                autocomplete="off"
                                ng-model="vm.ispName"
                                ng-maxlength="100"
-                               maxlength="100">
-                        <!--<js-autocomplete-single data-input-name="ispField"
+                               maxlength="100">-->
+                        <js-autocomplete-single data-input-name="ispField"
                                                 selected-model="vm.form.issueIspFields"
                                                 search="vm.ispName"
                                                 source="fn.getIssueIspFieldList(vm.ispName, vm.form.issueIspFields, vm.autoCompletePage.ispField.page, fn.getIssueIspFieldListCallBack)"
                                                 page="vm.autoCompletePage.ispField.page"
                                                 total-page="vm.autoCompletePage.ispField.totalPage"
                                                 input-disabled="false"
+                                                custom-input="true"
                                                 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>-->
+                                                type : '', maxlength : 200, autoResize : false, stopRemoveBodyEvent : true }"></js-autocomplete-single>
                     </div>
                 </div>
                 <div class="col-lg-4">
@@ -719,11 +723,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">
@@ -754,15 +757,15 @@
                 <div class="col-lg-4">
                     <div class="form-group mb10">
                         <label class="issue-label"> <span translate="hostingField.name">�샇�뒪�똿 �씠由�</span> </label>
-                        <input name="hostingName"
+                        <!--<input name="hostingName"
                                type="text"
                                class="form-control"
                                kr-input
                                autocomplete="off"
                                ng-model="vm.hostingName"
                                ng-maxlength="100"
-                               maxlength="100">
-                        <!--<js-autocomplete-single data-input-name="hostingField"
+                               maxlength="100">-->
+                        <js-autocomplete-single data-input-name="hostingField"
                                                 selected-model="vm.form.issueHostingFields"
                                                 ng-model="vm.hostingName"
                                                 search="vm.hostingName"
@@ -770,10 +773,11 @@
                                                 page="vm.autoCompletePage.hostingField.page"
                                                 total-page="vm.autoCompletePage.hostingField.totalPage"
                                                 input-disabled="false"
+                                                custom-input="true"
                                                 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>-->
+                                                type : '', maxlength : 200, autoResize : false, stopRemoveBodyEvent : true }"></js-autocomplete-single>
                     </div>
                 </div>
                 <div class="col-lg-4">
@@ -849,11 +853,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