From 75a8e41680a4dba3692812ab17aa5be4fb2488fe Mon Sep 17 00:00:00 2001
From: 이민희 <mhlee@maprex.co.kr>
Date: 화, 11 1월 2022 10:23:22 +0900
Subject: [PATCH] 업체 카테고리 테이블 생성 쿼리

---
 src/main/webapp/views/issue/issueModify.html |   33 ++++++++++++++++++---------------
 1 files changed, 18 insertions(+), 15 deletions(-)

diff --git a/src/main/webapp/views/issue/issueModify.html b/src/main/webapp/views/issue/issueModify.html
index 954fe10..202d795 100644
--- a/src/main/webapp/views/issue/issueModify.html
+++ b/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"
@@ -270,12 +270,15 @@
                                 </div>
 
                                 <div ng-switch-when="DATETIME">
-                                    <input type="text" class="form-control input-sm"
-                                           name="dateTime"
+                                    <input class="form-control input-sm input-readonly"
+                                           name="item_{{$index}}"
                                            ng-model="issueCustomField.useValues"
-                                           maxlength="100"
-                                           autocomplete="off"
+                                           placeholder="{{'issue.clickToSelectDate' | translate}}"
+                                           modal-form-auto-scroll
+                                           range-type="singleDate"
+                                           date-range-picker
                                            kr-input
+                                           autocomplete="off"
                                            ng-required="issueCustomField.fieldOption == '01' || issueCustomField.customFieldVo.requiredData == 'Y'">
 <!--                                    <small class="help-block form-text text-danger"-->
 <!--                                           ng-show="issueCustomField.customFieldVo.requiredData == 'Y'"-->
@@ -286,7 +289,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 +302,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 +321,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 +341,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 +361,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 +369,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>

--
Gitblit v1.8.0