From 03a0d4556fb01d409a5630b3c002e259fe32c407 Mon Sep 17 00:00:00 2001
From: jhjang <jhjang@maprex.co.kr>
Date: 화, 08 2월 2022 10:49:00 +0900
Subject: [PATCH] - api 이슈 추가시 종료 상태인 상위 이슈에도 추가가 되도록 수정 - 종료 처리된 상위이슈에 하위이슈로 추가 될 경우 상위 이슈를 자동으로 대기 상태로 변경하도록 수정

---
 src/main/webapp/scripts/app/user/userModify.controller.js |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/main/webapp/scripts/app/user/userModify.controller.js b/src/main/webapp/scripts/app/user/userModify.controller.js
index a9ffc1a..1387840 100644
--- a/src/main/webapp/scripts/app/user/userModify.controller.js
+++ b/src/main/webapp/scripts/app/user/userModify.controller.js
@@ -148,6 +148,11 @@
                                     if (result.message.status === "success") {
                                         if (result.data != null) {
                                             $rootScope.user = result.data;  //  �쟾�뿭�쑝濡� �궗�슜�븯�뒗 濡쒓렇�씤 �궗�슜�옄 �젙蹂�.
+                                            // �쟾�솕踰덊샇 �븯�씠�뵂 異붽��븯�뿬 議고쉶
+                                            $scope.vm.phone = $rootScope.user.phone;
+                                            let hyphen = $scope.vm.phone.trim();
+                                            let phone = hyphen.replace(/(^02.{0}|^01.{1}|[0-9]{3})([0-9]+)([0-9]{4})/,"$1-$2-$3");
+                                            $rootScope.user.phone = phone;
                                         }
                                         else {
                                             throw {message: $filter("translate")("users.notExistUserSession")}; // "�궗�슜�옄 �꽭�뀡�씠 議댁옱�븯吏� �븡�뒿�땲�떎."

--
Gitblit v1.8.0