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

This commit is contained in:
高嵩
2023-03-26 16:59:43 +08:00
10 changed files with 186 additions and 70 deletions
+5 -5
View File
@@ -1646,13 +1646,13 @@ module.exports = {
ifanupgrademayaffectvehiclesafety:'当执行升级可能影响车辆安全时,应在升级执行过程中通过技术手段确保车辆安全', ifanupgrademayaffectvehiclesafety:'当执行升级可能影响车辆安全时,应在升级执行过程中通过技术手段确保车辆安全',
iftheimplementationoftheupgradaffectsdrivingsafety:'若升级的执行影响驾驶安全,至少应满足:\n' + iftheimplementationoftheupgradaffectsdrivingsafety:'若升级的执行影响驾驶安全,至少应满足:\n' +
'\n' + '\n' +
'(a)确保升级执行期间无法驾驶车辆;\n' + '(a)确保升级执行期间无法驾驶车辆;\n' +
'\n' + '\n' +
'(b)确保驾驶员不能使用任何可能影响车辆安全或成功执行升级的车辆功能', '(b)确保驾驶员不能使用任何可能影响车辆安全或成功执行升级的车辆功能',
ensurethatthevehicleisinasafecondition:'若升级失败或中断,车辆能够恢复到以前的可用版本,或确保车辆处于安全状态。', ensurethatthevehicleisinasafecondition:'若升级失败或中断,车辆能够恢复到以前的可用版本,或确保车辆处于安全状态。',
priortotheexecutionoftheupgrade:'在升级执行前,应告知车辆用户升级信息,告知的信息应包括:\n' + priortotheexecutionoftheupgrade:'在升级执行前,应告知车辆用户升级信息,告知的信息应包括:\n' +
'\n' + '\n' +
'(a)升级目的;\n' + '(a)升级目的;\n' +
'\n' + '\n' +
'(b)车辆功能升级所实施的任何变更;\n' + '(b)车辆功能升级所实施的任何变更;\n' +
'\n' + '\n' +
@@ -1663,9 +1663,9 @@ module.exports = {
'(e)可能帮助车辆用户安全执行升级的任何指导信息。', '(e)可能帮助车辆用户安全执行升级的任何指导信息。',
afterperformingtheupgrade:'在执行升级后,车辆应:\n' + afterperformingtheupgrade:'在执行升级后,车辆应:\n' +
'\n' + '\n' +
'(a))告知车辆用户车辆升级的结果(成功或失败);\n' + '(a)告知车辆用户车辆升级的结果(成功或失败);\n' +
'\n' + '\n' +
'(b)若升级成功,告知车辆用户已实施的变更,用户手册(如果适用)的任何相关更新。', '(b)若升级成功,告知车辆用户已实施的变更,用户手册(如果适用)的任何相关更新。',
upgradepacketprotectionmeasures:'升级包保护措施', upgradepacketprotectionmeasures:'升级包保护措施',
otaupgradedsecuritymeasuresforvehicles:'车辆OTA升级安全措施', otaupgradedsecuritymeasuresforvehicles:'车辆OTA升级安全措施',
authenticityandintegrityprotectionmechanism:'真实性、完整性保护机制(可多选)', authenticityandintegrityprotectionmechanism:'真实性、完整性保护机制(可多选)',
@@ -1762,7 +1762,7 @@ module.exports = {
notifiestheuseroftheupgradesuccessorfailure:'告知用户升级成功或失败', notifiestheuseroftheupgradesuccessorfailure:'告知用户升级成功或失败',
informimplementationchanges:'告知实施的变更', informimplementationchanges:'告知实施的变更',
allupdatestotheusermanualareinformed:'告知了对用户手册的全部更新内容', allupdatestotheusermanualareinformed:'告知了对用户手册的全部更新内容',
usernotificationmode:'告知用户方式', usernotificationmode:'告知用户方式(可多选)',
userinformstherelevantfile:'用户告知相关文件', userinformstherelevantfile:'用户告知相关文件',
taskname:'任务名称', taskname:'任务名称',
updatereleasetime:'升级发布时间', updatereleasetime:'升级发布时间',
@@ -12,71 +12,150 @@
</div> </div>
<a-spin :spinning="confirmLoading"> <a-spin :spinning="confirmLoading">
<a-form-model class="formAdd" ref="ruleForm"> <a-form-model class="formAdd" ref="ruleForm">
<h1 style='margin-left: 20%;'>{{$t('beforetheupgrade')}}</h1>
<a-row :gutter="24"> <a-row :gutter="24">
<a-col :span="24"> <a-col :span="24">
<div class="box-title-text-add"> <div class="box-title-text-add">
<div class="title-text-add"> <div class="title-text-add">
<span class="title-text-text" :title="$t('totalquantity')">{{$t('totalquantity')}}</span> <span class="title-text-text" :title="$t('pgradepurpose')">{{$t('pgradepurpose')}}</span>
</div> </div>
<a-form-model-item class="itemModel" prop="dutyTerritory"> <a-form-model-item class="itemModel" prop="sjmd">
<a-input class="box-input" <a-input class="box-input"
:disabled="disabled" :disabled="disabled"
:placeholder="$t('PleaseSelect')"></a-input> v-model='formInline.sjmd'
:placeholder="$t('pleaseEnter')"></a-input>
</a-form-model-item> </a-form-model-item>
</div> </div>
</a-col> </a-col>
<a-col :span="24"> <a-col :span="24">
<div class="box-title-text-add"> <div class="box-title-text-add">
<div class="title-text-add"> <div class="title-text-add">
<!-- <span class="Required">*</span>--> <span class="title-text-text" :title="$t('vehiclefunctionalityasaresultofsoftwareupgradeactivities')">{{$t('vehiclefunctionalityasaresultofsoftwareupgradeactivities')}}</span>
<span class="title-text-text" :title="$t('dateofproduction')">
{{$t('dateofproduction')}}</span>
</div> </div>
<a-form-model-item class="itemModel" prop="dateofproduction"> <a-form-model-item class="itemModel" prop="gxbh">
<a-date-picker class="box-input" <a-input class="box-input"
:placeholder="$t('PleaseSelect')+$t('dateofproduction')" :disabled="disabled"
@change="dateChange({db_field_name:'dateofproduction'})" v-model='formInline.gxbh'
format="YYYY-MM-DD" :placeholder="$t('pleaseEnter')"></a-input>
:getCalendarContainer="(trigger) => trigger.parentNode"
v-model="formInline.dateofproduction"
:disabled="false"
style="width: 100%"/>
</a-form-model-item> </a-form-model-item>
</div> </div>
</a-col> </a-col>
<a-col :span="24"> <a-col :span="24">
<div class="box-title-text-add"> <div class="box-title-text-add">
<div class="title-text-add"> <div class="title-text-add">
<!-- <span class="Required">*</span>--> <span class="title-text-text" :title="$t('estimatedupgradeexecutionTime')">{{$t('estimatedupgradeexecutionTime')}}</span>
<span class="title-text-text" :title="$t('VINcodelist')">
{{$t('VINcodelist')}}</span>
</div> </div>
<a-form-model-item class="itemModel" prop="VINcodelist"> <a-form-model-item class="itemModel" prop="sjsj">
<a-textarea :placeholder="$t('pleaseEnter')+$t('VINcodelist')" <a-input class="box-input"
v-model="formInline.VINcodelist" :disabled="disabled"
:rows="4"/> v-model='formInline.sjsj'
:placeholder="$t('pleaseEnter')"></a-input>
</a-form-model-item> </a-form-model-item>
<!-- <a-form-model-item class="itemModel" prop="VINcodelist">-->
<!-- <a-button type="primary" class="button-text"-->
<!-- @click="clickButtonToUpload('VINcodelist')">-->
<!-- {{ (formInline.VINcodelist === 'null' || formInline.VINcodelist === '' ||-->
<!-- formInline.VINcodelist == null) ? $t('clickUpload') : $t('viewUploadedFiles')-->
<!-- }}-->
<!-- </a-button>-->
<!-- </a-form-model-item>-->
</div> </div>
</a-col> </a-col>
<a-col :span="24"> <a-col :span="24">
<div class="box-title-text-add"> <div class="box-title-text-add">
<div class="title-text-add"> <div class="title-text-add">
<!-- <span class="Required">*</span>--> <span class="title-text-text" :title="$t('upgradeexecutionperiodasksifthevehicleisusable')">{{$t('upgradeexecutionperiodasksifthevehicleisusable')}}</span>
<span class="title-text-text"></span>
</div> </div>
<a-form-model-item class="itemModel" prop="VINcodelist"> <a-form-model-item class="itemModel" prop="sjky">
<a-button type="primary" class="button-text" <a-input class="box-input"
@click="clickButtonToUpload('VINcodelist')"> :disabled="disabled"
{{ (formInline.VINcodelist === 'null' || formInline.VINcodelist === '' || v-model='formInline.sjky'
formInline.VINcodelist == null) ? $t('clickUpload') : $t('viewUploadedFiles') :placeholder="$t('pleaseEnter')"></a-input>
</a-form-model-item>
</div>
</a-col>
<a-col :span="24">
<div class="box-title-text-add">
<div class="title-text-add">
<span class="title-text-text" :title="$t('vehiclefeaturesthatarenotavailableduringupgradeexecution')">{{$t('vehiclefeaturesthatarenotavailableduringupgradeexecution')}}</span>
</div>
<a-form-model-item class="itemModel" prop="sjbkygn">
<a-input class="box-input"
:disabled="disabled"
v-model='formInline.sjbkygn'
:placeholder="$t('pleaseEnter')"></a-input>
</a-form-model-item>
</div>
</a-col>
<a-col :span="24">
<div class="box-title-text-add">
<div class="title-text-add">
<span class="title-text-text" :title="$t('vehicleusersafelyperformtheupgrade')">{{$t('vehicleusersafelyperformtheupgrade')}}</span>
</div>
<a-form-model-item class="itemModel" prop="zdxx">
<a-input class="box-input"
:disabled="disabled"
v-model='formInline.zdxx'
:placeholder="$t('pleaseEnter')"></a-input>
</a-form-model-item>
</div>
</a-col>
<h1 style='margin-left: 20%;'>{{$t('aftertheupgrade')}}</h1>
<a-col :span="24">
<div class="box-title-text-add">
<div class="title-text-add">
<span class="title-text-text" :title="$t('notifiestheuseroftheupgradesuccessorfailure')">{{$t('notifiestheuseroftheupgradesuccessorfailure')}}</span>
</div>
<a-form-model-item class="itemModel" prop="sjsfcg">
<a-radio-group v-model="formInline.sjsfcg">
<a-radio :value="1"> {{ $t('yes') }} </a-radio>
<a-radio :value="2"> {{ $t('not') }} </a-radio>
</a-radio-group>
</a-form-model-item>
</div>
</a-col>
<a-col :span="24">
<div class="box-title-text-add">
<div class="title-text-add">
<span class="title-text-text" :title="$t('informimplementationchanges')">{{$t('informimplementationchanges')}}</span>
</div>
<a-form-model-item class="itemModel" prop="gzbg">
<a-radio-group v-model="formInline.gzbg">
<a-radio :value="1"> {{ $t('yes') }} </a-radio>
<a-radio :value="2"> {{ $t('not') }} </a-radio>
</a-radio-group>
</a-form-model-item>
</div>
</a-col>
<a-col :span="24">
<div class="box-title-text-add">
<div class="title-text-add">
<span class="title-text-text" :title="$t('allupdatestotheusermanualareinformed')">{{$t('allupdatestotheusermanualareinformed')}}</span>
</div>
<a-form-model-item class="itemModel" prop="gzscnr">
<a-radio-group v-model="formInline.gzscnr">
<a-radio :value="1"> {{ $t('yes') }} </a-radio>
<a-radio :value="2"> {{ $t('not') }} </a-radio>
</a-radio-group>
</a-form-model-item>
</div>
</a-col>
<a-col :span="24">
<div class="box-title-text-add">
<div class="title-text-add">
<span class="title-text-text" :title="$t('usernotificationmode')">{{$t('usernotificationmode')}}</span>
</div>
<a-form-model-item class="itemModel" prop="gzyhfs">
<j-multi-select-tag class="box-input"
v-model="formInline.gzyhfs"
:placeholder="$t('PleaseSelect')"
:type="'select'"
:dictCode="'user_notification_mode'"
:triggerChange="false"/>
</a-form-model-item>
</div>
</a-col>
<a-col :span="24">
<div class="box-title-text-add">
<div class="title-text-add">
<span class="title-text-text" :title="$t('allupdatestotheusermanualareinformed')">{{$t('allupdatestotheusermanualareinformed')}}</span>
</div>
<a-form-model-item class="itemModel" prop="gzscnr">
<a-button type="primary" @click="clickButtonToUpload('xgwj')" v-model="formInline.xgwj">
{{ (formInline.xgwj === 'null' || formInline.xgwj === '' ||
formInline.xgwj == null) ? $t('uploadattachment') : $t('viewUploadedFiles')
}} }}
</a-button> </a-button>
</a-form-model-item> </a-form-model-item>
@@ -90,18 +169,21 @@
<a-button type="primary" style='width: 73px;margin-right: 50px' @click='last'>{{$t('last')}}</a-button> <a-button type="primary" style='width: 73px;margin-right: 50px' @click='last'>{{$t('last')}}</a-button>
<a-button type="primary" style='width: 73px' @click='next'>{{$t('next')}}</a-button> <a-button type="primary" style='width: 73px' @click='next'>{{$t('next')}}</a-button>
</div> </div>
<uploadFile ref="uploadFile" @uploadSuccess="uploadSuccess"></uploadFile>
</div> </div>
</template> </template>
<script> <script>
import { getAction, postAction, deleteAction,downloadFile } from '@/api/manage' import { getAction, postAction, deleteAction,downloadFile } from '@/api/manage'
import ImportFile from '@/components/ImportFileData/index' import ImportFile from '@/components/ImportFileData/index'
import uploadFile from '@/components/uploadFile/file'
import moment from 'moment' import moment from 'moment'
export default { export default {
name: 'basicInformation', name: 'basicInformation',
components:{ components:{
ImportFile ImportFile,
uploadFile
}, },
data() { data() {
return { return {
@@ -121,15 +203,18 @@ export default {
handleModule() { handleModule() {
downloadFile('ota/otaBaSjGgnrfs/exportTemplate', '用户告知内容及方式' + '.zip', {}) downloadFile('ota/otaBaSjGgnrfs/exportTemplate', '用户告知内容及方式' + '.zip', {})
}, },
/** 上传文件的回调 */
next(){ uploadSuccess(data) {
this.$emit('recordparametersdown') let attIdList = []
}, if (data && data.length > 0) {
last(){ data.map(item => {
this.$emit('recordparametersup') attIdList.push(item.id || data.name)
}, })
dateChange(item) { }
this.formInline[item.db_field_name] = this.formInline[item.db_field_name] ? moment(this.formInline[item.db_field_name]).format('YYYY-MM-DD') : '' /** 赋值给当前对应的表单文件 */
this.formInline[this.uploadName] = attIdList.join(',')
this.formInline = { ...this.formInline }
this.$refs.ruleForm.clearValidate(['fileKey'])
}, },
clickButtonToUpload(item) { clickButtonToUpload(item) {
this.$refs.uploadFile.perentHandleFunc() this.$refs.uploadFile.perentHandleFunc()
@@ -143,6 +228,15 @@ export default {
} }
}) })
}, },
next(){
this.$emit('recordparametersdown')
},
last(){
this.$emit('recordparametersup')
},
dateChange(item) {
this.formInline[item.db_field_name] = this.formInline[item.db_field_name] ? moment(this.formInline[item.db_field_name]).format('YYYY-MM-DD') : ''
},
} }
} }
</script> </script>
@@ -150,7 +244,7 @@ export default {
<style lang="less" scoped> <style lang="less" scoped>
@import'~@assets/less/common.less'; @import'~@assets/less/common.less';
.box { .box {
height:500px; margin-bottom: 40px;
padding: 0 24px 24px 24px; padding: 0 24px 24px 24px;
box-sizing: border-box; box-sizing: border-box;
} }
@@ -162,14 +256,14 @@ export default {
} }
.title-text-add { .title-text-add {
width: 114px; width: 440px;
text-align: right; text-align: right;
display: inline-block; display: inline-block;
font-weight: 500; font-weight: 500;
font-size: 14px; font-size: 14px;
margin-right: 16px; margin-right: 16px;
overflow: hidden; //overflow: hidden;
text-overflow: ellipsis; //text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
height: 42px; height: 42px;
line-height: 42px; line-height: 42px;
@@ -132,7 +132,7 @@ export default {
columnshistory: [ columnshistory: [
{ {
title: this.$t('fillincontent'), title: this.$t('fillincontent'),
dataIndex: 'logContent', dataIndex: 'content',
align: 'left', align: 'left',
ellipsis: true, ellipsis: true,
scopedSlots: { customRender: 'content' }, scopedSlots: { customRender: 'content' },
@@ -140,7 +140,7 @@ export default {
}, },
{ {
title: this.$t('module'), title: this.$t('module'),
dataIndex: 'remarks', dataIndex: 'module',
align: 'left', align: 'left',
ellipsis: true, ellipsis: true,
width: 100, width: 100,
@@ -148,7 +148,7 @@ export default {
}, },
{ {
title: this.$t('completedBy'), title: this.$t('completedBy'),
dataIndex: 'createTime', dataIndex: 'createBy',
align: 'left', align: 'left',
ellipsis: true, ellipsis: true,
width: 130 width: 130
@@ -174,17 +174,16 @@ export default {
}, },
fillintherecordClick(){ fillintherecordClick(){
this.visible = true this.visible = true
return
this.bussLogList() this.bussLogList()
}, },
bussLogList(val) { bussLogList(val) {
let query = { let query = {
pageNo: this.pageNohistory, pageNo: this.pageNohistory,
pageSize: this.pageSizehistory, pageSize: this.pageSizehistory,
paramsReportDetailId: this.paramsReportDetailId otaId:localStorage.getItem('otaId')
} }
this.loading = true this.loading = true
getAction('report/detailLog/page', query).then((res) => { getAction('ota/otaBaCxTxjl/page', query).then((res) => {
if (res.success) { if (res.success) {
this.dataSourcehistory = res.result.records this.dataSourcehistory = res.result.records
this.total = res.result.total this.total = res.result.total
@@ -57,7 +57,7 @@
:disabled="disabled" :disabled="disabled"
class="box-input" class="box-input"
:placeholder="$t('pleaseEnter')" :placeholder="$t('pleaseEnter')"
v-model="form.djbh"> v-model.trim="form.djbh">
</a-input> </a-input>
</a-form-model-item> </a-form-model-item>
</div> </div>
@@ -243,7 +243,18 @@ import { message } from 'ant-design-vue'
importZipUrl: '/ota/otaBaCxJbxx/importData',//导入 importZipUrl: '/ota/otaBaCxJbxx/importData',//导入
}, },
form:{ form:{
txzd:'' cxmb:undefined,
txzd:'',
djbh:'',
qymc:'',
cplb:undefined,
cpsb:'',
ggpc:'',
cpmc:'',
cpxh:'',
dllx1:undefined,
dllx2:undefined,
cdotasj:'',
}, },
projectNameList1:['传统动力汽车','节能汽车','新能源汽车','其他'], projectNameList1:['传统动力汽车','节能汽车','新能源汽车','其他'],
projectNameList2:[], projectNameList2:[],
@@ -355,6 +366,7 @@ import { message } from 'ant-design-vue'
postAction('/ota/otaBaCxJbxx/add',{ otaId:localStorage.getItem('otaId'),...this.form}).then( res => { postAction('/ota/otaBaCxJbxx/add',{ otaId:localStorage.getItem('otaId'),...this.form}).then( res => {
if(res.code == 200){ if(res.code == 200){
localStorage.setItem('otaId', res.result.otaId) localStorage.setItem('otaId', res.result.otaId)
this.$message.success(this.$t('SavedSuccessfully'))
} }
}) })
} }
@@ -22,7 +22,7 @@
style="margin-bottom: 20px" style="margin-bottom: 20px"
> >
<span slot="functionname" slot-scope="text,record"> <span slot="functionname" slot-scope="text,record">
<a-input :placeholder="$t('ifNot')" v-model="record.gnmc" :max-length="500"></a-input> <a-input :placeholder="$t('pleaseEnter')" v-model="record.gnmc" :max-length="500"></a-input>
</span> </span>
<!-- 配置情况--> <!-- 配置情况-->
<span slot="configuration" slot-scope="text,record" > <span slot="configuration" slot-scope="text,record" >
@@ -91,8 +91,11 @@
<a-button @click="clickButtonToUpload(fileList)" type="primary"> {{ (fileList === 'null' || fileList === '' || <a-button @click="clickButtonToUpload(fileList)" type="primary"> {{ (fileList === 'null' || fileList === '' ||
fileList == null) ? $t('clickUpload') : $t('viewUploadedFiles') fileList == null) ? $t('clickUpload') : $t('viewUploadedFiles')
}}</a-button> }}</a-button>
<p>注:附件包括测试项目清单、测试报告.测试标准或技术规范</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;支持doc/docx/pdf格式,大小50M以内</p> <div style='margin-top: 20px'>
<p>注:附件包括测试项目清单、测试报告.测试标准或技术规范</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;支持doc/docx/pdf格式,大小50M以内</p>
</div>
</div> </div>
<div class="bootom-button"> <div class="bootom-button">
@@ -363,6 +366,7 @@ import ImportFile from '@/components/ImportFileData/index'
save(){ save(){
postAction('/ota/otaBaCxKsjjsmccs/add',{otaId:localStorage.getItem('otaId'),list:this.dataSource,fj:this.fileList}).then(res =>{ postAction('/ota/otaBaCxKsjjsmccs/add',{otaId:localStorage.getItem('otaId'),list:this.dataSource,fj:this.fileList}).then(res =>{
console.log(res); console.log(res);
this.$message.success(this.$t('SavedSuccessfully'))
}) })
}, },
last(){ last(){
@@ -69,6 +69,7 @@ export default {
if (valid) { if (valid) {
postAction('/ota/otaBaCxQt/add',{otaId:localStorage.getItem('otaId'),...this.queryParam}).then(res=>{ postAction('/ota/otaBaCxQt/add',{otaId:localStorage.getItem('otaId'),...this.queryParam}).then(res=>{
console.log(res); console.log(res);
this.$message.success(this.$t('SavedSuccessfully'))
}) })
} else { } else {
return false; return false;
@@ -949,6 +949,7 @@ export default {
kzq:this.dataSourceList kzq:this.dataSourceList
}).then( res => { }).then( res => {
console.log(res); console.log(res);
this.$message.success(this.$t('SavedSuccessfully'))
}) })
}, },
@@ -244,6 +244,7 @@ import ImportFile from '@/components/ImportFileData/index'
obj.zmclList = this.fileList.uploadName obj.zmclList = this.fileList.uploadName
postAction('/ota/otaBaCxAqcs/add',obj).then(res =>{ postAction('/ota/otaBaCxAqcs/add',obj).then(res =>{
console.log(res); console.log(res);
this.$message.success(this.$t('SavedSuccessfully'))
}) })
}, },
last(){ last(){
@@ -291,6 +291,7 @@ export default {
obj.zmclList = this.fileList.uploadName obj.zmclList = this.fileList.uploadName
postAction('/ota/otaBaCxZxsjyq/add', obj).then(res => { postAction('/ota/otaBaCxZxsjyq/add', obj).then(res => {
console.log(res); console.log(res);
this.$message.success(this.$t('SavedSuccessfully'))
}) })
}, },
last() { last() {
@@ -21,7 +21,7 @@
style="margin-bottom: 20px" style="margin-bottom: 20px"
> >
<span slot="sys" slot-scope="text,record"> <span slot="sys" slot-scope="text,record">
<a-input :placeholder="$t('ifNot')" v-model="record.xtlb" :max-length="500"></a-input> <a-input :placeholder="$t('pleaseEnter')" v-model="record.xtlb" :max-length="500"></a-input>
</span> </span>
<!-- 可升级--> <!-- 可升级-->
<span slot="systemclass" slot-scope="text,record"> <span slot="systemclass" slot-scope="text,record">
@@ -87,8 +87,10 @@
{{ (fileList === 'null' || fileList === '' || {{ (fileList === 'null' || fileList === '' ||
fileList == null) ? $t('uploadattachment') : $t('viewUploadedFiles') fileList == null) ? $t('uploadattachment') : $t('viewUploadedFiles')
}}</a-button> }}</a-button>
<p>注:附件包括测试项目清单、测试报告.测试标准或技术规范</p> <div style='margin-top: 20px'>
<p>&nbsp;&nbsp;&nbsp;&nbsp;支持doc/docx/pdf格式,大小50M以内</p> <p>注:附件包括测试项目清单、测试报告.测试标准或技术规范</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;支持doc/docx/pdf格式,大小50M以内</p>
</div>
</div> </div>
<div class="bootom-button"> <div class="bootom-button">
@@ -456,6 +458,7 @@ import uploadFileOta from '@/components/uploadFileOta/file'
save(){ save(){
postAction('/ota/otaBaCxKsjxtmccs/add',{otaId:localStorage.getItem('otaId'),list:this.dataSource,fj:this.fileList}).then(res => { postAction('/ota/otaBaCxKsjxtmccs/add',{otaId:localStorage.getItem('otaId'),list:this.dataSource,fj:this.fileList}).then(res => {
console.log(res); console.log(res);
this.$message.success(this.$t('SavedSuccessfully'))
}) })
} }
} }