qinhouyu преди 1 година
родител
ревизия
099bc79a45
променени са 3 файла, в които са добавени 6 реда и са изтрити 3 реда
  1. 2 1
      src/views/highServer/lifeServices/index.vue
  2. 2 1
      src/views/highServer/liveBroadcast/index.vue
  3. 2 1
      src/views/information/index.vue

+ 2 - 1
src/views/highServer/lifeServices/index.vue

@@ -257,8 +257,9 @@ export default {
     /** 删除按钮操作 */
     handleDelete(row) {
       const ids = row.id || this.ids;
+      const type = this.$route.query.type
       this.$modal.confirm('是否确认删除此条数据项?').then(function () {
-        return delServer(ids,row.type);
+        return delServer(ids,type);
       }).then(() => {
         this.getList();
         this.$modal.msgSuccess("删除成功");

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

@@ -257,8 +257,9 @@ export default {
     /** 删除按钮操作 */
     handleDelete(row) {
       const ids = row.id || this.ids;
+      const type = this.$route.query.type
       this.$modal.confirm('是否确认删除此条数据项?').then(function () {
-        return delServer(ids,row.type);
+        return delServer(ids,type);
       }).then(() => {
         this.getList();
         this.$modal.msgSuccess("删除成功");

+ 2 - 1
src/views/information/index.vue

@@ -371,8 +371,9 @@ export default {
     /** 删除按钮操作 */
     handleDelete(row) {
       const ids = row.id || this.ids;
+      const type = this.$route.query.type
       this.$modal.confirm('是否确认删除数据项?').then(function () {
-        return delServer(ids,row.type);
+        return delServer(ids,type);
       }).then(() => {
         this.getList();
         this.$modal.msgSuccess("删除成功");