|
@@ -228,7 +228,7 @@ export default {
|
|
|
handleUpdate(row) {
|
|
|
this.reset();
|
|
|
const id = row.id || this.ids
|
|
|
- getServer(id).then(response => {
|
|
|
+ getServer(id,row.type).then(response => {
|
|
|
this.form = response.data;
|
|
|
this.open = true;
|
|
|
this.title = "修改直播带货";
|
|
@@ -258,7 +258,7 @@ export default {
|
|
|
handleDelete(row) {
|
|
|
const ids = row.id || this.ids;
|
|
|
this.$modal.confirm('是否确认删除此条数据项?').then(function () {
|
|
|
- return delServer(ids);
|
|
|
+ return delServer(ids,row.type);
|
|
|
}).then(() => {
|
|
|
this.getList();
|
|
|
this.$modal.msgSuccess("删除成功");
|