From a227dd7df7f84a5cfb7218042a6f844991dcfb96 Mon Sep 17 00:00:00 2001 From: 이민희 <mhlee@maprex.co.kr> Date: 수, 09 2월 2022 14:53:41 +0900 Subject: [PATCH] - isp, 호스팅 엑셀 import 기능 추가 --- 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