mirror of
http://git.mhez-qa.uplus.co.kr/hubez/hubez-admin.git
synced 2025-12-07 03:28:39 +09:00
TC 수정건 적용 (디자인 및 기능)
This commit is contained in:
@@ -311,7 +311,12 @@ export default {
|
||||
this.$refs.searchIdPopModal.searchIdFailPop();
|
||||
},
|
||||
resetRegPop() {
|
||||
this.formReset();
|
||||
// this.formReset();
|
||||
this.madangId = '';
|
||||
this.userNm = '';
|
||||
this.email = '';
|
||||
this.mdn = '';
|
||||
this.code = '';
|
||||
this.$refs.madangId.focus();
|
||||
},
|
||||
|
||||
@@ -321,7 +326,7 @@ export default {
|
||||
this.formReset();
|
||||
this.insertType = insertType;
|
||||
console.log(insertType)
|
||||
if(insertType === 2){
|
||||
if (insertType === 2) {
|
||||
this.auth = '1002';
|
||||
}
|
||||
var dimmed = document.getElementsByClassName('modal20');
|
||||
@@ -353,7 +358,7 @@ export default {
|
||||
this.row.msg1 = '저장 하였습니다.';
|
||||
this.$refs.commmonSysModal.alertSysModalOpen(this.row);
|
||||
this.toComplete();
|
||||
}else if (result != null && result.retCode == "4018") {
|
||||
} else if (result != null && result.retCode == "4018") {
|
||||
this.row.title = '관리자/유치채널 관리';
|
||||
this.row.msg1 = '이미 사용중인 아이디입니다.';
|
||||
this.$refs.commmonSysModal.alertSysModalOpen(this.row);
|
||||
|
||||
@@ -13,11 +13,11 @@
|
||||
<tbody>
|
||||
<tr class="tr_input w30">
|
||||
<th>권한명</th>
|
||||
<td colspan="5"><input type="text" v-model.trim="authNm" ref="_authNm"></td>
|
||||
<td colspan="5"><input type="text" v-model.trim="authNm" ref="_authNm" maxlength="100"></td>
|
||||
</tr>
|
||||
<tr class="tr_input w75">
|
||||
<th>권한 코드</th>
|
||||
<td colspan="2"><input type="text" v-model.trim="authCd" ref="_authCd"></td>
|
||||
<td colspan="2"><input type="text" v-model.trim="authCd" ref="_authCd" maxlength="4"></td>
|
||||
<th class="center">상태</th>
|
||||
<td class="td_radio" colspan="2">
|
||||
<input type="radio" name="state" value="01" id="right_radio1" v-model="stat" checked>
|
||||
@@ -28,7 +28,7 @@
|
||||
</tr>
|
||||
<tr class="tr_input w100">
|
||||
<th>권한 설명</th>
|
||||
<td colspan="5"><input type="text" v-model="authDesc"></td>
|
||||
<td colspan="5"><input type="text" v-model.trim="authDesc" maxlength="100"></td>
|
||||
</tr>
|
||||
<tr class="tr_checkbox">
|
||||
<td class="check" rowspan="2">
|
||||
@@ -184,7 +184,6 @@
|
||||
|
||||
import sysMgtApi from "../service/sysMgtApi.js";
|
||||
import {utils_mixin, chkPattern2} from '../service/mixins';
|
||||
//import commonModal from "@/components/modal/commonModal";
|
||||
import commonModal from "../components/commonModal";
|
||||
|
||||
export default {
|
||||
@@ -223,7 +222,8 @@ export default {
|
||||
this.row.title = '시스템관리';
|
||||
this.row.msg1 = '권한명을 입력해 주세요.';
|
||||
this.row.focusTaget = '1';
|
||||
this.$refs.commmonModal.alertModalOpen(this.row);
|
||||
console.log(this.row)
|
||||
this.$refs.commmonModal.alertSysModalOpen(this.row);
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -231,7 +231,7 @@ export default {
|
||||
this.row.title = '시스템관리';
|
||||
this.row.msg1 = '권한 코드를 입력해 주세요.';
|
||||
this.row.focusTaget = '2';
|
||||
this.$refs.commmonModal.alertModalOpen(this.row);
|
||||
this.$refs.commmonModal.alertSysModalOpen(this.row);
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -246,14 +246,14 @@ export default {
|
||||
if (this.isNull(this.stat)) {
|
||||
this.row.title = '시스템관리';
|
||||
this.row.msg1 = '상태를 체크해 주세요.';
|
||||
this.$refs.commmonModal.alertModalOpen(this.row);
|
||||
this.$refs.commmonModal.alertSysModalOpen(this.row);
|
||||
return false;
|
||||
}
|
||||
|
||||
if (this.checkedAuthMenu.length == 0) {
|
||||
this.row.title = '시스템관리';
|
||||
this.row.msg1 = '메뉴 권한 체크를 해주세요.';
|
||||
this.$refs.commmonModal.alertModalOpen(this.row);
|
||||
this.$refs.commmonModal.alertSysModalOpen(this.row);
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -312,7 +312,7 @@ export default {
|
||||
this.row.title = '시스템관리';
|
||||
this.row.msg1 = '권한코드가 이미 존재합니다.';
|
||||
this.row.focusTaget = '2';
|
||||
this.$refs.commmonModal.alertModalOpen(this.row);
|
||||
this.$refs.commmonModal.alertSysModalOpen(this.row);
|
||||
return false;
|
||||
|
||||
} else {
|
||||
@@ -320,7 +320,7 @@ export default {
|
||||
this.row.title = '시스템관리';
|
||||
this.row.msg1 = '실패 하였습니다.';
|
||||
this.row.focusTaget = '0';
|
||||
this.$refs.commmonModal.alertModalOpen(this.row);
|
||||
this.$refs.commmonModal.alertSysModalOpen(this.row);
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -329,7 +329,7 @@ export default {
|
||||
this.row.title = '시스템관리';
|
||||
this.row.msg1 = '실패 하였습니다.';
|
||||
this.row.focusTaget = '0';
|
||||
this.$refs.commmonModal.alertModalOpen(this.row);
|
||||
this.$refs.commmonModal.alertSysModalOpen(this.row);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
<tbody>
|
||||
<tr class="tr_input w30">
|
||||
<th>권한명</th>
|
||||
<td colspan="5"><input type="text" v-model.trim="authNm" ref="_authNm"></td>
|
||||
<td colspan="5"><input type="text" v-model.trim="authNm" ref="_authNm" maxlength="100"></td>
|
||||
</tr>
|
||||
<tr class="tr_input w75">
|
||||
<th>권한 코드</th>
|
||||
@@ -28,7 +28,7 @@
|
||||
</tr>
|
||||
<tr class="tr_input w100">
|
||||
<th>권한 설명</th>
|
||||
<td colspan="5"><input type="text" v-model="authDesc"></td>
|
||||
<td colspan="5"><input type="text" v-model="authDesc" maxlength="100"></td>
|
||||
</tr>
|
||||
<tr class="tr_checkbox">
|
||||
<td class="check" rowspan="2">
|
||||
@@ -229,7 +229,7 @@ export default {
|
||||
this.row.title = '시스템관리';
|
||||
this.row.msg1 = '권한명을 입력해 주세요.';
|
||||
this.row.focusTaget = '1';
|
||||
this.$refs.commmonModal.alertModalOpen(this.row);
|
||||
this.$refs.commmonModal.alertSysModalOpen(this.row);
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -237,7 +237,7 @@ export default {
|
||||
this.row.title = '시스템관리';
|
||||
this.row.msg1 = '권한 코드를 입력해 주세요.';
|
||||
this.row.focusTaget = '2';
|
||||
this.$refs.commmonModal.alertModalOpen(this.row);
|
||||
this.$refs.commmonModal.alertSysModalOpen(this.row);
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -245,21 +245,21 @@ export default {
|
||||
this.row.title = '시스템관리';
|
||||
this.row.msg1 = '권한코드는 영문과 숫자포함 최대4자리까지 입력해주세요.';
|
||||
this.row.focusTaget = '2';
|
||||
this.$refs.commmonModal.alertModalOpen(this.row);
|
||||
this.$refs.commmonModal.alertSysModalOpen(this.row);
|
||||
return false;
|
||||
}
|
||||
|
||||
if (this.isNull(this.stat)) {
|
||||
this.row.title = '시스템관리';
|
||||
this.row.msg1 = '상태를 체크해 주세요.';
|
||||
this.$refs.commmonModal.alertModalOpen(this.row);
|
||||
this.$refs.commmonModal.alertSysModalOpen(this.row);
|
||||
return false;
|
||||
}
|
||||
|
||||
if (this.checkedAuthMenu.length == 0) {
|
||||
this.row.title = '시스템관리';
|
||||
this.row.msg1 = '메뉴 권한 체크를 해주세요.';
|
||||
this.$refs.commmonModal.alertModalOpen(this.row);
|
||||
this.$refs.commmonModal.alertSysModalOpen(this.row);
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -305,7 +305,7 @@ export default {
|
||||
this.row.title = '시스템관리';
|
||||
this.row.msg1 = '실패 하였습니다.';
|
||||
this.row.focusTaget = '0';
|
||||
this.$refs.commmonModal.alertModalOpen(this.row);
|
||||
this.$refs.commmonModal.alertSysModalOpen(this.row);
|
||||
return false;
|
||||
}
|
||||
} catch (err) {
|
||||
@@ -313,7 +313,7 @@ export default {
|
||||
this.row.title = '시스템관리';
|
||||
this.row.msg1 = '실패 하였습니다.';
|
||||
this.row.focusTaget = '0';
|
||||
this.$refs.commmonModal.alertModalOpen(this.row);
|
||||
this.$refs.commmonModal.alertSysModalOpen(this.row);
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -362,7 +362,7 @@ export default {
|
||||
this.row.title = '시스템관리';
|
||||
this.row.msg1 = '실패 하였습니다.';
|
||||
this.row.focusTaget = '0';
|
||||
this.$refs.commmonModal.alertModalOpen(this.row);
|
||||
this.$refs.commmonModal.alertSysModalOpen(this.row);
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -371,7 +371,7 @@ export default {
|
||||
this.row.title = '시스템관리';
|
||||
this.row.msg1 = '실패 하였습니다.';
|
||||
this.row.focusTaget = '0';
|
||||
this.$refs.commmonModal.alertModalOpen(this.row);
|
||||
this.$refs.commmonModal.alertSysModalOpen(this.row);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user