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