修改 OTA管理详情

This commit is contained in:
范强强
2024-01-04 15:56:01 +08:00
parent 1d589f7469
commit 09526a8686
@@ -109,8 +109,10 @@
<div style='height:100%'> <div style='height:100%'>
<div style='display:flex'> <div style='display:flex'>
<div> <div>
<span style='font-weight: 900;font-size: 20px'>{{ $route.query.plannedBpLaunchBatch }}</span> <span style='font-weight: 900;font-size: 20px'>
<span style='margin-left:5px'>{{ $t('softwarereleasetime') }}:{{$route.query.releaseDate}}</span> {{ $route.query.plannedBpLaunchBatch }}
</span>
<span style='margin-left:5px'>{{ $t('softwarereleasetime') }}:{{releaseDate}}</span>
</div> </div>
<div style='margin-left: 10px;width: 300px;'> <div style='margin-left: 10px;width: 300px;'>
<a-select :placeholder="$t('PleaseSelect')" <a-select :placeholder="$t('PleaseSelect')"
@@ -162,7 +164,8 @@
</div> </div>
<!-- 列表设置--> <!-- 列表设置-->
<!-- v-if="!this.$route.query.it"--> <!-- v-if="!this.$route.query.it"-->
<a-popconfirm :visible="customizevisible" overlayClassName="popconfirmClassName" :getPopupContainer="triggerNode => { return triggerNode.parentNode; }" <a-popconfirm :visible="customizevisible" overlayClassName="popconfirmClassName"
:getPopupContainer="triggerNode => { return triggerNode.parentNode; }"
placement="bottomRight"> placement="bottomRight">
<template slot="title" id="popconfirmmize"> <template slot="title" id="popconfirmmize">
<div style="max-height:360px;overflow:scroll;overflow-x: auto;width: 216px"> <div style="max-height:360px;overflow:scroll;overflow-x: auto;width: 216px">
@@ -267,7 +270,8 @@
:label='item.versionName' :label='item.versionName'
:key="key" :key="key"
:value="item.projectId"> :value="item.projectId">
<span style="display: inline-block;width: 100%" :title="item.versionName + (item.attestationEndTime?'\n' + $t('certificationEnd') + ' : ' + item.attestationEndTime:'') "> <span style="display: inline-block;width: 100%"
:title="item.versionName + (item.attestationEndTime?'\n' + $t('certificationEnd') + ' : ' + item.attestationEndTime:'') ">
{{ item.versionName }} {{ item.versionName }}
</span> </span>
</a-select-option> </a-select-option>
@@ -394,7 +398,7 @@ export default {
rejectReason, rejectReason,
historyTable, historyTable,
remark, remark,
vdrDetial, vdrDetial
}, },
mixins: [ResizeHeader, ResizeColumnProvide], mixins: [ResizeHeader, ResizeColumnProvide],
data() { data() {
@@ -404,8 +408,9 @@ export default {
list: '/lawsTechnologyEvaluation/lawsTechnologyEvaluationEO/page', list: '/lawsTechnologyEvaluation/lawsTechnologyEvaluationEO/page',
deleteBatch: '/lawsTechnologyEvaluation/lawsTechnologyEvaluationEO/deleteBatch', deleteBatch: '/lawsTechnologyEvaluation/lawsTechnologyEvaluationEO/deleteBatch',
exportData: '/ota/otaBaCxList/exportData', exportData: '/ota/otaBaCxList/exportData',
importZipUrl: '/ota/otaBaCxList/importData',//导入 importZipUrl: '/ota/otaBaCxList/importData'//导入
}, },
releaseDate: '',
number: '', number: '',
vehicleTypeCode: this.$t('whole'), vehicleTypeCode: this.$t('whole'),
visible: false, visible: false,
@@ -711,7 +716,7 @@ export default {
field: 'operation', field: 'operation',
key: 17, key: 17,
moduleFlag: '分车型' moduleFlag: '分车型'
}, }
], ],
columns: [ columns: [
{ {
@@ -787,7 +792,7 @@ export default {
sorter: true, sorter: true,
dataIndex: 'appliedVehicleProject', dataIndex: 'appliedVehicleProject',
scopedSlots: { customRender: 'vdr' } scopedSlots: { customRender: 'vdr' }
}, }
], ],
columnstype: [ columnstype: [
{ {
@@ -932,7 +937,7 @@ export default {
ellipsis: true, ellipsis: true,
dataIndex: 'operation', dataIndex: 'operation',
scopedSlots: { customRender: 'operation' } scopedSlots: { customRender: 'operation' }
}, }
], ],
userInfoQuery: {}, userInfoQuery: {},
orderBy: '1', orderBy: '1',
@@ -960,10 +965,16 @@ export default {
getAction('/ota/otaManageApplyEO/getCarList', { plannedBpLaunchBatch: this.$route.query.plannedBpLaunchBatch }).then((res) => { getAction('/ota/otaManageApplyEO/getCarList', { plannedBpLaunchBatch: this.$route.query.plannedBpLaunchBatch }).then((res) => {
if (res.success) { if (res.success) {
this.typeList = res.result this.typeList = res.result
if (this.typeList && this.typeList.length > 0) {
this.getReleaseDate(this.typeList[0])
} else {
this.releaseDate = this.$route.query.releaseDate
}
} else { } else {
} }
}) })
this.cuList = this.customizeList this.cuList = this.customizeList
this.getSelectData() this.getSelectData()
this.getHeader() this.getHeader()
this.administrators = false this.administrators = false
@@ -1069,9 +1080,21 @@ export default {
handChange(val) { handChange(val) {
this.vehicleTypeCode = val this.vehicleTypeCode = val
this.pageNo = 1 this.pageNo = 1
this.getReleaseDate(val)
this.getHeader() this.getHeader()
this.$forceUpdate() this.$forceUpdate()
}, },
getReleaseDate(vehicle) {
let query = {
releaseName: this.$route.query.plannedBpLaunchBatch,
vehicle: vehicle
}
getAction('/ota/otaManageReceiveNsdp/getReleaseDate', query).then((res) => {
if (res.success) {
this.releaseDate = res.result || this.$route.query.releaseDate
}
})
},
//导出 //导出
handleExportManage(code) { handleExportManage(code) {
// console.log('menuId',this.menuId) // console.log('menuId',this.menuId)
@@ -1081,10 +1104,10 @@ export default {
switch (code) { switch (code) {
case 'all': case 'all':
url = 'ota/otaManageApplyEO/allCarExportXls' url = 'ota/otaManageApplyEO/allCarExportXls'
break; break
case 'studio': case 'studio':
url = 'ota/otaManageApplyEO/oneCarExportXls' url = 'ota/otaManageApplyEO/oneCarExportXls'
break; break
} }
let long = localStorage.getItem('language') let long = localStorage.getItem('language')
let cut = '' let cut = ''
@@ -1102,7 +1125,7 @@ export default {
...this.queryParam, ...this.queryParam,
orderBy: this.orderBy, orderBy: this.orderBy,
orderByField: this.orderByField, orderByField: this.orderByField,
cut: this.cut, cut: this.cut
} }
downloadFile(url, exportName, query, this.selectClear) downloadFile(url, exportName, query, this.selectClear)
@@ -1439,7 +1462,7 @@ export default {
this.visibleoperationFailed = false this.visibleoperationFailed = false
this.getList() this.getList()
// this.GetgetTableList() // this.GetgetTableList()
}, }
} }
} }
</script> </script>
@@ -1512,6 +1535,7 @@ export default {
flex-direction: column; flex-direction: column;
align-items: flex-start; align-items: flex-start;
} }
///deep/ .ant-table-row:first-child { ///deep/ .ant-table-row:first-child {
// background: #fff !important; // background: #fff !important;
// opacity: 0.9; // opacity: 0.9;
@@ -1523,6 +1547,7 @@ export default {
color: #040B29; color: #040B29;
margin-bottom: 22px; margin-bottom: 22px;
} }
///deep/ .ant-table-row:first-child { ///deep/ .ant-table-row:first-child {
// background: #fff !important; // background: #fff !important;
// opacity: 2.9; // opacity: 2.9;
@@ -1535,10 +1560,12 @@ export default {
/deep/ .ant-table-placeholder { /deep/ .ant-table-placeholder {
margin-top: 8px !important; margin-top: 8px !important;
} }
/deep/ .popconfirmClassName { /deep/ .popconfirmClassName {
z-index: 999; z-index: 999;
width: 264px width: 264px
} }
/deep/ .ant-popover-inner-content .ant-popover-buttons { /deep/ .ant-popover-inner-content .ant-popover-buttons {
display: none !important; display: none !important;
} }
@@ -1546,9 +1573,11 @@ export default {
/deep/ .popconfirmClassName .anticon-exclamation-circle { /deep/ .popconfirmClassName .anticon-exclamation-circle {
display: none !important; display: none !important;
} }
/deep/ .ant-table-fixed-header .ant-table-body-inner { /deep/ .ant-table-fixed-header .ant-table-body-inner {
overflow: visible; overflow: visible;
} }
popconfirmmize { popconfirmmize {
z-index: 999; z-index: 999;
} }
@@ -1560,6 +1589,7 @@ popconfirmmize {
.popconfirmmize .ant-popover-message { .popconfirmmize .ant-popover-message {
padding: 4px 0 36px !important; padding: 4px 0 36px !important;
} }
/deep/ .ant-select-dropdown { /deep/ .ant-select-dropdown {
z-index: 100; z-index: 100;
} }
@@ -1569,6 +1599,7 @@ popconfirmmize {
.popconfirmClassName .ant-popover-message-title { .popconfirmClassName .ant-popover-message-title {
margin-bottom: 50px; margin-bottom: 50px;
} }
.drawer-bootom-button { .drawer-bootom-button {
position: absolute; position: absolute;
bottom: 0; bottom: 0;
@@ -1581,6 +1612,7 @@ popconfirmmize {
background: #fff; background: #fff;
border-radius: 0 0 2px 2px; border-radius: 0 0 2px 2px;
} }
.imports-footer { .imports-footer {
.imports-footer-wrap { .imports-footer-wrap {
margin: 20px 0; margin: 20px 0;
@@ -1591,6 +1623,7 @@ popconfirmmize {
} }
} }
} }
.summaryClass { .summaryClass {
display: inline-block; display: inline-block;
width: 150px; width: 150px;
@@ -1598,6 +1631,7 @@ popconfirmmize {
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
} }
.nio-drag-handler { .nio-drag-handler {
position: absolute; position: absolute;
right: 0; right: 0;
@@ -1607,15 +1641,18 @@ popconfirmmize {
z-index: 1; z-index: 1;
border-right: 1px #e8e8e8 solid; border-right: 1px #e8e8e8 solid;
} }
.nio-drag-handler:hover, .nio-drag-handler:hover,
.nio-drag-handler:focus { .nio-drag-handler:focus {
cursor: col-resize !important; cursor: col-resize !important;
border-right: 2px solid #0bd9d9 !important; border-right: 2px solid #0bd9d9 !important;
} }
.nio-header-th { .nio-header-th {
position: relative; position: relative;
isolation: isolate; isolation: isolate;
} }
.clickRowStyl { .clickRowStyl {
background-color: #e1e3e7; background-color: #e1e3e7;
} }