OTA对接列表数据
This commit is contained in:
@@ -888,23 +888,6 @@ export default {
|
|||||||
this.selectedRowKeys = value
|
this.selectedRowKeys = value
|
||||||
this.selectedRowKeysRecord = record
|
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){
|
handChange(val){
|
||||||
this.vehicleTypeCode = val
|
this.vehicleTypeCode = val
|
||||||
this.getHeader()
|
this.getHeader()
|
||||||
@@ -1084,7 +1067,8 @@ export default {
|
|||||||
},
|
},
|
||||||
handleSubmitcustomize() {
|
handleSubmitcustomize() {
|
||||||
let list = []
|
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
|
return array.indexOf(item) === index
|
||||||
})
|
})
|
||||||
uniqueArray.forEach(item => {
|
uniqueArray.forEach(item => {
|
||||||
@@ -1119,6 +1103,9 @@ export default {
|
|||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
if(res.result && res.result.length > 0){
|
if(res.result && res.result.length > 0){
|
||||||
|
res.result.forEach(item => {
|
||||||
|
item.width = 170
|
||||||
|
})
|
||||||
this.columnsAll = res.result
|
this.columnsAll = res.result
|
||||||
}else{
|
}else{
|
||||||
this.columnsAll = this.vehicleTypeCode == '全部'?this.columns:this.columnstype
|
this.columnsAll = this.vehicleTypeCode == '全部'?this.columns:this.columnstype
|
||||||
@@ -1291,7 +1278,7 @@ popconfirmmize {
|
|||||||
.popconfirmmize .ant-popover-message {
|
.popconfirmmize .ant-popover-message {
|
||||||
padding: 4px 0 36px !important;
|
padding: 4px 0 36px !important;
|
||||||
}
|
}
|
||||||
/deep/ .ant-popover-buttons {
|
::v-deep .ant-popover-buttons {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -351,7 +351,6 @@ export default {
|
|||||||
let dateTwo = moment(dateString[1]).format('YYYY-MM-DD')
|
let dateTwo = moment(dateString[1]).format('YYYY-MM-DD')
|
||||||
this.queryParam.softwareIssueTimeStart = dateOne
|
this.queryParam.softwareIssueTimeStart = dateOne
|
||||||
this.queryParam.softwareIssueTimeEnd = dateTwo
|
this.queryParam.softwareIssueTimeEnd = dateTwo
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
this.queryParam.releaseName = []
|
this.queryParam.releaseName = []
|
||||||
// this.queryParamOne[item + '_name'] = []
|
// this.queryParamOne[item + '_name'] = []
|
||||||
|
|||||||
Reference in New Issue
Block a user