From d438f9c81cffd2e2cbec48150b43a5a89c9ab749 Mon Sep 17 00:00:00 2001 From: 이민희 <mhlee@maprex.co.kr> Date: 수, 16 2월 2022 15:56:56 +0900 Subject: [PATCH] - 하위이슈 직접 생성 시 프로젝트 변경 못하도록 수정 - 연관이슈 직접 생성 시 프로젝트 변경 할 경우 이슈타입도 변경 되도록 수정 --- src/main/webapp/views/issue/issueAddRelation.html | 23 +++++++++++++---------- 1 files changed, 13 insertions(+), 10 deletions(-) diff --git a/src/main/webapp/views/issue/issueAddRelation.html b/src/main/webapp/views/issue/issueAddRelation.html index 9815a6a..dd3cfbd 100644 --- a/src/main/webapp/views/issue/issueAddRelation.html +++ b/src/main/webapp/views/issue/issueAddRelation.html @@ -48,6 +48,8 @@ class="highlighter-rouge">*</code></label> <js-autocomplete-single data-input-name="project" selected-model="vm.form.projects" + ng-model="vm.form.projects" + ng-change="fn.getIssueTypeOfProject()" search="vm.projectName" source="fn.getProjectList(vm.projectName, vm.form.projects, vm.autoCompletePage.project.page, fn.getProjectListCallBack)" page="vm.autoCompletePage.project.page" @@ -249,7 +251,6 @@ <input type="text" class="form-control input-sm" name="input" ng-model="issueCustomField.useValues" - maxlength="100" autocomplete="off" kr-input ng-required="issueCustomField.fieldOption == '01' || issueCustomField.customFieldVo.requiredData == 'Y'"> @@ -463,11 +464,10 @@ autocomplete="off" ng-maxlength="200" ng-model="vm.companyUrl" - ng-pattern="/(https?:\/\/)?(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/" maxlength="200"> - <div ng-show="issueAddRelationForm.companyUrl.$error.pattern" class="help-block form-text text-danger" + <!--<div ng-show="issueAddRelationForm.companyUrl.$error.pattern" class="help-block form-text text-danger" translate="common.invalidUrlFormat">url �삎�떇�씠 留욎� �븡�뒿�땲�떎. - </div> + </div>--> </div> </div> <div class="col-lg-4"> @@ -498,6 +498,7 @@ page="vm.autoCompletePage.companyType.page" total-page="vm.autoCompletePage.companyType.totalPage" input-disabled="false" + broad-cast="companyTypeEvent" translation-texts="{ empty : 'common.emptyCompanyType' }" extra-settings="{ displayProp : 'useValue' , idProp : 'id', imageable : false, imagePathProp : '', type : '', maxlength : 200, autoResize : false, stopRemoveBodyEvent : true }"></js-autocomplete-single> @@ -517,6 +518,7 @@ page="vm.autoCompletePage.parentSector.page" total-page="vm.autoCompletePage.parentSector.totalPage" input-disabled="false" + broad-cast="parentSectorEvent" translation-texts="{ empty : 'common.emptyParentSector' }" extra-settings="{ displayProp : 'useValue' , idProp : 'id', imageable : false, imagePathProp : '', type : '', maxlength : 200, autoResize : false, stopRemoveBodyEvent : true }"></js-autocomplete-single> @@ -536,6 +538,7 @@ page="vm.autoCompletePage.childSector.page" total-page="vm.autoCompletePage.childSector.totalPage" input-disabled="false" + broad-cast="childSectorEvent" translation-texts="{ empty : 'common.emptyChildSector' }" extra-settings="{ displayProp : 'useValue' , idProp : 'id', imageable : false, imagePathProp : '', type : '', maxlength : 200, autoResize : false, stopRemoveBodyEvent : true }"></js-autocomplete-single> @@ -555,6 +558,7 @@ page="vm.autoCompletePage.region.page" total-page="vm.autoCompletePage.region.totalPage" input-disabled="false" + broad-cast="regionEvent" translation-texts="{ empty : 'common.emptyRegion' }" extra-settings="{ displayProp : 'useValue' , idProp : 'id', imageable : false, imagePathProp : '', type : '', maxlength : 200, autoResize : false, stopRemoveBodyEvent : true }"></js-autocomplete-single> @@ -574,6 +578,7 @@ page="vm.autoCompletePage.status.page" total-page="vm.autoCompletePage.status.totalPage" input-disabled="false" + broad-cast="statusEvent" translation-texts="{ empty : 'common.emptyStatus' }" extra-settings="{ displayProp : 'useValue' , idProp : 'id', imageable : false, imagePathProp : '', type : '', maxlength : 200, autoResize : false, stopRemoveBodyEvent : true }"></js-autocomplete-single> @@ -689,11 +694,10 @@ autocomplete="off" ng-maxlength="200" ng-model="vm.ispUrl" - ng-pattern="/(https?:\/\/)?(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/" maxlength="200"> - <div ng-show="issueAddRelationForm.ispUrl.$error.pattern" class="help-block form-text text-danger" + <!--<div ng-show="issueAddRelationForm.ispUrl.$error.pattern" class="help-block form-text text-danger" translate="common.invalidUrlFormat">url �삎�떇�씠 留욎� �븡�뒿�땲�떎. - </div> + </div>--> </div> </div> <div class="col-lg-4"> @@ -820,11 +824,10 @@ autocomplete="off" ng-maxlength="200" ng-model="vm.hostingUrl" - ng-pattern="/(https?:\/\/)?(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/" maxlength="200"> - <div ng-show="issueAddRelationForm.hostingUrl.$error.pattern" class="help-block form-text text-danger" + <!--<div ng-show="issueAddRelationForm.hostingUrl.$error.pattern" class="help-block form-text text-danger" translate="common.invalidUrlFormat">url �삎�떇�씠 留욎� �븡�뒿�땲�떎. - </div> + </div>--> </div> </div> <div class="col-lg-4"> -- Gitblit v1.8.0