mirror of
http://git.mhez-qa.uplus.co.kr/hubez/hubez-admin.git
synced 2025-12-07 02:02:58 +09:00
TC 수정
This commit is contained in:
@@ -151,10 +151,6 @@ export default {
|
||||
this.nData = [];
|
||||
this.oData = [];
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
const file = event.target.files[0];
|
||||
|
||||
// 파일 개수 제한
|
||||
@@ -320,14 +316,21 @@ export default {
|
||||
if (result != null && result.retCode == '0000') {
|
||||
//this.totalCnt = result.data.totalCnt;
|
||||
this.successCnt = result.data.successCnt;
|
||||
this.failCnt = Number(this.failCnt) + Number(result.data.failCnt);
|
||||
console.log(this.oData.length);
|
||||
this.failCnt = Number(this.oData.length) + Number(result.data.failCnt);
|
||||
|
||||
if (result.data.failCnt > 0) {
|
||||
this.row.totalCnt = this.insertRowCnt
|
||||
this.row.successCnt = this.successCnt
|
||||
this.row.failCnt = this.failCnt
|
||||
this.oData = [];
|
||||
this.nData = [];
|
||||
this.$refs.file.value = null;
|
||||
this.$parent.$refs.validationConfirmPopModal.failFileuploadOpen(this.row);
|
||||
} else {
|
||||
this.oData = [];
|
||||
this.nData = [];
|
||||
this.$refs.file.value = null;
|
||||
this.$parent.$refs.validationConfirmPopModal.successFileuploadOpen();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user