|
|
@ -98,6 +98,7 @@ |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
rowUpdate(row, index, done, loading) { |
|
|
|
rowUpdate(row, index, done, loading) { |
|
|
|
|
|
|
|
console.log(row,'row'); |
|
|
|
update(row).then(() => { |
|
|
|
update(row).then(() => { |
|
|
|
this.onLoad(this.page); |
|
|
|
this.onLoad(this.page); |
|
|
|
this.$message({ |
|
|
|
this.$message({ |
|
|
@ -156,8 +157,8 @@ |
|
|
|
categoryId, |
|
|
|
categoryId, |
|
|
|
} = this.query; |
|
|
|
} = this.query; |
|
|
|
let values = { |
|
|
|
let values = { |
|
|
|
brandId_like: brandId, |
|
|
|
brandName: brandId, |
|
|
|
categoryId_like: categoryId, |
|
|
|
name: categoryId, |
|
|
|
}; |
|
|
|
}; |
|
|
|
this.$confirm("是否导出数据?", "提示", { |
|
|
|
this.$confirm("是否导出数据?", "提示", { |
|
|
|
confirmButtonText: "确定", |
|
|
|
confirmButtonText: "确定", |
|
|
@ -214,15 +215,18 @@ |
|
|
|
} = this.query; |
|
|
|
} = this.query; |
|
|
|
|
|
|
|
|
|
|
|
let values = { |
|
|
|
let values = { |
|
|
|
brandId_like: brandId, |
|
|
|
brandName: brandId, |
|
|
|
categoryId_like: categoryId, |
|
|
|
name: categoryId, |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
getList(page.currentPage, page.pageSize, values).then(res => { |
|
|
|
getList(page.currentPage, page.pageSize, values).then(res => { |
|
|
|
const data = res.data.data; |
|
|
|
const data = res.data.data; |
|
|
|
|
|
|
|
|
|
|
|
this.page.total = data.total; |
|
|
|
this.page.total = data.total; |
|
|
|
this.data = data.records; |
|
|
|
this.data = data.records; |
|
|
|
this.loading = false; |
|
|
|
this.loading = false; |
|
|
|
|
|
|
|
console.log(this.data,''); |
|
|
|
|
|
|
|
|
|
|
|
this.selectionClear(); |
|
|
|
this.selectionClear(); |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|