From af59a06e2926aa954d949ea0a306c34c6a517782 Mon Sep 17 00:00:00 2001
From: wyu <kknd09321@nate.com>
Date: 일, 05 12월 2021 11:50:34 +0900
Subject: [PATCH]  이메일 템플릿 형식 변경

---
 src/main/webapp/views/issue/issueModify.html |   50 ++++++++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 48 insertions(+), 2 deletions(-)

diff --git a/src/main/webapp/views/issue/issueModify.html b/src/main/webapp/views/issue/issueModify.html
index ed8998b..d5a8695 100644
--- a/src/main/webapp/views/issue/issueModify.html
+++ b/src/main/webapp/views/issue/issueModify.html
@@ -39,7 +39,7 @@
                                                 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="false"
+                                                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>
@@ -59,7 +59,8 @@
                                         ng-model="vm.form.issueTypeId"
                                         ng-change="fn.getIssueTypeCustomFields()"
                                         ng-style="{ 'color' : fn.getOptionColor(vm.issueTypes, vm.form.issueTypeId) }"
-                                        required>
+                                        required
+                                        disabled>
                                     <option value="" translate="common.selectTarget" ng-style="{ 'color' : '#353535' }"><span
                                             translate="common.selectTarget">���긽 �꽑�깮</span>
                                     </option>
@@ -241,6 +242,51 @@
                                            ng-required="issueCustomField.fieldOption == '01'">
                                 </div>
 
+                                <div ng-switch-when="NUMBER">
+                                    <input type="text" class="form-control input-sm"
+                                           ng-model="issueCustomField.useValues"
+                                           maxlength="100"
+                                           autocomplete="off"
+                                           kr-input
+                                           ng-required="issueCustomField.fieldOption == '01'">
+                                </div>
+
+                                <div ng-switch-when="DATETIME">
+                                    <input type="text" class="form-control input-sm"
+                                           ng-model="issueCustomField.useValues"
+                                           maxlength="100"
+                                           autocomplete="off"
+                                           kr-input
+                                           ng-required="issueCustomField.fieldOption == '01'">
+                                </div>
+
+                                <div ng-switch-when="IP_ADDRESS">
+                                    <input type="text" class="form-control input-sm"
+                                           ng-model="issueCustomField.useValues"
+                                           maxlength="100"
+                                           autocomplete="off"
+                                           kr-input
+                                           ng-required="issueCustomField.fieldOption == '01'">
+                                </div>
+
+                                <div ng-switch-when="SITE">
+                                    <input type="text" class="form-control input-sm"
+                                           ng-model="issueCustomField.useValues"
+                                           maxlength="100"
+                                           autocomplete="off"
+                                           kr-input
+                                           ng-required="issueCustomField.fieldOption == '01'">
+                                </div>
+
+                                <div ng-switch-when="TEL">
+                                    <input type="text" class="form-control input-sm"
+                                           ng-model="issueCustomField.useValues"
+                                           maxlength="100"
+                                           autocomplete="off"
+                                           kr-input
+                                           ng-required="issueCustomField.fieldOption == '01'">
+                                </div>
+
                                 <!-- �떒�씪 ���젆�듃 -->
                                 <div ng-switch-when="SINGLE_SELECT">
                                     <select class="form-control input-sm issue-select-label"

--
Gitblit v1.8.0