fix: PCF文件上传结果显示内容
This commit is contained in:
@@ -545,6 +545,7 @@ export default {
|
|||||||
imsiTip2: 'MNC = Mobile Network Number, consisting of two digits',
|
imsiTip2: 'MNC = Mobile Network Number, consisting of two digits',
|
||||||
imsiTip3: 'MSIN = Mobile Subscriber Identification Number, consisting of 10 equal digits.',
|
imsiTip3: 'MSIN = Mobile Subscriber Identification Number, consisting of 10 equal digits.',
|
||||||
delSure:'Are you sure you want to delete the user with IMSI number: {imsi}?',
|
delSure:'Are you sure you want to delete the user with IMSI number: {imsi}?',
|
||||||
|
uploadFileOk: 'File Upload Successful',
|
||||||
uploadFileErr: 'File Upload Failed',
|
uploadFileErr: 'File Upload Failed',
|
||||||
},
|
},
|
||||||
base5G: {
|
base5G: {
|
||||||
|
|||||||
@@ -545,6 +545,7 @@ export default {
|
|||||||
imsiTip2: 'MNC=移动网络号,由两位数字组成',
|
imsiTip2: 'MNC=移动网络号,由两位数字组成',
|
||||||
imsiTip3: 'MSIN=移动客户识别码,采用等长10位数字构成',
|
imsiTip3: 'MSIN=移动客户识别码,采用等长10位数字构成',
|
||||||
delSure:'确认删除IMSI编号为: {imsi} 的用户吗?',
|
delSure:'确认删除IMSI编号为: {imsi} 的用户吗?',
|
||||||
|
uploadFileOk: '文件上传成功',
|
||||||
uploadFileErr: '文件上传失败',
|
uploadFileErr: '文件上传失败',
|
||||||
},
|
},
|
||||||
base5G: {
|
base5G: {
|
||||||
|
|||||||
@@ -469,7 +469,9 @@ function fnModalUploadImportUpload(file: File) {
|
|||||||
return res;
|
return res;
|
||||||
})
|
})
|
||||||
.then(res => {
|
.then(res => {
|
||||||
if (res.code === RESULT_CODE_SUCCESS && res.data?.detail) {
|
if (res.code === RESULT_CODE_SUCCESS && res.data?.filePath) {
|
||||||
|
uploadImportState.msg = t('views.neUser.pcf.uploadFileOk');
|
||||||
|
} else if (res.code === RESULT_CODE_SUCCESS && res.data?.detail) {
|
||||||
uploadImportState.msg = res.data?.detail;
|
uploadImportState.msg = res.data?.detail;
|
||||||
} else {
|
} else {
|
||||||
uploadImportState.msg = t('views.neUser.pcf.uploadFileErr');
|
uploadImportState.msg = t('views.neUser.pcf.uploadFileErr');
|
||||||
|
|||||||
Reference in New Issue
Block a user