OTA管理详情-详情弹框-没有匹配到项目时,应用项目版本显示不对

This commit is contained in:
zyx.net
2023-08-25 09:27:36 +08:00
parent a8af5db9d7
commit 88f51c642c
2 changed files with 14 additions and 12 deletions
@@ -1242,7 +1242,7 @@ export default {
this.$refs.remarkRef.edit(JSON.parse(JSON.stringify(item)))
},
getcdr(item){
this.$refs.vdrDetialRef.addModel(JSON.parse(JSON.stringify(item)))
this.$refs.vdrDetialRef.addModel(JSON.parse(JSON.stringify(item)),this.vehicleTypeCode)
},
vdrDetial(){
@@ -74,15 +74,15 @@
<a-col :span="12">
<div class='detail-box'>
<span class='detail-text'>{{$t('certificationStartOne')}}</span>
<span class="title-text-text" :title="item.attestationStartTime">
{{item.attestationStartTime}}</span>
<span class="title-text-text" :title="item.attestationStartTime?item.attestationStartTime:'-'">
{{item.attestationStartTime?item.attestationStartTime:'-'}}</span>
</div>
</a-col>
<a-col :span="12">
<div class='detail-box'>
<span class='detail-text'>{{$t('certificationdeclaration')}}</span>
<span class="title-text-text" :title="item.certificationSubmission">
{{item.certificationSubmission}}</span>
<span class="title-text-text" :title="item.certificationSubmission?item.certificationSubmission:'-'">
{{item.certificationSubmission?item.certificationSubmission:'-'}}</span>
</div>
</a-col>
</a-row>
@@ -90,15 +90,15 @@
<a-col :span="12">
<div class='detail-box'>
<span class='detail-text'>{{$t('certificationEnd')}}</span>
<span class="title-text-text" :title="item.attestationEndTime">
{{item.attestationEndTime}}</span>
<span class="title-text-text" :title="item.attestationEndTime?item.attestationEndTime:'-'">
{{item.attestationEndTime?item.attestationEndTime:'-'}}</span>
</div>
</a-col>
<a-col :span="12">
<div class='detail-box'>
<span class='detail-text'>{{$t('CertificationProgress')}}</span>
<span class="title-text-text" :title="item.attestationSchedule">
{{item.attestationSchedule}}</span>
<span class="title-text-text" :title="item.attestationSchedule?item.attestationSchedule:'-'">
{{item.attestationSchedule?item.attestationSchedule:'-'}}</span>
</div>
</a-col>
</a-row>
@@ -145,7 +145,8 @@ export default {
url:{
addModel:''
},
record:{}
record:{},
car:'',
}
},
mounted() {
@@ -153,9 +154,10 @@ export default {
},
methods: {
...mapGetters(['userInfo']),
addModel(record) {
addModel(record,val) {
this.form=record
getAction('/ota/otaManageApplyEO/getVersionInfo', {vdr:this.form.vdr}).then((res) => {
this.car = val
getAction('/ota/otaManageApplyEO/getVersionInfo', {vdr:this.form.vdr,car:this.car}).then((res) => {
if (res.success) {
this.vdrList = res.result
} else {