修改ota

This commit is contained in:
zyx.net
2023-04-03 10:24:15 +08:00
parent 447f1ed889
commit 5d97758c14
6 changed files with 16 additions and 8 deletions
@@ -54,7 +54,7 @@
{{$t('VINcodelist')}}</span>
</div>
<a-form-model-item class="itemModel" prop="VINcodelist">
<a-textarea :placeholder="$t('pleaseEnter')+$t('VINcodelist')"
<a-textarea :placeholder="$t('pleasefillintherange')"
v-model="formInline.vinList"
:rows="4"
:max-length="500"/>
@@ -58,7 +58,11 @@
<a-input :placeholder="$t('pleaseEnter')" v-model="record.sjbdx" :title='record.sjbdx' :max-length="50"></a-input>
</span>
<span slot="differentialupgradeornot" slot-scope="text,record" :max-length="50">
<a-input :placeholder="$t('pleaseEnter')" v-model="record.sfcfsj" :title='record.sfcfsj'></a-input>
<!-- <a-input :placeholder="$t('pleaseEnter')" v-model="record.sfcfsj" :title='record.sfcfsj'></a-input>-->
<a-radio-group v-model="record.sfcfsj">
<a-radio :value="1"> {{ $t('yes') }} </a-radio>
<a-radio :value="2"> {{ $t('not') }} </a-radio>
</a-radio-group>
</span>
<!-- 操作列-->
<span slot="operation" slot-scope="text,record">
@@ -53,10 +53,10 @@
<a-input :placeholder="$t('ifNot')" :title="record.sjggcs ? record.sjggcs : $t('ifNot')" v-model="record.sjggcs" :max-length="500"></a-input>
</span>
<span slot="functiondescription" slot-scope="text,record">
<a-input :placeholder="$t('ifNot')" :title="record.gnms ? record.gnms:$t('ifNot')" v-model="record.gnms" :max-length="500"></a-input>
<a-input :placeholder="$t('pleaseEnter')" :title="record.gnms ? record.gnms:$t('pleaseEnter')" v-model="record.gnms" :max-length="500"></a-input>
</span>
<span slot="applicationconditions" slot-scope="text,record">
<a-input :placeholder="$t('ifNot')" :title="record.sytj ? record.sytj:$t('ifNot')" v-model="record.sytj" :max-length="500"></a-input>
<a-input :placeholder="$t('pleaseEnter')" :title="record.sytj ? record.sytj:$t('pleaseEnter')" v-model="record.sytj" :max-length="500"></a-input>
</span>
<span slot="functiondeelectronicscription" slot-scope="text,record">
<a-input :placeholder="$t('pleaseEnter')" :title='record.kzqmc' v-model="record.kzqmc" :max-length="50"></a-input>
@@ -6,7 +6,7 @@
<a-col :span="24">
<div class="box-title-text-add">
<div class="title-text-add">
<span class="title-text-text" :title="$t('upgradepacketprotectionmeasures')">{{$t('upgradepacketprotectionmeasures')}}</span>
<span class="title-text-text" :title="$t('upgradepacketprotectionmeasuresa')">{{$t('upgradepacketprotectionmeasuresa')}}</span>
</div>
<a-form-model-item class="itemModel" prop="sjbbhcs" >
<a-textarea
@@ -43,7 +43,9 @@ export default {
flag:'',
rules:{
sjbbhcs:[
{ max: 500,message:'最多只能添加500个字符',trigger:'blur'}
{ max: 500,
message:this.$t('upgradepacketprotectionmeasuresa') + this.$t('cannotExceed') + 500 + this.$t('Characters'),
trigger:'blur'}
]
}
}