From 490aff099ae78fd76b5e3d6470541f8ce13286ec Mon Sep 17 00:00:00 2001 From: 이민희 <mhlee@maprex.co.kr> Date: 금, 28 1월 2022 14:06:40 +0900 Subject: [PATCH] - 이메일 보내는 사람 이름 설정 가능하게 수정 - 이슈 엑셀 임포트 시 프로젝트 선택하면 상위이슈 값 초기화 - 엑셀 임포트 시 띄어쓰기 공백 제거 --- 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