OWL ITS + 탐지시스템(인터넷 진흥원)
이민희
2022-01-12 836af5be0ec8b59171d7c7ffa392a6bd234f0af7
src/main/webapp/scripts/components/companyField/companyField.service.js
@@ -6,7 +6,7 @@
define([
    'app'
], function (app) {
    app.factory("CompanyField", ['$http', '$log', function ($http, $log) {
    app.factory("CompanyField", ['$http', '$log', '$upload', function ($http, $log, $upload) {
        return {
            find : function (conditions) {
                return $http.post("companyField/find", conditions).then(function (response) {
@@ -32,6 +32,13 @@
                    return response;
                });
            },
            importExcel : function (conditions) {
                conditions.url = "companyField/importExcel";
                return $upload.upload(conditions).then(function (response) {
                    $log.debug("업체 Import 결과 : ", response);
                    return response;
                });
            },
            removes : function (conditions) {
                return $http.post("companyField/remove", conditions).then(function (response) {
                    $log.debug("업체 삭제 결과 : ", response);