ota-升级影响评估增加文本框
ota-升级活动备案增加列表字段
This commit is contained in:
@@ -255,6 +255,13 @@ export default {
|
|||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
width: 170
|
width: 170
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: this.$t('taskname'),
|
||||||
|
align: 'left',
|
||||||
|
dataIndex: 'rwmc',
|
||||||
|
ellipsis: true,
|
||||||
|
width: 170
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('noticebatch'),
|
title: this.$t('noticebatch'),
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
|||||||
+42
-21
@@ -105,15 +105,24 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2" align="left" height="50px">{{$t('upgradefailureorinterruption')}}</td>
|
<td colspan="2" align="left" height="50px">{{$t('upgradefailureorinterruption')}}</td>
|
||||||
<td height="50px" style='position: relative'>
|
<td :height="this.flag == true ? '100px' : '50px'" style='position: relative'>
|
||||||
<j-multi-select-tag class="box-input1"
|
<div>
|
||||||
v-model="form.aqjz"
|
<j-multi-select-tag class="box-input1"
|
||||||
style='margin-top: 2px'
|
v-model="form.aqjz"
|
||||||
:disabled="disable"
|
style='margin-top: 2px'
|
||||||
dictCode="upgrade_failed"
|
:disabled="disable"
|
||||||
:placeholder="$t('PleaseSelect')"
|
dictCode="upgrade_failed"
|
||||||
:type="'select'"
|
:placeholder="$t('PleaseSelect')"
|
||||||
:triggerChange="false"/>
|
:type="'select'"
|
||||||
|
@changeQuery='changeQuery'
|
||||||
|
:triggerChange="false"/>
|
||||||
|
</div>
|
||||||
|
<div v-if='flag'>
|
||||||
|
<a-input class="box-input2"
|
||||||
|
v-model="form.wbk"
|
||||||
|
:title="form.wbk ? form.wbk : $t('PleaseEnter')"
|
||||||
|
:placeholder="$t('PleaseEnter')"></a-input>
|
||||||
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -190,6 +199,7 @@ export default {
|
|||||||
exportData: '/ota/otaBaSjSjyxpg/exportData',
|
exportData: '/ota/otaBaSjSjyxpg/exportData',
|
||||||
importZipUrl: '/ota/otaBaSjSjyxpg/importData?otaId=' + localStorage.getItem('otaId'),//导入
|
importZipUrl: '/ota/otaBaSjSjyxpg/importData?otaId=' + localStorage.getItem('otaId'),//导入
|
||||||
},
|
},
|
||||||
|
flag:false,
|
||||||
loading: false,
|
loading: false,
|
||||||
disable:false,
|
disable:false,
|
||||||
columns: [
|
columns: [
|
||||||
@@ -379,18 +389,14 @@ this.$forceUpdate()
|
|||||||
if(res.result.zxsj==null){
|
if(res.result.zxsj==null){
|
||||||
res.result.zxsj=undefined
|
res.result.zxsj=undefined
|
||||||
}
|
}
|
||||||
this.form=res.result==null ? {
|
this.form=res.result==null ? { sjmd:'' } : res.result
|
||||||
sjmd:'',
|
|
||||||
// fhgd:1,
|
|
||||||
// zdjsxg:2,
|
|
||||||
// sfyxaq:2,
|
|
||||||
// yhqr:1,
|
|
||||||
// aqkkx:1,
|
|
||||||
// zxsj:2,
|
|
||||||
// aqjz:'2',
|
|
||||||
// sjbcs:'3,4'
|
|
||||||
} : res.result
|
|
||||||
}
|
}
|
||||||
|
console.log(this.form.aqjz)
|
||||||
|
if(this.form.aqjz == '2'){
|
||||||
|
this.flag = true
|
||||||
|
}else{
|
||||||
|
this.flag = false
|
||||||
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
save(){
|
save(){
|
||||||
@@ -417,6 +423,13 @@ this.$forceUpdate()
|
|||||||
this.save()
|
this.save()
|
||||||
this.$emit('safetyPrecautionsdown')
|
this.$emit('safetyPrecautionsdown')
|
||||||
},
|
},
|
||||||
|
changeQuery(val) {
|
||||||
|
if(val.indexOf('将车辆置于安全状态') != -1 || val.indexOf('Put the vehicle in a safe position') != -1){
|
||||||
|
this.flag = true
|
||||||
|
}else{
|
||||||
|
this.flag = false
|
||||||
|
}
|
||||||
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
@@ -446,13 +459,21 @@ this.$forceUpdate()
|
|||||||
margin-left: 40px;
|
margin-left: 40px;
|
||||||
}
|
}
|
||||||
.box-input1 {
|
.box-input1 {
|
||||||
display: inline-block;
|
//display: inline-block;
|
||||||
width: calc(100% - 80px);
|
width: calc(100% - 80px);
|
||||||
position: absolute;
|
position: absolute;
|
||||||
height: 38px;
|
height: 38px;
|
||||||
margin-left: 40px;
|
margin-left: 40px;
|
||||||
top: 4px;
|
top: 4px;
|
||||||
}
|
}
|
||||||
|
.box-input2 {
|
||||||
|
//display: inline-block;
|
||||||
|
width: calc(100% - 80px);
|
||||||
|
position: absolute;
|
||||||
|
height: 38px;
|
||||||
|
margin-left: 40px;
|
||||||
|
top: 50px;
|
||||||
|
}
|
||||||
::v-deep .ant-table-row-cell-ellipsis .ant-table-column-title {
|
::v-deep .ant-table-row-cell-ellipsis .ant-table-column-title {
|
||||||
white-space: pre-wrap!important;
|
white-space: pre-wrap!important;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user