| | |
| | | name : $rootScope.preventXss($scope.vm.form.name), |
| | | ispId : (function () { // ISP 아이디 |
| | | var ispId = -1; |
| | | if ($scope.vm.form.ispId != null) { |
| | | if ($scope.vm.form.issueIspFields.length > 0) { |
| | | ispId = $scope.vm.form.ispId; |
| | | } |
| | | return ispId; |
| | | })(), |
| | | hostingId : (function () { // Hosting 아이디 |
| | | var hostingId = -1; |
| | | if ($scope.vm.form.hostingId != null) { |
| | | if ($scope.vm.form.issueHostingFields.length > 0) { |
| | | hostingId = $scope.vm.form.hostingId; |
| | | } |
| | | return hostingId; |
| | |
| | | $scope.vm.form.tel = result.data.content.tel; |
| | | $scope.vm.form.url = result.data.content.url; |
| | | $scope.vm.form.memo = result.data.content.memo; |
| | | $scope.vm.form.ispName = result.data.content.ispFieldVo.name; |
| | | $scope.vm.form.hostingName = result.data.content.hostingFieldVo.name; |
| | | if(result.data.content.ispFieldVo != null){ |
| | | $scope.vm.form.ispName = result.data.content.ispFieldVo.name; |
| | | } |
| | | if(result.data.content.hostingFieldVo != null){ |
| | | $scope.vm.form.hostingName = result.data.content.hostingFieldVo.name; |
| | | } |
| | | } |
| | | } |
| | | else { |