From fb08399e35f7b90c9c5ef9781af10569be85f9ca Mon Sep 17 00:00:00 2001 From: 이민희 <mhlee@maprex.co.kr> Date: 월, 14 2월 2022 16:08:44 +0900 Subject: [PATCH] - 사용자정의필드 기본값 입력시 모든 오류 메세지가 표시되는 문제 해결 --- src/main/webapp/scripts/components/HostingField/hostingField.service.js | 19 ++++++++++++++++--- 1 files changed, 16 insertions(+), 3 deletions(-) diff --git a/src/main/webapp/scripts/components/HostingField/hostingField.service.js b/src/main/webapp/scripts/components/HostingField/hostingField.service.js index f06551f..690e842 100644 --- a/src/main/webapp/scripts/components/HostingField/hostingField.service.js +++ b/src/main/webapp/scripts/components/HostingField/hostingField.service.js @@ -6,7 +6,7 @@ define([ 'app' ], function (app) { - app.factory("HostingField", ['$http', '$log', function ($http, $log) { + app.factory("HostingField", ['$http', '$log', '$upload', function ($http, $log, $upload) { return { find : function (conditions) { return $http.post("hostingField/find", conditions).then(function (response) { @@ -37,8 +37,21 @@ $log.debug("HostingField �궘�젣 寃곌낵 : ", response); return response; }); - } - + }, + importExcel : function (conditions) { + conditions.url = "hostingField/importExcel"; + return $upload.upload(conditions).then(function (response) { + $log.debug("hostingField Import 寃곌낵 : ", response); + return response; + }); + }, + // �뾽泥�/ISP/�샇�뒪�똿 議고쉶 + getPartnerList : function (conditions) { + return $http.post("company/getPartnerList", conditions).then(function (response) { + $log.debug("�뾽泥�/isp/�샇�뒪�똿 紐⑸줉 議고쉶 寃곌낵 : ", response); + return response; + }); + }, } } -- Gitblit v1.8.0