From f90890f286608fe0dd9678f16189bb85ff6d6563 Mon Sep 17 00:00:00 2001
From: jhjang <jhjang@maprex.co.kr>
Date: 화, 11 1월 2022 16:01:00 +0900
Subject: [PATCH] - 전체 이슈에서 이슈 만들기 버튼 안보이게 수정

---
 src/main/webapp/scripts/app/hostingField/hostingFieldList.controller.js |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/src/main/webapp/scripts/app/hostingField/hostingFieldList.controller.js b/src/main/webapp/scripts/app/hostingField/hostingFieldList.controller.js
index 8f1ce26..c57c3ac 100644
--- a/src/main/webapp/scripts/app/hostingField/hostingFieldList.controller.js
+++ b/src/main/webapp/scripts/app/hostingField/hostingFieldList.controller.js
@@ -127,8 +127,15 @@
 
                         if (result.data.message.status === "success") {
                             $scope.vm.page.selectedPage = currentPage + 1;
-                            $scope.vm.responseData = result.data;
 
+                            // �쟾�솕踰덊샇 議고쉶�떆 �븯�씠�뵂 異붽� �빐�꽌 議고쉶
+                            result.data.data.forEach(function (telDatas) {
+                                let hyphen = telDatas.tel.trim();
+                                let phone = hyphen.replace(/(^02.{0}|^01.{1}|[0-9]{3})([0-9]+)([0-9]{4})/,"$1-$2-$3");
+                                telDatas.tel = phone;
+                            });
+
+                            $scope.vm.responseData = result.data;
                         }
                         else {
                             SweetAlert.error($filter("translate")("hostingField.failedToSelectHostingFieldFullList"), result.data.message.message); // �샇�뒪�똿 愿�由� 紐⑸줉 議고쉶 �떎�뙣

--
Gitblit v1.8.0