OWL ITS + 탐지시스템(인터넷 진흥원)
이민희
2022-03-17 916a3cbabe4e50062fce61ff6f2f5d46c05dfbd1
src/main/webapp/scripts/components/ispField/ispField.service.js
@@ -6,7 +6,7 @@
define([
    'app'
], function (app) {
    app.factory("IspField", ['$http', '$log', function ($http, $log) {
    app.factory("IspField", ['$http', '$log', '$upload', function ($http, $log, $upload) {
        return {
            find : function (conditions) {
                return $http.post("ispField/find", conditions).then(function (response) {
@@ -37,6 +37,13 @@
                    $log.debug("IspField 삭제 결과 : ", response);
                    return response;
                });
            },
            importExcel : function (conditions) {
                conditions.url = "ispField/importExcel";
                return $upload.upload(conditions).then(function (response) {
                    $log.debug("ispField Import 결과 : ", response);
                    return response;
                });
            }
        }
    }