OTA对接列表数据
This commit is contained in:
@@ -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;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -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'] = []
|
||||
|
||||
Reference in New Issue
Block a user