From 6ae9f3ab6d498f7a4d72c3fbbe8b90e6358f389b Mon Sep 17 00:00:00 2001
From: wyu <kknd09321@nate.com>
Date: 화, 21 12월 2021 13:31:54 +0900
Subject: [PATCH] 사용자 정의필드 시간형태 등호 변경

---
 src/main/webapp/scripts/app/customField/customFieldModify.controller.js |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/src/main/webapp/scripts/app/customField/customFieldModify.controller.js b/src/main/webapp/scripts/app/customField/customFieldModify.controller.js
index 0cf5e1f..61cb612 100644
--- a/src/main/webapp/scripts/app/customField/customFieldModify.controller.js
+++ b/src/main/webapp/scripts/app/customField/customFieldModify.controller.js
@@ -39,7 +39,8 @@
                         ipAdress : "",
                         email : "",
                         site : "",
-                        tel : ""
+                        tel : "",
+                        requiredData: ""
                     },
                     origin : {
                         options : []    //  �샃�뀡 媛� 蹂�寃� �뿬遺� �솗�씤�쓣 �쐞�빐 �꽌踰꾩뿉�꽌 �궡�젮�삱 �븣 �썝蹂� 媛믪쓣 �뵲濡� 愿�由ы븳�떎.
@@ -163,7 +164,8 @@
                      content.ipAdress = $scope.vm.form.ipAdress;
                      content.email = $scope.vm.form.email;
                      content.site = $scope.vm.form.site;
-                     content.tel =$scope.vm.form.tel;
+                     content.tel = $scope.vm.form.tel;
+                     content.requiredData = $scope.vm.form.requiredData;
 
                     if ($scope.vm.form.customFieldType === 'MULTI_SELECT'|| $scope.vm.form.customFieldType === "SINGLE_SELECT") {
                         var convertDefaultValues = "";
@@ -218,6 +220,12 @@
                                 $scope.vm.form.defaultValue = result.data.data.defaultValue;
                                 $scope.vm.form.useCustomFieldValue = result.data.data.useCustomFieldValue;
 
+                                if(result.data.data.requiredData === "Y"){
+                                    $scope.vm.form.requiredData = true;
+                                } else {
+                                    $scope.vm.form.requiredData = false;
+                                }
+
                                 angular.forEach(result.data.data.customFieldValueVos, function (customFieldValueVo) {
                                     $scope.vm.form.options.push(customFieldValueVo.value);
                                 });

--
Gitblit v1.8.0