From fa5f8e7996e4471b5ddbcce9febfb757d3762176 Mon Sep 17 00:00:00 2001 From: "zyx.net" Date: Fri, 18 Aug 2023 15:52:16 +0800 Subject: [PATCH] =?UTF-8?q?OTA=E5=AF=B9=E6=8E=A5=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../otaAuthentication/components/detil.vue | 25 +++++-------------- .../otamanagement/otaAuthentication/index.vue | 1 - 2 files changed, 6 insertions(+), 20 deletions(-) diff --git a/jero-web/src/views/otamanagement/otaAuthentication/components/detil.vue b/jero-web/src/views/otamanagement/otaAuthentication/components/detil.vue index 3321cc5ee..977481df9 100644 --- a/jero-web/src/views/otamanagement/otaAuthentication/components/detil.vue +++ b/jero-web/src/views/otamanagement/otaAuthentication/components/detil.vue @@ -888,23 +888,6 @@ export default { this.selectedRowKeys = value this.selectedRowKeysRecord = record }, - // 删除 - deleteData(val) { - let _this = this - this.$confirm({ - content: _this.$t('ConfirmDelete'), - onOk() { - deleteAction('ota/otaBaCxList/delete', { id: val.id }).then((res) => { - if (res.success) { - _this.$message.success(_this.$t('OperationSuccessful')) - _this.getList() - } else { - _this.$message.warning(res.message) - } - }) - } - }) - }, handChange(val){ this.vehicleTypeCode = val this.getHeader() @@ -1084,7 +1067,8 @@ export default { }, handleSubmitcustomize() { let list = [] - let uniqueArray = this.selectedValue.filter((item, index, array) => { + let checked = this.checkedList || this.selectedValue + let uniqueArray = checked.filter((item, index, array) => { return array.indexOf(item) === index }) uniqueArray.forEach(item => { @@ -1119,6 +1103,9 @@ export default { }).then((res) => { if (res.success) { if(res.result && res.result.length > 0){ + res.result.forEach(item => { + item.width = 170 + }) this.columnsAll = res.result }else{ this.columnsAll = this.vehicleTypeCode == '全部'?this.columns:this.columnstype @@ -1291,7 +1278,7 @@ popconfirmmize { .popconfirmmize .ant-popover-message { padding: 4px 0 36px !important; } -/deep/ .ant-popover-buttons { +::v-deep .ant-popover-buttons { display: none !important; } diff --git a/jero-web/src/views/otamanagement/otaAuthentication/index.vue b/jero-web/src/views/otamanagement/otaAuthentication/index.vue index 7eab3c368..287a5ddab 100644 --- a/jero-web/src/views/otamanagement/otaAuthentication/index.vue +++ b/jero-web/src/views/otamanagement/otaAuthentication/index.vue @@ -351,7 +351,6 @@ export default { let dateTwo = moment(dateString[1]).format('YYYY-MM-DD') this.queryParam.softwareIssueTimeStart = dateOne this.queryParam.softwareIssueTimeEnd = dateTwo - } else { this.queryParam.releaseName = [] // this.queryParamOne[item + '_name'] = []