ota-升级活动备案-升级目标车型-表单

This commit is contained in:
刘彦泽
2023-03-29 18:21:41 +08:00
parent c17844ae43
commit 72a3baaddc
@@ -145,7 +145,7 @@
</div> </div>
</a-col> </a-col>
<a-col :span="24"> <a-col :span="24">
<div class="box-title-text-add"> <div class="plus">
<div class="title-text-add"> <div class="title-text-add">
<span class="title-text-text" :title="$t('usernotificationmode')">{{$t('usernotificationmode')}}</span> <span class="title-text-text" :title="$t('usernotificationmode')">{{$t('usernotificationmode')}}</span>
</div> </div>
@@ -160,7 +160,7 @@
</div> </div>
</a-col> </a-col>
<a-col :span="24"> <a-col :span="24">
<div class="box-title-text-add"> <div class="plus">
<div class="title-text-add"> <div class="title-text-add">
<span class="title-text-text" :title="$t('allupdatestotheusermanualareinformed')">{{$t('allupdatestotheusermanualareinformed')}}</span> <span class="title-text-text" :title="$t('allupdatestotheusermanualareinformed')">{{$t('allupdatestotheusermanualareinformed')}}</span>
</div> </div>
@@ -246,7 +246,7 @@ export default {
}) })
}, },
getData(){ getData(){
let otaIdT=localStorage.getItem('otaIdT') let otaIdT=localStorage.getItem('otaIdT')
if(otaIdT==null){ if(otaIdT==null){
otaIdT='' otaIdT=''
@@ -257,11 +257,11 @@ export default {
} }
getAction('/ota/otaBaSjGgnrfs/queryByOtaId',{otaIdT:otaIdT,otaId:otaId}).then(res=>{ getAction('/ota/otaBaSjGgnrfs/queryByOtaId',{otaIdT:otaIdT,otaId:otaId}).then(res=>{
if(res.code == 200){ if(res.code == 200){
this.formInline= res.result ==null ? { this.formInline= res.result ==null ? {
sjky:'车辆解闭锁功能可用,但不可驾驶', sjky:'车辆解闭锁功能可用,但不可驾驶',
sjbkygn:'除解闭锁均不可用' sjbkygn:'除解闭锁均不可用'
} :res.result } :res.result
this.formInline.id=res.result.id this.formInline.id=res.result.id
this.$forceUpdate() this.$forceUpdate()
} }
@@ -305,9 +305,9 @@ export default {
} }
.box-title-text-add { .box-title-text-add {
line-height: 1.4; //line-height: 1.4;
display: flex; display: flex;
align-items: center;
} }
h1{ h1{
font-weight: 700; font-weight: 700;
@@ -322,9 +322,9 @@ h1{
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;
margin-top: 3px; margin-top: 3px;
} }
@@ -338,7 +338,7 @@ h1{
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
height: 42px; height: 42px;
line-height: 42px; //line-height: 42px;
margin-top: 3px; margin-top: 3px;
margin-bottom: 20px; margin-bottom: 20px;
} }
@@ -371,4 +371,8 @@ h1{
left: 40%; left: 40%;
text-align: center!important; text-align: center!important;
} }
.plus{
display: flex;
}
</style> </style>