OTA管理工具-注释

This commit is contained in:
刘彦泽
2023-03-27 14:22:38 +08:00
parent 1c084fffa1
commit 4a216291ba
2 changed files with 13 additions and 9 deletions
@@ -70,7 +70,7 @@
<span slot="hardwareversioninformation" slot-scope="text,record">
<a-input :placeholder="$t('pleaseEnter')" v-model="record.yjbbxx" :max-length="500"></a-input>
</span>
<span slot="softwaredevelopmententerprise" slot-scope="text,record">
<a-input :placeholder="$t('pleaseEnter')" v-model="record.yjbbxx" :max-length="500"></a-input>
</span>
@@ -93,10 +93,10 @@
}}</a-button>
<div style='margin-top: 20px'>
<p>注:附件包括测试项目清单、测试报告.测试标准或技术规范</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;支持doc/docx/pdf格式,大小50M以内</p>
<p>{{ $t('note') }}</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;{{ $t('format') }}</p>
</div>
</div>
<div class="bootom-button">
<a-button style="margin-right:50px" @click="save">{{$t('preservation')}}</a-button>
@@ -317,7 +317,7 @@ import ImportFile from '@/components/ImportFileData/index'
otaIdT=''
}
getAction('/ota/otaBaCxKsjjsmccs/queryByOtaId',{otaIdT:otaIdT,otaId:localStorage.getItem('otaId')}).then(res=>{
if(res.code==200){
if(res.code==200){
if(res.result.list.length==0){
this.dataSource=[
{
@@ -38,6 +38,10 @@
</a-button>
</span>
</a-table>
<div style='margin-top: 20px'>
<p>{{ $t('note') }}</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;{{ $t('format') }}</p>
</div>
<div class="bootom-button">
<a-button class='btn' @click="save">{{$t('preservation')}}</a-button>
<a-button type="primary" style='width: 73px;margin-right: 50px' @click='last'>{{$t('last')}}</a-button>
@@ -182,10 +186,10 @@ import ImportFile from '@/components/ImportFileData/index'
// this.getList()
this.getData()
},
methods: {
// 模板下载
handleModule() {
downloadFile('ota/otaBaCxAqcs/exportTemplate', '安全措施' + '.zip', {})
},
@@ -196,7 +200,7 @@ import ImportFile from '@/components/ImportFileData/index'
}
getAction('/ota/otaBaCxAqcs/queryByOtaId',{otaIdT:otaIdT,otaId:localStorage.getItem('otaId')}).then(res=>{
if(res.code == 200){
this.dataSource[0].info = res.result.bhjz
this.dataSource[1].info =res.result.fsxjz
// this.dataSource[2].info= Number(res.result.sjsbcs)== 0 ? undefined :Number(res.result.sjsbcs)
@@ -211,7 +215,7 @@ import ImportFile from '@/components/ImportFileData/index'
this.loading = false
}
})
},
uploadSuccess(data) {
let attIdList = []