|
|
@ -278,8 +278,14 @@ export default { |
|
|
|
type: 'warning' |
|
|
|
type: 'warning' |
|
|
|
}).then(() => { |
|
|
|
}).then(() => { |
|
|
|
this.$post(`${this.api.deleteProjectManage}?projectIds=${ids}&platformId=${this.queryData.platformId}`).then(res => { |
|
|
|
this.$post(`${this.api.deleteProjectManage}?projectIds=${ids}&platformId=${this.queryData.platformId}`).then(res => { |
|
|
|
if (res.status === 200) { |
|
|
|
console.log(ids) |
|
|
|
let delList = ids.split(',') |
|
|
|
if (res.status == 200) { |
|
|
|
|
|
|
|
let delList = [] |
|
|
|
|
|
|
|
if (isNaN(ids) == 'NaN'){ |
|
|
|
|
|
|
|
delList = ids.split(',') |
|
|
|
|
|
|
|
}else{ |
|
|
|
|
|
|
|
delList.push(ids) |
|
|
|
|
|
|
|
} |
|
|
|
if(delList.length == this.listData.length){ |
|
|
|
if(delList.length == this.listData.length){ |
|
|
|
if(this.page > 1){ |
|
|
|
if(this.page > 1){ |
|
|
|
this.page = this.page-1 |
|
|
|
this.page = this.page-1 |
|
|
|