修改OTA问题

This commit is contained in:
高嵩
2023-10-22 14:46:51 +08:00
parent 59c4b632f8
commit 0c5cbb19d5
9 changed files with 215 additions and 91 deletions
@@ -231,6 +231,7 @@
:scroll="{ x: '100%', y: 'calc(100vh - 140px)' }"
rowKey="id"
@change="tableOnChange"
:rowClassName="setRowClassName"
:data-source="dataSource"
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
:columns="columnsAll">
@@ -255,7 +256,7 @@
<a-select :placeholder="$t('PleaseSelect')"
class="box-input"
style="width: 90%"
:disabled="record.disabled"
v-if="!record.disabled"
:getPopupContainer="triggerNode=> triggerNode.parentNode"
allowClear
showSearch
@@ -271,15 +272,19 @@
</span>
</a-select-option>
</a-select>
<span v-if="record.disabled">{{record.projectVersionText}}</span>
</template>
<!-- 认证进度编辑-->
<template slot="attestationSchedule" slot-scope="text, record">
<j-dict-select-tag class="box-input" v-model="record.attestationSchedule"
v-if="!record.disabled"
:disabled="record.disabled"
:placeholder="$t('PleaseSelect')"
:type="'select'"
style="width: 90%"
:triggerChange="false" :dictCode="'certification_progress'"/>
<span v-if="record.disabled">{{record.attestationScheduleText}}</span>
</template>
</a-table>
<div class="page" v-if="dataSource && dataSource.length > 0">
@@ -965,6 +970,13 @@ export default {
},
methods: {
...mapGetters(['userInfo']),
setRowClassName(record, index) {
if (record.discard){
return 'clickRowStyl'
}else{
return ''
}
},
getSelectData(){
getAction('/ota/otaManageApplyEO/getPullDownList', {}).then((res) => {
if (res.success) {
@@ -1500,10 +1512,10 @@ export default {
flex-direction: column;
align-items: flex-start;
}
/deep/ .ant-table-row:first-child {
background: #fff !important;
opacity: 0.9;
}
///deep/ .ant-table-row:first-child {
// background: #fff !important;
// opacity: 0.9;
//}
.customize-text-title {
margin-left: 0;
font-size: 14px;
@@ -1511,10 +1523,10 @@ export default {
color: #040B29;
margin-bottom: 22px;
}
/deep/ .ant-table-row:first-child {
background: #fff !important;
opacity: 2.9;
}
///deep/ .ant-table-row:first-child {
// background: #fff !important;
// opacity: 2.9;
//}
/deep/ .ant-table-body {
background: transparent !important;
@@ -1551,6 +1563,7 @@ popconfirmmize {
/deep/ .ant-select-dropdown {
z-index: 100;
}
</style>
<style lang='less'>
.popconfirmClassName .ant-popover-message-title {
@@ -1603,4 +1616,7 @@ popconfirmmize {
position: relative;
isolation: isolate;
}
.clickRowStyl{
background-color: #e1e3e7;
}
</style>
@@ -170,7 +170,7 @@
addModel(record, val) {
this.form = record
this.car = val
getAction('/ota/otaManageApplyEO/getVersionInfo', { vdr: this.form.vdr, car: this.car }).then((res) => {
getAction('/ota/otaManageApplyEO/getVersionInfo', { vdr: this.form.vdrId, car: this.car }).then((res) => {
if (res.success) {
this.vdrList = res.result
} else {