OTA对接列表数据

This commit is contained in:
zyx.net
2023-08-18 16:33:30 +08:00
parent 50fbdd113e
commit 9f97d3a4bc
3 changed files with 30 additions and 20 deletions
@@ -76,8 +76,8 @@
<div style='height:100%'>
<div style='display:flex'>
<div>
<span style='font-weight: 900;font-size: 20px'>{{ $t('softwareversion') }}</span>
<span style='margin-left:5px'>{{ $t('softwarereleasetime') }}:2023-11-13</span>
<span style='font-weight: 900;font-size: 20px'>{{ $route.query.plannedBpLaunchBatch }}</span>
<span style='margin-left:5px'>{{ $t('softwarereleasetime') }}:{{$route.query.releaseName}}</span>
</div>
<div style='margin-left: 10px;width: 300px;'>
<a-select :placeholder="$t('PleaseSelect')"
@@ -209,6 +209,11 @@
<template slot="vdr" slot-scope="text, record">
<span @click="getcdr(record)">{{text}}</span>
</template>
<!-- 项目版本编辑-->
<template slot="projectVersionName" slot-scope="text, record">
<span @click="getcdr(record)">{{text}}</span>
</template>
</a-table>
<div class="page" v-if="dataSource && dataSource.length > 0">
<a-pagination :show-total="total => $t('total') + ` ${total} ` + $t('strip')" show-quick-jumper show-size-changer
@@ -666,7 +671,8 @@ export default {
align: 'left',
width: 170,
ellipsis: true,
dataIndex: 'appliedVehicleProject'
dataIndex: 'appliedVehicleProject',
scopedSlots: { customRender: 'vdr' }
},
],
columnstype: [
@@ -738,7 +744,8 @@ export default {
align: 'left',
width: 170,
ellipsis: true,
dataIndex: 'projectVersionName'
dataIndex: 'projectVersionName',
scopedSlots: { customRender: 'projectVersionName' }
},
{
title: this.$t('certificationStartOne'),
@@ -861,6 +868,7 @@ export default {
queryParam[val] = queryParam[val].join(',')
}
})
queryParam.appliedVehicleProject = this.vehicleTypeCode == '全部'?queryParam.appliedVehicleProject:this.vehicleTypeCode
let query = {
pageNo: this.pageNo,
pageSize: this.pageSize,
@@ -1041,7 +1049,8 @@ export default {
},
remarkForm(data,val){
console.log(data)
console.log(data,val)
return
// 根据id匹配
this.dataSource.forEach(item => {
if(item.id == val){
@@ -78,14 +78,14 @@ export default {
// }
// ],
},
ids: ''
row: {}
}
},
mounted() {
},
methods: {
edit(row) {
this.ids = row
this.row = row
this.visible = true
this.$nextTick(() => {
this.formInline = {}
@@ -97,7 +97,6 @@ export default {
if (valid) {
let query = {
...this.formInline,
ids:this.ids
}
this.confirmLoading = true
// postAction('ota/otaBaSjList/batchRecord', query).then((res) => {
@@ -111,6 +110,7 @@ export default {
// this.confirmLoading = false
// }
// })
this.$emit('remarkForm',this.formInline.remark,this.row.id)
}
})
},
@@ -15,8 +15,8 @@
<a-col :span="24">
<div class='detail-box'>
<span class='detail-text'>{{'VDR'}}</span>
<span class="title-text-text" :title="form.VDR">
{{form.VDR}}</span>
<span class="title-text-text" :title="form.vdr">
{{form.vdr}}</span>
</div>
</a-col>
@@ -25,8 +25,8 @@
<a-col :span="24">
<div class='detail-box'>
<span class='detail-text'>{{$t('theme')}}</span>
<span class="title-text-text" :title="form.theme">
{{form.theme}}</span>
<span class="title-text-text" :title="form.summary">
{{form.summary}}</span>
</div>
</a-col>
@@ -35,8 +35,8 @@
<a-col :span="24">
<div class='detail-box'>
<span class='detail-text'>{{$t('authenticationimpact')}}</span>
<span class="title-text-text" :title="form.authenticationimpact">
{{form.authenticationimpact}}</span>
<span class="title-text-text" :title="form.homologationImpact">
{{form.homologationImpact}}</span>
</div>
</a-col>
@@ -45,8 +45,8 @@
<a-col :span="24">
<div class='detail-box'>
<span class='detail-text'>{{$t('influencestatute') + '-CN'}}</span>
<span class="title-text-text" :title="form.influencestatuteCn">
{{form.influencestatuteCn}}</span>
<span class="title-text-text" :title="form.impactCnHomo">
{{form.impactCnHomo}}</span>
</div>
</a-col>
@@ -55,13 +55,13 @@
<a-col :span="24">
<div class='detail-box'>
<span class='detail-text'>{{$t('influencestatute') + '-EU'}}</span>
<span class="title-text-text" :title="form.influencestatuteEu">
{{form.influencestatuteEu}}</span>
<span class="title-text-text" :title="form.impactEuHomo">
{{form.impactEuHomo}}</span>
</div>
</a-col>
</a-row>
<div style='margin-bottom: 10px;'>{{$t('applicationprojectversion')}}</div>
<div style='margin-bottom: 10px;font-weight: bold;'>{{$t('applicationprojectversion')}}</div>
<div v-for='(item,index) in vdrList' :key='index'>
<a-row :gutter="24">
<a-col :span="24">
@@ -169,7 +169,7 @@ export default {
methods: {
...mapGetters(['userInfo']),
addModel(record) {
this.record=record
this.form=record
this.visible = true
this.confirmLoading = false
console.log('555',record);
@@ -209,6 +209,7 @@ export default {
.detail-text{
display: inline-block;
width: 95px;
font-weight: bold;
}
.title-text {
width: 250px;