| | |
| | | $scope.fn.issueBack = issueBack; |
| | | |
| | | // 이슈 목록 컨트롤러 vm, fn 상속 중 |
| | | $scope.vm.viewer = {}; |
| | | $scope.vm.viewer = {}; // 현재 이슈 |
| | | $scope.vm.images = []; // 첨부된 파일 중 이미지 파일 |
| | | $scope.vm.activeTab = "ALL"; // 활동 내역 탭 |
| | | // 이슈 상태 변경 표시 여부 |
| | |
| | | resolve : { |
| | | parameter : function () { |
| | | return { |
| | | departmentVos : [$scope.vm.form.issues[0].departmentVos], |
| | | id : [$scope.vm.form.issues[0].id], |
| | | projectId : [$scope.vm.form.issues[0].projectVo.id], |
| | | project : [$scope.vm.form.issues[0].projectVo] |
| | | departmentVos : $scope.vm.form.issues[0].departmentVos, |
| | | id : $scope.vm.form.issues[0].id, |
| | | projectId : $scope.vm.form.issues[0].projectVo.id, |
| | | project : $scope.vm.form.issues[0].projectVo, |
| | | issueTypeId : $scope.vm.form.issues[0].issueTypeVo.id |
| | | }; |
| | | } |
| | | } |
| | |
| | | form : { |
| | | departments : [], // 담당부서 |
| | | projects : [], |
| | | issueTypeId : "" |
| | | issueTypeId : parameter.issueTypeId |
| | | }, |
| | | departmentName : "", // 부서 검색 |
| | | autoCompletePage : { |
| | |
| | | $rootScope.spinner = true; |
| | | |
| | | var content = { |
| | | id : parameter.id[0], |
| | | projectId : parameter.projectId[0], |
| | | id : parameter.id, |
| | | projectId : parameter.projectId, |
| | | departmentIds : (function () { |
| | | var departmentIds = []; |
| | | |
| | |
| | | |
| | | function load() { |
| | | $scope.vm.form.projects = []; |
| | | $scope.vm.form.projects.push(parameter.project[0]); |
| | | $scope.vm.form.projects.push(parameter.project); |
| | | |
| | | var departmentVos = parameter.departmentVos[0]; |
| | | var departmentVos = parameter.departmentVos; |
| | | |
| | | if (departmentVos.length > 0 && departmentVos[0] != undefined) { |
| | | $scope.vm.form.departments = departmentVos; |
| | |
| | | ispVos : parameter.ispVos, |
| | | hostingVos : parameter.hostingVos, |
| | | partners : parameter.partnersAll.slice(), |
| | | html : "issueSendMailPartners.html", |
| | | form : { |
| | | id : parameter.issueId, // 이슈 번호 |
| | | template : "ISSUE_SEND_2", |
| | |
| | | return deferred.promise; |
| | | } |
| | | |
| | | function getIssueDepartmentList(query, excludeList, page, callBack) { |
| | | function getIssueDepartmentList(issueTypeId, query, excludeList, page, callBack) { |
| | | var conditions = { |
| | | //issueTypeId : $scope.vm.form.issueTypeId, |
| | | issueTypeId : (function () { |
| | | var issueTypeId = ""; |
| | | if ($rootScope.currentDetailIssueId != null) { |
| | | issueTypeId = $rootScope.currentDetailIssueId; |
| | | } else { |
| | | issueTypeId = $scope.vm.form.issueTypeId; |
| | | } |
| | | return issueTypeId; |
| | | })(), |
| | | issueTypeId : issueTypeId, |
| | | departmentName : query, |
| | | userId : $rootScope.user.id, |
| | | projectId : (function () { |
| | |
| | | <js-autocomplete-multi data-input-name="departments" |
| | | selected-model="vm.form.departments" |
| | | search="vm.departmentName" |
| | | source="fn.getIssueDepartmentList(vm.departmentName, vm.form.departments)" |
| | | source="fn.getIssueDepartmentList(vm.form.issueTypeId, vm.departmentName, vm.form.departments)" |
| | | input-disabled="false" |
| | | translation-texts="{ count : 'common.userNum', empty : 'common.emptyProjectDepartment'}" |
| | | extra-settings="{ displayProp : 'byName' , idProp : 'id', imageable : false, maxlength : 100, autoResize : true}"></js-autocomplete-multi> |
| | |
| | | <js-autocomplete-multi data-input-name="departments" |
| | | selected-model="vm.form.departments" |
| | | search="vm.departmentName" |
| | | source="fn.getIssueDepartmentList(vm.departmentName, vm.form.departments)" |
| | | source="fn.getIssueDepartmentList(vm.form.issueTypeId, vm.departmentName, vm.form.departments)" |
| | | input-disabled="false" |
| | | translation-texts="{ count : 'common.userNum', empty : 'common.emptyProjectDepartment'}" |
| | | extra-settings="{ displayProp : 'byName' , idProp : 'id', imageable : false, maxlength : 100, autoResize : true}"></js-autocomplete-multi> |
| | |
| | | <js-autocomplete-multi data-input-name="departments" |
| | | selected-model="vm.form.departments" |
| | | search="vm.departmentName" |
| | | source="fn.getIssueDepartmentList(vm.departmentName, vm.form.departments)" |
| | | source="fn.getIssueDepartmentList(vm.form.issueTypeId, vm.departmentName, vm.form.departments)" |
| | | input-disabled="false" |
| | | translation-texts="{ count : 'common.userNum', empty : 'common.emptyProjectDepartment'}" |
| | | extra-settings="{ displayProp : 'byName' , idProp : 'id', imageable : false, maxlength : 100, autoResize : true}"></js-autocomplete-multi> |
| | |
| | | <js-autocomplete-multi data-input-name="departments" |
| | | selected-model="vm.form.departments" |
| | | search="vm.departmentName" |
| | | source="fn.getIssueDepartmentList(vm.departmentName, vm.form.departments)" |
| | | source="fn.getIssueDepartmentList(vm.form.issueTypeId, vm.departmentName, vm.form.departments)" |
| | | input-disabled="false" |
| | | translation-texts="{ count : 'common.userNum', empty : 'common.emptyUser' }" |
| | | extra-settings="{ displayProp : 'byName' , idProp : 'id', imageable : false, maxlength : 100, autoResize : true }"></js-autocomplete-multi> |
| | |
| | | class="summernote" |
| | | lang="ko-KR" |
| | | config="vm.options" |
| | | ng-model="vm.form.description" |
| | | ng-model="vm.html" |
| | | target=".note-editable"></summernote> |
| | | </div> |
| | | </form> |