Merge remote-tracking branch 'origin/dev_2nd_LCYH' into dev_2nd_LCYH

This commit is contained in:
wangzhijiang
2023-03-30 14:10:39 +08:00
5 changed files with 25 additions and 6 deletions
+2
View File
@@ -1739,5 +1739,7 @@ module.exports = {
verifyConformanceConfirmation:'Verify conformance confirmation', verifyConformanceConfirmation:'Verify conformance confirmation',
designConformanceVerification:'Design conformance verification', designConformanceVerification:'Design conformance verification',
nomorethan:'No more than 10', nomorethan:'No more than 10',
uploadedfilelarger:'The uploaded file is larger than 50 MB',
marketCertificationList:'Market Certification List',
uploadedfilelarger:'The uploaded file is larger than', uploadedfilelarger:'The uploaded file is larger than',
} }
+2
View File
@@ -1842,4 +1842,6 @@ module.exports = {
designConformanceVerification:'设计符合性确认', designConformanceVerification:'设计符合性确认',
nomorethan:'不能超过10个', nomorethan:'不能超过10个',
uploadedfilelarger:'文件大于', uploadedfilelarger:'文件大于',
uploadedfilelarger:'文件大于50M',
marketCertificationList:'市场认证清单',
} }
@@ -168,7 +168,7 @@ export default {
ids:this.ids ids:this.ids
} }
this.confirmLoading = true this.confirmLoading = true
postAction('ota/otaBaSjList/batchRecord', query).then((res) => { postAction('ota/otaBaCxList/batchRecord', query).then((res) => {
if (res.success) { if (res.success) {
this.$message.success(this.$t('OperationSuccessful')) this.$message.success(this.$t('OperationSuccessful'))
this.visible = false this.visible = false
@@ -15,10 +15,10 @@
<a-row :gutter="24"> <a-row :gutter="24">
<a-col :md="12" :sm="8"> <a-col :md="12" :sm="8">
<div class="box-title-text"> <div class="box-title-text">
<div class="title-text" :title="$t('CertificationListName')"> <div class="title-text" :title="$t('marketCertificationList')">
<span>{{$t('CertificationListName')}}</span> <span>{{$t('marketCertificationList')}}</span>
</div> </div>
<j-input class="box-input" :placeholder="$t('PleaseEnter')+$t('CertificationListName')" <j-input class="box-input" :placeholder="$t('PleaseEnter')+$t('marketCertificationList')"
v-model="queryParam.name"></j-input> v-model="queryParam.name"></j-input>
</div> </div>
</a-col> </a-col>
@@ -87,7 +87,7 @@
selectedRowKeys: [], selectedRowKeys: [],
columns: [ columns: [
{ {
title: this.$t('CertificationListName'), title: this.$t('marketCertificationList'),
dataIndex: 'name', dataIndex: 'name',
align: 'left', align: 'left',
ellipsis: true, ellipsis: true,
@@ -242,7 +242,22 @@ export default {
}).then((res) => { }).then((res) => {
if (res.success) { if (res.success) {
this.confirmLoading = false this.confirmLoading = false
this.$message.success(this.$t('OperationSuccessful')) if (res.result && res.result.length > 0) {
let detailedWarningList = []
res.result.forEach(val => {
detailedWarningList.push(
< div > { val } < /div>)
})
this.$warning({
content: (
< div >
{ detailedWarningList }
< /div>
)
})
} else {
this.$message.success(this.$t('OperationSuccessful'))
}
this.visible = false this.visible = false
this.selectedRowKeys = [] this.selectedRowKeys = []
this.$emit('transferListFormHomo') this.$emit('transferListFormHomo')