From 4e8908de38e0c64a20547dd892dca1d1f9f1bc63 Mon Sep 17 00:00:00 2001 From: 박지현 <jhpark@maprex.co.kr> Date: 수, 09 2월 2022 09:16:40 +0900 Subject: [PATCH] 이슈 유형 수정,추가시 업체/ISP/호스팅 개수 명-> 숫자로 수정 --- src/main/webapp/scripts/app/user/userModify.controller.js | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/src/main/webapp/scripts/app/user/userModify.controller.js b/src/main/webapp/scripts/app/user/userModify.controller.js index b780eb4..1387840 100644 --- a/src/main/webapp/scripts/app/user/userModify.controller.js +++ b/src/main/webapp/scripts/app/user/userModify.controller.js @@ -89,7 +89,7 @@ if(result.data.data.reservationNotifyTime === "realTime"){ $scope.vm.form.realtimeNotify = true; }else{ - $scope.vm.form.reservationNotifyTime = result.data.data.reservationNotifyTime; + $scope.vm.form.reservationNotifyTime = ""; } } else { @@ -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