qinhouyu пре 1 година
родитељ
комит
099bc79a45

+ 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("删除成功");