qinhouyu 1 year ago
parent
commit
1746952a30
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/highServer/liveBroadcast/index.vue

+ 2 - 2
src/views/highServer/liveBroadcast/index.vue

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