어드민 고객 정보 수정 (화면 구성 변경 및 사용자 라인 타입 수정)

This commit is contained in:
kubo8
2022-11-08 16:20:26 +09:00
parent 22408a2178
commit a131c45400
11 changed files with 207 additions and 81 deletions

View File

@@ -42,6 +42,16 @@
<td><input type="email" v-model.trim="email" ref="_email" @keypress="onlyEmail" @input="onlyEmail"
maxlength="100"></td>
</tr>
<tr>
<th>라인타입</th>
<td>
<select name="" id="" v-model="lineType">
<option value="NORMAL">일반</option>
<option value="BATCH">배치</option>
<option value="REAL">실시간</option>
</select>
</td>
</tr>
<tr>
<th class="center">상태</th>
<td>
@@ -106,6 +116,7 @@ export default {
userPwd1: "",
userPwd2: "",
code: "",
lineType:"",
userStat: "",
}
},
@@ -122,6 +133,7 @@ export default {
this.userNm = result.data.userNm;
this.email = result.data.email;
this.mdn = result.data.mdn;
this.lineType = result.data.lineType;
this.userStat = result.data.userStat;
} else {
this.row.title = '청약고객관리';
@@ -153,6 +165,7 @@ export default {
this.row.userNm = this.userNm;
this.row.userEmail = this.email;
this.row.mdn = this.mdn;
this.row.lineType = this.lineType;
this.row.userStat = this.userStat;
try {
const response = await custMgtApi.updateUser(this.row);