OTA管理工具-注释
This commit is contained in:
@@ -1721,4 +1721,5 @@ module.exports = {
|
||||
cantTransferToYourself:"Can't transfer to yourself",
|
||||
theDataYouInitiate:'The data you selected does not meet the process initiation criteria. Please recheck and initiate',
|
||||
dataWithProcessReleasedCannotBeReset:'Data with a process status of list to be released cannot be reset',
|
||||
noteone:'Note: CSV format is supported. The value is within 20M and the number is 1 to 10',
|
||||
}
|
||||
@@ -1821,6 +1821,7 @@ module.exports = {
|
||||
note:'注:附件包括测试项目清单、测试报告.测试标准或技术规范',
|
||||
format:'支持doc/docx/pdf格式,大小50M以内',
|
||||
cantTransferToYourself:"不能转办给自己",
|
||||
noteone:'注:支持CSV格式,大小20M以内,数量1-10个',
|
||||
theDataYouInitiate:'您所选的数据,均不符合流程发起条件,请重新检查后发起',
|
||||
dataWithProcessReleasedCannotBeReset:'流程状态为清单待发布的数据不能被重置',
|
||||
}
|
||||
+8
-4
@@ -43,9 +43,9 @@
|
||||
<span slot="upgradetheelectroniccontrollerinvolved" slot-scope="text,record">
|
||||
<a-input :placeholder="$t('pleaseEnter')" :title="$t('ifNot')" v-model="record.sjsjkzq"></a-input>
|
||||
</span>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- 操作列-->
|
||||
<span slot="operation" slot-scope="text,record">
|
||||
<a class="text-operation" @click="addlineAtBot">{{$t('add')}}</a>
|
||||
@@ -54,6 +54,10 @@
|
||||
</a-table>
|
||||
<div>
|
||||
<a-button @click="clickButtonToUpload" type="primary">{{$t('uploadattachment')}}</a-button>
|
||||
<div style='margin-top: 20px'>
|
||||
<p>{{$t('note')}}</p>
|
||||
<p> {{$t('format')}}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="bootom-button">
|
||||
<a-button style="margin-right:50px">{{$t('preservation')}}</a-button>
|
||||
@@ -79,7 +83,7 @@ export default {
|
||||
return {
|
||||
dataSource: [
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
],
|
||||
loading: false,
|
||||
|
||||
+6
-6
@@ -76,16 +76,16 @@
|
||||
<a-button type="primary" class="button-text"
|
||||
@click="clickButtonToUpload('VINcodelist')">
|
||||
{{ (formInline.VINcodelist === 'null' || formInline.VINcodelist === '' ||
|
||||
formInline.VINcodelist == null) ? $t('clickUpload') : $t('viewUploadedFiles')
|
||||
formInline.VINcodelist == null) ? $t('VINcodeupload') : $t('viewUploadedFiles')
|
||||
}}
|
||||
</a-button>
|
||||
<p>支持cxv格式,大下20M以内,数量1-10个</p>
|
||||
<p>{{$t('noteone')}}</p>
|
||||
<uploadFile ref="uploadFile" @uploadSuccess="uploadSuccess"></uploadFile>
|
||||
</a-form-model-item>
|
||||
</div>
|
||||
</a-col>
|
||||
</a-row>
|
||||
|
||||
|
||||
</a-form-model>
|
||||
</a-spin>
|
||||
<div class="bootom-button">
|
||||
@@ -148,18 +148,18 @@ export default {
|
||||
})
|
||||
},
|
||||
save(){
|
||||
|
||||
|
||||
let obj={}
|
||||
obj.otaId=localStorage.getItem('otaId')
|
||||
obj.zsl = this.formInline.zsl
|
||||
if(this.formInline.dateofproduction){
|
||||
obj.scrqks = this.formInline.dateofproduction[0]
|
||||
obj.scrqks = this.formInline.dateofproduction[0]
|
||||
obj.scrqjs = this.formInline.dateofproduction[1]
|
||||
}else{
|
||||
obj.scrqks=''
|
||||
obj.scrqjs =''
|
||||
}
|
||||
|
||||
|
||||
obj.vinList = this.formInline.vinList
|
||||
postAction('/ota/otaBaSjSjmbcl/add',obj).then(res=>{
|
||||
this.$message.success(this.$t('SavedSuccessfully'))
|
||||
|
||||
+2
-5
@@ -66,9 +66,6 @@
|
||||
<a class="text-operation" @click="deleteData(record)" v-if="dataSource.length > 1">{{$t('delete')}}</a>
|
||||
</span>
|
||||
</a-table>
|
||||
<div>
|
||||
<a-button @click="clickButtonToUpload" type="primary">{{$t('uploadattachment')}}</a-button>
|
||||
</div>
|
||||
<div class="bootom-button">
|
||||
<a-button style="margin-right:50px" @click="save">{{$t('preservation')}}</a-button>
|
||||
<a-button type="primary" style='width: 73px;margin-right: 50px' @click='last'>{{$t('last')}}</a-button>
|
||||
@@ -146,7 +143,7 @@ export default {
|
||||
ellipsis: true,
|
||||
width: 170,
|
||||
scopedSlots: { customRender: 'nameoftheupgradedelectroniccontroller' },
|
||||
|
||||
|
||||
},
|
||||
{
|
||||
title: this.$t('adaptivehardwareversion'),
|
||||
@@ -188,7 +185,7 @@ export default {
|
||||
width: 170,
|
||||
scopedSlots: { customRender: 'aftertheoperatingsystemversionupgraded' },
|
||||
},
|
||||
|
||||
|
||||
{
|
||||
title: this.$t('upgradepackageintegrityverificationdata'),
|
||||
align: 'left',
|
||||
|
||||
@@ -158,6 +158,7 @@
|
||||
formInline.xgwj == null) ? $t('uploadattachment') : $t('viewUploadedFiles')
|
||||
}}
|
||||
</a-button>
|
||||
<p>{{$t('format')}}</p>
|
||||
</a-form-model-item>
|
||||
</div>
|
||||
</a-col>
|
||||
|
||||
Reference in New Issue
Block a user