feat(member): 회원 수정 다이얼로그에 AGENT(에이전트) 타입 추가
- 라디오 그룹에 `AGENT` 옵션(라벨: "에이전트") 추가 - `showPopupDialog`에서 서버값 '에이전트' → 내부값 'AGENT' 매핑 로직 추가 - `modify`의 변경 없음 판단 로직에 AGENT ↔ 에이전트 비교 조건 반영
This commit is contained in:
@@ -183,6 +183,10 @@
|
|||||||
value="CREATOR"
|
value="CREATOR"
|
||||||
label="크리에이터"
|
label="크리에이터"
|
||||||
/>
|
/>
|
||||||
|
<v-radio
|
||||||
|
value="AGENT"
|
||||||
|
label="에이전트"
|
||||||
|
/>
|
||||||
<v-radio
|
<v-radio
|
||||||
value="USER"
|
value="USER"
|
||||||
label="일반회원"
|
label="일반회원"
|
||||||
@@ -445,6 +449,8 @@ export default {
|
|||||||
this.user_type = 'USER'
|
this.user_type = 'USER'
|
||||||
} else if (member.userType === '크리에이터') {
|
} else if (member.userType === '크리에이터') {
|
||||||
this.user_type = 'CREATOR'
|
this.user_type = 'CREATOR'
|
||||||
|
} else if (member.userType === '에이전트') {
|
||||||
|
this.user_type = 'AGENT'
|
||||||
}
|
}
|
||||||
|
|
||||||
this.email = member.email
|
this.email = member.email
|
||||||
@@ -512,7 +518,8 @@ export default {
|
|||||||
|
|
||||||
if (
|
if (
|
||||||
(this.user_type === 'CREATOR' && this.member.userType === '크리에이터') ||
|
(this.user_type === 'CREATOR' && this.member.userType === '크리에이터') ||
|
||||||
(this.user_type === 'USER' && this.member.userType === '일반회원')
|
(this.user_type === 'USER' && this.member.userType === '일반회원') ||
|
||||||
|
(this.user_type === 'AGENT' && this.member.userType === '에이전트')
|
||||||
) {
|
) {
|
||||||
this.notifyError("변경사항이 없습니다.")
|
this.notifyError("변경사항이 없습니다.")
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user